[Libav-user] Creating seekable video files without seekable IO

Carl Eugen Hoyos ceffmpeg at gmail.com
Fri Sep 20 20:53:40 EEST 2019


Am Fr., 20. Sept. 2019 um 09:50 Uhr schrieb Ondřej Perutka
<perutka.ondrej at gmail.com>:

> thank you for the suggestion. For some reason, I thought that mpegts is not seekable
> at all. I've tested it though and seeking worked in all players that I've tested so far.
> One of the tested players had a problem with playback speed though. But it's probably
> a bug in the player.
>
> Unfortunately, it works only for h264. I'm able to mux mjpeg content using mpegts but
> players are not able to handle it for some reason.

You cannot put mjpeg into mpegts, this is not a limitation of FFmpeg.

> Transcoding is also out of the question for me as it'd put too much load on the server.

Did you test hardware encoding?
Or reencoding all mjpeg input in advance?

Please find out what top-posting means and avoid it here, Carl Eugen


More information about the Libav-user mailing list