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

_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to