Still stuck

Gary Thomas gary at mlbassoc.com
Thu Mar 7 07:20:29 PST 2013


Sorry if this is an old record, but I'm getting nowhere...

Why does this pipeline work:
   gst-launch -e -vvv shmsrc socket-path=/tmp/shm-stream.sock \
     ! "application/x-rtp, sampling=(string)YCbCr-4:2:2, width=(string)720, height=(string)480, payload=(int)96" \
     ! rtpvrawdepay \
     ! fakesink

and this one does not?
   gst-launch -e -vvv shmsrc socket-path=/tmp/shm-stream.sock \
     ! "application/x-rtp, sampling=(string)YCbCr-4:2:2, width=(string)720, height=(string)480, payload=(int)96" \
     ! rtpvrawdepay \
     ! ffenc_mpeg4 \
     ! fakesink

Note: I only added the mpeg4 encoder element which is compatible
and there are no errors/complaints.

The elements all have compatible [default] caps and it should
just work.  If I trade the 'shmsrc'+'rtpvrawdepay' for something
like 'videotestsrc', both can work.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


More information about the gstreamer-devel mailing list