Page 1 of 1

format of vlrc file for streaming

Posted: 09 Aug 2005 00:56
by Suspend
I've set up a linux box with a TV card streaming television broadcasts to a win xp box. Everything's working fine but i'd like to enter the frequencies in the playlist on the server so I don't have to type them in manually on the concole every time I want to switch channels... The server box doesn't run X so no GUI.
what should my vlcrc or playlist look like? presently I run vlc like this:

Code: Select all

vlc --color v4l:/dev/video0:norm=pal:frequency=154250:size=640x480:channel=0:adev=/dev/dsp2:audio=0 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=512,ab=128,samplerate=44100,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,url=192.168.1.2}' --ttl 12
the frequency is what I'd like to change in each entry, everything else stays the same.
Thanks!
/Magnus

Posted: 09 Aug 2005 14:55
by The DJ
Built a .vlc playlist which can set the options before it opens a MRL. Examples plenty in the forums.

format of vlcrc file for streaming

Posted: 10 Aug 2005 01:32
by Suspend
Thanks, could you point me at one? I searched the forum but could find no examples of what I want to do. Just stupid probably.

/Magnus

Posted: 10 Aug 2005 02:27
by The DJ
viewtopic.php?t=10783&highlight=extinf

btw. v4l:/dev/video0:norm=pal:frequency=154250:size=640x480
is deprecated syntax. It should be
v4l:/dev/video0 :v4l-norm=pal :v4l-frequency=154250 :v4l-size=640x480
I think. I don't have Linux, so i can't check right now.

format of vlrc file for streaming

Posted: 11 Aug 2005 00:40
by Suspend
Ok, I tried to piece it together from what I could find but quite unsurprisingly it didn't work. Also, I have no idea what to put in the vlcrc file and in what format. Is there no documentation about this?

This is what an entry looks like:

#EXTM3U
#EXTINF:0,1,bbcprime
#EXTVLCOPT:v4l-vdev=/dev/dsp2
#EXTVLCOPT:v4l-adev=/dev/video0
#EXTVLCOPT:v4l-norm:pal
#EXTVLCOPT:v4l-size=640x480
#EXTVLCOPT:v4l-frequency=154250
#EXTVLCOPT:sout=#transcode{vcodec=mp4v,acodec=mpga,vb=512,ab=64,samplerate=44100,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,url=192.168.1.2}
#EXTVLCOPT:ttl=12
v4l://