[MPlayer-users] audio stutter with DTS in matroska?

Blammo blammo.doh at gmail.com
Sat Feb 23 06:07:50 CET 2008


On Sat, Nov 24, 2007 at 6:08 AM, Ulion <ulion2002 at gmail.com> wrote:
> 2007/11/24, Niko Vettenranta <niko.vettenranta at gmail.com>:
> > I read about this problem that people are having stuttering sound with some
> > DTS tracks when they are trying to passthrough them to their receivers. I
> > narrowed the stuttering problem down to those DTS 1.5 Mbps tracks that are
> > transcoded from lossless Dolby TruHD, LPCM or PCM tracks with EAC3TO and
> > Nero.
> >
> > Hopefully this brings new light to the problem and way to get it fixed. I
> > also have some stuttering samples that I could upload if needed.
>
> Wellcome to upload samples, anonymous login to
> ftp://upload.mplayerhq.hu/MPlayer/incoming , make a dir and upload
> samples into it, and post your directory name to list.

/720p_x264_AC3_audiostutter/xmen.3-720p-x264-sample.mkv


For what it's worth, mplayer doesn't complain about anything on the
playback console. Assuming I don't have the debug high enough...


-----------------------------

mplayer -ao alsa -ac hwdts,hwac3, -vo xv -fs -zoom
xmen.3-720p-x264-sample.mkv -v

