PDA

View Full Version : How to find the version of a x264 snapshot...


Redhat_doom
20th June 2009, 22:48
Hi All,

I am using the following snapshot of x264:

x264-snapshot-20090120-2245

But how can I find the version of this snapshot? Is it 2245? Thanks!

J_Darnley
20th June 2009, 23:46
No, x264 is only up to rev 1170. 2245 is the time at which the snapshot was made. If the snapshot contains the git folder then running the commands from version.sh should tell you. Otherwise you need to check against the online log.

Redhat_doom
20th June 2009, 23:58
Thanks a lot! My snapshot has .git folder. But I am using x264 in Windows. Also, in the main folder of x264 I have version.sh but I don't know how to use it. Is there any simpler way to find the version of it in Windows? Thanks again!

J_Darnley
21st June 2009, 00:13
Did you actually try running x264 --version ? I assumed that since you were talking about a source code snapshot that you would have git or and a bash shell. Otherwise, see my "otherwise" sentence in my first post.

Redhat_doom
21st June 2009, 00:17
I used x264 --version ? and I got this: x264 0.66.x built on March 15,2009

J_Darnley
21st June 2009, 00:39
You weren't supposed to type the question mark but anyway, x264 tells you that it is core version 66 (the latest is 67) but no revision number because it wasn't built in an environment with git available and the date it was built. If you want to narrow down which revision it could be look at the online commit log.

LoRd_MuldeR
21st June 2009, 14:05
That's obviously an old snapshot, which dates back to 2009-01-20, 22:45 ;)

It probably is r1086:

[...]

commit 1959672cf6f18da888940261916dbf81248e0598 r1087
Author: Guillaume Poirier <gpoirier@mplayerhq.hu>
Date: Fri Jan 23 01:11:20 2009 -0800

add AltiVec 16 <-> 32 bits conversions macros


commit 39a279613d10fa4dbe608f1a2af1eb86686033af r1086
Author: Guillaume Poirier <gpoirier@mplayerhq.hu>
Date: Mon Jan 19 21:29:27 2009 +0100

Replace 16x16=>32 mul + pack + add by a simple 16x16=>16 multiply-add.
Suggested by Loren.

[...]