Hi,
I'm trying to use vlc to combine a http MJpeg video stream and http pcm (Wav) audio stream. The server creating the http streams is my own creation in C# so I have control over the streams if I need to change anything.
Seperately, VLC recognises them fine and I can successfully transcode and stream output in flv format however I need to try and combine these streams into a single streamed output. I'm currently trying to use the --input-slave feature which looked like it should work however I'm finding the following:
If I treat the M-jpeg stream as the main stream and the PCM as the slave, vlc just gives me lots of "demux doesn't like demux_get_time" errors.
If I treat the PCM as the main stream and the M-jpeg as the slave I get a split second of audio after a while but then vlc basically looks like it stops accepting the input streams and everything grinds to a halt (I can see this as the console on my http server shows it isn't outputting any data).
If instead of using a PCM http stream as the slave I use a local audio file it seems to work fine so what is it about a second http input that vlc doesn't like.
I'm sure there is a whole host of things I'm not taking into account and am probably looking at it too simplistically however I don't know any other way of trying to combine two streams in vlc. Would anyone happen to have any suggestions?
I'll add the vlc output in the next message of this post to save making this first post too long.
Thanks,
Neil.