[FFmpeg-trac] #11556(avformat:new): Apply sensible FourCC for H.265 in AVI
FFmpeg
trac at avcodec.org
Mon May 5 09:23:27 EEST 2025
#11556: Apply sensible FourCC for H.265 in AVI
-------------------------------------+------------------------------------
Reporter: v0lt | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: avi | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 1 |
-------------------------------------+------------------------------------
Comment (by v0lt):
Ok. I did more tests with AVI output.
{{{
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v wmv1
output_wmv1.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v wmv2
output_wmv2.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v mpeg4
output_mpeg4.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v msmpeg4v2
output_msmpeg4v2.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v msmpeg4
output_msmpeg4.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v libxvid
output_libxvid.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v libvpx
output_libvpx.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v libvpx-vp9
output_libvpx-vp9.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v libaom-av1
output_libaom-av1
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v librav1e
output_librav1e.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v libsvtav1
output_libsvtav1.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v libx264
output_libx264.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v libx265
output_libx265.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v libx265 -vtag HEVC
output_libx265_vtag_HEVC.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v libvvenc
output_libvvenc.avi
ffmpeg -f lavfi -i testsrc -t 30 -pix_fmt yuv420p -c:v libvvenc -vtag VVC1
output_libvvenc_vtag_VVC1.avi
}}}
And I got these results:
{{{
wmv1 - OK
wmv2 - OK
mpeg4 - OK
msmpeg4v2 - OK, warning, clipping 2 dct coefficients to -127..127
msmpeg4 - OK, warning, clipping 2 dct coefficients to -127..127
libxvid - OK
libvpx - OK
libvpx-vp9 - OK
libaom-av1 - FAIL, Unable to choose an output format for 'output_libaom-
av1'; use a standard extension for the filename or specify the format
manually.
librav1e - OK
libsvtav1 - OK
libx264 - OK
libx265 - broken output file (BI_RGB)
libx265 (vtag HEVC) - OK
libvvenc - broken output file (BI_RGB)
libvvenc (vtag VVC1) - OK
}}}
I checked file playback in ffplay.exe.
I'll quote myself from the first post:
> Yes I understand that saving HEVC video to AVI file is a bad idea. But
FFmpeg does not write any warnings or errors for this case.
But as we can see, for some encoders (libaom-av1) FFmpeg blocks recording
to AVI.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11556#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list