Still stuck

Gary Thomas gary at mlbassoc.com
Thu Mar 7 07:56:16 PST 2013


On 2013-03-07 08:33, Chuck Crisler wrote:
> Have you tried GST_DEBUG=stuff:5,more stuff:5? What does that say? How can you tell working from not working? Shouldn't the width and height be ints?

No, the height/width for RTP elements are explicitly strings.

> On Thu, Mar 7, 2013 at 10:20 AM, Gary Thomas <gary at mlbassoc.com <mailto:gary at mlbassoc.com>> wrote:
>
>     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