Opened 14 months ago

Closed 7 months ago

#10237 closed defect (fixed)

mszh: yuv411 and yuv422 - unsupported dimensions when width is not multiple of 4

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Attachments (4)

mszh_306_306_yuv411.avi (1.1 MB ) - added by ami_stuff 14 months ago.
mszh_306_306_yuv411_nocompress.avi (1.1 MB ) - added by ami_stuff 14 months ago.
mszh_306_306_yuv422.avi (1.3 MB ) - added by ami_stuff 14 months ago.
mszh_306_306_yuv422_nocompress.avi (1.4 MB ) - added by ami_stuff 14 months ago.

Change History (5)

by ami_stuff, 14 months ago

Attachment: mszh_306_306_yuv411.avi added

by ami_stuff, 14 months ago

by ami_stuff, 14 months ago

Attachment: mszh_306_306_yuv422.avi added

by ami_stuff, 14 months ago

comment:1 by Elon Musk, 7 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.