[RFC/RFT][patch] multimedia/mplayer with TV-V4L support

Henry Hu henry.hu.sh at gmail.com
Thu Jan 28 14:53:38 UTC 2010


2010/1/27 Andrey V. Elsukov <bu7cher at yandex.ru>:
> On 27.01.2010 14:15, Andrey V. Elsukov wrote:
>> Thank you for your work. Now i can use my webcam almost out of the box :)
>> Webcam on ASUS EEEPC works with `pwcview -s vga` and i made patch for
>> multimedia/mplayer, so now i can use mplayer with my webcam :)

It works well here.
Since I'm using mplayer SVN version, I changed something by my self.
It seems like that _ld_extra is not used anymore. We may add extra
libs with --extra-libs. I added these libs by hacking Makefile.
The changes to v4l and v4l2 input modules are the same.
I just configure mplayer with  --enable-tv-v4l1 --enable-tv-v4l2
--enable-vdpau --disable-v4l2.

The old problem still remains: it seems like that my webcam supports
160x120, however if I use this size, pwcview shows a green screen and
stalls, and mplayer just stalls. After killing them, I must restart
webcamd to be able to use pwcview or mplayer again with webcam.
However, 640x480 and 1280x1024 works well.

>> Can someone review these changes? Is it a correct way to use libv4l?
> Small fix for port's Makefile.
> --
> WBR, Andrey V. Elsukov
> _______________________________________________
> freebsd-multimedia at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia
> To unsubscribe, send any mail to
> "freebsd-multimedia-unsubscribe at freebsd.org"


More information about the freebsd-multimedia mailing list