libVLC parameters [camera (video+sound) and desktop capture]
Posted: 29 Sep 2011 13:42
Hi,
first of all let me tell you mine project requirements:
Form inside java application I need to:
I played for a while with it and with VLC application itself and there are still some things that are bugging me.
form VLC application I choose to record desktop in a .flv file with these settings:
.
I got the normal video file as output.
Now the problem is when I use libVLC. I pass these same parameters through java application (VLCJ) and got multiple problems: it does not recognize .flv format, it does not recognize H-264 codec...
So mine questions are:
first of all let me tell you mine project requirements:
Form inside java application I need to:
- detect USB connected camera
- choose from which camera to stream (this is optional but it would be very good for the project)
- record video from chosen camera and audio from chosen device and mix it all together into .flv file (multiple selected cameras = multiple .flv files)
- in parallel save desktop screen in a separate .flv file
I played for a while with it and with VLC application itself and there are still some things that are bugging me.
form VLC application I choose to record desktop in a .flv file with these settings:
.
I got the normal video file as output.
Now the problem is when I use libVLC. I pass these same parameters through java application (VLCJ) and got multiple problems: it does not recognize .flv format, it does not recognize H-264 codec...
So mine questions are:
- Does VLC uses libVLC at all?
- How come VLC and libVLC don't act the same?
- Where can I find libVLC parameters or some documentation? Something like http://www.videolan.org/developers/vlc/ ... ibvlc.html but with some basic stuff that tells me the parameters to pass to it so I can get a normal video output.