Page 1 of 1

Does input-slave actually work?

Posted: 12 Dec 2008 04:06
by rninne
Hi,

I'm having trouble with playing another media synchronously in VLC.

What I want to do is play a stream from an RTSP server and the audio from my aux in on my computer.

The methods I've tried are numerous.

The most basic example that should work is: media -> open network. add the stream details then check the box that says "play another media synchronously" browse to capture device, seletc none for video (since I already have video comming from the stream) and select (in my case) SoundMAX HD Audio, configure, set pin line to "rear input", ok, select

Now the extra media line is: dshow:// :dshow-vdev="none" :dshow-adev="SoundMAX HD Audio"
and the customize line is: rtsp://192.168.106.13/asdf :input-slave=dshow:// :dshow-vdev="none" :dshow-adev="SoundMAX HD Audio"

When I click play the video comes up, but the audio doesn't.

In the messages window I get:
dshow error: no capture device was detected
dshow error: can't open video
main error: demux doesn't like DEMUX_GET_TIME

If I reverse the operation (ie media -> open caputure device and add the RTSP stream as the "play another media synchronously" option) I get the audio with no video.

I've also tried recording video and audio seperatly and just using the files (mp4 and wav) and this does not work either.

Any suggestions?

~Rob

Re: Does input-slave actually work?

Posted: 12 Dec 2008 21:06
by VLC_help
It might be broken. At least Directshow doesn't cooperate with another streams.

Re: Does input-slave actually work?

Posted: 14 Dec 2008 01:58
by rninne
Hmmm it seems that if I just try and play the RTSP stream with an mp3 over the top it doesn't work either. This problem is with the latest version 0.9.8a BTW. Has anyone got input-slave to work on any previous versions?

~Rob

Re: Does input-slave actually work?

Posted: 15 Dec 2008 11:15
by Jean-Baptiste Kempf
1.0 has better inputs-slaving management

Re: Does input-slave actually work?

Posted: 10 Jan 2009 13:47
by mb508
I have tried 1.0 ... inputs-slave desn't work at all =( All I get is:

[0x80cbbe8] main input error: demux doesn't like DEMUX_GET_TIME
[0x80cbbe8] main input error: demux doesn't like DEMUX_GET_TIME
[0x80cbbe8] main input error: demux doesn't like DEMUX_GET_TIME
[0x80cbbe8] main input error: demux doesn't like DEMUX_GET_TIME
[0x80cbbe8] main input error: demux doesn't like DEMUX_GET_TIME
[0x80cbbe8] main input error: demux doesn't like DEMUX_GET_TIME
[0x80cbbe8] main input error: demux doesn't like DEMUX_GET_TIME
[0x80cbbe8] main input error: demux doesn't like DEMUX_GET_TIME
[0x80cbbe8] main input error: demux doesn't like DEMUX_GET_TIME

I've tried different inputs and different combinations

Re: Does input-slave actually work?

Posted: 10 Jan 2009 17:28
by VLC_help
Which 1.0.0 version you tried?

Re: Does input-slave actually work?

Posted: 11 Jan 2009 10:00
by mb508
i tried latest from trunk ... but today i've tried 0.98 and got the same errors

Re: Does input-slave actually work?

Posted: 11 Jan 2009 17:37
by VLC_help
There are there parts in input.c that can cause that problem. And it seems that every part has demux_Control before it. So I think there are still some bugs in the code.