[FFmpeg-user] Recording from a stream
Carl Eugen Hoyos
cehoyos at ag.or.at
Fri Dec 25 20:05:56 CET 2015
Jean-Marie Baran <jean-marie.baran <at> ama.bzh> writes:
> | size of next frame | MJPEG frame | size of next frame |
> MJPEG frame | size of next frame | MJPEG frame | ...
>
> My program reads this, remove the sizes, and send the
> frames on ffmpeg's stdin.
If you need the timestamps, you have to change your
program to call libavformat to mux your mjpeg stream
to a container, I suspect mkv is the best solution.
(FFmpeg's mov muxer does not support vfr.)
Carl Eugen
More information about the ffmpeg-user
mailing list