Page 1 of 1

tv tuner frequency & command line

Posted: 27 Jan 2006 14:22
by clemens
hello,

i want to do a multicast tv stream. i start vlc with the following command:

Code: Select all

/vlc-0.8.4a/vlc "v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/dsp" :v4l-norm=PAL :v4l-frequency=185250" --sout "#transcode{vcodec=mp4v,vb=4096,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=rtp,mux=ts,url=239.255.255.253:1234,ttl=12,sap,name="lalalala"}}" -I rc
there are two problems with it:

1) vlc does not set the frequency on the tv tuner. the entry v4l-frequency=185250" does not accect the tv program, that gets streamed, its always the programm, that i choose using a different tv programm, xawtv or tvtime for example. i guess that is not supposed to be like that?


2) vlc only starts using the above mentioned command line by executing it in a xterm in gnome oder kde. my test server does have X but, the aim is to run vlc in a console without X, and i have no clue why this is different from starting it in xterm. any ideas?

Hello

Posted: 28 Jan 2006 16:15
by h2g2bob
Hello,

It strikes me that you might have the quotes a bit muddled. Try something like:

Code: Select all

/vlc-0.8.4a/vlc v4l:// :v4l-vdev="/dev/video0" :v4l-adev="/dev/dsp" :v4l-norm=PAL :v4l-frequency=185250 :sout='#transcode{vcodec=mp4v,vb=4096,scale=1,acodec=mpga,ab=128,channels=2}:duplicate{dst=std{access=rtp,mux=ts,url=239.255.255.253:1234,ttl=12,sap,name="lalalala"}}' -I rc
and see if it works. I use single quotes on sout because you've got double quotes on the name inside them.


h2g2bob

Posted: 28 Jan 2006 17:44
by clemens
ok i will try it. it is good to here that it is just a problem of mine and not a generell problem :)