Opened 3 years ago

Closed 2 years ago

#9244 closed enhancement (duplicate)

The possibility not to use WAVEFORMATEXTENSIBLE to AVI

Reported by: v0lt Owned by:
Priority: wish Component: avformat
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
FFmpeg changes the WAVEFORMATEX structure to WAVEFORMATEXTENSIBLE for AC3 multichannel audio tracks for files larger than 1 GB. This causes a compatibility problem with stationary players. The "-write_channel_mask false" switch does not help.

How to reproduce:

% ffmpeg -i "1.3GB.avi" -c copy "output1.avi"
or
% ffmpeg -i "1.3GB.avi" -c copy -write_channel_mask false "output2.avi"

ffmpeg version 2021-05-12-git-175f675f7b-full_build-www.gyan.dev Copyright (c) 2
000-2021 the FFmpeg developers
  built with gcc 10.2.0 (Rev6, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32thr
eads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --e
nable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enab
le-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --e
nable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvb
i --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enabl
e-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx
--enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enabl
e-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm -
-enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va
--enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-open
cl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --en
able-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora
--enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --e
nable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --
enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-lib
rubberband --enable-libsoxr --enable-chromaprint
  libavutil      57.  0.100 / 57.  0.100
  libavcodec     59.  1.100 / 59.  1.100
  libavformat    59.  0.101 / 59.  0.101
  libavdevice    59.  0.100 / 59.  0.100
  libavfilter     8.  0.101 /  8.  0.101
  libswscale      6.  0.100 /  6.  0.100
  libswresample   4.  0.100 /  4.  0.100
  libpostproc    56.  0.100 / 56.  0.100

Please make sure that the WAVEFORMATEX structure is used when using the "-write_channel_mask false" switch. Or add another key for compatibility.

Attachments (1)

tiket9244_patch_1.diff (924 bytes ) - added by v0lt 22 months ago.
If the "-write_channel_mask false" key is used, then do not use WAVEFORMATEXTENSIBLE (if possible).

Download all attachments as: .zip

Change History (3)

comment:1 by Carl Eugen Hoyos, 3 years ago

Priority: importantwish

Might be a duplicate

comment:2 by Balling, 2 years ago

Resolution: duplicate
Status: newclosed

Lets close this in favour of #9826.

by v0lt, 22 months ago

Attachment: tiket9244_patch_1.diff added

If the "-write_channel_mask false" key is used, then do not use WAVEFORMATEXTENSIBLE (if possible).

Note: See TracTickets for help on using tickets.