Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20187 - vcr captures video upside down
Summary: vcr captures video upside down
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-29 17:20 UTC by Dave
Modified: 2003-09-28 03:34 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave 2003-04-29 17:20:29 UTC
Installed the latest media-video/vcr package (for my gentoo-pvr), and it 
worked beautifully, except the video was upside down.  I searched the web and 
found entries for a similar bug being fixed in Debian, but nothing about 
gentoo.  So, I browsed the cvs and found references to a "flipped vcr fix" 
that was put into the package and then subsequently removed.  So I sent an 
email to the fixer who had provided the patch for debian and he told me that I 
had to do the following in capproc.cc

 // RO patch to fix mirroring
 memcpy(tmpframe + i*c_bpl, z + (i)* o_bpl + o_x_off, c_bpl);
 //memcpy(tmpframe + i*c_bpl, z + (o_y_end -i -1)*o_bpl + o_x_off,c_bpl);

So I did an emerge unpack, and then modified the source, and then did an 
emerge-compile, and -install, and -qmerge and it works great!

Apparently the old code was there to deal with a weird issue in avifile which 
has subsequently been fixed.

It would be wonderful to see this in the vcr package.


Reproducible: Always
Steps to Reproduce:
1.  Build a box with a bttv card (Mine was an ATI TV-Wonder)
2.  Install gentoo
3.  Install vcr
4.  Try to record some TV
Actual Results:  
Video upside down

Expected Results:  
Video rightside up
Comment 1 Jon Portnoy (RETIRED) gentoo-dev 2003-04-30 18:41:53 UTC
I hate to shoot yet another bug your way, liquidx, but:

  14 Sep 2002; Seemant Kulleen <seemant@gentoo.org> vcr-1.09-r1.ebuild
  files/digest-vcr-1.09-r1 :
  Fix for flipped vcr output submitted by gentoo@liquidx.net (Alastair Tse)
  in bug #7919.  Moved patches to one patchfile and it now resides on
  ibiblio instead.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-05-01 05:25:06 UTC
do you know which version of avifile you are using?
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2003-05-04 20:31:50 UTC
bug reporter? 

i don't have a tv tuner anymore, so i can't test it. if you could let me know which version of avifile you have installed, i can make sure since which version this was fixed.
Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-05-10 09:02:34 UTC
hello Dave?

could you let me know which version of avifile you are using?
Comment 5 SpanKY gentoo-dev 2003-08-05 07:47:31 UTC
i just added 1.10 ... try that out please ...

it uses latest avifile :)
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2003-09-28 03:34:44 UTC
thru some limited testing, seems to work fine now. closing