Video streams fine, audio doesn't

This forum is about all development around libVLC.
plalonde
New Cone
New Cone
Posts: 6
Joined: 11 Apr 2011 20:22

Video streams fine, audio doesn't

Postby plalonde » 12 Apr 2011 22:04

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Video streams fine, audio doesn't

Postby Rémi Denis-Courmont » 12 Apr 2011 23:02

You cannot synchronize a live capture with an on-demand input in VLC at the moment.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

plalonde
New Cone
New Cone
Posts: 6
Joined: 11 Apr 2011 20:22

Re: Video streams fine, audio doesn't

Postby plalonde » 13 Apr 2011 00:12

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?

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Video streams fine, audio doesn't

Postby Rémi Denis-Courmont » 13 Apr 2011 10:01

It don't know if that will work.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 11 guests