Preliminary i have solved the interlacing issue for me. Of course an small increase of the CPU load is happened. The mencoder takes about 2% of a dualcore@2.93GHz for a 768x576x24 source at 4fps.
I used:
- zm 1.24.2 from svn
- ubuntu server 9.10 x64
- mencoder
- avld 0.1.4 with patch for newer kernel (another video loopback device)
- bttv cards
The solution is not difficult. After compiling and installing avld lod the module with
Code: Select all
sudo modprobe avld width=768 height=576 fps=0 palette=0
Code: Select all
mencoder tv:// -tv driver=v4l2:width=768:height=576:device=/dev/video0:noaudio:norm=PAL:outfmt=yv12:fps=3 -nosound -ovc raw -vf yadif,scale,format=bgr24 -of rawvideo -o /dev/video10
- Video for Linux 1
- RGB24
- 768x576
- PAL
Of course there is a daemon to write, it should monitor the loading process of the devices, run and restart if necessary the mencoder.
Links:
AVLD 0.1.4 http://allonlinux.free.fr/Projets/AVLD/
Patch from http://ubuntuforums.org/showthread.php?t=1386972
Other AVLD patch (not used) http://wiki.elphel.com/index.php?title= ... ack_Device
Please please please, who is interested in this should try it, i am VERY INTERESTED in FEEDBACK from YOU. Feel free to drop a line here or at my email.