Video stream to icecast. VLC dies, no error message.

About encoding, codec settings, muxers and filter usage
simonb
Blank Cone
Blank Cone
Posts: 25
Joined: 15 Jan 2005 18:38
Operating System: Linux
Location: London

Video stream to icecast. VLC dies, no error message.

Postby simonb » 18 Dec 2005 21:12

On PClinuxOS I have VLC 0.8.4a compiled. I run the following command line to connect to my Icecast server. It connects sucessfully if I connect audio only using the command line below.

Code: Select all

vlc -vvv v4l:/dev/video:adev=/dev/dsp --sout '#transcode{acodec=vorbis,ab=96}:standard{access=shout,mux=ogg,url=source:mypass@my.webcast.server:8000/vid.ogg}'
But if I connect with video using the line below it just dies.

Code: Select all

vlc -vvv v4l:/dev/video:adev=/dev/dsp --sout '#transcode{acodec=vorbis,ab=96,vcodec=theo,vb=64}:standard{access=shout,mux=ogg,url=source:mypass@my.webcast.server:8000/vid.ogg}'
After starting up VLC just dies. It just says "killed". There doesn't seem to be any major error before this happens. Below is the command line output. What's happening and how do I fix it?

Code: Select all

VLC media player 0.8.4a Janus [00000001] main vlc debug: opening config file /home/simon/.vlc/vlcrc [00000001] main vlc debug: checking builtin modules [00000001] main vlc debug: checking plugin modules [00000001] main vlc debug: loading plugins cache file /home/simon/.vlc/cache/plugins-04041e.dat [00000001] main vlc debug: recursively browsing `modules' [00000001] main vlc debug: recursively browsing `/usr/local/lib/vlc' [00000001] main vlc debug: recursively browsing `plugins' [00000001] main vlc debug: module bank initialized, found 389 modules [00000001] main vlc debug: opening config file /home/simon/.vlc/vlcrc [00000001] main vlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU [00000001] main vlc debug: looking for memcpy module: 4 candidates [00000010] main module debug: using memcpy module "memcpymmxext" [00000483] main playlist debug: waiting for thread completion [00000483] main playlist debug: thread 16386 (playlist) created at priority 0 (src/playlist/playlist.c:183) [00000484] main private debug: waiting for thread completion [00000484] main private debug: thread 32771 (preparser) created at priority 0 (src/playlist/playlist.c:205) [00000485] main interface debug: looking for interface module: 2 candidates [00000055] main module debug: using interface module "hotkeys" [00000485] main interface debug: interface initialized [00000485] main interface debug: thread 49156 (interface) created at priority 0 (src/interface/interface.c:211) [00000487] main interface debug: looking for interface module: 8 candidates [00000039] main module debug: using interface module "screensaver" [00000487] main interface debug: interface initialized [00000487] main interface debug: thread 65541 (interface) created at priority 0 (src/interface/interface.c:211) [00000483] main playlist debug: adding playlist item `v4l:/dev/video:adev=/dev/dsp' ( v4l:/dev/video:adev=/dev/dsp ) [00000489] main interface debug: looking for interface module: 6 candidates [00000017] main module debug: using interface module "wxwidgets" [00000489] main interface debug: interface initialized [00000489] main interface debug: thread 81926 (manager) created at priority 0 (src/interface/interface.c:196) [00000489] wxwidgets interface debug: Using last windows config '(-1,0,0,1600,1200)(0,319,226,421,88)' [00000489] wxwidgets interface debug: id=0 p=(319,226) s=(421,88) [00000483] main playlist debug: nothing requested, starting [00000483] main playlist debug: creating new input thread [00000492] main input debug: waiting for thread completion [00000493] main stream output debug: stream=`transcode' [00000494] main private debug: looking for sout stream module: 2 candidates [00000492] main input debug: thread 98311 (input) created at priority 0 (src/input/input.c:230) [00000493] main stream output debug: stream=`standard' [00000497] main private debug: looking for sout stream module: 2 candidates [00000497] main private debug: set sout option: sout-standard-access to shout [00000497] main private debug: set sout option: sout-standard-mux to ogg [00000497] main private debug: set sout option: sout-standard-url to source:mypass@my.webcast.server:8000/vid.ogg [00000497] stream_out_standard private debug: creating `shout/ogg://source:mypass@my.webcast.server:8000/vid.ogg' [00000497] stream_out_standard private debug: extention is ogg [00000497] stream_out_standard private debug: extention -> mux=ogg [00000497] stream_out_standard private debug: using `shout/ogg://source:mypass@my.webcast.server:8000/vid.ogg' [00000499] main private debug: looking for sout access module: 2 candidates [00000499] access_output_shout private debug: shout access output opened (source@my.webcast.server:8000/vid.ogg) [00000056] main module debug: using sout access module "access_output_shout" [00000497] stream_out_standard private debug: access opened [00000501] main private debug: looking for sout mux module: 2 candidates [00000501] mux_ogg private: Open [00000026] main module debug: using sout mux module "mux_ogg" [00000493] main stream output debug: muxer support adding stream at any time [00000493] main stream output debug: muxer prefers waiting for all ES before starting muxing [00000497] stream_out_standard private debug: mux opened [00000186] main module debug: using sout stream module "stream_out_standard" [00000494] main private debug: set sout option: sout-transcode-acodec to vorbis [00000494] main private debug: set sout option: sout-transcode-ab to 96 [00000494] main private debug: set sout option: sout-transcode-vcodec to theo [00000494] main private debug: set sout option: sout-transcode-vb to 64 [00000494] stream_out_transcode private debug: codec audio=vorb 0Hz 0 channels 96Kb/s [00000494] stream_out_transcode private debug: codec video=theo 0x0 scaling: 1.000000 64kb/s [00000191] main module debug: using sout stream module "stream_out_transcode" [00000492] main input debug: `v4l:/dev/video:adev=/dev/dsp' gives access `v4l' demux `' path `/dev/video:adev=/dev/dsp' [00000492] main input debug: creating demux: access='v4l' demux='' path='/dev/video:adev=/dev/dsp' [00000503] main demuxer debug: looking for access_demux module: 2 candidates [00000503] v4l demuxer debug: main device=`/dev/video' [00000503] v4l demuxer debug: V4L device Logitech QuickCam Pro 4000 1 channels 1 audios 160 < w < 640 120 < h < 480 [00000503] v4l demuxer debug: invalid width 0 [00000503] v4l demuxer debug: invalid height 0 [00000503] v4l demuxer debug: setting channel Webcam(0) 0 tuners flags=0x0 type=0x2 norm=0xa20b [00000503] v4l demuxer debug: will use 160x120 [00000503] v4l demuxer debug: v4l device uses brightness: 44544 [00000503] v4l demuxer debug: v4l device uses colour: 44213 [00000503] v4l demuxer debug: v4l device uses hue: 65535 [00000503] v4l demuxer debug: v4l device uses contrast: 62464 [00000503] v4l demuxer debug: v4l device uses frame size: 28800 [00000503] v4l demuxer debug: v4l device uses chroma: I420 [00000503] v4l demuxer debug: openened adev=`/dev/dsp' stereo 44100Hz [00000503] v4l demuxer debug: v4l grabbing started [00000503] v4l demuxer debug: added new video es I420 160x120 [00000492] main input debug: selecting program id=0 [00000503] v4l demuxer debug: new audio es 2 channels 44100Hz [00000140] main module debug: using access_demux module "v4l" [00000505] main packetizer debug: looking for packetizer module: 33 candidates [00000091] main module debug: using packetizer module "rawvideo" [00000505] main packetizer debug: thread 114696 (decoder) created at priority 0 (src/input/decoder.c:159) [00000516] main packetizer debug: looking for packetizer module: 33 candidates [00000240] main module debug: using packetizer module "packetizer_copy" [00000516] main packetizer debug: thread 131081 (decoder) created at priority 0 (src/input/decoder.c:159) [00000492] main input debug: starting in asynch mode [00000492] main input debug: `v4l:/dev/video:adev=/dev/dsp' successfully opened [00000493] main stream output debug: adding a new input [00000494] stream_out_transcode private debug: creating video transcoding from fcc=`I420' to fcc=`theo' [00000566] main decoder debug: looking for decoder module: 41 candidates [00000493] main stream output debug: adding a new input [00000090] main module debug: using decoder module "rawvideo" [00000567] main encoder debug: looking for encoder module: 13 candidates [00000567] theora encoder debug: padding video from 160x120 to 160x128 [00000016] main module debug: using encoder module "theora" [00000016] main module debug: unlocking module "theora" [00000494] stream_out_transcode private debug: creating audio transcoding from fcc=`s16l' to fcc=`vorb' [00000588] main decoder debug: looking for decoder module: 41 candidates [00000588] araw decoder debug: samplerate:44100Hz channels:2 bits/sample:16 [00000083] main module debug: using decoder module "araw" [00000589] main encoder debug: looking for encoder module: 13 candidates [00000068] main module debug: using encoder module "vorbis" [00000590] main private debug: looking for audio filter2 module: 8 candidates [00000590] audio_format private debug: s16l->fl32, bits per sample: 16 [00000231] main module debug: using audio filter2 module "audio_format" [00000501] main private debug: adding a new input [00000501] mux_ogg private debug: adding input [00000501] mux_ogg private debug: vorbis stream [00000567] main encoder debug: looking for encoder module: 13 candidates [00000567] theora encoder debug: padding video from 160x120 to 160x128 [00000016] main module debug: using encoder module "theora" [00000501] main private debug: adding a new input [00000501] mux_ogg private debug: adding input [00000501] mux_ogg private debug: theora stream Killed [simon@Vigor11 vlc-0.8.4a]$

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 10 guests