Page 1 of 1

streaming tv with transcode

Posted: 25 Nov 2003 04:31
by dignified
I am trying to stream tv with vlc according to the example on this page:
http://www.videolan.org/doc/videolan-ho ... oding.html

The only thing I made different was changing norm to NTSC.
I compiled transcode without any special options and here is where the output starts to look like it isn't working. Seems that something in transcode isn't right.

Here is some of my output.
---------------------------------------------------
[00000022] main module debug: using demux module "v4l"
[00000291] main stream output debug: stream=`transcode'
[00000292] main private debug: looking for sout stream module
[00000292] main private debug: probing 0 candidates
[00000292] main private error: no sout stream module matched "transcode,none"
[00000292] main private debug: destroying chain... (name=transcode)
[00000292] main private debug: destroying chain done
[00000291] main stream output error: stream chained failed for `transcode{vcodec=mp4v,acodec=mpga
,vb=3000,ab=256,vt=800000,keyint=80,deinterlace}:std{access=udp,mux=ts,url=192.168.0.114}'
[00000287] main input error: cannot start stream output instance, aborting
[00000287] v4l input: v4l grabbing stoped
[00000289] main decoder debug: waiting for sout
[00000021] main module debug: unlocking module "v4l"
[00000022] main module debug: unlocking module "v4l"
[00000290] main decoder debug: waiting for sout
[00000289] main decoder debug: waiting for sout
[00000290] main decoder debug: waiting for sout
[00000287] main input debug: thread 32771 joined (src/input/input.c:214)

Posted: 25 Nov 2003 05:02
by Arched_Enemy
I'm not sure exactly what the problem is but I got the streaming from a v4l device through VLC to work with the following input at the command line:

vlc –vvv v4l:/dev/video0:norm=pal:frequency=0:size=640x480:channel=1:adev=/dev/dsp:audio=0 –sout ‘#duplicate{dst=display,dst=”transcode{vcodec=mp4v,acodec=mpga,vb=9000,ab=256,vt=800000,keyint=80,deinterlace}:std{access=udp,mux=ts,url=displayprocessor”}’

This command allowed the image captured to be displayed where the stream was originating as well. To stop that simply remove the duplicate{dst=display,dst=" bit (retaining the #).

For my purpose (non-tv station capture) the frequency was set to 0. The channel for the card that I used (an Osprey-210) was 0 for composite input and 1 for S-video input.

I hope that this helps.

Posted: 27 Nov 2003 11:46
by Gibalou
00000292] main private error: no sout stream module matched "transcode,none"
[00000292] main private debug: destroying chain... (name=transcode)
It looks like you didn't compile your VLC with ffmpeg support which the "transcode" module depends upon. So your VLC doesn't have any transcoding capabilities.