1 (edited by kfgz 2012-02-26 22:47:51)

Topic: x264 disabled (Arch Linux)

Hi,

I'm new maintainer of hybrid in Arch Linux. Today I've updated hybrid to rev 12.02.21 and in the logs I've got this info

...
 ->removing x264 support,..
...

x264 version is 20120204. In previous rev (that is 12.02.15) x264 was enabled. What's wrong with new rev?


Regards,
kfgz

2

Re: x264 disabled (Arch Linux)

removing x264 support, will be triggerd if Hybrid can't find a x264 binary or get a version info from it (by calling: x264 --version).

3

Re: x264 disabled (Arch Linux)

which x264

/usr/bin/x264

x264 --version

x264 0.120.x
built on Feb  5 2012, gcc: 4.6.2 20120120 (prerelease)
configuration: --bit-depth=8 --chroma-format=all
x264 license: GPL version 2 or later

4

Re: x264 disabled (Arch Linux)

if you enabled the debug output, save the defaults and call Hybrid again you should be able to see some additional infos regarding the version check

5

Re: x264 disabled (Arch Linux)

okay, I see the problem, the version string in your x264 version differs from all the version strings I have on my systems. smile
Your version info does not include the revision info at at all!
i.e. in x264 0.115.1943 6e33b51
the 1943 is the version info, your version has a 'x' instead of a revision number,..
I think I can add a workaround for this, but this might cause problems later on, since in future versions it is planned for Hybrid to protest if your x264 version (+ similiar checks for other tools) is to old to use Hybrid properly.

Cu Selur

6 (edited by kfgz 2012-02-26 23:16:59)

Re: x264 disabled (Arch Linux)

Debug

2012.02.26 - 22:10:18_linux64_2012.02.21.1 - Checking Hybrid tools,..
2012.02.26 - 22:10:18_linux64_2012.02.21.1 - Missing avsInfo got ignored,.. (only needed for avisynth input)
2012.02.26 - 22:10:18_linux64_2012.02.21.1 - Checking tool versions,..
2012.02.26 - 22:10:18_linux64_2012.02.21.1 - Checking version for: x264
2012.02.26 - 22:10:18_linux64_2012.02.21.1 - versionCheck calling: "/usr/bin/x264" --version
2012.02.26 - 22:10:18_linux64_2012.02.21.1 - Checking version for: mp4fpsmod
2012.02.26 - 22:10:18_linux64_2012.02.21.1 - versionCheck calling: "/usr/bin/mp4fpsmod"
2012.02.26 - 22:10:18_linux64_2012.02.21.1 -  -> mp4fpsmod: 0.14

In few minutes time I'll check with x264 20120225 snapshot and report.


EDIT:

OK, I understand. I'll check if I can compile x264 to show rev correctly.

7

Re: x264 disabled (Arch Linux)

I also send you 64bit Linux links via PM which should accept this malformed version info. smile

Cu Selur

8

Re: x264 disabled (Arch Linux)

I confrm that your workaround is working poperly.

9

Re: x264 disabled (Arch Linux)

but like I wrote before, this might cause problems in later versions wink (whenever I find the time and motivation to code some additional version checking stuff wink)

10 (edited by kfgz 2012-02-26 23:45:12)

Re: x264 disabled (Arch Linux)

Hmm. Maybe I can convice Arch Devs to build x264 from git. Then your workaround won't be needed anymore. Stay tuned wink


EDIT:

I see that Gentoo Devs are also building x264 with daily snapshots (x instead of rev) so maybe your workaround will be more universal in Linux world.

11

Re: x264 disabled (Arch Linux)

Or they should at least incorporate the revision number into the version string (like all other distros seem to do wink)
Atm it's not really critical but it would be nice to check the version, such that if x264 changes it's defaults, parameters, etc. Hybrid could a. inform the user to update and depending on the changes, disable them if an older version is detected,.. (this is already happening for mkvmerge/mkvinfo)

Cu Selur