[FFmpeg-user] Command Line Input - Read from Memory

William van Gelder j_w_vg at hotmail.com
Tue Aug 9 23:26:00 EEST 2016

Hi Peter,

Thanks for your reply.

The data in memory is copied from a buffer object that is filled by a stream.

I am trying to ingest from memory and use the command line instead of programming the whole process.

I believe it should be doable just don't know exactly how.

Best regards,


Van: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> namens Peter White <peter.white at posteo.net>
Verzonden: dinsdag 9 augustus 2016 19:33
Aan: FFmpeg user questions
Onderwerp: Re: [FFmpeg-user] Command Line Input - Read from Memory


09.08.2016 17:31 William van Gelder:
 > I am looking for a way to read the input of the command line from
 > memory instead of ingesting a file or URL.

I am not certain I understand, what you want to achieve. Maybe
elaborate a bit more?
Do you want to avoid intermediary files or have you got some data
somewhere in memory that you want to feed into ffmpeg? In the first
case pipelining to stdin comes to mind:

$ command_that_writes_to_stdout | ffmpeg -i - output

ffmpeg-user mailing list
ffmpeg-user at ffmpeg.org
ffmpeg-user Info Page<http://ffmpeg.org/mailman/listinfo/ffmpeg-user>
This list is for regular user questions like compilation troubles, command-line issues and similar. Please provide your ffmpeg command(s) and complete, uncut ...

To unsubscribe, visit link above, or email
ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list