Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th February 2005, 14:40   #1  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
Getting the latest x264

DO NOT USE this thread for discussions about x264. Use the x264 development thread or start a new one.

Windows builds:


x264 Changelog:
See the official online Git changelog for latest information: http://git.videolan.org/gitweb.cgi?p...git;a=shortlog
Changelog by revision can be found here: http://komisar.gin.by/old/2744/x264_changelog.txt

_______________________________


AVC2AVI Revision 594 (including GUI ver. 1.2)
AVC2AVI is a tool for muxing raw h.264 streams into avi container. AVC2AVI GUI requires .NET framework 2.0

*** WARNING!!! IF YOU HAVE A x264 VERSION THAT COMES WITH AN UNINSTALLER, PLEASE UNINSTALL THAT VERSION ***

x264 VFW (no longer officially supported - mantained by third party developers):

DOWNLOAD
(at your own risk)

Use LAV Filters for x264 playback in DirectShow-based players:
Information and download: https://forum.doom9.org/showthread.php?t=156191
or use MPC-HC with built-in LAV Filters: https://mpc-hc.org/

Use the latest Haali Media Splitter for MP4 and MKV files: http://haali.cs.msu.ru/mkv/

GUIs for CLI version:
Check this sticky: http://forum.doom9.org/showthread.php?t=129748

What is x264: x264 is a free software library and application for encoding video streams into the H.264/MPEG-4 AVC compression format, and is released under the terms of the GNU GPL.
Website: http://www.videolan.org/x264.html
H264/AVC info: http://forum.doom9.org/showthread.php?t=96059

x264 limitations: "x264 doesn't yet support the error-resilience features of baseline and extended profile, not the alternative colorspaces of high profile.
There are a few other features not supported..."


This is not an official x264 build and may not work at all, destroy all the data on your hard drive or make your house or your dog explode (i doubt it can, though...). I'm not responsible for anything that could happen - use it at your own risk.
Those builds are made for TESTING PURPOUSE ONLY.

Notes about the CLI version: Mencoder provides another way to use x264 with a commandline interface.
Mencoder builds by sherpya can be found here: http://oss.netfarm.it/mplayer-win32.php
Mplayer/Mencoder official website: http://www.mplayerhq.hu/

Other info:
Some x264 information: http://komisar.gin.by/x264info.html
x264 GIT repository (web browser): http://git.videolan.org/?p=x264.git;a=summary

Playback: MPlayer or VLC can play back x264 encoded movies.
Links to Mplayer/Mencoder are provided above and it's available for both Linux and Windows.
VLC is also a multi-platform media player and can be found here: http://www.videolan.org/
However the most convenient way to play back x264 video in Windows is LAV Filters + your_favourite_directshow_enabled_media_player (MPC-HC, etc).
If you want to edit a x264 encode with VirtualDub you should manually enable the H.264 Codec in the ffdshow's "VFW codec configuration" (decoder tab) and ensure there aren't other VFW codecs trying to decode h.264 however it's preferable to use AVIDemux.
The official AVIDemux website is: http://fixounet.free.fr/avidemux/

Encoding - "How to"s:
Doom9's x264 guide
DeathTheSheep's x264 VFW Guide
MeGUI Guide
MeGUI-x264 Custom Video Profiles

Last edited by LoRd_MuldeR; 26th May 2017 at 12:29. Reason: Added a few more x264 mirrors
Sharktooth is offline   Reply With Quote
Old 14th February 2005, 15:06   #2  |  Link
bond
Registered User
 
Join Date: Nov 2001
Posts: 9,779
1) dont use this sticky for discussion x264 issues plz
2) for new issues it might be better to start new threads and only discuss development issues in the development thread (because normally its not possible anymore to find any info by searching in 20+ pages threads)
__________________
Between the weak and the strong one it is the freedom which oppresses and the law that liberates (Jean Jacques Rousseau)
I know, that I know nothing (Socrates)

MPEG-4 ASP FAQ | AVC/H.264 FAQ | AAC FAQ | MP4 FAQ | MP4Menu stores DVD Menus in MP4 (guide)
Ogg Theora | Ogg Vorbis
use WM9 today and get Micro$oft controlling the A/V market tomorrow for free
bond is offline   Reply With Quote
Old 9th July 2005, 21:28   #3  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,570
You are not allowed to post here unless you have my permission. Permission is automatically granted to Sharktooth, akupenguin (and naturally all moderators). If your nickname is not Sharktooth, akupenguin or you do not have a Doom9 team badge and post here, you will be striked for violation of rule 16.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 9th August 2005, 14:13   #4  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
Faq