MPlayer dev-SVN-r26068-4.1.2 (C) 2000-2008 MPlayer Team
CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6400+ (Family: 15,
Model: 67, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE SSE2
get_path('codecs.conf') -> '/home/mythtv/.mplayer/codecs.conf'
Reading /home/mythtv/.mplayer/codecs.conf: Can't open
'/home/mythtv/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration:
CommandLine: '-ao' 'alsa' '-ac' 'hwdts,hwac3,' '-vo' 'xv' '-fs'
'-zoom' 'xmen.3-720p-x264-sample.mkv' '-v'
init_freetype
get_path('font/font.desc') -> '/home/mythtv/.mplayer/font/font.desc'
font: can't open file: /home/mythtv/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/mythtv/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/mythtv/.mplayer/input.conf'
Can't open input config file /home/mythtv/.mplayer/input.conf: No such
file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config
Setting up LIRC support...
get_path('xmen.3-720p-x264-sample.mkv.conf') ->
'/home/mythtv/.mplayer/xmen.3-720p-x264-sample.mkv.conf'

Playing xmen.3-720p-x264-sample.mkv.
get_path('sub/') -> '/home/mythtv/.mplayer/sub/'
[file] File size is 42485169 bytes
STREAM: [file] xmen.3-720p-x264-sample.mkv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: Matroska file format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
[mkv] Found the head...
[mkv] + a segment...
[mkv] /---- [ parsing seek head ] ---------
[mkv] /---- [ parsing seek head ] ---------
[mkv] \---- [ parsing seek head ] ---------
[mkv] /---- [ parsing cues ] -----------
[mkv] \---- [ parsing cues ] -----------
[mkv] \---- [ parsing seek head ] ---------
[mkv] |+ segment information...
[mkv] | + timecode scale: 1000000
[mkv] | + duration: 59.650s
[mkv] |+ segment tracks...
[mkv] | + a track...
[mkv] |  + Track number: 1
[mkv] |  + Track type: Video
[mkv] |  + Default flag: 1
[mkv] |  + Codec ID: V_MPEG4/ISO/AVC
[mkv] |  + CodecPrivate, length 39
[mkv] |  + Default duration: 41.708ms ( = 23.976 fps)
[mkv] |  + Language: und
[mkv] |  + Video track
[mkv] |   + Pixel width: 1280
[mkv] |   + Pixel height: 528
[mkv] |   + Display width: 1280
[mkv] |   + Display height: 528
[mkv] | + a track...
[mkv] |  + Track number: 2
[mkv] |  + Track type: Audio
[mkv] |  + Default flag: 1
[mkv] |  + Codec ID: A_AC3
[mkv] |  + Default duration: 32.000ms ( = 31.250 fps)
[mkv] |  + Language: eng
[mkv] |  + Audio track
[mkv] |   + Sampling frequency: 48000.000000
[mkv] |   + Channels: 6
[mkv] |+ found cluster, headers are parsed completely :)
==> Found video stream: 1
[mkv] Aspect: 2.424242
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
==> Found audio stream: 2
[mkv] Track ID 2: audio (A_AC3), -aid 0, -alang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO:  [avc1]  1280x528  24bpp  23.976 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:31  fourcc:0x31637661  size:1280x528  fps:23.98  ftime:=0.0417
get_path('sub/') -> '/home/mythtv/.mplayer/sub/'
X11 opening display: 127.0.0.1:0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1920x1080 with depth 24 and 32 bpp ("127.0.0.1:0"
=> remote display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X atoms
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Forced audio codec: hwdts
Forced audio codec: hwac3
Opening audio decoder: [hwac3] AC3/DTS pass-through S/PDIF
dec_audio: Allocating 8192 bytes for input buffer.
dec_audio: Allocating 16384 + 65536 = 81920 bytes for output buffer.
No accelerated IMDCT transform found
hwac3: switched to AC3, 640000 bps, 48000 Hz
AUDIO: 48000 Hz, 2 ch, ac3, 640.0 kbit/41.67% (ratio: 80000->192000)
Selected audio codec: [hwac3] afm: hwac3 (AC3 through S/PDIF)
==========================================================================
Building audio filter chain for 48000Hz/2ch/ac3 -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/ac3
[dummy] Was reinitialized: 48000Hz/2ch/ac3
alsa-init: requested format: 48000 Hz, 2 channels, 100
alsa-init: using ALSA 1.0.15
alsa-spdif-init: playing AC3, 2 channels
alsa-init: using device iec958
alsa-init: pcm opened in blocking mode
alsa-init: chunksize set to 1024
alsa-init: fragcount=16
alsa-init: got buffersize=65536
alsa-init: got period size 1024
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch ac3 (1 bytes per sample)
AO: Description: ALSA-0.9.x-1.x audio output
AO: Author: Alex Beregszaszi, Zsolt Barat <joy at streamminister.de>
AO: Comment: under developement
Building audio filter chain for 48000Hz/2ch/ac3 -> 48000Hz/2ch/ac3...
[dummy] Was reinitialized: 48000Hz/2ch/ac3
[dummy] Was reinitialized: 48000Hz/2ch/ac3
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 1280 x 528 (preferred colorspace: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.42:1 - prescaling to correct movie aspect.
VO Config (1280x528->1280x528,flags=5,'MPlayer',0x32315659)
VO: [xv] 1280x528 => 1280x528 Planar YV12  [fs] [zoom]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 355 for hw scaling
[VO_XV] Shared memory not supported
Reverting to normal Xv.
[VO_XV] Shared memory not supported
Reverting to normal Xv.
[xv-fs] dx: 0 dy: 144 dw: 1920 dh: 792
[xv] dx: 0 dy: 144 dw: 1920 dh: 792
*** [vo] Exporting mp_image_t, 1280x528x12bpp YUV planar, 1013760 bytes
get_path('subfont.ttf') -> '/home/mythtv/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
get_path('subfont.ttf') -> '/home/mythtv/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
[xv] dx: 0 dy: 0 dw: 1920 dh: 1080
[xv-fs] dx: 0 dy: 144 dw: 1920 dh: 792
ds_fill_buffer: EOF reached (stream: audio)    0 30%  5%  0.4% 0 0 $<50>
ds_fill_buffer: EOF reached (stream: audio)    0 30%  5%  0.4% 0 0 $<50>
ds_fill_buffer: EOF reached (stream: audio)    0 30%  5%  0.4% 0 0 $<50>
ds_fill_buffer: EOF reached (stream: audio)    0 30%  5%  0.4% 0 0 $<50>
ds_fill_buffer: EOF reached (stream: audio)    0 30%  5%  0.4% 0 0 $<50>
ds_fill_buffer: EOF reached (stream: audio)    0 30%  5%  0.4% 0 0 $<50>
ds_fill_buffer: EOF reached (stream: video)
EOF code: 1  59.5 A-V:  0.000 ct:  0.002   0/  0 30%  5%  0.4% 0 0 $<50>

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: hwac3
Uninit video: ffmpeg
alsa-uninit: pcm closed
vo: uninit ...

Exiting... (End of file)



More information about the MPlayer-users mailing list