[FFmpeg-devel] [PATCH] Fix distortion problem in MPEG1/2 video

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Nov 17 16:38:12 CET 2012


On 17 Nov 2012, at 06:05, "Hee Suk Jung" <heesuk.jung at lge.com> wrote:
> 
> From b67e7001765b9008d1edf09e445f9dbd331c33a2 Mon Sep 17 00:00:00 2001
> From: Heesuk Jung <heesuk.jung at lge.com>
> Date: Sat, 17 Nov 2012 13:52:50 +0900
> Subject: [PATCH] Fix distortion problem in MPEG1/2 video
> 
> In some MPEG1/2 AVI files, there are video distortion problem in bottom of screen.
> (I just test files by ffplay)
> 
> 1. MPEG1 video problematic file link
> - https://docs.google.com/open?id=0B6r7ZfWFIypCMkltZHJDY0pQN1U
> 2. MPEG2 video problematic file link
> - https://docs.google.com/open?id=0B6r7ZfWFIypCM0ZremxpbXc1N3c
> 
> Suggests to use AVSTREAM_PARSE_FULL option in prblematic cases.


I believe those are clearly broken files. Are they common enough that we should support them despite the speed cost for good files?
Otherwise I'd rather suggest to add an option to force full parsing + try to make the decoder detect this case and suggest that option.


More information about the ffmpeg-devel mailing list