Page 1 of 1

Video streams fine, audio doesn't

Posted: 12 Apr 2011 22:04
by plalonde
I'm successfully streaming video out of my app (using invmem) using libVLC, but am now trying to get audio going.
I expected that adding :input-slave=alsa:// to my input line would do it - it works in the GUI with v4l2://, but it fails with fake:// using libVLC; the resulting transcoded stream has only a video component, no audio.
From other reading it seems likely that invmem isn't providing a proper time base; I'm game to make the required changes.
Any pointers to another way to do this?

Re: Video streams fine, audio doesn't

Posted: 12 Apr 2011 23:02
by Rémi Denis-Courmont
You cannot synchronize a live capture with an on-demand input in VLC at the moment.

Re: Video streams fine, audio doesn't

Posted: 13 Apr 2011 00:12
by plalonde
Thanks Remi.
I'm currently also switching from invmem to imem - partly because I saw that imem allows me to set up time stamps. I can force my app to generate frames at a particular rate, if needed.
Or am I wasting my time going in this direction?

Re: Video streams fine, audio doesn't

Posted: 13 Apr 2011 10:01
by Rémi Denis-Courmont
It don't know if that will work.