Page 1 of 1

vlm rtsp vod with an anlogue tv card

Posted: 03 Apr 2006 00:31
by Guest
ive been playing around with vlc and streaming tv from my headless linux box a few weeks.
i can stream a channel per udp without problems with a cli like:

./vlc --color v4l:/dev/video:norm=pal:frequency=783250000:size=640x480:channel=0:adev=/dev/adsp:audio=0 --sout '#transcode{vcodec=mp4v,acodec=mpga,vb=9000,ab=192,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}:std{access=udp,mux=ts,url=clientip:1234}'

because you are not able to change channels with this kind of setup i tried to setup vlm vod but failed...

cli: ./vlc --color --extraintf telnet -vvvvv

i added a vod in the telnet interface with
new arte vod enabled
and tried different input strings eg.
setup arte input v4l:/dev/video:norm=pal:frequency=471250:size=640x480:channel=0:adev=/dev/adsp:audio=0#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=80,venc=ffmpeg{keyint=80,hurry-up,vt=800000},deinterlace}

dunno about the transcode part but even without it i get two errors about unsupported codecs (one for audio, one for video):

Code: Select all

[00000312] main private debug: looking for vod server module: 1 candidate [00000312] main private: creating httpd [00000312] main private debug: net: listening to port 554 [00000314] main private debug: thread 3033476016 (httpd host thread) created at priority 0 (src/network/httpd.c:1052) [00000312] main private debug: using vod server module "vod_rtsp" [00000315] [Media: arte] main input debug: waiting for thread completion [00000315] [Media: arte] main input debug: thread 3025087408 (input) created at priority 0 (src/input/input.c:260) [00000316] [Media: arte] main stream output debug: stream=`description' [00000317] [Media: arte] main private debug: looking for sout stream module: 1 candidate [00000317] [Media: arte] main private debug: using sout stream module "stream_out_description" [00000315] [Media: arte] main input debug: `v4l:/dev/video0:norm=pal:frequency=471250:size=640x480:channel=0:adev=/dev/adsp:audio=0' gives access `v4l' demux `' path `/dev/video0:norm=pal:frequency=471250:size=640x480:channel=0:adev=/dev/adsp:audio=0' [00000315] [Media: arte] main input debug: creating demux: access='v4l' demux='' path='/dev/video0:norm=pal:frequency=471250:size=640x480:channel=0:adev=/dev/adsp:audio=0' [00000318] [Media: arte] main demuxer debug: looking for access_demux module: 1 candidate [00000318] [Media: arte] v4l demuxer debug: WxH 640x480 [00000318] [Media: arte] v4l demuxer debug: main device=`/dev/video0' [00000318] [Media: arte] v4l demuxer debug: V4L device BT878 video (Hauppauge (bt878)) 4 channels 1 audios 48 < w < 924 32 < h < 576 [00000318] [Media: arte] v4l demuxer debug: setting channel Television(0) 1 tuners flags=0x3 type=0x1 norm=0x0 [00000318] [Media: arte] v4l demuxer debug: frequency 471250 (7540) [00000318] [Media: arte] v4l demuxer debug: v4l device uses brightness: 32768 [00000318] [Media: arte] v4l demuxer debug: v4l device uses colour: 32768 [00000318] [Media: arte] v4l demuxer debug: v4l device uses hue: 32768 [00000318] [Media: arte] v4l demuxer debug: v4l device uses contrast: 32768 [00000318] [Media: arte] v4l demuxer debug: v4l device uses frame size: 921600 [00000318] [Media: arte] v4l demuxer debug: v4l device uses chroma: RV24 status change: ( New input: v4l:/dev/video0:norm=pal:frequency=471250:size=640x480:channel=0:adev=/dev/adsp:audio=0 ) status change: ( audio volume: 256 ) [00000318] [Media: arte] v4l demuxer debug: openened adev=`/dev/adsp' stereo 44100Hz [00000318] [Media: arte] v4l demuxer debug: v4l grabbing started [00000318] [Media: arte] v4l demuxer debug: added new video es RV24 640x480 [00000315] [Media: arte] main input debug: selecting program id=0 [00000318] [Media: arte] v4l demuxer debug: new audio es 2 channels 44100Hz [00000318] [Media: arte] main demuxer debug: using access_demux module "v4l" [00000319] [Media: arte] main packetizer debug: looking for packetizer module: 14 candidates [00000319] [Media: arte] main packetizer debug: using packetizer module "rawvideo" [00000319] [Media: arte] main packetizer debug: thread 2991008688 (decoder) created at priority 0 (src/input/decoder.c:159) [00000320] [Media: arte] main packetizer debug: looking for packetizer module: 14 candidates [00000320] [Media: arte] main packetizer debug: using packetizer module "packetizer_copy" [00000320] [Media: arte] main packetizer debug: thread 2999573424 (decoder) created at priority 0 (src/input/decoder.c:159) [00000315] [Media: arte] main input debug: starting in asynch mode [00000315] [Media: arte] main input debug: `v4l:/dev/video0:norm=pal:frequency=471250:size=640x480:channel=0:adev=/dev/adsp:audio=0' successfully opened [00000316] [Media: arte] main stream output debug: adding a new input [00000316] [Media: arte] main stream output debug: adding a new input [00000315] [Media: arte] main input debug: control type=0 [00000315] [Media: arte] main input debug: control: stopping input [00000315] [Media: arte] main input debug: closing input [00000318] [Media: arte] main demuxer debug: removing module "v4l" [00000319] [Media: arte] main packetizer debug: removing module "rawvideo" [00000319] [Media: arte] main packetizer debug: thread 2991008688 joined (src/input/decoder.c:191) [00000319] [Media: arte] main packetizer debug: killing decoder fourcc `RV24', 1 PES in FIFO [00000316] [Media: arte] main stream output debug: removing an input [00000320] [Media: arte] main packetizer debug: removing module "packetizer_copy" [00000320] [Media: arte] main packetizer debug: thread 2999573424 joined (src/input/decoder.c:191) [00000320] [Media: arte] main packetizer debug: killing decoder fourcc `araw', 0 PES in FIFO [00000316] [Media: arte] main stream output debug: removing an input [00000315] [Media: arte] main input debug: destroying sout [00000317] main private debug: destroying chain... (name=description) [00000317] main private debug: removing module "stream_out_description" [00000317] main private debug: destroying chain done [00000315] [Media: arte] main input debug: thread 3025087408 joined (src/input/input.c:402) [00000312] vod_rtsp private debug: created rtsp url: /arte [00000312] vod_rtsp private debug: media has 2 declared ES [00000312] vod_rtsp private debug: - ES RV24 (/arte/trackid=0) [00000312] vod_rtsp private error: cannot add this stream (unsupported codec: RV24) [00000312] vod_rtsp private debug: - ES s16l (/arte/trackid=0) [00000312] vod_rtsp private error: cannot add this stream (unsupported codec: s16l)
any comments?
tia