How to make nlecomposition/nleurisource work as expected?

Guofeng Zhang guofeng.zhang at mybean.cn
Fri Oct 16 01:25:10 PDT 2015


I got it.

Thanks!

guofeng

On 2015/10/16 0:38, Thibault Saunier wrote:
>> But when I try to use '-o' option to render it to a file, ges-launch-1.0 is
>> hung (not exit).
>>     ges-launch-1.0 --track-types=audio -o out.ogg +clip ten.ogg inpoint=10.0
>> duration=2.0 start=0.0
>>
>> What is wrong with the above command?
>
> I should document that, basically you are trying to output only one
> audio track but you are trying to render it inside inside a container
> with audio+video (default output format being
> application/ogg:video/x-theora:audio/x-vorbis). That command will work
> if you properly specify an output format with only audio:
>
> ges-launch-1.0 --track-types=audio -o out.ogg +clip ten.ogg
> inpoint=10.0  duration=2.0 start=0.0 -f
> "application/ogg:audio/x-vorbis"
>
>> If NleComposition has only one src pad, and if the the file contains the video and audio streams, how could I link the video and audio to the other elements?
> You need to have one composition per output. If you have audio and
> video, that means you need 2 nlecompositions.
>
> Regards,
>
> Thibault
> _______________________________________________
> 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