Page 2 of 2

Posted: Sat Dec 12, 2009 11:29 am
by sunucu
Hi,
My ubuntu dist is server-LTS.8.04. I could not find latest version of ZM on any repos. So I'm trying to compile zm 1.24.2 from source. Also my DVR card's chip cx2388x, so i need ivtv. But when i try to patch that(*) file, returns a alert like this:

Code: Select all

Hunk #1 FAILED at 141.
1 out of 1 hunk FAILED -- saving rejects to file zm_image.cpp.rej
Are there any other ivtv pathes for zm 1.24.2? Or how can I fix that problem?

* http://www.cs.unm.edu/~sulmicki/eax/pat ... 12.2.patch

sorry for bad english :roll:
thanks.

Posted: Mon Mar 29, 2010 6:18 pm
by murte
sunucu wrote:Hi,
My ubuntu dist is server-LTS.8.04. I could not find latest version of ZM on any repos. So I'm trying to compile zm 1.24.2 from source. Also my DVR card's chip cx2388x, so i need ivtv. But when i try to patch that(*) file, returns a alert like this:

Code: Select all

Hunk #1 FAILED at 141.
1 out of 1 hunk FAILED -- saving rejects to file zm_image.cpp.rej
Are there any other ivtv pathes for zm 1.24.2? Or how can I fix that problem?

* http://www.cs.unm.edu/~sulmicki/eax/pat ... 12.2.patch

sorry for bad english :roll:
thanks.
This morning I started tinkering with the latest zm svn to see if I could get the patch to work. Turned out really blurry and mono (as it says in the patch).

I was able to use source option ffmpeg since ffmpeg can decode mpeg2. It's not perfect but I get 30fps.

The error I was getting was about the image buffer being different than expected. Now it resizes the buffer to the right size.

http://z.darksidebio.com/public/zm-ivtv/

I was thinking its a format issue but nothing changes it.
Must be an mpeg2 issue.

Source Type: ffmpeg
Source Path: /dev/video1
720x480 24bit

Ubuntu 1ghz athlon
video0: BTTV mono composite camera works well
video1&2: Hauppauge PVR500 (dual tuner) tuners set to analog cable channel 13

==Edit==
Some googling turned up a fix. Adds more mpeg buffers.
/etc/modprobe.d/ivtv.conf
options ivtv enc_mpg_buffers=9 ivtv_yuv_mode=2
Image
Image