I have noticed that the FFmpeg AVI muxer creates non-compliant Avi files.
Checking these files with AviHex shows errors.
The files still play fine with most software players.
Older hardware players (e.g. DVD players with USB port) can not play them.
If you mux to mkv and then mux this mkv file to AVI with Avidemux, this new Avi file is compliant.
You can check this yourself.
If any of you have contact with the FFmpeg developers, please report this bug so it can be fixed.
The sample file info:
General
Complete name : O:\Rip\MainMovie\sample.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 6.13 MiB
Duration : 38 s 438 ms
Overall bit rate : 1 339 kb/s
Writing application : Lavf59.16.100
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Simple@L3
Format settings, BVOP : No
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Codec ID : divx
Codec ID/Info : Mainly used by Google
Codec ID/Hint : DivX
Duration : 38 s 438 ms
Bit rate : 882 kb/s
Width : 720 pixels
Height : 480 pixels
Display aspect ratio : 3:2
Frame rate : 29.970 (30000/1001) FPS
Standard : NTSC
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.085
Stream size : 4.04 MiB (66%)
Writing library : XviD 74
Audio
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Codec ID : 00002000-0000-0010-8000-00AA00389B71
Duration : 37 s 984 ms
Bit rate : 448 kb/s
Channel(s) : 6 channels
Channel layout : L R C LFE Ls Rs
Sampling rate : 48.0 kHz
Bit depth : 16 bits
Compression mode : Lossy
Stream size : 2.03 MiB (33%)
Interleave, duration : 32 ms (0.97 video frame)
Interleave, preload duration : 64 ms
muxed with ffmpeg v5.0.1
Here is the muxed file
https://files.videohelp.com/u/292773/Sample_muxed_with_ffmpeg_to_avi.avi
When the file is played in avidemux, no sound is heard. The audio track is not recognized correctly, probably because it is not muxed correctly.
TIA
ProWo
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 7 of 7
Thread
-
Last edited by ProWo; 9th Jul 2022 at 08:24.
-
I can confirm a similar problem months ago for an old split movie in two parts, which I was trying to merge with ffmpeg. Same problem of this file after the mux, especially with the audio. I solved the problem using the classic VirtualDub. So yes, I think that the ffmpeg's avi muxer has some problem.
-
"00002000-0000-0010-8000-00AA00389B71" appears to be the Windows Media Format SDK media id for Dolby Digital Plus, AKA Enhanced AC-3.
-
Thanks for the info. *thumbs up*
Well, that really sucks. It MIGHT BE "technically-correct", but ``nobody uses it´´, so what would be the point of the most-recent FFmpeg
FWIW: the GUID for eac3 in a RIFF container is FFFE / A7FB87AF-2D02-42FB-A4D4-05CD93843BDD,
whereas the GUID for ""normal"" AC-3 is FFFE / E06D802C-DB46-11CF-B4D1-00805F6CBBEA."Programmers are human-shaped machines that transform alcohol into bugs."
Similar Threads
-
FFMpeg XDCAM RDD9 Compliant MXF - Gop Structure
By ausmetal in forum Video ConversionReplies: 5Last Post: 9th Dec 2022, 00:12 -
ffmpeg: tee muxer to monitor a recording in real time, and save it to disk
By Sentinel166 in forum LinuxReplies: 9Last Post: 29th Oct 2021, 09:00 -
Avi files won't play properly and unable to edit avi videos
By aruwin in forum Software PlayingReplies: 11Last Post: 31st Jul 2020, 15:39 -
Converting Avi to Mpg using ffmpeg
By sumit_pankaj in forum Video ConversionReplies: 5Last Post: 31st May 2020, 21:42 -
Blu-ray compliant with ffmpeg 2-pass vs mp4
By Squeeto in forum Video ConversionReplies: 7Last Post: 14th Feb 2019, 23:04