VLC 0.7.0, DirectShow Input, No Audio

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
kjo
Blank Cone
Blank Cone
Posts: 12
Joined: 26 Jan 2004 02:20

VLC 0.7.0, DirectShow Input, No Audio

Postby kjo » 26 Jan 2004 03:01

I've been playing around with the DirectShow input for VLC 0.7.0. I have a Canopus ADVC-1394 capture card that shows up as an OHCI compliant 1394 device to the operating system. Audio input goes through my sound card - a Creative SoundBlaster LIVE! 5.1. I am running Windows 2000 Advanced Server on a Dell PowerEdge 600SC Server, Pentium 4 2.4Mhz, 384Meg of RAM.

After hitting the refresh buttons, the DirectShow input screen sees the 1394 video device correctly (Microsoft DV Camera and VCR) and the audio device (SB Live! Audio [ECA0]).

However, when I click on OK, I get video but no audio. The following interesting message shows up in the message log:

main error: no suitable decoder module for fourcc `dvau'.
VLC probably does not support this sound or video format.

It seems that others have had similar problems with audio using the DirectShow inputs.

I would greatly appreciate any insights that anyone could provide.

Thanks,

kjo


The complete message log follows:

main debug: adding playlist item « dshow:// » ( dshow:// )
main debug: creating new input thread
main debug: set input option: dshow-vdev to Microsoft DV Camera and VCR
main debug: set input option: dshow-adev to SB Live! Audio [ECA0]
main: playlist item `dshow://'
main debug: waiting for thread completion
main debug: access `dshow', demux `', name `'
main debug: looking for access module
main debug: probing 8 candidates
main debug: thread 2764 (input) created at priority 15 (src/input/input.c:257)
dshow debug: found device: Microsoft DV Camera and VCR
dshow debug: using device: Microsoft DV Camera and VCR
dshow debug: EnumDeviceCaps: pin DV Vid Out
dshow debug: EnumDeviceCaps: input pin accepts chroma: dvsd, width:720, height:480
dshow debug: EnumDeviceCaps: input pin accepts chroma: dvsd, width:720, height:480
dshow debug: CaptureFilter::AddRef (ref: 1)
dshow debug: CaptureFilter::JoinFilterGraph
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: connecting filters
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::QueryFilterInfo
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::QueryInternalConnections
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 3)
dshow debug: CaptureFilter::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CapturePin::EnumMediaTypes
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CaptureEnumMediaTypes::Reset
dshow debug: CaptureEnumMediaTypes::Next
dshow debug: CaptureEnumMediaTypes::Release (ref: 1)
dshow debug: CaptureEnumMediaTypes::~CaptureEnumMediaTypes
dshow debug: CapturePin::Release (ref: 2)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 1)
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 2)
dshow debug: CapturePin::ReceiveConnection
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::QueryInterface
dshow debug: CapturePin::GetAllocatorRequirements
dshow debug: CapturePin::GetAllocator
dshow debug: CapturePin::NotifyAllocator
dshow debug: MEDIATYPE_Video
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryPinInfo
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::EnumPins
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureEnumPins::Next
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::QueryDirection
dshow debug: CapturePin::ConnectedTo
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureEnumPins::Next
dshow debug: CaptureEnumPins::Release (ref: 1)
dshow debug: CaptureEnumPins::~CaptureEnumPins
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CapturePin::AddRef (ref: 3)
dshow debug: CapturePin::Release (ref: 4)
dshow debug: CaptureFilter::SetSyncSource
dshow debug: CaptureFilter::Pause
dshow debug: CapturePin::QueryInterface
dshow debug: CaptureFilter::AddRef (ref: 2)
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::QueryInterface
dshow debug: CaptureFilter::Release (ref: 3)
dshow debug: CaptureFilter::Run
main debug: using access module "dshow"
main debug: looking for demux module
main debug: probing 21 candidates
main debug: using demux module "rawdv"
main debug: selecting ES 0x1
main debug: looking for decoder module
main debug: probing 19 candidates
ffmpeg debug: libavcodec initialized (interface 4698 )
ffmpeg debug: postprocessing disabled
ffmpeg debug: using direct rendering
ffmpeg debug: ffmpeg codec (DV video) started
main debug: using decoder module "ffmpeg"
main debug: thread 3096 (decoder) created at priority 0 (src/input/input_dec.c:166)
main debug: selecting ES 0x2
main debug: looking for decoder module
main debug: probing 19 candidates
ffmpeg debug: libavcodec already initialized
ffmpeg debug: codec not found (DV audio)
main error: no suitable decoder module for fourcc `dvau'.
VLC probably does not support this sound or video format.
main debug: killing decoder fourcc `dvau', 0 PES in FIFO
ffmpeg debug: disabling direct rendering
main debug: no usable vout present, spawning one
main debug: looking for video filter module
main debug: probing 1 candidate
deinterlace debug: using discard deinterlace mode
deinterlace debug: using discard deinterlace method
main debug: using video filter module "deinterlace"
main debug: looking for text renderer module
main debug: probing 3 candidates
freetype debug: Using fontsize: 30
main debug: using text renderer module "freetype"
deinterlace debug: spawning the real video output
main debug: looking for video output module
main debug: probing 4 candidates
vout_directx debug: creating DirectXEventThread
main debug: waiting for thread completion
main debug: waiting for thread completion
vout_directx debug: DirectXCreateWindow
vout_directx debug: Created video sub-window
main debug: thread 3228 (DirectX Events Thread) created at priority 0 (directx.c:208)
vout_directx debug: DirectXEventThread running
vout_directx debug: DirectXInitDDraw
vout_directx debug: DirectXEnumCallback: Primary Display Driver, display
vout_directx debug: screen dimensions (0x0,1024x768)
vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=0 colorkey=1 stretch=1 bltfourcc=1
vout_directx debug: End DirectXInitDDraw
vout_directx debug: DirectXCreateDisplay
vout_directx debug: DirectXCreateClipper
main debug: using video output module "vout_directx"
main debug: looking for text renderer module
main debug: probing 3 candidates
freetype debug: Using fontsize: 15
main debug: using text renderer module "freetype"
main debug: waiting for thread completion
vout_directx debug: NewPictureVec overlay:yes chroma:YV12
vout_directx debug: YUV overlay created successfully
vout_directx debug: End NewPictureVec (succeeded)
main debug: got 1 direct buffer(s)
main debug: picture in 720x240, chroma 0x30323449 (I420), aspect ratio 3:2
main debug: picture out 720x240, chroma 0x32315659 (YV12), aspect ratio 3:2
main debug: direct render, mapping render pictures 0-6 to system pictures 1-7
main debug: thread 3260 (video output) created at priority 1 (src/video_output/video_output.c:471)
main debug: got 8 direct buffer(s)
main debug: picture in 720x480, chroma 0x30323449 (I420), aspect ratio 3:2
main debug: picture out 720x480, chroma 0x30323449 (I420), aspect ratio 3:2
main debug: direct render, mapping render pictures 0-6 to system pictures 1-7
main debug: thread 3188 (video output) created at priority 1 (src/video_output/video_output.c:471)
main warning: late picture skipped (351843)
main warning: late picture skipped (382675)
main warning: late picture skipped (365861)
main warning: late picture skipped (328023)
main warning: late picture skipped (285002)
main warning: late picture skipped (252400)
main warning: late picture skipped (256193)
main warning: late picture skipped (262989)
main warning: late picture skipped (218838)
main warning: late picture skipped (180701)
main warning: late picture skipped (178031)
main warning: late picture skipped (147207)
main warning: late picture skipped (154436)
main warning: late picture skipped (153111)
main warning: late picture skipped (111972)
main warning: late picture skipped (69269)
main warning: late picture skipped (60956)
main warning: late picture skipped (24138)
main warning: late picture skipped (5386)

