1
1
I download a lot of streams since the internet speed is too slow to watch high definition. When I download a stream I find the .m3u8 file which points to the TS files. Then I use the following command:
ffmpeg -i stream.m3u8 vid.mp4
This works. But it takes a really long time because it basically reëncodes everything, even though it's already the right format. To avoid reëncoding I can use this command:
ffmpeg -i stream.m3u8 -vcodec copy -acodec copy vid.mp4
This works fine when I play from start to end without interuption. But When I skip back or forward, vlc has trouble creating an image. It can't properly display for a few seconds. This is very annoying.
My question: How Can I create the video without complete reëncoding, but WITH good vlc rendering at any point?
Do you specifically need the MP4 container format? Please show the complete console output from your second command. – llogan – 2015-01-26T19:09:57.047
I do not specifically need the mp4 container. An MKV would siffice. That doesnt get rid of the problem though – Nicky Smits – 2015-01-26T19:29:42.550