h264enc is a rather advanced shell script which can help you to encode video files or DVDs to the H.264 video format. It has built-in quality presets (34 so far), supports a lot of video (pre/postprocessing) filters and a few audio filters as well. Further it supports 9 different audio codecs and has a (limited) batch encoding capability. Muxing is also supported for the MKV, MP4 and OGM containers. Reproducible: Always
Created attachment 181203 [details] Ebuild for h264enc-8.7.1 Here is proposed ebuild for h264enc-8.7.1. Probably the dependencies are incomplete. BTW, I haven't found some optional dependencies in portage tree: neroAacEnc, aacplusenc, tsMuxeR, pipeviewer
Thanks a lot for doing that. With the mp4 USE flag I got: emerge: there are no ebuilds to satisfy ">=media-video/gpac-0.45[a52]". I changed: mp4? ( >=media-video/gpac-0.45[a52] ) to: mp4? ( >=media-video/gpac-0.4.5 ) and it's executing, although I don't think gpac-0.4.5 is required for mp4 support. I've been using mp4 and h264enc with gpac-0.4.4-r1.
Created attachment 181315 [details] Updated ebuild Updated ebuild: - added EAPI=2 for use dependencies - added non-obvious dependencies on coreutils, bc and time - fixed gpac dependency version ("0.45" -> "0.4.5")
Grant, I took dependencies from http://h264enc.sourceforge.net/links.html, which states that >=gpac-0.4.5 is required with liba52.
New ebuild works great. The only funny thing is that it pulls in time now (as you said) but the program has always worked fine for me without it. Maybe it works better with it.
time is used when you answer 'y' to 'Would you like to encode a sample?"
Very nice, thanks again for contributing this.
In portage. Thanks.