neotintinn

Also no audio

Postby neotintinn » 26 Jan 2004 04:44

I have similar problem. My sound card is integrated Digital SoundMax, the sound goes in through the line-in.

I'm also getting no suitable decoder module for fourcc 's16l'

Some people have success with transcoding the audio output. Why don't you give it a try.

regards.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 26 Jan 2004 11:06

Cool, first user reporting success (well partial ;)) with the dshow input and a DV (DigitalVideo) hardware! :)
Nobody had tested this yet so I didn't know if it was working ;)

As for the audio problem, this is expected because 0.7.0 doesn't have a DV audio decoder anymore (this is why you have the message: "no suitable decoder module for fourcc `dvau' ").
DV audio used to be supported through the ffmpeg library but they recently dropped their support for it.
I'll try to fix that for the next release.

Just another note, in case of DV input, VLC won't use your soundcard audio input because the audio stream should be contained inside the DV stream.
Last edited by Gibalou on 26 Jan 2004 11:10, edited 1 time in total.

Gibalou
Big Cone-huna
Big Cone-huna
Posts: 608
Joined: 26 Nov 2003 10:59

Postby Gibalou » 26 Jan 2004 11:09

To neotintinn:

"no suitable decoder module for fourcc 's16l' " happens when you try to stream your raw video/audio dshow input.
VLC just can't stream raw material (it wouldn't make much sense anyway as it would require enormous amounts of bandwith) so you have to enable the transcoding options.

Tommy100
New Cone
New Cone
Posts: 2
Joined: 26 Jan 2004 19:46

Also no sound on Hauppauge win XP

Postby Tommy100 » 26 Jan 2004 20:05

Hi I got the sameproblem no sound output if i stream from my Hauppauge WinTV 350
Streaming DVD, Files etc. works verry well. Great work, by the way.I wish i can programm like you peoples.
P.S. Sorry for my misserable english. lol
I stream from my WinXP PC with a P4 3. Ghz Soundcard is on motherboard MB = ASUS P4G8X soundcard is Realtek ALC 650 6Channel audio codec to my Labtop.Dont know you need this data
Here My log from labtop as long i view the stream. Picture is perfect but no sound.

main error: picture 025D4708 refcount is -1
main debug: audio output is starving (73762), playing silence
main debug: audio output is starving (73714), playing silence
main debug: audio output is starving (73708), playing silence
main debug: audio output is starving (73717), playing silence
main debug: audio output is starving (73690), playing silence
main debug: audio output is starving (73855), playing silence
ffmpeg warning: cannot decode one frame (61584 bytes)
Maybe you professionals can help me

Thank you

Thomas
P.s. Sorry for my misserable english...

kjo
Blank Cone
Blank Cone
Posts: 12
Joined: 26 Jan 2004 02:20

Correction: Audio input goes through my video capture card.

Postby kjo » 26 Jan 2004 23:31

A small correction to my earlier post concerning my Canopus ADVC-1394 capture card . . .

My capture card takes in both video AND audio. The audio does NOT go through my sound card as I stated earlier. Sorry about the confusion . . . I don't know what I was thinking.

The ADVC-1394 takes in any analog Video/Audio source and presents it to the OS as OHCI-compliant Firewire Card connected to a DigitalVideo (DV) device.

Gibalou:

It is too bad that ffmpeg dropped their support of DV audio, but I'm glad to hear that you are going to try to add it into your next release. If you would like to test your BETA code in my hardware environment, just let me know.

Thanks,

kjo


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 7 guests