Username: Password: Remember me
Search Criteria Advanced
Package Details

h264enc 9.1.4-1
http://h264enc.sourceforge.net/
Advanced shell script for encoding DVDs or video files to the H.264 format using the encoding utility MEncoder from MPlayer.

unsupported :: multimedia
Maintainer: Vrob
Votes: 130

License: GPL

Last Updated: Sun, 24 Jan 2010 14:22:50 +0000
First Submitted: Fri, 20 Jul 2007 14:23:02 +0000

Tarball :: Files :: PKGBUILD
This package has been flagged out of date.

Dependencies bc lame lsdvd mplayer x264

Sources
http://downloads.sourceforge.net/h264enc/h264enc-9.1.4.tar.gz
Comment by: Vrob on Fri, 15 Jan 2010 16:41:14 +0000
Thanks for reminding me.
Right now, I do not have access to my RSS feeds so I will have a few days of delay with new versions, but I hope to fix that soon ;)

BTW: Package updated...
Comment by: darie on Fri, 15 Jan 2010 11:36:32 +0000
Hello Vrob, guess what? There is a new Version! ;P
But since it is "older" (23rd Dec 2009) it should be safe to update...
Update has a critical bugfix! The developer used a "rm -rf $TEMPDIR" in previous versions and you can set a custom temp directory like /home/myuser *omfg*

Regards
Comment by: Vrob on Tue, 12 Jan 2010 23:59:58 +0000
Thanks for your notification, since I don't use testing :)
I will change the dependencies back as soon as the before mentioned packages hit [extra].
On the other hand, I don't think, that this will last for long as h264encs delevoper is like super fast and always uses the latest functions, but let's see.

Greets,
Vrob
Comment by: darie on Tue, 12 Jan 2010 21:03:30 +0000
Hello Vrob, since mplayer/x264 rebuilds are now in testing you can change the depends-line back to 'mplayer>=30286' 'x264>=20100107'
The git/svn versions are not needed anymore :) Hopefully the developer doesn't introduce other bleeding edge functions now...
Comment by: reztho on Mon, 09 Nov 2009 20:27:02 +0000
In the meantime, until every single program which depends on the version .67 of libx264 is recompiled, what I did in my system was just to extract manually the lib from the official Archlinux package (libx264.so.67), copy it to /usr/lib and chmod it correctly. No breakage so far and everything works. At least, xine and vlc are linked against that specific version and not the generic library (libx264.so).

Obviously when the day comes I'll remove manually the library.
Comment by: Vrob on Thu, 22 Oct 2009 16:29:32 +0000
Of course, that would be another possibilty. But on the other hand, I had to recompile only two packages until now (mpd and ffmpeg), so it's not that much work.
I also will not and cannot force users into installing mplayer and x264 to /usr/local in parallel to the versions from [extra], so if anyone wants to go for that
solution (s)he has to modify the depends=(...) line in my PKGBUILD.

Greets,
Vrob
Comment by: microchip on Thu, 22 Oct 2009 15:23:34 +0000
@Vrob

Or you can just compile mplayer & x264 (both latest) and put them in /usr/local. That way you can keep your mplayer/x264 from the repos and still use h264enc with latest mplayer/x264 provided you update its config file to point to /usr/local for these programs. This also eliminates the need to recompile every single package that depends on mplayer from repo
Comment by: Vrob on Tue, 20 Oct 2009 23:44:41 +0000
Update to latest version.

!! Be aware when updating !!
I had to change the dependencies (again... *sigh*) since the multimedia packages from extra are severly outdated.
Here is what you should do in order to get a running setup:

1a) Compile x264 from the git repo using the x264-git package
1b) Recompile every package that is linked against x264 except mplayer using the AUR or ABS

2a) Compile the latest mplayer from the svn repo => mplayer-svn package from AUR
2b) Rebuild every package that depends and/or uses parts of the mplayer package

There is still the alternative to use my h264enc-legacy package which is still compatible with the x264/mplayer versions from extra but will not be updated.

Greets & good luck ;)
Vrob
Comment by: Vrob on Mon, 19 Oct 2009 14:04:58 +0000
Today, a new version of h264enc has been released and it's getting really ugly with the outdated x264 and mplayer packages we have in the repos.
You have to recompile both, x264 and mplayer to stay compatible with the newest h264enc release, but at least for me, mplayer-svn from the AUR won't build, so please be patient until I can sort this out and release an updated PKGBUILD.

Greets,
Vrob
Comment by: Vrob on Sat, 05 Sep 2009 01:38:04 +0000
Version bump to 9.0.2.

Notice from the changelog:
* Added new option sync_lookahead available in latest x264 git

So please recompile your x264-git package!

Greets Vrob
Comment by: Vrob on Sat, 15 Aug 2009 13:22:48 +0000
Version 9.0.0 has been released today.
Comment by: Vrob on Tue, 11 Aug 2009 09:01:54 +0000
Version bump
Comment by: Vrob on Fri, 07 Aug 2009 10:37:15 +0000
Version bump
Comment by: Vrob on Mon, 03 Aug 2009 10:03:10 +0000
I now provide the "h264enc-legacy"-package which will stay at version 8.9.4 and therefor does not require a git build of x264 and the rebuild of all depending packages. I hope some of you might find this a useful and clean way to workaround this problem.

