encodebin not doing a passthrough for encoded data

Jayanth K.P kp.jayanth at gmail.com
Fri Feb 18 10:20:19 PST 2011


Hi,

Plz let me know if i can use gst-launch to test this . I am trying to
do this using uridecodebin and encodebin. I got it working by using
uridecodebin and mpegtsmux.

example:
======

gst-launch uridecodebin name=dec
uri="file:///home/jayanth/STB/feed08.flv" caps="video/x-h264;
audio/mpeg, mpegversion=(int)1, layer=(int)3, parsed=(boolean)tru
e, rate=(int)44100, channels=(int)2" dec. ! mux. dec. ! mux. mpegtsmux
name=mux ! filesink location="/home/jayanth/output3.ts

How can this be done using uridecodebin and encodebin


Thanks for for your reply

Jayanth



On Fri, Feb 18, 2011 at 11:01 PM, Luis de Bethencourt
<luis at debethencourt.com> wrote:
> On Wed, Feb 16, 2011 at 8:15 AM, Jayanth K.P <kp.jayanth at gmail.com> wrote:
>> Hi ,
>>   I want encodebin to do pass-through as data is encoded . Encodebin
>> just needs to do MUX. I was checking the gstencodebin.c code, there
>> seems be no pass-through support.
>>
>> Plz let me know how is achieve this.
>>
>> Regards,
>> Jayanth
>
> It does a passthrough if the src caps and the sink caps are the same.
>
> Luis
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list