[FFmpeg-user] FFMPEG : Redirecting Matroska muxed data to socket

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Oct 29 09:27:28 CET 2014

Parth Shah <parth.9910 <at> gmail.com> writes:

> Now, instead of writing the muxed matroska data 
> into file I want to write these muxed data 
> directly on to socket or pipe.

If you do so, FFmpeg will be unable to update the 
duration field in the header of the output file.
(The field is at the beginning of the file.)
You have to decide if you want the duration field 
to be written (and use file output or another 
output that allows seeking) or if you need pipe 
output (so the duration cannot be written).

Please understand that cross-posting is considered 
rude everywhere afaik and that posting user 
questions on the development mailing list is not 

Carl Eugen

More information about the ffmpeg-user mailing list