On 2/19/14, Carl Eugen Hoyos <[email protected]> wrote: > Carl Eugen Hoyos <cehoyos@...> writes: > >> Robert Krueger <krueger <at> ...> writes: >> >> > cat ~/samples/fate/dpx/lighthouse_rgb48.dpx | ./ffmpeg >> > -f image2pipe -vcodec dpx -i - ~/tmp/fromdpx_pipe2.png >> >> > [dpx <at> 0x7fcb21822600] Overread buffer. Invalid header? >> >> The image is cut in the middle > > Iiuc, the parser reads the file size from the file > header while the decoder calculates the (minimal > possible) file size. The value that the parser > reads from the file header is too small. > > I suspect the bug can be fixed by reusing the logic > to determine the image size also in the parser or > by ignoring the file size outputting everything until > the next magic marker.
There is no bug in parser, bug is in dpx file which do not conform to the specification. FFmpeg dpx encoder is fine. ImageMagick sucks. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