See: http://aur.archlinux.org/packages.php?ID=28959
Comment by: Vrob on Sat, 01 Aug 2009 19:39:45 +0000
Hmm, I guess using the x264-git package isn't a good idea after all since it breaks every package (like mplayer for instance) linking against x264 without a rebuild. So please rebuild your packages until I come up with a solution.
Comment by: Vrob on Thu, 30 Jul 2009 14:04:58 +0000
Damn, I didn't read your comment since email notification isn't working ;)

I bumped the package to the latest version, available since today and added x264-git as a dependency, though I hope, that the community package gets updated so I can change the deps back, because I don't like to rely on potentially broken code ;)

Greets,
Vrob
Comment by: darie on Fri, 24 Jul 2009 15:48:32 +0000
Guess who is here to flag you package out of date... ;-P
Version 8.9.5 is out - and I found this in the ChangeLog:
* Switched to the new Auto-variance AQ (aq_mode=2) for all presets. This requires latest x264 revision from git so please upgrade!

So if you decide to update to this version I suggest you to remove the x264 dependency and add x264-git instead, since the new AQ algorithm is 4 days old: http://git.videolan.org/?p=x264.git;a=commit;h=88b35c2d3bd86b42059e27db365752da9f2cd032

Best regards
Comment by: Vrob on Fri, 03 Jul 2009 15:24:22 +0000
You do not need to apologize for flagging the package out of date ;)
Version updated and I incorporated your suggestion concerning mkvtoolnix.
Comment by: darie on Fri, 03 Jul 2009 13:37:07 +0000
Oh and something else: Could you please delte 'mkvmerge' from the optdeps and replace it with 'mkvtoolnix'
Because mkvmerge is the app, but the package is called mkvtoolnix ;-)
Thank you.
Comment by: darie on Fri, 03 Jul 2009 13:31:44 +0000
Sorry for flagging this again, but there is a new version (again): 8.9.3 They are fast for sure!
I want to thank you very much Vrob for maintaining this package. You are doing very well! :-)
Comment by: Vrob on Mon, 29 Jun 2009 14:24:22 +0000
Version bump & thanks for the notification :)
Damn, these guys are _fast_ in releasing new versions!
Comment by: darie on Sun, 28 Jun 2009 20:25:13 +0000
Version 8.9.2 is out
Comment by: darie on Tue, 26 May 2009 17:35:33 +0000
Ok sorry. I thought you get an email if I post a comment here.
Comment by: Vrob on Mon, 25 May 2009 18:59:16 +0000
As previously said, please flag the package out of date so I get a notification via email. Thanks.
Bump included ;)
Comment by: darie on Wed, 20 May 2009 19:33:49 +0000
8.8.0 is out ;-)
Comment by: Vrob on Mon, 11 May 2009 09:19:26 +0000
Update
Comment by: Vrob on Mon, 04 May 2009 14:40:54 +0000
Bump to latest version.
Comment by: FeatherMonkey on Fri, 01 May 2009 12:06:16 +0000
Thankyou for picking this up. Apologies to people that where using this and the time it took me to orphan but I don't really use it and RL got in the way
Comment by: Vrob on Sun, 26 Apr 2009 17:43:32 +0000
Please flag the package out-of-date if there is a new version I accidentally missed. Thanks!
Comment by: o.besner on Fri, 17 Apr 2009 18:16:47 +0000
8.7.4 is out
Comment by: Vrob on Tue, 14 Apr 2009 05:54:40 +0000
Updated to latest version
Comment by: Vrob on Sun, 15 Feb 2009 13:53:42 +0000
I adopted the package for now and hope that I can update it regularily.

Bump to latest version included :)
Comment by: microchip on Mon, 19 Jan 2009 13:22:58 +0000
If it's possible, contact a mod or admit so he can declare this package as orphan. Obviously the previous packager won't package it anymore and isn't answering either. If someone wants to take over, please contact me at my email address so I can update the website of h264enc with the correct packager information (name/email)
Comment by: o.besner on Wed, 14 Jan 2009 18:39:00 +0000
Already contacted the person, and I got no answer. Can someone declare it orphan?
Comment by: Vrob on Thu, 01 Jan 2009 17:07:45 +0000
Well since the package has not been updated for quite some time now, I guess it's orphaned.

You could try to contact the ArchLinux packager on his e-mail address on the projects webpage: http://h264enc.sourceforge.net/contact.html

Perhaps he will officially orphan the package so that you can adopt it. I would really appreciate an up-to-date h264enc since I'm also writing my own PKGBUILD for the latest versions.
Comment by: o.besner on Sun, 30 Nov 2008 22:21:21 +0000
Is this package still maintained ? If it isn't, can I keep it up to date ? I've been making my own package for a while now, and the AUR version is really outdated.
Comment by: Peter Pan on Sat, 25 Oct 2008 08:19:03 +0000
pkgbuild also works for 8.5.6
Comment by: FeatherMonkey on Sat, 02 Aug 2008 11:26:58 +0000
Done sorry guys, a little RL got in the way.
Comment by: killajoe on Thu, 17 Jul 2008 06:36:10 +0000
PKGBUILD works also for last Version 8.5.4 ...

