[streaming] stream in http for a webcam

jehan procaccia jehan.procaccia at free.fr
Sat Mar 7 18:55:58 CET 2009


hello

now that I am on fedora10 with vlc-0.9.8a-1.fc10.i386 I do have v4l2 :-)
cf my previous post : 
http://www.mail-archive.com/linux-uvc-devel@lists.berlios.de/msg02602.html
Unfortunalty I cannot get vlc streamming my video in a http to another 
computer on the subnet :-(

When I go to media-> streaming-> capture-device (/dev/video) -> stream 
-> play, I do see my webcam video locally

Now I add an http unicast stream
:sout=#duplicate{dst=display,dst=std{access=http,dst=192.168.2.6:8080}}

and I get
[00000542] stream_out_standard stream out error: no mux specified or 
found by extension
[00000543] v4l2 demux error: cannot open video device (Aucun fichier ou 
dossier de ce type)
ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM 
[00000543] v4l2 demux error: cannot open device   for ALSA audio (Aucun 
fichier ou dossier de ce type)
[00000543] v4l2 demux error: cannot open device   for OSS audio (Aucun 
fichier ou dossier de ce type)
libv4l2: error converting / decoding frame data: v4l-convert: error 
parsing JPEG header: Not a JPG file ?

[00000543] v4l2 demux error: Failed to wait (VIDIOC_DQBUF)

I don't know from where to start to debug ? is it a video capture 
probleme ? a mux problem or whatever else ?
I tried others predifined mux like mpeg4-divx,
:sout=#transcode{vcodec=mp4v,vb=800,scale=1,acodec=mp4a,ab=128,channels=2}:duplicate{dst=display,dst=std{access=http,mux=mp4,dst=192.168.2.6:8080}}
without success neither :-(
[00000561] stream_out_standard stream out error: mov and mp4 work only 
with file output
[00000562] main access out: creating httpd
[00000568] v4l2 demux error: cannot open video device (Aucun fichier ou 
dossier de ce type)
ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM 
[00000568] v4l2 demux error: cannot open device   for ALSA audio (Aucun 
fichier ou dossier de ce type)
[00000568] v4l2 demux error: cannot open device   for OSS audio (Aucun 
fichier ou dossier de ce type)
libv4l2: error converting / decoding frame data: v4l-convert: error 
parsing JPEG header: Not a JPG file ?


[00000568] v4l2 demux error: Failed to wait (VIDIOC_DQBUF)
[00000556] stream_out_transcode stream out error: cannot find video 
encoder (module:any fourcc:mp4v)
[00000556] stream_out_transcode stream out error: cannot create video chain
[00000569] main packetizer error: cannot create packetizer output (I420)

any clue , help really appreciated .

Thanks.




More information about the streaming mailing list