[FFmpeg-user] No size progress information available when using tee muxer

marcus.fehde at gmx.net marcus.fehde at gmx.net
Thu Jan 21 21:53:00 EET 2021


Hi!



I ran into a problem using the tee muxer. I'm trying to retrieve the current
size from the piped progress output. This works well if a just output the
encoded stream to a file, like this:

./ffmpeg -i c:\test.mp4 -progress pipe:1 -vcodec libx264 test.mp4

I get messages like those:

frame=  243 fps=102 q=-1.0 Lsize=    2233kB time=00:00:10.00
bitrate=1828.0kbits/s speed=4.21x

But I need to stream the encoded stream via UDP simultaneously. For this
purpose I use the tee muxer:

./ffmpeg -i c:\test.mp4 -vcodec libx264 -acodec aac -f tee -map 0:v -map 0:a
"[f=mpegts]udp://10.0.1.255:1234/|output.mp4"

This works well except that the size information is N/A.



Is there any way to get the size for the file output of the muxer?



Thanks a lot in advanced for any hint.



Best regards,

Marcus



More information about the ffmpeg-user mailing list