[FFmpeg-user] Piping FFMPEG out makes loosing file duration

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Sep 13 18:21:18 EEST 2018


2018-09-13 11:35 GMT+02:00, Jonathan Sillan <sillan at challenge2media.com>:

> ffmpeg -i myFile.mxf -vcodec copy -filter_complex
> "[0:1:a]channelsplit[left1][right1];[left1]asplit=1[a1];[right1]asplit=1[a2]"
> -map 0:v:0 -map "[a1]" -map "[a2]"  -c:a:0 pcm_s24le -b:a:0 1152k -ar:0 48k
> -c:a:1 pcm_s24le -b:a:1 1152k -ar:1 48000 -f mxf pipe:1 >
> myFile_ff_pipe_local.mxf

(Complete, uncut console output missing.)

FFmpeg cannot know in advance the duration of the output
file after applying the filter chain / you cannot use pipe and
expect the output file to have a valid duration.

Carl Eugen


More information about the ffmpeg-user mailing list