[streaming] Re: streaming from bttv-souce: problem with encoding (it doesn't)
Jean-Paul Saman
jpsaman at wxs.nl
Fri May 30 16:59:08 CEST 2003
You are correct VLC does not encode a raw stream into MPEG it only does
transcoding MPEGs.
You need an encoder for MPEG, ex: ffmpeg, Sampeg.
Grtz,
Jean-Paul Saman.
justin case wrote:
> hi,
>
> following the videolan-howto i tried to stream from a bttv-source with the
> commandline:
>
> % vlc -vvv
> v4l:/dev/video0:norm=spal:frequency=8692:size=640x480:channel=0:adev=/dev/ds
> p:audio=0
> --sout
> '#transcode{vcodec=mp4v,ab=256,vb=3000,vt=800000,keyint=80,acodec=mpga}
> :std{access=udp,mux=ts,url=239.255.12.13}'
>
> the result though only was:
>
> VideoLAN Client snapshot-20030524 Natalya
> remote control interface initialized, `h' for help
> [00000138] main input: playlist item `v4l2:/dev/video1'
> [00000138] access_file input error: cannot open file /dev/video1 (Kein
> passendes Gerät gefunden)
> [00000138] v4l input error: cannot open device
> [00000138] v4l input error: cannot open device
> [00000138] main input error: no suitable access module for
> `/://v4l2:/dev/video1'
> [00000139] main input: playlist item `udp:192.168.1.11'
> [00000139] access_udp input error: this UDP syntax is deprecated; the server
> argument will be
> [00000139] access_udp input error: ignored (192.168.1.11:0). If you wanted
> to enter a multicast address
> [00000139] access_udp input error: or local port, type : udp:@192.168.1.11:0
> signal 2 received, terminating vlc - do it again in case it gets stuck
> [00000139] access_udp input: closing UDP target `udp:192.168.1.11'
> [root at streamer1 vlc-snapshot-20030524]# ./vlc v4l:/dev/video1
> udp:192.168.1.11
> VideoLAN Client snapshot-20030524 Natalya
> remote control interface initialized, `h' for help
> [00000138] main input: playlist item `v4l:/dev/video1'
> [00000138] v4l input error: cannot open device
> [00000138] access_file input error: cannot open file /dev/video1 (Kein
> passendes Gerät gefunden)
> [00000138] v4l input error: cannot open device
> [00000138] main input error: no suitable access module for
> `/://v4l:/dev/video1'
> [00000139] main input: playlist item `udp:192.168.1.11'
> [00000139] access_udp input error: this UDP syntax is deprecated; the server
> argument will be
> [00000139] access_udp input error: ignored (192.168.1.11:0). If you wanted
> to enter a multicast address
> [00000139] access_udp input error: or local port, type : udp:@192.168.1.11:0
> signal 2 received, terminating vlc - do it again in case it gets stuck
> [00000139] access_udp input: closing UDP target `udp:192.168.1.11'
> [root at streamer1 vlc-snapshot-20030524]# ./vlc v4l:/dev/video0
> udp:192.168.1.11
> VideoLAN Client snapshot-20030524 Natalya
> remote control interface initialized, `h' for help
> [00000138] main input: playlist item `v4l:/dev/video0'
> [00000138] v4l input: v4l grabbing started
> [00000140] xvideo video output error: cannot open display
> [00000140] vout_sdl video output error: no video mode available
> [00000140] vout_sdl video output error: cannot set up SDL ()
> [00000140] x11 video output error: cannot open display
> [00000140] fb video output error: cannot get terminal mode (Das Argument ist
> ungültig)
> signal 2 received, terminating vlc - do it again in case it gets stuck
> [00000138] v4l input: v4l grabbing stoped
> [root at streamer1 vlc-snapshot-20030524]# less v4llog
> VideoLAN Client snapshot-20030524 Natalya
> [00000138] main input: playlist item
> `v4l:/dev/video0:norm=pal:frequency=8692:size=640x480:channel=0:adev=/dev/ds
> p:audio=0'
> [00000138] v4l input: v4l grabbing started
> [00000139] packetizer_copy decoder: Running copy packetizer
> [00000140] packetizer_copy decoder: Running copy packetizer
> [00000142] main private error: no sout stream module matched
> "transcode,none"
> [00000141] main stream output error: stream chained failed for
> `transcode{vcodec=mp4v,ab=256,vb=3000,vt=800000,keyint=80,acodec=mpga}:std{a
> c
> cess=udp,mux=ts,url=239.255.12.13}'
> [00000138] main input error: cannot start stream output instance, aborting
> [00000138] v4l input: v4l grabbing stoped
> [00000138] main input error: cannot delete object with children
> [00000139] main decoder error: cannot find any stream ouput
> [00000139] packetizer_copy decoder error: cannot add a new stream
> [00000140] main decoder error: cannot find any stream ouput
> [00000140] packetizer_copy decoder error: cannot add a new stream
> signal 2 received, terminating vlc - do it again in case it gets stuck
>
> i compiled with ffmpeg support but somehow i have the feeling, vlc can't
> connect to ffmpeg. what also confuses me is that i actually know transcode
> as an application.
>
> hope someone can help out here.
>
> thx and my regards,
> /jc
>
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the streaming
mailing list