imem video + audio streaming

This forum is about all development around libVLC.
mirswith
Blank Cone
Blank Cone
Posts: 49
Joined: 15 Dec 2011 01:15

imem video + audio streaming

Postby mirswith » 28 Jan 2012 18:55

I have an application that is rendered in openGl and I am using imem to capture the frames and stream it using rtsp. This is working pretty well however I do not have audio. Is there a way to capture all audio from this app and stream it as well? Short of that within my app is another instance of vlc that is playing a video, is there a way to route its audio to my imem streams audio? Any examples and/or pointers regarding this would be great. Thanks.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: imem video + audio streaming

Postby Jean-Baptiste Kempf » 29 Jan 2012 20:15

imem is taking the input in memory, right? The input should have audio and video then.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mirswith
Blank Cone
Blank Cone
Posts: 49
Joined: 15 Dec 2011 01:15

Re: imem video + audio streaming

Postby mirswith » 02 Feb 2012 03:24

It is correct, what confuses me though is that --imem-cat seems to take an integer with these as options:
--imem-cat={0 (Unknown), 1 (Audio), 2 (Video), 3 (Subtitle), 4 (Data)}
How would I tell it to set audio and video. I was thinking at first it was a flag until audio or'd with video would give us a subtitle. Then to further complicate things, even if I can set audio and video does that mean the get is requesting a buffer with audio and video in it and if so then are there any details on the layout? It seems imem was really only meant for one or the other but I really hope I am wrong here.

Thanks again.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 5 guests