I am using vlc-0.8.4a to monitor lab equipment using an Apple iSight Firewire camera and Andrea Guzzo's dc1394 input module.
I have configured VLM to provide audio-visual streams playable in Windows Media Player and JPEG stills/snapshots that can be viewed from any web browser for people without broadband connections.
I generated JPEG stills by using the mjpg codec with the 'raw' mux module.
The problem is that once in a while, I receive invalid JPEG image data that does not display. If I refresh the image again, the next frame appears correctly. The problem normally happens at least once for every 20 refreshes.
When I have examined the actual data in the bad frame, it is missing a JPEG header.
Here is my VLM configuration:
Code: Select all
new camera1 broadcast enabled
setup camera1 input dc1394:/dev/video1394/0:camera=0:size=320x240:adev=/dev/dsp
:channels=1:fps=15
setup camera1 output #duplicate{dst="transcode{vcodec=DIV3,vb=256,acodec=mp3,ab=
32}:std{access=mmsh,mux=asfh,url=:9192/stream1_v_medium.asf}",dst="transcode{vco
dec=MJPG,vb=4000}:std{access=http,mux=raw,url=:9192/stream1.jpg}"}
control camera1 play
Regards, Vlad.