format of vlrc file for streaming

*nix specific usage questions
Suspend

format of vlrc file for streaming

Postby Suspend » 09 Aug 2005 00:56

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

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 09 Aug 2005 14:55

Built a .vlc playlist which can set the options before it opens a MRL. Examples plenty in the forums.
Don't use PMs for support questions.

Suspend

format of vlcrc file for streaming

Postby Suspend » 10 Aug 2005 01:32

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

The DJ
Cone Master
Cone Master
Posts: 5987
Joined: 22 Nov 2003 21:52
VLC version: git
Operating System: Mac OS X
Location: Enschede, Holland
Contact:

Postby The DJ » 10 Aug 2005 02:27

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.
Don't use PMs for support questions.

Suspend

format of vlrc file for streaming

Postby Suspend » 11 Aug 2005 00:40

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://


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 14 guests