Page 1 of 1

No sound in VLC with Avisynth

Posted: 16 Dec 2006 00:11
by gargamel67
I managed to compile VLC 0.8.6 from sources with cygwin.

I choosed to enable Avisynth support in ffmpeg because I would be able to use it also in VLC.

But I'm having a problem because VLC doesn't play sound...

Video is good and displays correctly.

Does anyone have a solution?
(Of course, the script works perfectly, I tried it with Media Player Classic)

Pascal.

Here is the part of the log file:
---

main debug: using interface module "logger"
main debug: thread 3708 (interface) created at priority 0 (interface/interface.c:231)
main debug: adding playlist item `D:\Mes documents\test1.avs' ( D:\Mes documents\test1.avs )
main debug: looking for interface module: 3 candidates
main debug: using interface module "wxwidgets"
main debug: thread 3740 (manager) created at priority 0 (interface/interface.c:216)
wxwidgets debug: Using last windows config '(-1,0,0,1280,1024)(0,356,271,648,605)(6,0,0,-1,150)'
wxwidgets debug: id=0 p=(356,271) s=(648,605)
wxwidgets debug: id=6 p=(0,0) s=(-1,150)
main debug: creating statistics handler
main debug: nothing requested, starting
main debug: creating new input thread
main debug: waiting for thread completion
main debug: thread 3960 (input) created at priority 1 (input/input.c:265)
main debug: drive letter D: found in source
main debug: `D:\Mes documents\test1.avs' gives access `' demux `' path `D:\Mes documents\test1.avs'
main debug: creating demux: access='' demux='' path='D:\Mes documents\test1.avs'
main debug: looking for access_demux module: 1 candidate
main debug: creating access '' path='D:\Mes documents\test1.avs'
main debug: looking for access2 module: 4 candidates
vcd debug: trying .cue file: D:\Mes documents\test1.cue
vcd debug: could not find .cue file
access_file debug: opening file `D:\Mes documents\test1.avs'
main debug: using access2 module "access_file"
main debug: pre-buffering...
main debug: received first data for our buffer
main debug: creating demux: access='' demux='' path='D:\Mes documents\test1.avs'
main debug: looking for demux2 module: 45 candidates
ffmpeg debug: detected format: avs
ffmpeg debug: raw video, pixel format: 1
main debug: selecting program id=0
ffmpeg debug: adding es: video codec = YUY2
ffmpeg debug: adding es: audio codec = s16l
ffmpeg debug: AVFormat supported stream
ffmpeg debug: - format = avs (AVISynth)
ffmpeg debug: - start time = 0
ffmpeg debug: - duration = 3599996400
main debug: using demux2 module "ffmpeg"
main debug: looking for a subtitle file in D:\Mes documents\
main debug: looking for decoder module: 25 candidates
main debug: using decoder module "rawvideo"
main debug: thread 4180 (decoder) created at priority 0 (input/decoder.c:159)
main debug: looking for decoder module: 25 candidates
araw debug: samplerate:22000Hz channels:2 bits/sample:16
main debug: using decoder module "araw"
main debug: thread 4200 (decoder) created at priority 2 (input/decoder.c:159)
main debug: `D:\Mes documents\test1.avs' successfully opened
main debug: no usable vout present, spawning one
main debug: no aout present, spawning one
main debug: looking for audio output module: 3 candidates
aout_directx debug: OpenAudio
main debug: window size: 640x480
main debug: looking for video output module: 6 candidates
vout_directx debug: creating DirectXEventThread
main debug: waiting for thread completion
vout_directx debug: DirectXCreateWindow
main debug: Registering subpicture channel, ID: 2
vout_directx debug: created video sub-window
main debug: Registering subpicture channel, ID: 3
main debug: Registering subpicture channel, ID: 4
main debug: Registering subpicture channel, ID: 5
main debug: thread 4408 (DirectX Events Thread) created at priority 0 (directx.c:278)
vout_directx debug: DirectXEventThread running
vout_directx debug: DirectXInitDDraw
vout_directx debug: directx-device:
vout_directx debug: DirectXEnumCallback: Pilote d'affichage principal, display
vout_directx debug: DirectXEnumCallback: NVIDIA GeForce 7600 GT, \\.\DISPLAY1
vout_directx debug: selecting NVIDIA GeForce 7600 GT, \\.\DISPLAY1
vout_directx debug: screen dimensions (0x0,1280x1024)
vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1
vout_directx debug: align_boundary_src=0,0 align_boundary_dest=1,1 align_size_src=0,0 align_size_dest=0,0
vout_directx debug: End DirectXInitDDraw
vout_directx debug: DirectXCreateDisplay
vout_directx debug: DirectXCreateClipper
vout_directx debug: disabling screen saver
main debug: using video output module "vout_directx"
vout_directx debug: NewPictureVec overlay:yes chroma:YUY2
main debug: waiting for thread completion
aout_directx debug: found device: Périphérique audio principal
aout_directx debug: found device: Realtek HD Audio output
aout_directx debug: device supports 2 channels
aout_directx debug: device supports 1 channel
vout_directx debug: YUV overlay created successfully
aout_directx debug: creating DirectSoundThread
main debug: thread 4760 (DirectSound Notification Thread) created at priority 15 (directx.c:372)
aout_directx debug: DirectSoundThread ready
main debug: using audio output module "aout_directx"
main debug: output 's16l' 22000 Hz Stereo frame=1 samples/4 bytes
main debug: mixer 'fl32' 22000 Hz Stereo frame=1 samples/8 bytes
main debug: filter(s) 'fl32'->'s16l' 22000 Hz->22000 Hz Stereo->Stereo
vout_directx debug: End NewPictureVec (succeeded)
main debug: looking for audio filter module: 23 candidates
main debug: got 1 direct buffer(s)
main debug: picture in 640x480 (0,0,640x480), chroma YUY2, ar 4:3, sar 1:1
main debug: picture user 640x480 (0,0,640x480), chroma YUY2, ar 4:3, sar 1:1
main debug: picture out 640x480 (0,0,640x480), chroma YUY2, ar 4:3, sar 1:1
main debug: direct render, mapping render pictures 0-6 to system pictures 1-7
main debug: thread 4428 (video output) created at priority 1 (video_output/video_output.c:421)
main debug: using audio filter module "float32tos16"
main debug: found a filter for the whole conversion
main debug: looking for audio mixer module: 3 candidates
main debug: using audio mixer module "trivial_mixer"
main debug: input 's16l' 22000 Hz Stereo frame=1 samples/4 bytes
main debug: filter(s) 's16l'->'fl32' 22000 Hz->22000 Hz Stereo->Stereo
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "s16tofloat32"
main debug: found a filter for the whole conversion
main debug: filter(s) 'fl32'->'fl32' 24200 Hz->22000 Hz Stereo->Stereo
main debug: looking for audio filter module: 23 candidates
main debug: using audio filter module "bandlimited_resampler"
main debug: found a filter for the whole conversion
main warning: received buffer in the future (24569766)
main warning: received buffer in the future (49060900)
main warning: received buffer in the future (73552033)
main warning: received buffer in the future (98043166)
main warning: received buffer in the future (122534300)
main warning: received buffer in the future (147025433)
main warning: received buffer in the future (171501566)
main warning: received buffer in the future (195960700)
main warning: received buffer in the future (220420833)
main warning: received buffer in the future (244880966)
main warning: received buffer in the future (269325100)
---

Posted: 16 Dec 2006 11:59
by VLC_help
It seems to be okay. My guess is that it feeds no real audio. Only zeroes to decoder, with equals no sound.