Author |
Message |
marc.aronson
|
Posted: Wed Feb 29, 2012 10:57 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
The second post on this thread contains the solution that worked for me.Marc I am having problems where HandBrakeCLI will sometimes get stuck transcoding some of my recordings. In an attempt to resolve this I downloaded the source, did a "./configure; cd build; make". I get the following error: Code: set -e; cd ./contrib/a52dec/a52dec/; rm -fr aclocal.m4 autom4te.cache; autoreconf -fiv; CC=/usr/bin/gcc CFLAGS="" CXX=/usr/bin/g++ CXXFLAGS="" CPPFLAGS="" LDFLAGS="" PKG_CONFIG_PATH="/myth/tmp/HandBrake-0.9.6/build/contrib/lib/pkgconfig" ./configure --prefix=/myth/tmp/HandBrake-0.9.6/build/contrib/ --disable-dependency-tracking --disable-shared --enable-static autoreconf: Entering directory `.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --output=aclocal.m4t Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: No such file or directory make: *** [contrib/a52dec/.stamp.configure] Error 1
Any ideas on how to solve this would be appreciated.
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
Last edited by marc.aronson on Sat Mar 03, 2012 5:16 pm, edited 2 times in total.
|
|
Top |
|
 |
marc.aronson
|
Posted: Sat Mar 03, 2012 11:10 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
I haven't figure out how to do the build, but I found a good solution. Somebody has posted pre-built deb's of HandBrakeCLI 0.96 for Ubuntu Maverick and they work on LINHES 7.2! Version 0.96 of HandBrakeCLI solves many issues including the nasty "time went backwards" problem that results in choppy video and situations where the transcode never finishes. I had this problem on many recordings. Here's how to do it: 1. Download the "deb" to a temporary directory such as "/tmp" or ?myth/tmp". For intel download handbrake-cli_0.9.6ppa1~maverick1_i386.deb. For AMD download handbrake-cli_0.9.6ppa1~maverick1_amd64.deb. (All the Ubuntu Handbrake builds can be found here) 2. cd to the directory you downloaded the "deb" image to and do the following: Code: ar x handbrake-cli_0.9.6ppa1~maverick1_i386.deb tar xjf data.tar.bz2 sudo cp usr/bin/HandBrakeCLI /usr/bin/HandBrakeCLI096
You have both the original HandBrakeCLI image and the much newer 0.96 verison. I kept both for "safety". If you want to replace the existing HandBrakeCLI image so that mythexport will use it, simply perform the following 2 additional steps: Code: cd /usr/bin sudo mv HandBrakeCLI HandBrakeCLI.orig sudo mv HandBrakeCLI096 HandBrakeCLI mythexport uses HandBrakeCLI. I don't use mythexport, so I can't guarantee that these will work with mythexport -- if someone decides to try it out let us know how it works.
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |
graysky
|
Posted: Sat Mar 03, 2012 11:22 am |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
Confused... why not build via makepkg the official ARCH package knowing that you do NOT have install it but rather can test it from /path/to/build/pkg/usr/bin/HandBrakeCLI http://projects.archlinux.org/svntogit/ ... /handbrakeDownload both file and run makepkg -s
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
 |
marc.aronson
|
Posted: Sat Mar 03, 2012 11:29 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
graysky wrote: Confused... why not build via makepkg the official ARCH package knowing that you do NOT have install it but rather can test it from /path/to/build/pkg/usr/bin/HandBrakeCLI http://projects.archlinux.org/svntogit/ ... /handbrakeDownload both file and run makepkg -s Because I did not know how to do that. It sounds like a better solution. Wish I had that info before I went on my fishing expedition. Thanks for the info -- I will use it in the future.
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |
graysky
|
Posted: Sat Mar 03, 2012 11:49 am |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
The corner stone of Arch Linux (and by extension LinHES) is pacman and makepkg. Never do any manual compilation/installation. Always use pacman with a PKGBUILD.
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
 |
marc.aronson
|
Posted: Sat Mar 03, 2012 11:49 am |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
graysky, I tried your suggestion and received the following error: Code: [mythtv@mythfoxie ARCH2]$ ls handbrake PKGBUILD [mythtv@mythfoxie ARCH2]$ whoami mythtv [mythtv@mythfoxie ARCH2]$ makepkg -s ==> ERROR: install file (handbrake.install) does not exist. [mythtv@mythfoxie ARCH2]$ pwd /myth/tmp/HB/ARCH2 [mythtv@mythfoxie ARCH2]$
I also tried downloading "handbrake-cli-0.9.6-1-i686.pkg.tar.xz" from http://www.archlinux.org/packages/commu ... brake-cli/, and ran into the following problem: Code: [root@mythfoxie ARCH]# pwd /myth/tmp/HB/ARCH [root@mythfoxie ARCH]# ls handbrake-cli-0.9.6-1-i686.pkg.tar.xz [root@mythfoxie ARCH]# tar xf handbrake-cli-0.9.6-1-i686.pkg.tar.xz [root@mythfoxie ARCH]# ls handbrake-cli-0.9.6-1-i686.pkg.tar.xz usr [root@mythfoxie ARCH]# cd usr [root@mythfoxie usr]# ls bin [root@mythfoxie usr]# cd bin [root@mythfoxie bin]# ls HandBrakeCLI [root@mythfoxie bin]# ./HandBrakeCLI ./HandBrakeCLI: /lib/libm.so.6: version `GLIBC_2.15' not found (required by ./HandBrakeCLI) ./HandBrakeCLI: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by ./HandBrakeCLI)
Any pointers?
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |
graysky
|
Posted: Sat Mar 03, 2012 12:19 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
You need to download both files, the PKGBUILD and the xxx.install. It could also be that there are dependencies, like glibc, that are not installed on LH but that are required to work with the software. The solution here is to get the devs of LH to update them.
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
 |