Please change Version and MD-sum in the PKGBUILD
Comment by: killajoe on Thu, 17 Jul 2008 06:29:35 +0000
http://h264enc.sourceforge.net/

is the Homepage for h264enc...
Comment by: FeatherMonkey on Mon, 12 May 2008 18:18:27 +0000
Done removed version so it should build against mplayer-svn.
Comment by: FeatherMonkey on Mon, 12 May 2008 11:11:16 +0000
Unsure I'll ask on the forum ;)
Comment by: Rasi on Sun, 27 Apr 2008 09:48:23 +0000
is there some way to make the build script detect mplayer-svn version?
Comment by: FeatherMonkey on Wed, 09 Apr 2008 22:12:48 +0000
Apologies just maintain it for you lot don't really use it so it was an oversight.

Hopefully that should be fine again.
Comment by: Army on Wed, 09 Apr 2008 16:50:21 +0000
Seems like the install script changed some versions before. Your build installs into /usr/local/bin, which isn't in my $PATH and I don't really wanna add this directory. Is there a way to make it install into /usr/bin again?
Comment by: Peter Pan on Mon, 17 Mar 2008 12:42:55 +0000
version 8.3.4 is available
Comment by: microchip on Wed, 14 Nov 2007 18:00:49 +0000
@cubo

As I said earlier, h264enc originally supported only the AVI container. MP4 and MKV was added later on. h264enc has two sort of dependencies. Hard and soft ones. Hard are those that are absolutely required so the script can function properly. Meaning without MEncoder with libx264 support or Awk or grep or sed for example, the script will error out so it will be useless.

Remuxing into the MP4 and/or MKV container was added later on and is a soft dependency, meaning that when one answers "y" to either the MP4 or MKV question, if one of the required programs for the remuxing is missing, the script will only warn the user and skip the conversion but it will continue with the encoding process.

I know this may not be optimal for all users, but I wanted to eliminate dependencies as much as possible. I do not want the script to rely on too much external programs. Also, currently I'm waiting for the MPlayer people to fix their lavf muxer (which is still broken and doesn't handle B-Frames and time stamps on them correctly) so I can finally add native support for different containers so the user can choose from the beginning in which container to output.
Comment by: FeatherMonkey on Wed, 14 Nov 2007 17:23:49 +0000
I completely disagree firstly the only reason you'd let it encode for 6hrs is due to lack of reading. Which can and will happen just as well with a post_install bit.

I don't have the gpac when I attempted to run it, I got

-> MP4Box (from gpac) is missing!
-> Skipping AVI to MP4 conversion!

Couldn't get clearer in my eyes. As the creator told you earlier. But I have done a post_install which seems pointless and a waste when the script tells you when you run it.
Comment by: cubo on Wed, 14 Nov 2007 16:02:03 +0000
in my opinion gpac (maybe mkvtoolnix too) should be included because are needed for 'full' functionality.
If you don't want use postinstall you can add a comment to PKGBUILD.
Of course, i know why after 6 hours of encoding my .mp4 doesn't appear and what I miss but I mean not everybody can assume that this "application" is "only half functional" and must install e.g. "A multimedia framework based on the MPEG-4 Systems standard" for proper work.
I don't need that 'postinstall (dep, comment...)' but i mean some reference could really help to other users
Comment by: microchip on Wed, 14 Nov 2007 12:16:34 +0000
Neither mkvmerge nor MP4Box from gpac are needed for the correct operation of the script. These are not hard dependencies and if either one of the above programs are missing on a user's system, the script will skip asking for container conversion

-MC
Comment by: cubo on Wed, 14 Nov 2007 00:10:22 +0000
gpac (AUR) is needed for "container conversion". Should go to deps or at least postinstall..
Comment by: fi-dschi on Thu, 08 Nov 2007 22:13:54 +0000
7.9.3 available
please increment the value of "pkgrel" for each of your aur package release!
Comment by: cubo on Sun, 21 Oct 2007 23:07:03 +0000
hello,
works on x86_64 here and version 7.9.0 is available
Comment by: FeatherMonkey on Mon, 06 Aug 2007 00:07:36 +0000
Opps my bad fixed sorry for that. :(
Comment by: mOLOk on Sun, 05 Aug 2007 23:06:40 +0000
this package replaces itself? wtf?
Comment by: FeatherMonkey on Fri, 20 Jul 2007 14:23:02 +0000
h264enc is a advanced shell script written for the Linux operating system which can help you to encode a DVD or a regular video file to the H.264 format using the MEncoder encoder from the MPlayer project. It supports virtually all options of the libx264 library and a wide range of audio codecs. Further, it supports muxing the final encode from AVI to Matroska or from AVI to the MP4 container (which is native for H.264 video)

v1.6.0