Opened 18 years ago
Closed 17 years ago
#554 closed defect (remind)
Second last frame duplicated on MPEG decoding
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | libavformat |
Version: | unspecified | Severity: | normal |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
The ffmpeg application duplicates the second last frame when reading some mpeg
files (example attached). For example, the following output from an ffmpeg run
shows that 394 frames have been extracted from the attached file which only
holds 393 frames (see timecode visible in the pictures).
ffmpeg output from the following command: ffmpeg -i 393.mpg -f image2 'img%03d.jpg'
========================================================
FFmpeg version SVN-r5991, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --disable-strip --disable-opts --disable-mmx
libavutil version: 49.0.0
libavcodec version: 51.11.0
libavformat version: 50.5.0
built on Aug 13 2006 17:58:38, gcc: 4.0.4 20060507 (prerelease) (Debian 4.0.3-3)
Input #0, mpeg, from '393.mpg':
Duration: 00:00:14.8, start: 0.220000, bitrate: 2065 kb/s
Stream #0.0[0x1e0]: Video: mpeg1video, yuv420p, 720x576, 1700 kb/s, 25.00 fps(r)
Stream #0.1[0x1c0]: Audio: mp2, 44100 Hz, stereo, 224 kb/s
Output #0, image2, to 'img%03d.jpg':
Stream #0.0: Video: mjpeg, yuvj420p, 720x576, q=2-31, 200 kb/s, 25.00 fps(c)
Stream mapping:
[mjpeg @ 0x83c7978]removing common factors from framerate
Press [q] to stop encoding
frame= 394 q=24.8 Lsize= 0kB time=15.8 bitrate= 0.0kbits/s
video:5968kB audio:0kB global headers:0kB muxing overhead -100.000000%
===============================================================
The problem is reproducible also on Windows/MinGW, and it is in the libraries,
not the ffmpeg application.
Attachments (4)
Change History (12)
by , 18 years ago
Attachment: | video393.z01 added |
---|
comment:1 by , 18 years ago
by , 18 years ago
Attachment: | video393.z02 added |
---|
Zipped MPEG file with 393 frames and visible timecode, part 2
comment:2 by , 18 years ago
by , 18 years ago
Attachment: | video393.z03 added |
---|
Zipped MPEG file with 393 frames and visible timecode, part 3
comment:3 by , 18 years ago
by , 18 years ago
Attachment: | video393.zip added |
---|
Zipped MPEG file with 393 frames and visible timecode, part 4
comment:4 by , 18 years ago
comment:6 by , 18 years ago
I can't say at the moment because we've frozen ffmpeg in our project at svn
revision 5992 in order to avoid further trouble right now. We will eventually
catch up again and retest, and also possibly contribute a couple of patches
unless the situation has rectified itself in the meantime.
comment:8 by , 17 years ago
Resolution: | → remind |
---|---|
Status: | new → closed |
closing all ffmpeg bugs
please use ffmpeg roundup tracker for ffmpeg bugs now
Zipped MPEG file with 393 frames and visible timecode, part 1