Opened 14 years ago

Last modified 14 years ago

#1693 new defect

Stuttering surround sound.

Reported by: vo.zaeb@… Owned by: reimar
Priority: important Component: ao
Version: unspecified Severity: major
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

This started about half a year ago. After another update I've couldn't watch the any movie that has 5.1 sound included. I've set "channels by default" to 5.1 in the smplayer settings and have not received any errors or warnings from smplayer or mplayer, playback just not start. If I rewind video it's looks as if playing is paused — I've see freeze frame. Video works again when I disabled the audio equalizer in smplayer settings but audio begins to stutter. No any difference whether DTS or AC3 track, when I switch from stereo to 5.1 — sound begins stuttering. I already try using svn/git builds of mplayer and smplayer but this not help to me.

So, now I forced to use VLC, I dislike him, but he plays 5.1 normally.

All of this happens on Arch Linux (x86_64) with latest updates. If I miss some information about this issue — just give me know.

Regards.

Change History (3)

comment:1 by reimar, 14 years ago

MPlayer output or at the very least information on which ao it is using is missing.
Try through -ao oss, -ao alsa, -ao pulse, -ao openal, ...

comment:2 by vo.zaeb@…, 14 years ago

(In reply to comment #1)

MPlayer output or at the very least information on which ao it is using is
missing.
Try through -ao oss, -ao alsa, -ao pulse, -ao openal, ...

Yep, sorry. Surround works fine with -ao oss
mplayer -ao oss -channels 6 The\ Godfather/Part\ I/The.Godfather.1972.BDRip.720p.DVD9.x264.rus.srt.Voland_.mkv
Warning unknown option cachesize at line 4
MPlayer SVN-r31040-4.4.3 (C) 2000-2010 MPlayer Team
150 audio & 337 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 The Godfather/Part I/The.Godfather.1972.BDRip.720p.DVD9.x264.rus.srt.Voland_.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3) "Kinomania", -aid 0, -alang rus
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang rus
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 1, -slang rus
[mkv] Track ID 5: subtitles (S_TEXT/UTF8), -sid 2, -slang rus
[mkv] Track ID 6: subtitles (S_TEXT/UTF8), -sid 3, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [oss] 48000Hz 6ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 H.264 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.

But stuttering with -ao alsa.
mplayer -ao alsa -channels 6 The\ Godfather/Part\ I/The.Godfather.1972.BDRip.720p.DVD9.x264.rus.srt.Voland_.mkv
Warning unknown option cachesize at line 4
MPlayer SVN-r31040-4.4.3 (C) 2000-2010 MPlayer Team
150 audio & 337 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 The Godfather/Part I/The.Godfather.1972.BDRip.720p.DVD9.x264.rus.srt.Voland_.mkv.
[mkv] Track ID 1: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Track ID 2: audio (A_AC3) "Kinomania", -aid 0, -alang rus
[mkv] Track ID 3: subtitles (S_TEXT/UTF8), -sid 0, -slang rus
[mkv] Track ID 4: subtitles (S_TEXT/UTF8), -sid 1, -slang rus
[mkv] Track ID 5: subtitles (S_TEXT/UTF8), -sid 2, -slang rus
[mkv] Track ID 6: subtitles (S_TEXT/UTF8), -sid 3, -slang eng
[mkv] Will play video track 1.
Matroska file format detected.
VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 6 ch, s16le, 448.0 kbit/9.72% (ratio: 56000->576000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [alsa] 48000Hz 6ch s16le (2 bytes per sample)
Starting playback...
[VD_FFMPEG] Trying pixfmt=0.
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [vdpau] 1280x720 => 1280x720 H.264 VDPAU acceleration
[VD_FFMPEG] XVMC-accelerated MPEG-2.

comment:3 by vo.zaeb@…, 14 years ago

This happens only when I using hw surround51 device, if using something like this "-ao alsa:device=dmix6ch" all works fine.

dmix6ch device in ~/.asoundrc:
pcm.dmix6ch {

type dmix
ipc_key 1024
ipc_key_add_uid 1
slave {

pcm "hw:0,0"
channels 6
rate 48000
period_time 0
period_size 1024
buffer_time 0
buffer_size 4092

}

}

Note: See TracTickets for help on using tickets.