Difference between revisions of "AVLD - Another Video Loopback Device"

From ElphelWiki
Jump to: navigation, search
Luxigo (talk | contribs)
 
Luxigo (talk | contribs)
Newer edit →
Line 1: Line 1:
 +
AVLD is a video loopback device for GNU-Linux, written by Pierre Parent and licensed under GPL.
 +
 +
 
With AVLD you can use Elphel cameras for image acquisition in v4l compatible applications, video conferencing, etc
 
With AVLD you can use Elphel cameras for image acquisition in v4l compatible applications, video conferencing, etc
 +
 +
 +
Video is playing smoothly on a 2.4Ghz dual core notebook at 25fps in 1440x896,
 +
 +
and CPU usage is 'only' 20-25% per core
 +
 +
 +
I could not test beyond the screen and the specific camera/sensor capabilities :)
  
  
Line 7: Line 18:
 
After loading the AVLD module:
 
After loading the AVLD module:
  
  modprobe avld width=640 height=480 fps=25
+
  modprobe avld width=1440 height=896 fps=0
  
  
You just have to feed the video device with:
+
You just have to feed the video device:
  
  mencoder rtsp://192.168.0.9 -nosound -ovc raw -vf format=bgr24 -of rawvideo -ofps 25 -o /dev/video0
+
  mencoder rtsp://192.168.0.9 -nosound -ovc raw -vf format=bgr24 -of rawvideo -o /dev/video0
  
 
(or /dev/video1 if you had already another video device driver loaded before)
 
(or /dev/video1 if you had already another video device driver loaded before)
 +
 +
 +
And you can play the stream for testing:
 +
 +
mplayer tv:// -tv driver=v4l:device=/dev/video0:outfmt=rgb24 -cache 8192 -vo xv
 +
 +
 +
You can change the device parameters when module is already loaded with:
 +
 +
echo "width=800 height=600 fps=0" > /dev/video0
 +
  
  
  
AVLD Homepage: http://allonlinux.free.fr/Projets/AVLD/
+
AVLD homepage: http://allonlinux.free.fr/Projets/AVLD/

Revision as of 01:18, 30 August 2008

AVLD is a video loopback device for GNU-Linux, written by Pierre Parent and licensed under GPL.


With AVLD you can use Elphel cameras for image acquisition in v4l compatible applications, video conferencing, etc


Video is playing smoothly on a 2.4Ghz dual core notebook at 25fps in 1440x896,

and CPU usage is 'only' 20-25% per core


I could not test beyond the screen and the specific camera/sensor capabilities :)


Accessing Elphel camera streams through a v4l device (eg: /dev/video0)

After loading the AVLD module:

modprobe avld width=1440 height=896 fps=0


You just have to feed the video device:

mencoder rtsp://192.168.0.9 -nosound -ovc raw -vf format=bgr24 -of rawvideo -o /dev/video0

(or /dev/video1 if you had already another video device driver loaded before)


And you can play the stream for testing:

mplayer tv:// -tv driver=v4l:device=/dev/video0:outfmt=rgb24 -cache 8192 -vo xv


You can change the device parameters when module is already loaded with:

echo "width=800 height=600 fps=0" > /dev/video0



AVLD homepage: http://allonlinux.free.fr/Projets/AVLD/