encodebin not doing a passthrough for encoded data

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

encodebin not doing a passthrough for encoded data

Jayanth K.P
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: encodebin not doing a passthrough for encoded data

Luis de Bethencourt
On Wed, Feb 16, 2011 at 8:15 AM, Jayanth K.P <[hidden email]> 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
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: encodebin not doing a passthrough for encoded data

Jayanth K.P
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
<[hidden email]> wrote:

> On Wed, Feb 16, 2011 at 8:15 AM, Jayanth K.P <[hidden email]> 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
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: encodebin not doing a passthrough for encoded data

Luis de Bethencourt
On Fri, Feb 18, 2011 at 7:20 PM, Jayanth K.P <[hidden email]> 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
> <[hidden email]> wrote:
>> On Wed, Feb 16, 2011 at 8:15 AM, Jayanth K.P <[hidden email]> 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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel