Alternative to rtph264depay byte-stream=false

Jan Schmidt thaytan at noraisin.net
Tue Nov 5 17:43:49 PST 2013


On Wed, 2013-11-06 at 00:56 +0000, Umar Qureshey wrote:
> Hello,
> 
> I just got gstreamer 1.2.0 cross compiled for my embedded system (boy, that was a PITA).
> 
> So I had this pipeline working on my Fedora 17 PC which has gstreamer 0.10 installed:
> gst-launch rtspsrc location=rtsp://192.168.1.214/axis-media/media.amp?streamprofile=Quality ! rtph264depay byte-stream=false ! h264parse config-interval=2  ! mpegtsmux ! rtpmp2tpay pt=33 perfect-rtptime=true ! udpsink host=192.168.20.30 port=1234 sync=false

*snip*
> 
> Question is how do I use capsfilter (or any other method) to mimic the effects of "byte-stream=false" ??

Like this:
gst-launch-1.0 rtspsrc
location=rtsp://192.168.1.214/axis-media/media.amp?streamprofile=Quality ! rtph264depay ! video/x-h264,stream-format=avc ! h264parse config-interval=2  ! mpegtsmux ! rtpmp2tpay pt=33 perfect-rtptime=true ! udpsink host=192.168.20.30 port=1234 sync=false


However, that seems silly, since mpegtsmux requires h264 in byte-stream
format, so h264parse will just end up changing it back to byte-stream
packets. I'd just leave it out, and lt pipeline negotiation figure it
out:

gst-launch-1.0 rtspsrc
location=rtsp://192.168.1.214/axis-media/media.amp?streamprofile=Quality ! rtph264depay ! h264parse config-interval=2 ! mpegtsmux ! rtpmp2tpay pt=33 perfect-rtptime=true ! udpsink host=192.168.20.30 port=1234 sync=false

J.

> 
> Any suggestions would be appreciated. 
> 




More information about the gstreamer-devel mailing list