Opened 5 years ago

Closed 5 years ago

#1966 closed defect (fixed)

first field missing playing dvd with commit 8824a9ed

Reported by: dylex Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: regression mpeg2video
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Playing certain DVDs (MPEG2 720x480 (aspect 3) 29.970 fps 8800.0 kbps, under mplayer) after ffmpeg commit 8824a9ed "mpeg12: clean current picture ptr." results in many error messages:
[mpeg2video @ 0xf404a0]first field missing
and blank video. (Audio continues to work fine.)

Reverting this commit fixes the problem and video plays perfectly with the following messages:
[mpeg2video @ 0xf404a0]allocate dummy last picture for field based first keyframe
[mpeg2video @ 0xf404a0]ac-tex damaged at 7 6

Change History (4)

comment:1 Changed 5 years ago by cehoyos

  • Keywords regression mpeg2video added
  • Priority changed from minor to important

Could you provide a sample?

comment:2 Changed 5 years ago by dylex

Uploaded bug1966ex1.vob to upload.ffmpeg.org. It's the showtime logo from a dvd with this problem, extracted with mplayer -dumpstream. Playing this file has the same results for me as playing the real dvd content.

comment:3 Changed 5 years ago by cehoyos

Not reproducible with mplayer -demuxer lavf

$ /ffmpeg -i bug1966ex1.vob
ffmpeg version N-47069-ge55c385 Copyright (c) 2000-2012 the FFmpeg developers
  built on Nov 25 2012 21:21:02 with gcc 4.7 (SUSE Linux)
  configuration: --enable-gpl --disable-indev=jack
  libavutil      52.  9.102 / 52.  9.102
  libavcodec     54. 77.100 / 54. 77.100
  libavformat    54. 37.100 / 54. 37.100
  libavdevice    54.  3.100 / 54.  3.100
  libavfilter     3. 23.102 /  3. 23.102
  libswscale      2.  1.102 /  2.  1.102
  libswresample   0. 17.101 /  0. 17.101
  libpostproc    52.  2.100 / 52.  2.100
[mpeg2video @ 0x35237e0] allocate dummy last picture for field based first keyframe
[mpeg @ 0x351d240] max_analyze_duration 5000000 reached at 5005000
Input #0, mpeg, from 'bug1966ex1.vob':
  Duration: 00:00:10.94, start: 0.300300, bitrate: 6907 kb/s
    Stream #0:0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [SAR 32:27 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0:1[0x80]: Audio: ac3, 48000 Hz, stereo, s16, 224 kb/s
At least one output file must be specified

comment:4 Changed 5 years ago by cehoyos

  • Resolution set to fixed
  • Status changed from new to closed

Both mplayer -demuxer mpeg -vc ffmpeg12 and mplayer -demuxer mpeg -vc ffmpeg12vdpau work fine with current git head, fixed by Michael.

Please reopen the ticket if other applications still fail.

Note: See TracTickets for help on using tickets.