[FFmpeg-trac] #3402(avcodec:new): dpx parser is more strict than the dpx decoder
FFmpeg
trac at avcodec.org
Thu Feb 20 11:19:02 CET 2014
#3402: dpx parser is more strict than the dpx decoder
--------------------------------------+---------------------------------
Reporter: cehoyos | Owner:
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: git-master | Keywords: dpx
Blocked By: | Blocking:
Reproduced by developer: 0 | Analyzed by developer: 0
--------------------------------------+---------------------------------
http://thread.gmane.org/gmane.comp.video.ffmpeg.libav.user/12337/focus=12504
The dpx sample fate-suite/dpx/lighthouse_rgb48.dpx has an incorrect
filesize written in the header, works fine with the lavc decoder, the lavc
parser cuts the file.
{{{
$ cat fate-suite/dpx/lighthouse_rgb48.dpx | ./ffmpeg -f image2pipe -vcodec
dpx -i - out.png
ffmpeg version N-60762-g3edc3b1 Copyright (c) 2000-2014 the FFmpeg
developers
built on Feb 20 2014 09:30:22 with gcc 4.7 (SUSE Linux)
configuration: --enable-gpl
libavutil 52. 65.100 / 52. 65.100
libavcodec 55. 52.102 / 55. 52.102
libavformat 55. 33.100 / 55. 33.100
libavdevice 55. 10.100 / 55. 10.100
libavfilter 4. 1.103 / 4. 1.103
libswscale 2. 5.101 / 2. 5.101
libswresample 0. 17.104 / 0. 17.104
libpostproc 52. 3.100 / 52. 3.100
[dpx @ 0x2ad3b20] Overread buffer. Invalid header?
Input #0, image2pipe, from 'pipe:':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: dpx, rgb48be, 768x512, 25 tbr, 25 tbn, 25 tbc
Output #0, image2, to 'out.png':
Metadata:
encoder : Lavf55.33.100
Stream #0:0: Video: png, rgb48be, 768x512, q=2-31, 200 kb/s, 90k tbn,
25 tbc
Stream mapping:
Stream #0:0 -> #0:0 (dpx -> png)
[dpx @ 0x2ad3b20] Overread buffer. Invalid header?
Error while decoding stream #0:0: Invalid data found when processing input
pipe:: Input/output error
frame= 0 fps=0.0 q=0.0 Lsize=N/A time=00:00:00.00 bitrate=N/A
video:0kB audio:0kB subtitle:0 data:0 global headers:0kB muxing overhead
-inf%
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3402>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list