Why not just view the input?
I want to write an app for watching live streams and with the option to record/watch a stream at the same time. The best tool I found for this is VLC player. Especially the output file can be accessed instantly by other programs, time shift is possible. But VLC player has a very high CPU load compared to FFmpeg, and therefore I would prefer FFmpeg if possible.
Code: Select all
ffmpeg -i %streamURL% -c copy -f mpegts udp://18.104.22.168:1234/ -c copy %filename%
works, but FFplay is very basic, I miss: always on top, keep aspect ratio on resize, hide title bar, move window by dragging any point of the window. This can be enhanced by e.g. AutoHotkey, but the result is not as good as if natively supportet.
llogan wrote:If that's not an option then do you require that the output for the player must be a network stream?
Is there an alternative?
It would help, if there would be an option to force FFmpeg to write the stream to disk in a way that allows other programs to play it instantly.