Thread: [GATOS] AVview on Fedora Core 9 w/ ATI AIW 7500 - Works!
Status: Beta
Brought to you by:
volodya
From: clarke <coy...@be...> - 2008-07-13 00:05:43
|
Greetings. It has been several years since I've had reason to post to this list. I've been using Gatos software and drivers since the time the viewer was called xatitv, at least 8 years. I've done what was necessary each time I upgraded my system or OS, and have always found it a very interesting exercise. Not for the faint of heart. As that is the case, I've hesitated for a number of years in upgrading the OS on my personal workstation (on which I use AVview), and have somewhat reluctantly remained with an ATI AIW 7500, as it works rather well. But the time has come when the tools and libraries on RedHat 9 don't update so well any longer, and I've made the move to Fedora Core 9. Added another disk drive and installed on that to preserve the working AVview installation. So, I read up on the archived emails from the list I've received over the years, and picked up what I missed on the archive. Seems that the last posts to this list were made around Jan. of '08, with no real significant traffic since late 2006. So, I guess that I may be whistling in the dark, but thought I'd cast my bread on the waters (to mix my metaphors) and see if anyone is listening/reading. So, I didn't want to upgrade the OS unless I could get AVview, at a minimum, working. So, after reading through the archives, I downloaded the latest CVS for AVview and the latest CVS for ffmpeg. ffmpeg built flawlessly, and I was feeling a bit good with that, when I wen to build AVview. However, it wasn't to be the case, as AVview choked on the version for ffmpeg (version svnxxxxxx, or something like that) and AVview was looking for 0.4.8. Did the aclocal, autoconf, autoheader and automake to no avail. Checked ffmpeg and saw the version certainly was not 0.4.8. So, I pulled a 0.4.8 version from ffmpeg's SVN site and built/installed that. Removed the AVview source and re-installed that. Did the aclocal, etc. and still no joy. Even with ffpmeg 0.4.8 installed and the build tree properly pointed to on the 'configure' command line for AVview. Re-read the archives and tried all things I found, but nothing could get me past the 0.4.8 hang. So, I commented out the section that test and hard coded the proper response to get past that section of the configure script. Then AVview choked on Tcl/Tk (version 8.5, when AVview was looking for 8.4). Ripped out Tcl/Tk and installed the 8.4 version (hope it didn't break anything in Fedora Core 9) and tried again. Still no joy as evidently (from my research) there were some rather significant changes glibc or something which was causing the break down. What to do? Well, let's try copying in the version I had running on the RedHat 9 install. All I have to do is mount up the disk holding my previous install and copy files from one disk to another. I did this, and wonder of wonders, the binaries load and I have the AVview (80.6?) running on Fedora Core. KM won't load, but I can watch TV, and Video's from either my DVD or VCR, which is my minimum requirement. However, while this is all well and good, I would really like to know if there are any plans to update the code, support newer versions of ffmpeg and Tcl/Tk, and move forward with what I have always thought was a very useful project. I'd love to be able to compile AVview and KM on Fedora Core 9, and I'm gonna play around with the code and see what I can make work, but I'm no pro. I haven't written anything much more than shell scripts for a number of years, but I think I can still read and understand 'C' fairly well. It would be nice to know there are some other folks still out here who are using and trying to get this product running on newer OS versions. It would also be nice to know that the real brains are still listening in and able to offer support or advice. So, I do have AVview running on Fedora Core 9, but am using binaries compiled on the same hardware under RedHat 9. Funny, though, it seems to run better than on RedHat 9, if you discount the fact that capture is not working. Cheers, Coyote |
From: Stanislav B. <ut...@pe...> - 2008-07-13 00:33:27
|
clarke wrote: > It would be nice to know there are some other folks still out here who > are using and trying to get this product running on newer OS versions. ffmpeg changed its API several times. It's not trivial to port an application to the newer API. To build avview with ffmpeg support, you can try to find the correct ffmpeg version in CVS archives of ffmpeg, and link it statically into avview. If you will look into archives of this mailing list, you will find my patch, which tries to port avview to ffmpeg-0.4.9. It compiles, but crashes on any attempt to capture. Anybody is encouraged to debug it. (I will probably not do it - for my R128 AIW card, it needs additional fix in the kernel driver, and the countdown of the analog TV is already running in my country.) Regarding the tcl/tk issue, the fix is trivial oneliner in configure.in - simply change version and it will work. I am using capture-less avview in openSUSE 11.0. ________________________________________________________________________ Stanislav Brabec http://www.penguin.cz/~utx |
From: Stanislav B. <ut...@pe...> - 2008-07-15 09:24:33
|
Stanislav Brabec wrote: > clarke wrote: > > It would be nice to know there are some other folks still out here who > > are using and trying to get this product running on newer OS versions. For those who don't want to build from source, I prepared binary packages: http://software.opensuse.org/search?q=avview It should not be a big problem to build it for other distributions available in the openSUSE Build Service. The version there is compiled without ffmpeg support for both legal and technical reasons. > Regarding the tcl/tk issue, the fix is trivial oneliner in configure.in > - simply change version and it will work. Sorry, it is not. Attaching a complete patch. It forces Tcl/Tk 8.5. It should be trivial to make it working for 8.4 and 8.5 using some #if's. avview-tcltk-8_5.patch --- configure.in +++ configure.in @@ -220,8 +220,8 @@ AC_MSG_ERROR([can not find X11]) fi -if ! test "$TCL_VERSION $TK_VERSION" = "8.4 8.4" ; then - AC_MSG_ERROR([AVview requires Tcl/Tk 8.4.x]) +if ! test "$TCL_VERSION $TK_VERSION" = "8.5 8.5" ; then + AC_MSG_ERROR([AVview with avview-tcltk-8_5.patch requires Tcl/Tk 8.5.x]) fi echo "" --- v4l.c +++ v4l.c @@ -368,9 +368,9 @@ if(f2!=NULL)f2->free_func(f2); vcvt_422_rgb32(snapshot_data->pib.width, snapshot_data->pib.height, snapshot_data->pib.width, snapshot_data->read_buffer, snapshot_data->pib.pixelPtr); set_transparency(&(snapshot_data->pib), 0xff); -Tk_PhotoSetSize(snapshot_data->ph, snapshot_data->pib.width, snapshot_data->pib.height); -Tk_PhotoPutBlock(snapshot_data->ph, &(snapshot_data->pib), 0, 0, snapshot_data->pib.width, snapshot_data->pib.height -#if (TK_MAJOR_VERSION==8) && (TK_MINOR_VERSION==4) +Tk_PhotoSetSize(snapshot_data->interp, snapshot_data->ph, snapshot_data->pib.width, snapshot_data->pib.height); +Tk_PhotoPutBlock(snapshot_data->interp, snapshot_data->ph, &(snapshot_data->pib), 0, 0, snapshot_data->pib.width, snapshot_data->pib.height +#if (TK_MAJOR_VERSION==8) && (TK_MINOR_VERSION>=4) , TK_PHOTO_COMPOSITE_SET #endif ); --- vbi.c +++ vbi.c @@ -387,9 +387,9 @@ pib.offset[2]=2; pib.offset[3]=3; pib.pixelPtr=canvas; -Tk_PhotoSetSize(ph, pib.width, pib.height); -Tk_PhotoPutBlock(ph, &pib, 0, 0, pib.width, pib.height -#if (TK_MAJOR_VERSION==8) && (TK_MINOR_VERSION==4) +Tk_PhotoSetSize(interp, ph, pib.width, pib.height); +Tk_PhotoPutBlock(interp, ph, &pib, 0, 0, pib.width, pib.height +#if (TK_MAJOR_VERSION==8) && (TK_MINOR_VERSION>=4) , TK_PHOTO_COMPOSITE_SET #endif ); @@ -509,8 +509,8 @@ } } -Tk_PhotoPutBlock(ph, &pib, 0, 0, pib.width, pib.height -#if (TK_MAJOR_VERSION==8) && (TK_MINOR_VERSION==4) +Tk_PhotoPutBlock(interp, ph, &pib, 0, 0, pib.width, pib.height +#if (TK_MAJOR_VERSION==8) && (TK_MINOR_VERSION>=4) , TK_PHOTO_COMPOSITE_SET #endif ); -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sb...@su... Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ |