Opened 17 months ago

Last modified 17 months ago

#10092 open defect

DivX 5.0 interlaced b-frames video decodes with artifacts

Reported by: Timofey Vasenin Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description (last modified by Timofey Vasenin)

Summary of the bug:
FFMPEG decodes DivX 5.0 interlaced b-frames video with awful block artifacts.

I assume DivX generates buggy bitstream (as XviD also decodes with artifacts), but at least it is decoded correctly by DivX itself.

How to reproduce:

- Encode any video as interlaced using DivX codec (tested with DivX Pro 5.0.5 + VirtualDub2 44828) with b-frames enabled (this is default for DivX Pro 5.0.5 encoder) and all other settings left as default.
- Try to decode the result with ffmpeg:
ffplay divx_interlaced_decoding_artifacts.avi
- The resulting video has lot of visible block artifacts, mostly noticeable on b-frames.

Attachments (1)

divx_interlaced_decoding_artifacts.avi (1.6 MB ) - added by Timofey Vasenin 17 months ago.

Download all attachments as: .zip

Change History (4)

by Timofey Vasenin, 17 months ago

comment:1 by Timofey Vasenin, 17 months ago

Component: undeterminedavcodec

comment:2 by Timofey Vasenin, 17 months ago

Description: modified (diff)

comment:3 by mkver, 17 months ago

Reproduced by developer: set
Status: newopen

Seems to be related to a race: Output looks good with -threads 1. Might be the detection of bugs to workaround (which is known to be racy).

Note: See TracTickets for help on using tickets.