CostasVav
Posts: 28
Joined: Fri Jan 30, 2015 10:49 pm

Correct Gstreamer1.0 commands on Linux client

Mon Jul 27, 2015 8:01 pm

Hi all,

I have been busy working on my project and am stuck on an issue that should not be an issue.

What is the correct Gstreamer1.0 command on the receiving end? Every single article/post/email contains a different iteration of the same wrong pipeline that no longer works. I would think this would be a fairly common question, yet I cannot find an answer.

I have a fresh install of Lubuntu 15 on a new laptop, complete with a fresh apt-get of Gstreamer1.0 and the base/bad/ugly plugins. Yet there is no avdec_h264 or ffdec_h264 to be found, as every article says to use.

Here is an example PRi command I want to use:

Code: Select all

raspivid -n -h 972 -w 1296 -b 10000000 -fps 30 -vf -hf -t 0 -o - | gst-launch-1.0 -v fdsrc !  h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink host=x.x.x.x port=5001
And example Linux client command that doesn't work:

Code: Select all

gst-launch-1.0 -v udpsrc port=5001 caps='application/x-rtp, media=(string)video, clock-rate=(int)90000, encoding-name=(string)H264' ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink sync=false
Current Project: PiMac

ethanol100
Posts: 652
Joined: Wed Oct 02, 2013 12:28 pm

Re: Correct Gstreamer1.0 commands on Linux client

Tue Jul 28, 2015 9:14 am

CostasVav wrote: I have a fresh install of Lubuntu 15 on a new laptop, complete with a fresh apt-get of Gstreamer1.0 and the base/bad/ugly plugins. Yet there is no avdec_h264 or ffdec_h264 to be found, as every article says to use.
Try to install the package called gstreamer1.0-libav. This should provide avdev_h264.

CostasVav
Posts: 28
Joined: Fri Jan 30, 2015 10:49 pm

Re: Correct Gstreamer1.0 commands on Linux client

Tue Jul 28, 2015 7:03 pm

Weird, I already had it installed and it just started working after you posted that. I guess everything is broken until you ask how to fix it. :roll:
Current Project: PiMac

Return to “Camera board”