Read them carefully and DO NOT contact me by PM asking for help. Follow the forum rules and after searching if you cant find any answer, ask your questions in the forum.

Q1: When there will be a new build?
A: Daily. But since some time i dont build x264 for win32. So i link to external builds (usually x264.nl)

Q2: What does Summer Break mean?
A: It means, in summer, daily builds are no longer "dailies" for obvious reasons

Q3: Are yours official builds?
A: No, i'm not an "official" builder however the above links refers to builds.

Q4: What are the differences between "standard-SVN" builds and pathced builds?
A: Patched builds usually incorporate latest patches (beta or experimental - even from third parties and sometimes from me) that usually get committed to the SVN in the near future.

Q5: What does the MMX suffix mean? Do your builds use MMX only?
A: The MMX suffix (no longer used in the filename) means you need at least a MMX cpu to make my builds work, but if SSE/SSE2 are present they'll get used as well.

Q6: What compiler/software do you use to make your builds?
A: MingGW + GCC + YASM

Q7: I've heard the Intel compiler (ICL) produces faster binaries than GCC, why don't you use it for your builds?
A: The ICL would be faster only if the DSP routines (the ones that eat CPU cycles) weren't written in assembly language. So compiling x264 with ICL wouldn't produce any noticeably faster x264 binaries. Also ICL for windows is payware.

Q8: I've tried to encode a movie with the x264CLI and the output file is unplayable (or the CLI crashed during encoding). WTF?!?!?
A: Probably you tried to encode a 23.976 source or some other non integer FPS sources with an old x264 revision. Be sure to get an updated version and if you still have problems just use RAW output and mp4box to create a working MP4 file or check this thread for a workaround.

Q9: Will the latest GeexBox/XBMC play my x264 encoded files?
A: Yes but ensure you have the very latest version. Starting from 0.98.6 it supports h.264 main profile decoding only. That means no 8x8dct and no custom matrices are supported. Later GeexBox version may be updated with the latest libavcodec and may support High-Profile.

Q10: Can i play my x264 encoded files with my modded Xbox?
A: Yes, but it depends on how much you modified your xbox. The stock xbox is equipped with a 733Mhz CPU that is not able to decode all the x264 (or AVC in general) features. If you haven't the Xbox CPU mod (the CPU gets replaced with a 1.4Ghz one) there are some guidelines you have to follow when encoding your files with x264 or other AVC encoders.
Find more info in this thread.

Q11: What'st the difference between VFW and CLI?
A: VFW is Video For Windows, an ancient tech created by microsoft (copying some stuff from quicktime), full of quirks and not able to support modern codecs. x264VFW is a ugly hack to make x264 work (more or less) with VFW, hence softwares like virtualdub and its modifications. The use of x264VFW is NOT recommended. x264 VFW is no longer officially supported.
CLI is a general term that means Command Line Interface. The classic console (command prompt) command which is generic and has no limitations like VFW.

Q12: What is AVC2AVI?
A: AVC2AVI is a tool to place AVC raw streams in the AVI container. It is useful for editing your encodes using VirtualDub(mod) or similar video editors that do not support the MP4 format or other formats. AVI is usually bound to VFW. The use of h.264/AVC streams in AVI is not recommended.

Q13: x264 is slow as hell, why?
A: x264 source contains tons of optimizations but being a very complex codec (more than xvid and every other Mpeg4 ASP codec) that's a perfectly normal behaviour. More quality = less speed...but thanks to those optimizations, x264 can be even blazing fast. If you want more speed do not enable all the bells and whistles and keep settings to a sane level.

Q14: Where i can get older versions of your builds?
A: I dont keep an archive of my old builds, so actually you can't get them unless someone has them mirrored somewhere. However you can get old revisions compiled by celtic druid or bobor. The links to the sites are provided in the first post.

Q15: The included MeGUI doesn't work or crashes. What can i do?
A: MeGUI is no longer included in my builds. Please uninstall x264, get and install latest MeGUI version from http://www.sf.net/projects/megui. It will automatically get a x264 build during the auto-update.

