Opened 8 years ago

Closed 8 years ago

#5332 closed defect (fixed)

24bit FLACs muxed in mkv marked as 32bit resulting in no audio on Windows 10

Reported by: hdvdeo Owned by:
Priority: normal Component: avformat
Version: git-master Keywords: mkv flac
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug: 24bit FLACs muxed in mkv marked as 32bit resulting in no audio on Windows 10
How to reproduce:

  1. Take H264/HEVC based video file with 1 5.1 audio track in mkv container
  2. try to use ffmpeg as stated below to convert audio track to flac 5.1 also to mkv container
  3. resulting file will be converted ok, however mkv header will contain information that audio bit depth is 32 bit, in reality it will be 24 bits and even ffprobe shows that.
  4. as a consequence try to open file in Movies&TV or Media Player applications that come with Windows.

files are playing without audio

  1. if you correct header information to 24 bits mkv file plays without problem.
    ffmpeg -report -v 9 -loglevel 99 -i "d:\\temp\\HEVC-FLAC51.mkv" -c:v copy -c:a flac "d:\\temp\\sample.mkv"
    ffmpeg version N-78949-g6f5048f Copyright (c) 2000-2016 the FFmpeg developers
      built with gcc 5.3.0 (GCC)
    

You can find original and resulting file here: http://1drv.ms/1YJY0Jm
Log file attached

Attachments (1)

ffmpeg-20160312-155527.log (320.7 KB ) - added by hdvdeo 8 years ago.
Log file

Download all attachments as: .zip

Change History (4)

by hdvdeo, 8 years ago

Attachment: ffmpeg-20160312-155527.log added

Log file

comment:1 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedavformat
Keywords: mkv flac added
Version: unspecifiedgit-master

Please test if this patch fixes the issue for you:
http://ffmpeg.org/pipermail/ffmpeg-devel/2016-March/191369.html

comment:2 by Carl Eugen Hoyos, 8 years ago

Reproduced by developer: set
Status: newopen

comment:3 by Carl Eugen Hoyos, 8 years ago

Resolution: fixed
Status: openclosed

Should be fixed by Hendrik Leppkes in c43d4858119e79db0c24f673bcbf20eb3870b307
Thank you for the report!

Note: See TracTickets for help on using tickets.