[MPlayer-users] DVB stream including LATM AAC Audio issues

Steven Ellis lists at stevencherie.net
Tue Jan 8 06:08:02 CET 2008


> Il Monday 07 January 2008 01:38:03 Steven Ellis ha scritto:
>
>> Thanks for the patch. I've tried it on my 1 minute sample videos from
NZ with limited luck
>>
>> tv6.ts produces no audio
>>
>> tv7.ts produces a couple of seconds of audio and then crashes with the
following backtrace
>> Error while decoding frame!
>> mplayer: mdct.c:63: faad_mdct_init: Assertion `N % 8 == 0' failed.
>
> at least does it sound correctly or corrupt ? :)

The 1-2 seconds I get sound correct before it crashes.

I've had an additional play with the file sport.ts and it plays a little
better if I use the following command line to avoid any potential video
playback issues

mplayer -vc null sport.ts

This then produced the following output

MPlayer dev-SVN-r25634-4.1.2 (C) 2000-2008 MPlayer Team
CPU: Genuine Intel(R) CPU           T2400  @ 1.83GHz (Family: 6, Model:
14, Stepping: 8)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
117 audio & 239 video codecs
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /home/sellis/videos/sport.ts.
TS file format detected.
VIDEO H264(pid=254) AUDIO AAC/LATM(pid=304) NO SUBS (yet)!  PROGRAM N. 1204
FPS seems to be: 25.000000
==========================================================================
Forced video codec: null
Opening video decoder: [null] Null video decoder
VDecoder init failed :(
Cannot find codec matching selected -vo and video format 0x10000005.
Read DOCS/HTML/en/codecs.html!
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio)
decoder)
==========================================================================
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
INITOK: 0, sr: 48000, channels: 2, bits: 27
framelentype: 4
unsupported framelentype: 4
versionA not supported of 970.2 (16:10.2) ??,?%
versionA not supported
unsupported multiple programs/streams0.2) ??,?%
INITOK: 0, sr: 48000, channels: 2, bits: 27?,?%
framelentype: 0

DECODING 216 FAILED, error: Scalefactor out of range
INITOK: 0, sr: 48000, channels: 2, bits: 27
framelentype: 4
unsupported framelentype: 4

DECODING 314 FAILED, error: Maximum number of bitstream elements exceeded
INITOK: 0, sr: 48000, channels: 2, bits: 27
framelentype: 4
unsupported framelentype: 4
INITOK: 0, sr: 48000, channels: 2, bits: 27
framelentype: 4
unsupported framelentype: 4

DECODING 329 FAILED, error: Maximum number of bitstream elements exceeded
INITOK: 0, sr: 48000, channels: 2, bits: 276.1%
framelentype: 4
unsupported framelentype: 4
INITOK: 0, sr: 48000, channels: 2, bits: 27
framelentype: 0

DECODING 130 FAILED, error: Gain control not yet implemented
INITOK: 0, sr: 48000, channels: 2, bits: 274.7%
framelentype: 0

DECODING 130 FAILED, error: Maximum number of scalefactor bands exceeded

DECODING 368 FAILED, error: Maximum number of bitstream elements exceeded
INITOK: 0, sr: 48000, channels: 2, bits: 275.4%
framelentype: 4
unsupported framelentype: 4
INITOK: 0, sr: 48000, channels: 2, bits: 27
framelentype: 0

DECODING 224 FAILED, error: Invalid number of channels
A:31586.6 ( 8:46:26.6) of 970.2 (16:10.2)  5.0%
DECODING 178 FAILED, error: Unexpected channel configuration change
INITOK: 0, sr: 48000, channels: 2, bits: 27
framelentype: 4
unsupported framelentype: 4
INITOK: 0, sr: 48000, channels: 2, bits: 27
framelentype: 4
unsupported framelentype: 4
INITOK: 0, sr: 48000, channels: 2, bits: 274.6%
framelentype: 0

DECODING 130 FAILED, error: Maximum number of scalefactor bands exceeded

DECODING 319 FAILED, error: Maximum number of bitstream elements exceeded
INITOK: 0, sr: 48000, channels: 2, bits: 275.1%
framelentype: 0

DECODING 236 FAILED, error: Unexpected channel configuration change
INITOK: 0, sr: 48000, channels: 2, bits: 27
framelentype: 4
unsupported framelentype: 4


Also note that there appears to be an issue with the cleanup code as if I
quit during playback I get an invalid pointer error.

*** glibc detected *** /home/sellis/src/svn/mplayer/mplayer:
munmap_chunk(): invalid pointer: 0x097e0448 ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x1bb)[0x8abf2b]
/home/sellis/src/svn/mplayer/mplayer(qmfs_end+0x1c)[0x84d70fc]
/home/sellis/src/svn/mplayer/mplayer(sbrDecodeEnd+0x2f)[0x84d45cf]
/home/sellis/src/svn/mplayer/mplayer(NeAACDecClose+0xb3)[0x84cfbd3]
/home/sellis/src/svn/mplayer/mplayer(uninit_audio+0xd4)[0x80df2a4]
/home/sellis/src/svn/mplayer/mplayer(uninit_player+0x5e)[0x8078e4e]
/home/sellis/src/svn/mplayer/mplayer(exit_player_with_rc+0x2e)[0x807943e]
/home/sellis/src/svn/mplayer/mplayer(run_command+0x1b8b)[0x8085c5b]
/home/sellis/src/svn/mplayer/mplayer(main+0x1e1e)[0x807bdce]
/lib/libc.so.6(__libc_start_main+0xdc)[0x857dec]


Steve






More information about the MPlayer-users mailing list