Q16: Sometimes the SVN/GIT revision is newer than the builds linked in this thread. Aren't yours daily builds?
A: Sometimes the changes in the new revisions doesn't affect the win32 builds or doesn't affect the final binaries at all. So compiling the new code revision is perfectly useless since the binaries will be exactly the same as the old one. Sometimes it can also happen i hadn't found some free time to compile new builds...

Q17: Is it possible to set an Aspect Ratio in x264 and what's Sample AR (SAR)?
A: Yes, you have to set the Sample Aspect Ratio (SAR) in the codec options. SAR is the same as Pixel Aspect Ratio (PAR) and it's different from Display Aspect Ratio (DAR).
To calculate the SAR starting from DAR you can use the following formula:
SAR (or PAR) = DAR*height/width.
More info can be found here: http://forum.doom9.org/showthread.php?t=100519
and here http://trac.videolan.org/x264/file/trunk/doc/vui.txt

Q18: Does x264 produce BluRay compliant h.264 streams?
A: Yes. Recently x264 was updated to be fully capable of producing streams playable on BluRay players. You can find a guide for BluRay encoding with x264 here: http://sites.google.com/site/x264bluray/home

Q19: Can i use VirtualDub or any other VFW based editor to encode with x264?
A: Yes, using a x264 VFW build but VFW is so obsolete and limited x264VFW is no longer mantained by the x264 devs and because VFW and AVI are not properly able to handle h.264 features without some "hacking" that could compromise compatibility, playback and/or editing.

Q20: If VFW can't handle correctly h.264, is there a software i can i use for editing in place of VirtualDub or other VFW based editors?
A: Currently there are few softwares that can do that. One is Avidemux (a free and complete editor similar to Vdub but not based on VFW) and then there are tools like mp4box and mp4creator (and relative GUIs) that can split, demux, mux and join mp4 files containing h.264 streams. MKVToolnix does the same for MKV files.

Q21: Is x264 (h.264 in general) compatible with DivX certified standalone players?
A: No. h.264 is a completely different codec and cant be played back by standalones unless specified.

Q22: Are there any other usable OpenSource h.264 encoders other than x264?
A: Yes and no. There are other OSS h.264 encoders but their development is discontinued or incomplete. However the Xvid dev team is working on Xvid AVC but they didn't release any code yet.

Q23: Is there a x264 1.0 build?
A: No, since x264 is in continuous development. The Unpatched builds may be considered more stable than the patched ones though.

Q24: Do x264 support multiprocessor systems or multicore CPUs?
A: Yes, check the --threads option usage.

Q25: What is/are the best...
A: Stop! There is no "best" as per forum rules. If you're looking for the "best" x264 options, most of the GUIs that support x264 come with a bunch of presets that will fit almost all your needs. If you're looking for the "best" h.264 encoder, then i suggest to use the forum search function and look for comparisons. However x264 is really good and can hardly be beaten by commercial encoders.

Q26: Can i use x264 for commercial purposes?
A: Yes but you need to contact MPEG-LA or Via for licensing the commercial use of a h.264 encoder since h.264 (also known as AVC or MPEG-4v10) is patented.

Q28: Where i can find more general info about h.264 and related standards?
A: Here: http://forum.doom9.org/showthread.php?t=96059

Q29: What happened to your builds and why they're no longer updated?
A: I actually switched to linux. Maybe in some time in the future my builds will be back but the builds by x264.nl i linked in the first post are almost as good as mine.

... more to come.

Last edited by Sharktooth; 7th July 2010 at 13:37. Reason: updates.
Sharktooth is offline   Reply With Quote
Old 10th March 2008, 16:28   #5  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
AVC2AVI GUI ver. 1.2

Changelog:
Code:
1.2
 - Added the Status bar
 - Version now appears on the titlebar
 - Added exception handling if AVC2AVI.EXE is not found

1.1 
 - Added FPS control
 - Updated AVC2AVI.EXE to Revision 594

1.0
 - First release

Last edited by Sharktooth; 17th August 2008 at 12:14.
Sharktooth is offline   Reply With Quote
Old 7th July 2010, 13:18   #6  |  Link
Guest
Guest
 
Join Date: Jan 2002
Posts: 21,924
Thread cleaned up and re-stuck.
Guest is offline   Reply With Quote
Old 1st August 2010, 14:21   #7  |  Link
bob0r
Pain and suffering
 
