encodebin not doing a passthrough for encoded data
Luis de Bethencourt
luis at debethencourt.com
Mon Feb 21 02:51:38 PST 2011
On Fri, Feb 18, 2011 at 7:20 PM, Jayanth K.P <kp.jayanth at gmail.com> wrote:
> 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
If you dump the pipeline blueprint to a dot file using GST_DEBUG_DUMP_DOT_DIR...
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gst-running.html
It will be obvious if the data is going through encoding elements or
if it is just passing through.
Luis
More information about the gstreamer-devel
mailing list