[FFmpeg-trac] #11556(avformat:new): Apply sensible FourCC for H.265 in AVI

FFmpeg trac at avcodec.org
Mon May 5 00:30:47 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 compn):

 Replying to [comment:3 Aleksoid1978]:
 > Then you need to prohibit ffmpeg from writing h264/h265 to AVI.

 it would require us to compile and maintain a list of all incompatible
 codecs with incompatible containers along with all incompatible
 colorspaces, incompatible sample rates, bit depths, resolutions, channels,
 streams, fourcc, isom, tags, subtitles...

 it would add quite a bit of LOC to the project and would take up a bunch
 of developer time. for extremely low benefit. if you make an h265 in avi
 file and realize it doesnt play in your player, you learn immediately that
 you goofed. and the only way to output avi is if the user specifies it.
 user error.

 https://ffmpeg.org/ffmpeg-all.html#libx265

 if you just wanted to improve the documentation by specifying common
 containers for lib265 encoder ^ . that can be done. the example in the
 DOCS already lists .mp4, not .avi output.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11556#comment:5>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list