marc.aronson
|
Posted: Sat Mar 03, 2012 5:15 pm |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
graysky wrote: You need to download both files, the PKGBUILD and the xxx.install. It could also be that there are dependencies, like glibc, that are not installed on LH but that are required to work with the software. The solution here is to get the devs of LH to update them. Arggg... that was pilot error. I tried it again and I am back to the original problem Code: autoreconf: running: aclocal --output=aclocal.m4t Can't exec "aclocal": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 326. autoreconf: failed to run aclocal: No such file or directory make: *** [contrib/a52dec/.stamp.configure] Error 1 ==> ERROR: A failure occurred in build(). Aborting...
I checked and glibc is already installed. I believe you are correct that there is a missing dependency. I've sent a PM to Cecil asking if he can give me a pointer. graysky wrote: The corner stone of Arch Linux (and by extension LinHES) is pacman and makepkg. Never do any manual compilation/installation. Always use pacman with a PKGBUILD. I understand, but my experience is that the sometimes I cannot find the necessary dependencies to get things to work, so I do what I need to do.
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |
graysky
|
Posted: Sun Mar 04, 2012 2:38 am |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
You have glibc but it is likely an older version. You can attempt to change it in the PKGBUILD, but the package may actually require the version stated.
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
 |
marc.aronson
|
Posted: Mon Mar 05, 2012 10:04 pm |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
Graysky, I appreciate the feedback. I think I am going to stick with what I have. I suspect the Maverick build either used a compatible version of glibc, or they did a static link. Either way, the upgrade has a dramatic impact. I no longer have any "time went backwards" problems, with the corresponding video glitches. I also no longer have any problems with the transcode "hanging". I did find that skipping the first 300 frames of the recording also helped improve transcode reliability.
Thanks again!
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |
brfransen
|
Posted: Mon Mar 05, 2012 10:59 pm |
|
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location:
SC
|
HandBrake 0.9.6 is now in the testing repo.
|
|
Top |
|
 |
graysky
|
Posted: Tue Mar 06, 2012 3:54 pm |
|
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location:
/dev/null
|
brfransen wrote: HandBrake 0.9.6 is now in the testing repo. Ask and you shall receive.
_________________ Retired KM user (R4 - R6.04); friend to LH users.
|
|
Top |
|
 |
marc.aronson
|
Posted: Tue Mar 06, 2012 11:37 pm |
|
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location:
California
|
graysky wrote: brfransen wrote: HandBrake 0.9.6 is now in the testing repo. Ask and you shall receive. Thanks!
_________________ Marc
The views expressed are my own and do not necessarily reflect the views of my employer.
|
|
Top |
|
 |