Problems building gst-switch

September 12, 2013 - 2 minute read -
build gsoc problems

The Build Process I follow

Gst-switch requires:

  • gstreamer 6c11da1
  • gst-plugins-base a8df760
  • gst-plugins-good d14d4c4
  • gst-plugins-ugly 68985ba
  • gst-plugins-bad from https://github.com/duzy/gst-plugins-bad checkout to speakertrack_new branch

Along with some other dependencies.

The build runs on travis using the config file .travis.yml. To install gst-switch this file runs the script .travis-setup.sh. This file contains the list of dependencies. An almost same script which can be used for the process on non-travis environments is install.sh

Problems:

The installation is completed without any errors. The latest travis log is here. The problem comes when gst-switch-srv is run. The output on running it is:


./tools/gstswitchserver.c:130:info: gst_switch_server init 0x1683000
./tools/gstswitchserver.c:1523:info: Compose sink to 3001, 3002
./tools/gstcomposite.c:88:info: gst_composite init 0x1686060
./tools/gstcomposite.c:155:warning: ignore changing mode in transition
./tools/gstworker.c:270:error: missing: faac
./tools/gstworker.c:784:error: recorder: failed to create new pipeline
./tools/gstswitchserver.c:712:info: Listening on localhost (::1:5000)
./tools/gstswitchcontroller.c:484:info: Controller is listening at: unix:abstract=gstswitch
./tools/gstswitchserver.c:712:info: Listening on localhost (::1:3000)
./tools/gstswitchserver.c:712:info: Listening on localhost (::1:4000)
./tools/gstswitchcontroller.c:626:warning: set_compose_port: no connections
online: composite @1780530214768
./tools/gstswitchcontroller.c:626:warning: new_mode_online: no connections
./tools/gstswitchcontroller.c:449:info: authorize: GCredentials:linux-ucred:pid=25145,uid=1000,gid=1000
./tools/gstswitchcontroller.c:327:warning: close: Underlying GIOStream returned 0 bytes on an async read
./tools/gstswitchcontroller.c:337:info: closed: 0x16ad5c0, 1 (0 uis)

This suggests that faac is missing. However on closer look at the log, it can also be seen that whiule doing ./autogen.sh in gst-plugins-bad, the configure lists faac:

configure: *** Plug-ins with dependencies that will be built:
	bz2
	curl
	decklink
	dvb
	faac
	faad
	fbdevsink
	hls
	mfc
	mpeg2enc
	mplex
	opencv
	rsvg
	rtmp
	shm

Also libfaac-dev is installed on the system by the script.

Comments Section

Feel free to comment on the post but keep it clean and on topic.

blog comments powered by Disqus