2016-10-11 15:52 GMT+02:00 Ståle kristoffersen <staal...@ifi.uio.no>:
> I have some transport streams with only one pid, containing MJPEG 2000
> video. Since the PMT/PAT is missing ffmpeg is unable to decode it.
Do you also have samples that can be decoded by FFmpeg? (We don't)
How are your samples produced? Do you have a way to playback the
samples now without FFmpeg? I ask because I would love to see this
> The attached patch makes ffmpeg able to guess that it does contain a
> stream of jpeg 2000, but I am not sure if this is the correct approach.
The approach is correct but if you want to improve the patch, it should
look more like the mjpeg probe function and return a higher score if
more valid frames can be found.
> Also, should LIBAVFORMAT_VERSION_MICRO
It should be MINOR since you add a new symbol to the library.
> and the Changelog be updated?
I don't Changelog should be updated for this patch.
Thank you, Carl Eugen
ffmpeg-devel mailing list