VLCJ "Media Options"

This forum is about all development around libVLC.
yasdnil1
New Cone
New Cone
Posts: 9
Joined: 13 May 2011 22:55

VLCJ "Media Options"

Postby yasdnil1 » 06 Jun 2011 23:43

I am experimenting with streaming to a file and wanted to know where I could find documentation on the "options." The source is video from a camera (see mediaUrl below). I tried copying the output string from the VLC player and setting that to my options, but it didn't work (1st String [] options). I made up the second String [] options, looking at an example.
Is there an explanation of the options (vcodec, vb, fps, mux, etc), possible values (h264, 0, 2, ts, ps, etc), and how to set them (what the final string looks like, where to put colons, braces, etc)? If so, where?
Thanks

String mediaUrl = "rtsp://@172.30.20.220";
(Created the file, but nothing played back):
String [] options = {":sout=#transcode{vcodec=h264,vb=0,fps=2,scale=0,acodec=none}:file{dst=U:\\user1\\cohustream2.mp4} "};
(Appears to work, but HOW?):
String [] options = {":sout=#standard{mux=ts,access=file,dst=U:\\user1\\cohustream3standard.mp4} "};
Last edited by yasdnil1 on 07 Jun 2011 22:34, edited 1 time in total.

sherington
Cone that earned his stripes
Cone that earned his stripes
Posts: 491
Joined: 10 Sep 2008 11:57
VLC version: master
Operating System: Linux

Re: VLCJ "Media Options"

Postby sherington » 07 Jun 2011 08:18

There's a lot of documentation in the videolan WIKI for those options. You'll have to hunt around, there's no single page that says "here is an exhaustive list of all the possible options".


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 8 guests