Opened 9 years ago

Closed 9 years ago

#1698 closed defect (fixed)

MPlayer newest svn cannot play wav file with dts format audio inside

Reported by: gas005@… Owned by: reimar
Priority: normal Component: demuxer
Version: unspecified Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

In my winXP SP3 system.
MPlayer newest svn cannot play wav file with dts format audio inside while MPlayer1.0rc2 can player it.

The audio file is downloaded from http://sverigesradio.se/laddahem/multikanal/dts/surroundtest_011212.zip. Just extract it, you get the wav file.

Another problem is that both the newest svn and MPlayer1.0rc2 cannot play wav file with a52(maybe) format audio inside.(download from http://sverigesradio.se/laddahem/multikanal/dd/surroundtest_dd_640.zip). But VideoLan? player can play it well.

Change History (3)

comment:1 Changed 9 years ago by compn

  • Cc patriotact@… added
  • Component changed from ad to demuxer
  • Owner changed from r_togni@… to reimar

the dts one works with -ac dts
i'm guessing the ac3 would work with -ac a52 (but i dont have liba52 installed to check)

dts and ac3 ffmpeg codecs require the ffmpeg parser to make it work properly. ffmpeg still has trouble with dts-in-wav so -demuxer lavf wont work yet either. see http://roundup.ffmpeg.org/issue70

might just need to add one line:

case 0x1:

for the ac3 and dts codecs in mplayer/libmpdemux/demuxer.c
but that would probably break things

comment:2 Changed 9 years ago by compn

maybe have the audio demuxer write in the correct twocc and then that would fix it.

comment:3 Changed 9 years ago by reimar

  • Resolution set to fixed
  • Status changed from new to closed

If the twocc was wrong, it would not try to use a DTS decoder in the first place.
The demuxer did not indicate that the stream needs parsing.
Fixed in SVN r32668.
Please open a new bug for the AC3 issue.

Note: See TracTickets for help on using tickets.