[FFmpeg-user] Get ffmpeg output file in byte format

Simon Thelen ffmpeg-user at c-14.de
Mon Jun 30 15:57:09 CEST 2014

On 30/06/14 at 18:59, Amila Perera wrote:
> Is it possible to get the byte stream of an output file of ffmpeg tool as
> it is generated.
> Clarification:
> I want to transcode a file, but can't wait till the entire output file is
> generated.
> I want to get the output bytes part by part and send those bytes to a
> client.
> Is there a special command in FFMpeg that I can use for this particular
> situation??
> Thank you in advance!
You could try outputting via tcp, udp, or a pipe. Any sort of network
protocol or pipe/socket protocol should receive a byte stream of the
output. Look at the list of FFMpeg protocols:

Simon Thelen

More information about the ffmpeg-user mailing list