bob0r's Avatar
 
Join Date: Jul 2002
Posts: 1,337
xvidvideo.ru builds: http://www.xvidvideo.ru/content/category/1/4/5/

Forwards to ffdshow.

( Use http://www.xvidvideo.ru/x264-video-codec/ ? )
bob0r is offline   Reply With Quote
Old 10th June 2013, 03:45   #8  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 446
1st post seems to be slightly out to date "... Unpatched builds (x264.nl)"

What is the recommended place to download regular builds now ?
hydra3333 is offline   Reply With Quote
Old 10th June 2013, 13:12   #9  |  Link
sneaker_ger
Registered User
 
Join Date: Dec 2002
Posts: 4,674
Try there: http://x264.fushizen.eu/builds/ (in the "revisionxxxx" folders, not the "rxxxx" folders or main site)

Also see http://forum.doom9.org/showthread.ph...66#post1630666 and following.
sneaker_ger is offline   Reply With Quote
Old 10th June 2013, 13:15   #10  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,828
Quote:
Originally Posted by hydra3333 View Post
What is the recommended place to download regular builds now ?
Also here:
http://komisar.gin.by/

And there are various mirror sites, like for example:
http://www.free-codecs.com/x264_vide...c_download.htm
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.


LoRd_MuldeR is offline   Reply With Quote
Old 10th June 2013, 16:50   #11  |  Link
mariush
Registered User
 
Join Date: Dec 2008
Posts: 559
The latest builds of x264 are still hosted on http://mirror01.x264.nl

If that one breaks down, it's mirrored at http://x264.x265.net (use the links on the page for mirror02, the page is edited so that when clicking on mirror02 links you access this domain)

Future builds may be hosted on other domains, but you guys will be informed before that happens so no need to worry about it.

(for some reason the apache server crashed a few hours ago and the watchdog service didn't catch it, that's why the mirrors above were down if you checked them, should work fine now)

Last edited by mariush; 10th June 2013 at 16:53.
mariush is offline   Reply With Quote
Old 9th July 2013, 14:17   #12  |  Link
jq963152
Registered User
 
Join Date: Apr 2012
Posts: 691
Hello,

the links mentioned in this thread only seem to have r2334 available as the latest revision.

But that is not the latest revision.

The latest revision is r2345.

So, i was searching for r2345 and then came across this:


Quote:
Originally Posted by videolan.org/developers/x264.html

Getting x264

[...]

Official builds for Windows, Linux, and MacOSX are available from here.

That link has r2345.

Is this "official builds" link new on the VideoLAN page? Or has it always been there?

And is that the new and official place to get the latest x264 revisions?
jq963152 is offline   Reply With Quote
Old 9th July 2013, 14:55   #13  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,828
r2345 has been on Komisar's site for quite a while, which is linked in the first post! But I have added a link to the builds on VideoLAN now.
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.


LoRd_MuldeR is offline   Reply With Quote
Old 9th July 2013, 15:23   #14  |  Link
jq963152
Registered User
 
Join Date: Apr 2012
Posts: 691
Thanks.

But, just wondering:

Why should anyone download x264 binaries from any other place than VideoLAN.org, now that VideoLAN.org hosts official builds?
jq963152 is offline   Reply With Quote
Old 9th July 2013, 15:32   #15  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 12,828
10-Bit builds, different compiler (version), different compiler settings, different patches included/excluded, different extra libraries included/excluded, different versions of extra libraries, etc. pp.
__________________
There was of course no way of knowing whether you were being watched at any given moment.
How often, or on what system, the Thought Police plugged in on any individual wire was guesswork.



Last edited by LoRd_MuldeR; 9th July 2013 at 20:37.
LoRd_MuldeR is offline   Reply With Quote
Old 6th April 2015, 02:50   #16  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 446
It's a bit difficult to tell (easily) what's baked into the VideoLAN build of x264 and what the changelog is.

For example, an old post on their forum confirmed it outputs raw .h264 rather than .mp4.

Any helpful hint as to where to find info about what those builds contain (eg support for avisynth input) and what it doesn't, would be most appreciated.

edit: I guess changelog is http://git.videolan.org/gitweb.cgi?p...git;a=shortlog

Last edited by hydra3333; 6th April 2015 at 02:54.
hydra3333 is offline   Reply With Quote
Old 6th April 2015, 09:36   #17  |  Link
Groucho2004
 
Join Date: Mar 2006
Posts: 3,545
Quote:
Originally Posted by hydra3333 View Post
It's a bit difficult to tell (easily) what's baked into the VideoLAN build of x264 and what the changelog is.

For example, an old post on their forum confirmed it outputs raw .h264 rather than .mp4.

Any helpful hint as to where to find info about what those builds contain (eg support for avisynth input) and what it doesn't, would be most appreciated.

edit: I guess changelog is http://git.videolan.org/gitweb.cgi?p...git;a=shortlog
How about using "x264 --help":

Here the current 32 Bit Videolan build:

Code:
x264 core:146 r2538 121396c
Syntax: x264 [options] -o outfile infile

Infile can be raw (in which case resolution is required),
  or YUV4MPEG (*.y4m),
  or Avisynth if compiled with support (yes).
  or libav* formats if compiled with lavf support (yes) or ffms support (no).
Outfile type is selected by filename:
 .264 -> Raw bytestream
 .mkv -> Matroska
 .flv -> Flash Video
 .mp4 -> MP4 if compiled with GPAC or L-SMASH support (no)
Output bit depth: 8 (configured at compile time)

Last edited by Groucho2004; 6th April 2015 at 09:44.
Groucho2004 is offline   Reply With Quote
Old 31st October 2015, 23:59   #18  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 446
Well, that's a bit too easy
hydra3333 is offline   Reply With Quote
Old 27th February 2016, 03:31   #19  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 446
Hello. I am a linux wannabie attempting to cross-compile x264 for windows under an ubuntu VM, and have reasonable success with a vanilla build.
eg Clone from GIT then
Quote:
./configure --host=i686-w64-mingw32 --enable-static --cross-prefix=/home/u/Desktop/xx/ffmpeg-windows-build-helpers-master/sandbox/cross_compilers/mingw-w64-i686/bin/i686-w64-mingw32- --prefix=/home/u/Desktop/xx/ffmpeg-windows-build-helpers-master/sandbox/cross_compilers/mingw-w64-i686/i686-w64-mingw32 --enable-strip --enable-lavf --disable-avs
Unknown option --enable-lavf, ignored
platform: X86
byte order: little-endian
system: WINDOWS
cli: yes
libx264: internal
shared: no
static: yes
asm: yes
interlaced: yes
avs: no
lavf: no
ffms: no
mp4: no
gpl: yes
thread: win32
opencl: yes
filters: crop select_every
debug: no
gprof: no
strip: yes
PIC: no
bit depth: 8
chroma format: all
However I do not know how to configure and make it with mp4/lavf support and goggling doesn't seem to provide useful answers.

One page said to clone and build gpac and then copy include files into the x264 folder
Code:
cp -R ../mpbox_gpac/gpac/include/gapc/* ./
and add this to the the x264 configure commandline
Code:
--extra-ldflags=-L../mpbox_gpac/bin/gcc --enable-mp4 --enable-mp4-output
However - could some kind soul please provide links or step by step info on how to turn
Code:
lavf:          no
mp4:           no
into
Code:
lavf:          yes
mp4:           yes
edit: http://forum.doom9.org/showthread.ph...34#post1659734 says
Quote:
You can type "./configure --help" for a list of commands. But if you want to enable external libraries like LAVF, FFMS and MP4 you will need to compile those libraries first!
For LAVF support you need ffmpeg/libav (libavcodec, libavformat, libavutils), for FFMS support you need FFMS2 and for MP4 support you need either L-SMASH or GPAC/MP4Box.
Once the required header files (.h) are in your include path and the required lib files (.a) are in your library path, the configure script will find them automatically
however that didn't have the desired result.

Last edited by hydra3333; 27th February 2016 at 05:20.
hydra3333 is offline   Reply With Quote
Old 27th February 2016, 10:33   #20  |  Link
MasterNobody
Registered User
 
Join Date: Jul 2007
Posts: 502
As you already found for lavf and mp4 support you need to compile and provide pathes for includes and libraries (with --extra-cflags="-I<path>" --extra-ldflags="-L<path>" or have pkg-config correctly configured):
- ffmpeg or libav libraries for lavf-support;
- lsmash (preferred) or gpac for mp4-support.
If even after that you didn't get desired effect than look into config.log to see why detection of this libraries failed.
MasterNobody is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.