[FFmpeg-trac] #10227(undetermined:new): cscd: video with width not multiple of 4 fails to decode
FFmpeg
trac at avcodec.org
Tue Feb 28 19:37:03 EET 2023
#10227: cscd: video with width not multiple of 4 fails to decode
-------------------------------------+-------------------------------------
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 |
-------------------------------------+-------------------------------------
"cscd_1_0_306_306_lzo.avi" file was encoded by the "CamStudio Lossless
Codec 1.0"
"cscd_1_5_306_306_lzo.avi" file was encoded by the "CamStudio Lossless
Codec 1.5"
camcodec.dll 1.5 is able to decode both of the files correctly.
FFmpeg fails to decode "cscd_1_0_306_306_lzo.avi" file.
What is a reason for this I don't know, but I guess that both files should
decode correctly with FFmpeg's decoder just like they do with the original
thing.
Also both of the files decodes to identical output when I export them to
RAW in VirtualDub: File->Export->Raw video...
{{{
./ffmpeg -i cscd_1_0_306_306_lzo.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 'cscd_1_0_306_306_lzo.avi':
Metadata:
software : Lavf60.2.100
Duration: 00:00:00.21, start: 0.000000, bitrate: 43011 kb/s
Stream #0:0: Video: cscd (CSCD / 0x44435343), bgr24, 306x306, 23.97 fps,
23.97 tbr, 23.97 tbn
Stream mapping:
Stream #0:0 -> #0:0 (cscd (camstudio) -> mpeg4 (native))
Press [q] to stop, [?] for help
[camstudio @ 0x560becc26b80] error during lzo decompression
Error while decoding stream #0:0: Invalid data found when processing input
[camstudio @ 0x560becc26b80] error during lzo decompression
Error while decoding stream #0:0: Invalid data found when processing input
[camstudio @ 0x560becc26b80] error during lzo decompression
Error while decoding stream #0:0: Invalid data found when processing input
[camstudio @ 0x560becc26b80] error during lzo decompression
Error while decoding stream #0:0: Invalid data found when processing input
[camstudio @ 0x560becc26b80] error during lzo decompression
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/10227>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list