#10155 closed defect (wontfix)
magicyuv enc: width and/or height must be multiple of 2 for yuv420p/yuv422p pix_fmts
| 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
for -pixfmt yuv420p - width and height must be multiple of 2
for -pixfmt yuv422p - width must be multiple of 2
otherwise the original codec (MagicYUV v1.2rev2) will reject/won't decode files created by ffmpeg
https://trac.ffmpeg.org/raw-attachment/ticket/10068/gold2.avi
./ffmpeg -i gold2.avi -s 319x239 -vcodec magicyuv -pix_fmt yuv420p magicyuv.avi
ffmpeg version N-109674-gc0bc804e55-20230127 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (crosstool-NG 1.25.0.90_cf9beb1)
configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-ffbuild-linux-gnu- --arch=x86_64 --target-os=linux --enable-version3 --disable-debug --enable-iconv --enable-libxml2 --enable-zlib --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-libvorbis --enable-opencl --enable-libpulse --enable-libvmaf --enable-libxcb --enable-xlib --enable-amf --enable-libaom --enable-libaribb24 --disable-avisynth --enable-chromaprint --enable-libdav1d --disable-libdavs2 --disable-libfdk-aac --enable-ffnvcodec --enable-cuda-llvm --disable-frei0r --enable-libgme --enable-libkvazaar --enable-libass --enable-libbluray --enable-libjxl --enable-libmp3lame --enable-libopus --enable-mbedtls --enable-librist --enable-libssh --enable-libtheora --enable-libvpx --enable-libwebp --enable-lv2 --disable-libmfx --enable-libvpl --enable-openal --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopenmpt --enable-librav1e --disable-librubberband --disable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libdrm --enable-vaapi --disable-libvidstab --enable-vulkan --enable-libshaderc --enable-libplacebo --disable-libx264 --disable-libx265 --disable-libxavs2 --disable-libxvid --enable-libzimg --enable-libzvbi --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-ldexeflags=-pie --extra-libs='-ldl -lgomp' --extra-version=20230127
libavutil 57. 44.100 / 57. 44.100
libavcodec 59. 57.100 / 59. 57.100
libavformat 59. 36.100 / 59. 36.100
libavdevice 59. 8.101 / 59. 8.101
libavfilter 8. 54.100 / 8. 54.100
libswscale 6. 8.112 / 6. 8.112
libswresample 4. 9.100 / 4. 9.100
Input #0, avi, from 'gold2.avi':
Duration: 00:00:12.00, start: 0.000000, bitrate: 153 kb/s
Stream #0:0: Video: srgc (srgc / 0x63677273), bgra, 299x171, 149 kb/s, 15 fps, 15 tbr, 15 tbn
Stream mapping:
Stream #0:0 -> #0:0 (srgc (native) -> magicyuv (native))
Press [q] to stop, [?] for help
Output #0, avi, to 'magicyuv.avi':
Metadata:
ISFT : Lavf59.36.100
Stream #0:0: Video: magicyuv (M8Y0 / 0x3059384D), yuv420p(tv, progressive), 319x239, q=2-31, 200 kb/s, 15 fps, 15 tbn
Metadata:
encoder : Lavc59.57.100 magicyuv
frame= 0 fps=0.0 q=0.0 size= 0kB time=-577014:32:22.77 bitrate= -0.0kbframe= 180 fps=0.0 q=-0.0 Lsize= 5675kB time=00:00:11.93 bitrate=3896.0kbits/s speed= 131x
video:5665kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.173026%
Change History (4)
comment:1 by , 4 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
comment:2 by , 4 years ago
comment:3 by , 4 years ago
Because if it was not obvious by now, its not ffmpeg limitation but "other" one.
comment:4 by , 4 years ago
Limition of "other" one? You mean reference decoder? The ability to create incompatible files with reference decoder will just introduce only problems for the users, as long as you call your encoder "magicyuv".
Note:
See TracTickets
for help on using tickets.



Could you at least explain why you won't fix certain issue? You are acting very rude.