Opened 16 years ago

Last modified 16 years ago

#969 new defect

A52 output not aligned to frame-boundaries when using -dumpaudio with -chapter

Reported by: rasher@… Owned by: reimar
Priority: normal Component: ao
Version: HEAD Severity: normal
Keywords: Cc: rasher@…
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

When trying to extract the audio for a DVD, writing one file per chapter, I noticed that the resulting A52 files weren't quite right. They would play in MPlayer, but many other tools didn't accept them. A little more investigation reveals that the files didn't start at a frame boundary (0x0b 0x77), so I assume that MPlayer was skipping the first bytes up to the first frame boundary.

The command I used was "mplayer -vo null -dumpaudio -chapter 3-3 dvd://1" for chapter 3, etc.

I believe MPlayer ought to seek to the nearest frame boundary to ensure that the output is a A52 stream, starting at a frame boundary.

This is admittedly with the Ubuntu package of MPlayer "1.0~rc1-0ubuntu13.1". I'll try with SVN HEAD later, hopefully within a few hours, if this is already fixed, I apologize.

Change History (3)

comment:1 by rasher@…, 16 years ago

Cc: rasher@… added

comment:2 by rasher@…, 16 years ago

Version: 1.0rc1HEAD

I'm getting same behavior with dev-SVN-r25530-4.1.3, changing version to HEAD.

comment:3 by rasher@…, 16 years ago

This does not happen with -demuxer lavf as suggested by uau on #mplayerdev.

Note: See TracTickets for help on using tickets.