[FFmpeg-trac] #10238(undetermined:new): mszh: yuv420 compressed file fails to decode when width is not multiple of 4
FFmpeg
trac at avcodec.org
Wed Mar 8 18:24:04 EET 2023
#10238: mszh: yuv420 compressed file fails to decode when width is not multiple of
4
-------------------------------------+-------------------------------------
Reporter: ami_stuff | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
attached 306x306 files decodes visually correctly with VirtualDub +
original VFW, but in this case the output from VirtualDub "Export/Raw
video..." is not identical for both of the files
the same story about attached two 304x306 samples, which decodes visually
ok with FFmpeg/VirtualDub, but the raw output is not identical for both of
them
{{{
./ffmpeg -i mszh_306_306_yuv420.avi -y out.avi
ffmpeg version N-109867-g5247dab6b1 Copyright (c) 2000-2023 the FFmpeg
developers
built with gcc 9 (Ubuntu 9.4.0-1ubuntu1~20.04.1)
configuration:
libavutil 58. 1.100 / 58. 1.100
libavcodec 60. 2.100 / 60. 2.100
libavformat 60. 2.100 / 60. 2.100
libavdevice 60. 0.100 / 60. 0.100
libavfilter 9. 1.100 / 9. 1.100
libswscale 7. 0.100 / 7. 0.100
libswresample 4. 9.100 / 4. 9.100
Input #0, avi, from 'mszh_306_306_yuv420.avi':
Metadata:
software : Lavf60.2.100
Duration: 00:00:00.33, start: 0.000000, bitrate: 27166 kb/s
Stream #0:0: Video: mszh (MSZH / 0x485A534D), yuv420p, 306x306, 23.97
fps, 23.97 tbr, 23.97 tbn
Stream mapping:
Stream #0:0 -> #0:0 (mszh (native) -> mpeg4 (native))
Press [q] to stop, [?] for help
[mszh @ 0x55df7e4309c0] Decoded size differs (140454 != 140452)
[mszh @ 0x55df7e454180] Decoded size differs (140454 != 140452)
[mszh @ 0x55df7e477940] Decoded size differs (140454 != 140452)
Error while decoding stream #0:0: Invalid data found when processing input
Last message repeated 2 times
[mszh @ 0x55df7e49b100] Decoded size differs (140454 != 140452)
Error while decoding stream #0:0: Invalid data found when processing input
[mszh @ 0x55df7e4be8c0] Decoded size differs (140454 != 140452)
Error while decoding stream #0:0: Invalid data found when processing input
[mszh @ 0x55df7e4e2080] Decoded size differs (140454 != 140452)
Error while decoding stream #0:0: Invalid data found when processing input
[mszh @ 0x55df7e505840] Decoded size differs (140454 != 140452)
Error while decoding stream #0:0: Invalid data found when processing input
[mszh @ 0x55df7e529000] Decoded size differs (140454 != 140452)
Error while decoding stream #0:0: Invalid data found when processing input
Output #0, avi, to 'out.avi':
Metadata:
software : Lavf60.2.100
ISFT : Lavf60.2.100
Stream #0:0: Video: mpeg4 (FMP4 / 0x34504D46), yuv420p, 306x306, q=2-31,
200 kb/s, 23.97 fps, 23.97 tbn
Metadata:
encoder : Lavc60.2.100 mpeg4
Side data:
cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate=
-0.0kbframe= 0 fps=0.0 q=0.0 Lsize= 6kB time=-577014:32:22.77
bitrate=N/A speed=N/A
video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: unknown
Output file is empty, nothing was encoded (check -ss / -t / -frames
parameters if used)
Conversion failed!
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10238>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list