Opened 10 years ago

Last modified 8 years ago

#1288 new defect

Regression with -vc null and mp4 files, errors in dumping audio ("Too many buffered pts")

Reported by: cosoleto@… Owned by: reimar
Priority: normal Component: core
Version: unspecified Severity: minor
Keywords: Cc: h.mth@…
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

Hello.

This bug seems added in r25951-r25952, instead 1.0rc2-r25950 versions work fine.

What isn't working using latest SVN version:

works? command line
ok - mplayer "file.mp4"
ok - mplayer -vo null "file.mp4"
bug - mplayer -vc null "file.mp4" <---
bug - mplayer -vc null -vo null "file.mp4"

MPlayer output:


mplayer -vc null -vo null -ao pcm:fast:file=/tmp/fifo "file.mp4"

MPlayer dev-SVN-r27655-4.3 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) XP 2500+ (Family: 6, Model: 10, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Playing file.mp4.
libavformat file format detected.
[lavf] Video stream found, -vid 0
[lavf] Audio stream found, -aid 1
VIDEO: [avc1] 640x480 24bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: null
Opening video decoder: [null] Null video decoder
VDec: vo config request - 640 x 480 (preferred colorspace: BGR 24-bit)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 640x480 => 640x480 Planar YV12
Selected video codec: [null] vfm: null (NULL codec (no decoding!))
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 48000 Hz, 2 ch, s16le, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio) decoder)
==========================================================================
[AO PCM] File: /tmp/fifo (WAVE)
PCM: Samplerate: 48000Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
Too many buffered pts
[...]
Too many buffered pts

Too many audio packets in the buffer: (4096 in 1393489 bytes).


Thanks.

Change History (4)

comment:1 Changed 10 years ago by compn

reproduced.

workaround1: -novideo
workaround2: -vc dummy

comment:2 Changed 10 years ago by cosoleto@…

workaround3: -demuxer mov

comment:3 Changed 10 years ago by cosoleto@…

workaround4: -nocorrect-pts

r25952 permits to libavformat demuxer to auto-enable correct-pts option that does MPlayer report 'Too many buffered pts' error. I guess this options shouldn't be enabled when no video is present.

comment:4 Changed 8 years ago by compn

  • Cc h.mth@… added
Note: See TracTickets for help on using tickets.