save stream to file
Luis de Bethencourt
luis at debethencourt.com
Wed May 2 10:40:39 PDT 2012
On 1 May 2012 10:25, Stefan Sauer <ensonic at hora-obscura.de> wrote:
> On 04/25/2012 06:27 PM, BGU-foxo wrote:
>> Hi,
>> I would like to save streaming video ( received via Ethernet) to a file,
>> that could later been played.
>> In my current pipeline I can "play" that streaming to screen, useing
>> xvimagesink, However I want to save it as video file.
>>
>> my pipeline is
>>
>> Send
>>
>>
>> *Receive*
>
> That is not your pipeline, right? Anyway, you will need to connect the
> audio/video branches to a muxer ! filesink. If you decode audio/video
> you need encoders as well. You might want to look into encodebin.
>
> Stefan
>>
>>
>> Please help me if you know how.
>> Thanks !
>>
>> --
As Stefan mentioned, look into encodebin. Or if you want to handle the
encoding manually videostream->muxer->encoder
For example: oggmux ! theoraenc ! filesink
and in case it wasn't clear, your copy paste of your pipeline is empty.
Luis
More information about the gstreamer-devel
mailing list