such files decodes just fine in VirtualDub + original VFW codec
the output from VirtualDub "Export/Raw video..." is the same for both yuv411 and yuv422 files
./ffmpeg -i mszh_306_306_yuv411.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
[mszh @ 0x55b9eb8b1700] Unsupported dimensions is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mszh @ 0x55b9eb8b1700] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[avi @ 0x55b9eb8b0440] Failed to open codec in avformat_find_stream_info
[mszh @ 0x55b9eb8b1700] Unsupported dimensions is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mszh @ 0x55b9eb8b1700] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Input #0, avi, from 'mszh_306_306_yuv411.avi':
Metadata:
software : Lavf60.2.100
Duration: 00:00:00.33, start: 0.000000, bitrate: 26579 kb/s
Stream #0:0: Video: mszh (MSZH / 0x485A534D), yuv411p, 306x306, 23.97 fps, 23.97 tbr, 23.97 tbn
[mszh @ 0x55b9eb8c2b40] Unsupported dimensions is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mszh @ 0x55b9eb8c2b40] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Stream mapping:
Stream #0:0 -> #0:0 (mszh (native) -> mpeg4 (native))
Error while opening decoder for input stream #0:0 : Invalid data found when processing input
./ffmpeg -i mszh_306_306_yuv422.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
[mszh @ 0x561c8ce56700] Unsupported dimensions is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mszh @ 0x561c8ce56700] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[avi @ 0x561c8ce55440] Failed to open codec in avformat_find_stream_info
[mszh @ 0x561c8ce56700] Unsupported dimensions is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mszh @ 0x561c8ce56700] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Input #0, avi, from 'mszh_306_306_yuv422.avi':
Metadata:
software : Lavf60.2.100
Duration: 00:00:00.33, start: 0.000000, bitrate: 31628 kb/s
Stream #0:0: Video: mszh (MSZH / 0x485A534D), yuv422p, 306x306, 23.97 fps, 23.97 tbr, 23.97 tbn
[mszh @ 0x561c8ce67b40] Unsupported dimensions is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[mszh @ 0x561c8ce67b40] If you want to help, upload a sample of this file to https://streams.videolan.org/upload/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
Stream mapping:
Stream #0:0 -> #0:0 (mszh (native) -> mpeg4 (native))
Error while opening decoder for input stream #0:0 : Invalid data found when processing input
Fixed with d11b8bd0c610c212d2a28767f94dc07a8ec473cf