Ticket #1632 (closed defect: duplicate)

Opened 3 months ago

Last modified 1 month ago

Regression: distorted audio on some files

Reported by: Valery_Kondakoff Assigned to:
Priority: normal Milestone: Features paradize
Component: Audio output core Version: master
Severity: normal Keywords:
Cc: Platform(s): Win32
Difficulty: unknown Work status: Not started

Description

There is a distorted audio on some files using naightly builds. Here is what GSpot says about these files:

Codec: 0x0055 MPEG-1 Layer 3 CBR Info: 48000Hz 128 kb/s tot , Two Mono Channels

Codec: 0x0055 MPEG-1 Layer 3 CBR Info: 48000Hz 80 kb/s tot , Two Mono Channels

Codec: 0x0055 MPEG-1 Layer 3 CBR Info: 48000Hz 192 kb/s tot , Two Mono Channels

There are no problems with audio playback if I play the same files in VLC 0.8.6h. I have uploaded an example of problematic file at http://www.nncron.ru/temp/test.7z (compressed with 7-zip archiever, ~25M).

Here is what I see in Messages:

main debug: starting new item
main debug: processing request item Blur - The Universal.divx.mpg node Playlist skip 0
main debug: resyncing on Blur - The Universal.divx.mpg
main debug: Blur - The Universal.divx.mpg is at 5
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread started
main debug: thread 7384 (input) created at priority 1 (input/input.c:357)
qt4 debug: I was here, updating your status
main debug: `C:\VIDEO\MUSIC\Blur - The Universal.divx.mpg' gives access `' demux `' path `C:\VIDEO\MUSIC\Blur - The Universal.divx.mpg'
main debug: creating demux: access='' demux='' path='C:\VIDEO\MUSIC\Blur - The Universal.divx.mpg'
main debug: looking for access_demux module: 2 candidates
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
qt4 debug: New Event: type 1103
qt4 debug: I was here, updating your status
main debug: creating access '' path='C:\VIDEO\MUSIC\Blur - The Universal.divx.mpg'
main debug: looking for access module: 6 candidates
vcd debug: trying .cue file: C:\VIDEO\MUSIC\Blur - The Universal.divx.cue
vcd debug: could not find .cue file
access_file debug: opening file `C:\VIDEO\MUSIC\Blur - The Universal.divx.mpg'
main debug: using access module "access_file"
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
qt4 debug: New Event: type 1103
qt4 debug: I was here, updating your status
main debug: Using AStream*Stream
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: pre-buffering done 1408981 bytes in 0s - 687635 kbytes/s
main debug: creating demux: access='' demux='' path='C:\VIDEO\MUSIC\Blur - The Universal.divx.mpg'
main debug: looking for demux module: 51 candidates
avi debug: found Chunk fourcc:46464952 (RIFF) size:44129384 pos:0
avi debug: found LIST chunk: 'AVI '
avi debug: <list 'AVI '>
avi debug: found Chunk fourcc:5453494c (LIST) size:598 pos:12
avi debug: found LIST chunk: 'hdrl'
avi debug: <list 'hdrl'>
avi debug: found Chunk fourcc:68697661 (avih) size:56 pos:24
avi debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 720x544
avi debug: found Chunk fourcc:5453494c (LIST) size:130 pos:88
avi debug: found LIST chunk: 'strl'
avi debug: <list 'strl'>
avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:100
avi debug: strh: type:vids handler:0x78766964 samplesize:0 25.00fps
avi debug: found Chunk fourcc:66727473 (strf) size:40 pos:164
avi debug: strf: video:DX50 720x544 planes:1 24bpp
avi debug: found Chunk fourcc:6e727473 (strn) size:6 pos:212
avi debug: strn: stream name : Video
avi debug: </list 'strl'>
avi debug: found Chunk fourcc:5453494c (LIST) size:120 pos:226
avi debug: found LIST chunk: 'strl'
avi debug: <list 'strl'>
avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:238
avi debug: strh: type:auds handler:0x00000000 samplesize:1 16000.00fps
avi debug: found Chunk fourcc:66727473 (strf) size:30 pos:302
avi debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 125kb/s
avi debug: found Chunk fourcc:6e727473 (strn) size:6 pos:340
avi debug: strn: stream name : Audio
avi debug: </list 'strl'>
avi debug: found Chunk fourcc:5453494c (LIST) size:256 pos:354
avi debug: found LIST chunk: 'odml'
avi debug: <list 'odml'>
avi debug: found Chunk fourcc:686c6d64 (dmlh) size:244 pos:366
avi warning: unknown chunk (not loaded)
avi debug: </list 'odml'>
avi debug: </list 'hdrl'>
avi debug: found Chunk fourcc:4b4e554a (JUNK) size:1422 pos:618
avi debug: found Chunk fourcc:5453494c (LIST) size:1144 pos:2048
avi debug: found LIST chunk: 'DXDT'
avi debug: <list 'DXDT'>
avi debug: found Chunk fourcc:4144544d (MTDA) size:1132 pos:2060
avi warning: unknown chunk (not loaded)
avi debug: </list 'DXDT'>
avi debug: found Chunk fourcc:5453494c (LIST) size:43929664 pos:3200
avi debug: skipping movi chunk
avi debug: found Chunk fourcc:31786469 (idx1) size:196512 pos:43932872
avi debug: idx1: index entry:12282
avi debug: </list 'AVI '>
avi debug: * LIST-root size:44129392 pos:0
avi debug: + RIFF-AVI size:44129384 pos:0
avi debug: | + LIST-hdrl size:598 pos:12
avi debug: | | + avih size:56 pos:24
avi debug: | | + LIST-strl size:130 pos:88
avi debug: | | | + strh size:56 pos:100
avi debug: | | | + strf size:40 pos:164
avi debug: | | | + strn size:6 pos:212
avi debug: | | + LIST-strl size:120 pos:226
avi debug: | | | + strh size:56 pos:238
avi debug: | | | + strf size:30 pos:302
avi debug: | | | + strn size:6 pos:340
avi debug: | | + LIST-odml size:256 pos:354
avi debug: | | | + dmlh size:244 pos:366
avi debug: | + JUNK size:1422 pos:618
avi debug: | + LIST-DXDT size:1144 pos:2048
avi debug: | | + MTDA size:1132 pos:2060
avi debug: | + LIST-movi size:43929664 pos:3200
avi debug: | + idx1 size:196512 pos:43932872
avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED
avi debug: stream[0] rate:25000 scale:1000 samplesize:0
avi debug: stream[0] video(DX50) 720x544 24bpp 25.000000fps
main debug: selecting program id=0
avi debug: stream[1] rate:16000 scale:1 samplesize:1
avi debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits
avi debug: stream[0] created 6146 index entries
avi debug: stream[1] created 6136 index entries
avi debug: stream[0] length:245 (based on index)
avi debug: stream[1] length:245 (based on index)
main debug: using demux module "avi"
main debug: TIMER module_Need() : 3.000 ms - Total 3.000 ms / 1 intvls (Avg 3.000 ms)
main debug: looking for a subtitle file in C:\VIDEO\MUSIC\
main debug: looking for decoder module: 32 candidates
avcodec debug: libavcodec already initialized
avcodec debug: using direct rendering
avcodec debug: ffmpeg codec (MPEG-4 Video) started
main debug: using decoder module "avcodec"
main debug: TIMER module_Need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: thread 7568 (decoder) created at priority 0 (input/decoder.c:217)
main debug: looking for decoder module: 32 candidates
main debug: using decoder module "mpeg_audio"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread 5588 (decoder) created at priority 2 (input/decoder.c:217)
main debug: `C:\VIDEO\MUSIC\Blur - The Universal.divx.mpg' successfully opened
avi debug: old:0 < new 0
main debug: control type=1
main debug: thread started
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:128
main debug: no aout present, spawning one
main debug: looking for audio output module: 4 candidates
qt4 debug: New Event: type 1103
qt4 debug: I was here, updating your status
main debug: thread started
waveout debug: Drivername: ????????? ?????????????? ??????
waveout debug: Driver Version: 5.0
waveout debug: Manufacturer identifier: 0x1
waveout debug: Product identifier: 0x2
waveout debug: device supports 2 channels
waveout debug: device supports 1 channel
waveout debug: OpenWaveDevice-ID: 4294967295
waveout debug: waveformat.Format.cbSize = 0
waveout debug: waveformat.Format.wFormatTag = 1
waveout debug: waveformat.Format.nChannels = 2
waveout debug: waveformat.Format.nSamplesPerSec = 48000
waveout debug: waveformat.Format.nAvgBytesPerSec = 192000
waveout debug: waveformat.Format.nBlockAlign = 4
waveout debug: waveformat.Format.wBitsPerSample = 16
waveout debug: waveformat.Samples.wValidBitsPerSample = 16
waveout debug: waveformat.Samples.wSamplesPerBlock = 16
waveout debug: waveformat.dwChannelMask = 3
avcodec debug: Invalid and inefficient vfw-avi packed B frames detected
(mpeg4@0BECA820)
main debug: thread 7496 (waveOut Notification Thread) created at priority 1 (waveout.c:440)
main debug: using audio output module "waveout"
main debug: TIMER module_Need() : 45.000 ms - Total 45.000 ms / 1 intvls (Avg 45.000 ms)
main debug: thread started
main debug: output 's16l' 48000 Hz Stereo/Left frame=1 samples/4 bytes
main debug: mixer 'fl32' 48000 Hz Stereo/Left frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 48000 Hz->48000 Hz Stereo/Left->Stereo/Left
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "converter_float"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "float32_mixer"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: input 'mpga' 48000 Hz Dual-mono frame=1152 samples/969 bytes
main debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Dual-mono->Stereo/Left
main debug: looking for audio filter module: 23 candidates
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "mpgatofixed32"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "simple_channel_mixer"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found 2 filters for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo/Left->Stereo/Left
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: found a filter for the whole conversion
waveout debug: Wakeup sleeping output thread.
waveout debug: will start to play in 242000 us
freetype debug: using fontsize: 34
avcodec debug: Invalid and inefficient vfw-avi packed B frames detected
(mpeg4@0BECA820)
avcodec debug: Invalid and inefficient vfw-avi packed B frames detected
(mpeg4@0BECA820)
avcodec debug: Invalid and inefficient vfw-avi packed B frames detected
(mpeg4@0BECA820)
avcodec debug: Invalid and inefficient vfw-avi packed B frames detected
(mpeg4@0BECA820)
avcodec debug: Invalid and inefficient vfw-avi packed B frames detected
(mpeg4@0BECA820)
main debug: incoming request - stopping current input
main debug: dying input
main debug: control type=0
main debug: control: stopping input
avi debug: free chunk avih
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk strn
avi debug: free chunk LIST
avi debug: free chunk strh
avi debug: free chunk strf
avi debug: free chunk strn
avi debug: free chunk LIST
avi warning: unknown chunk (not unloaded)
avi debug: free chunk LIST
avi debug: free chunk LIST
avi debug: free chunk JUNK
qt4 debug: I was here, updating your status
avi warning: unknown chunk (not unloaded)
avi debug: free chunk LIST
avi debug: free chunk LIST
avi debug: free chunk idx1
avi debug: free chunk RIFF
avi debug: free chunk LIST
main debug: removing module "avi"
main debug: removing module "access_file"
avcodec debug: ffmpeg codec (MPEG-4 Video) stopped
main debug: removing module "avcodec"
main debug: thread ended
main debug: thread times: real 0m15.525000s, kernel 0m0.000000s, user 0m0.483603s
main debug: thread 7568 joined (input/decoder.c:248)
main debug: killing decoder fourcc `DX50', 0 PES in FIFO
main debug: removing module "mpeg_audio"
main debug: thread ended
main debug: thread times: real 0m15.525000s, kernel 0m0.000000s, user 0m0.000000s
main debug: thread 5588 joined (input/decoder.c:248)
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing module "mpgatofixed32"
main debug: removing module "simple_channel_mixer"
main debug: removing module "bandlimited_resampler"
main debug: thread ended
main debug: thread times: real 0m15.479000s, kernel 0m0.000000s, user 0m0.015600s
main debug: thread 7496 joined (waveout.c:616)
main debug: dying input
main debug: removing module "waveout"
main debug: removing module "converter_float"
main debug: removing module "float32_mixer"
main debug: thread ended
main debug: dead input
main debug: thread times: real 0m15.594000s, kernel 0m0.000000s, user 0m0.015600s
main debug: thread 7384 joined (misc/objects.c:324)
main debug: TIMER input launching for 'Blur - The Universal.divx.mpg' : 25.000 ms - Total 25.000 ms / 1 intvls (Avg 25.000 ms)

Change History

06/23/08 18:05:30 changed by courmisch

  • version set to master.
  • milestone set to Features paradize.

07/15/08 22:38:12 changed by Valery_Kondakoff

this issue seems to be fixed in vlc-0.9.0-test3-20080715-0003-win32.exe .

07/24/08 20:37:40 changed by fenrir

  • status changed from new to closed.
  • resolution set to duplicate.

It is a duplicate of #1688 (which is now closed)