[FFmpeg-devel] [RFC] Videos that change colorspace
Jason Garrett-Glaser
darkshikari
Thu Jun 18 03:53:39 CEST 2009
Some quite popular camera is producing MJPEG videos that change
colorspace: the first frame is YUVJ422P and all frames afterwards are
YUVJ420P.
This crashes ffmpeg (since swscale doesn't get re-initted after the
video finding a new colorspace, and attempts to resample chroma that
doesn't exist). It creates rather funky video in Virtualdub as well,
but works perfectly in FFDshow+MPC on Windows.
The relevant ticket can be found here:
https://roundup.ffmpeg.org/roundup/ffmpeg/issue1165
To give you an idea of how widespread this issue is, Facebook receives
(my estimate based on grepping the logs) around one thousand of these
files a day.
How should we deal with this issue?
Dark Shikari
More information about the ffmpeg-devel
mailing list