Bug#834451: mplayer: Switching audio tracks causes de-synchronisation of audio on some files.
Oleksandr Gavenko
gavenkoa at gmail.com
Mon Aug 15 20:40:21 UTC 2016
Package: mplayer
Version: 2:1.3.0-3
Severity: normal
For some files switching audio tracks causes de-synchronisation of audio.
The more times I switched audio track the more delay between audio and video.
In console output after switching audio track several times I got
error decoding the audio block
and "A-V:" field value increased with each switching:
A:4254.9 V: 155.4 A-V:4099.461 ct: 0.443 3728/3728 2% 4% 2.7% 17 0
After seeking through the media (LEFT/RIGHT keyboard command) playback become
synced (and "A-V" parameter changes to almost zero).
Example of output:
Playing /video/some.avi.
libavformat version 57.41.100 (external)
Mismatching header version 57.25.100
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
[aviheader] Audio stream found, -aid 2
[aviheader] Audio stream found, -aid 3
VIDEO: [XVID] 720x400 24bpp 23.976 fps 1578.7 kbps (192.7 kbyte/s)
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 57.48.101 (external)
Mismatching header version 57.24.102
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Clip info:
Software: VirtualDubMod 1.5.10.2 (build 2542/release)
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [vdpau] 720x400 => 720x400 Planar YV12
[mpeg4 @ 0x7fbef3f7a0a0]Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it.
Movie-Aspect is 1.80:1 - prescaling to correct movie aspect.
VO: [vdpau] 720x400 => 720x400 Planar YV12
A: 2.1 V: 2.1 A-V: -0.007 ct: -0.024 52/ 52 3% 2% 0.5% 0 0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
A: 2.5 V: 2.5 A-V: 0.035 ct: 0.006 60/ 60 3% 3% 0.5% 1 0
[ac3 @ 0x7fbef3f7a0a0]exponent 25 is out-of-range
[ac3 @ 0x7fbef3f7a0a0]error decoding the audio block
A: 3.7 V: 3.7 A-V: 0.004 ct: 0.027 89/ 89 3% 3% 0.5% 1 0
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 160.0 kbit/11.34% (ratio: 20000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
A:2619.4 V: 9.2 A-V:2610.216 ct: 0.578 221/221 3% 2% 0.5% 2 0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x7fbef3f7a0a0]frame sync error
AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
A: 6.3 V: 11.2 A-V: -4.892 ct: 0.378 269/269 3% 2% 0.5% 3 0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x7fbef3f7a0a0]exponent 25 is out-of-range
[ac3 @ 0x7fbef3f7a0a0]error decoding the audio block
AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
[ac3 @ 0x7fbef3f7a0a0]frame sync error
A: 8.1 V: 12.8 A-V: -4.700 ct: 0.219 307/307 3% 2% 0.5% 4 0
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
A:5157.6 V: 14.2 A-V:5143.460 ct: 0.361 341/341 3% 2% 0.5% 5 0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x7fbef3f7a0a0]frame sync error
AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
A: 10.2 V: 16.1 A-V: -5.874 ct: 0.173 386/386 3% 2% 0.5% 6 0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x7fbef3f7a0a0]exponent -1 is out-of-range
[ac3 @ 0x7fbef3f7a0a0]error decoding the audio block
AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
[ac3 @ 0x7fbef3f7a0a0]frame sync error
A: 12.6 V: 18.2 A-V: -5.628 ct: -0.044 438/438 3% 2% 0.5% 7 0
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 192.0 kbit/13.61% (ratio: 24000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
A:8009.4 V: 19.9 A-V:7989.482 ct: 0.127 479/479 3% 2% 0.5% 8 0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x7fbef3f7a0a0]frame sync error
AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
A: 14.3 V: 21.4 A-V: -7.125 ct: -0.023 515/515 3% 3% 0.5% 9 0
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
[ac3 @ 0x7fbef3f7a0a0]exponent -1 is out-of-range
[ac3 @ 0x7fbef3f7a0a0]error decoding the audio block
AUDIO: 48000 Hz, 2 ch, floatle, 192.0 kbit/6.25% (ratio: 24000->384000)
Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3)
==========================================================================
AO: [pulse] Init failed: Connection refused
Failed to initialize audio driver 'pulse'
AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
[ac3 @ 0x7fbef3f7a0a0]frame sync error
A: 15.3 V: 22.3 A-V: -6.990 ct: -0.106 535/535 3% 3% 0.5% 10 0
File that cause problem have properties:
mediainfo some.avi
Complete name : Two.and.a.Half.Men.S01.E01.WEB-DL.Rip.XviD.by.Volshebnik.avi
Format : AVI
Format/Info : Audio Video Interleave
File size : 356 MiB
Duration : 22mn 57s
Overall bit rate mode : Variable
Overall bit rate : 2 169 Kbps
Writing application : VirtualDubMod 1.5.10.2 (build 2542/release)
Writing library : VirtualDubMod build 2542/release
Video
ID : 0
Format : MPEG-4 Visual
Format profile : Advanced Simple at L4
Format settings, BVOP : 2
Format settings, QPel : No
Format settings, GMC : No warppoints
Format settings, Matrix : Default (H.263)
Muxing mode : Packed bitstream
Codec ID : XVID
Codec ID/Hint : XviD
Duration : 22mn 57s
Bit rate : 1 579 Kbps
Width : 720 pixels
Height : 400 pixels
Display aspect ratio : 16:9
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Bits/(Pixel*Frame) : 0.229
Stream size : 259 MiB (73%)
Writing library : XviD 1.2.1 (UTC 2008-12-04)
Audio #1
ID : 1
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 2000
Duration : 22mn 57s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 31.5 MiB (9%)
Alignment : Split accross interleaves
Interleave, duration : 42 ms (1.00 video frame)
Interleave, preload duration : 500 ms
Audio #2
ID : 2
Format : AC-3
Format/Info : Audio Coding 3
Mode extension : CM (complete main)
Format settings, Endianness : Big
Codec ID : 2000
Duration : 22mn 57s
Bit rate mode : Constant
Bit rate : 192 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 48.0 KHz
Compression mode : Lossy
Stream size : 31.5 MiB (9%)
Alignment : Split accross interleaves
Interleave, duration : 42 ms (1.00 video frame)
Interleave, preload duration : 500 ms
Audio #3
ID : 3
Format : MPEG Audio
Format version : Version 1
Format profile : Layer 3
Mode : Joint stereo
Mode extension : MS Stereo
Codec ID : 55
Codec ID/Hint : MP3
Duration : 22mn 57s
Bit rate mode : Variable
Bit rate : 192 Kbps
Channel(s) : 2 channels
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 30.3 MiB (9%)
Alignment : Aligned on interleaves
Interleave, duration : 26 ms (0.63 video frame)
Interleave, preload duration : 103 ms
Title : ENG
Writing library : LAME3.98
Encoding settings : -m j -V 4 -q 3 -lowpass 18.6 --abr 192
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (990, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.5.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
Versions of packages mplayer depends on:
ii liba52-0.7.4 0.7.4-18
ii libaa1 1.4p5-44
ii libasound2 1.1.0-1
ii libass5 0.13.0-1
ii libaudio2 1.9.4-3
ii libavcodec57 7:3.1.1-2
ii libavformat57 7:3.1.1-2
ii libavutil55 7:3.1.1-2
ii libbluray1 2:0.5.0-dmo4
ii libbs2b0 3.1.0+dfsg-2.1
ii libc6 2.19-22
ii libcaca0 0.99.beta19-2
ii libcdio-cdda1 0.83-4.2
ii libcdio-paranoia1 0.83-4.2
ii libcdio13 0.83-4.2
ii libdca0 0.0.5-7
ii libdirectfb-1.2-9 1.2.10.0-5.1
ii libdv4 1.0.0-6
ii libdvdnav4 5.0.3-1
ii libdvdread4 5.0.3-1
ii libenca0 1.16-2
ii libfaad2 2.8.0~cvs20150510-1
ii libfontconfig1 2.11.0-6.3
ii libfreetype6 2.6.1-0.1
ii libfribidi0 0.19.7-1
ii libgif7 5.1.4-0.1
ii libgl1-mesa-glx [libgl1] 10.6.8-1
ii libjack-jackd2-0 [libjack-0.116] 1.9.10+20150825git1ed50c92~dfsg-1
ii libjpeg62-turbo 1:1.4.1-2
ii liblircclient0 0.9.0~pre1-1.2
ii libmad0 0.15.1b-8
ii libmpeg2-4 0.5.1-7
ii libmpg123-0 1.22.4-1
ii libogg0 1.3.2-1
ii libopenal1 1:1.17.2-1
ii libpng16-16 1.6.21-5
ii libpostproc54 7:3.1.1-2
ii libpulse0 7.1-2
ii libsdl1.2debian 1.2.15-11
ii libsmbclient 2:4.2.10+dfsg-0+deb8u2
ii libspeex1 1.2~rc1.2-1
ii libswresample2 7:3.0.2-2
ii libswscale4 7:3.1.1-2
ii libtheora0 1.1.1+dfsg.1-7
ii libtinfo5 6.0+20150810-1
ii libvdpau1 1.1.1-3
ii libvorbisidec1 1.0.2+svn18153-0.2
ii libx11-6 2:1.6.3-1
ii libxext6 2:1.3.3-1
ii libxinerama1 2:1.1.3-1+b1
ii libxss1 1:1.2.2-1
ii libxv1 2:1.0.10-1+b1
ii libxvidcore4 2:1.3.4-1
ii libxvmc1 2:1.0.9-1
ii libxxf86dga1 2:1.1.4-1+b1
ii libxxf86vm1 1:1.1.4-1
ii zlib1g 1:1.2.8.dfsg-2+b1
mplayer recommends no packages.
Versions of packages mplayer suggests:
ii bzip2 1.0.6-8
ii fontconfig 2.11.0-6.3
ii fonts-freefont-ttf 20120503-4
pn mplayer-doc <none>
pn netselect | fping <none>
-- no debconf information
--
http://defun.work/
More information about the pkg-multimedia-maintainers
mailing list