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. |
|
|
Thread Tools | Search this Thread | Display Modes |
9th August 2010, 22:20 | #3381 | Link | |
Registered User
Join Date: Aug 2009
Posts: 463
|
Quote:
Code:
ffms [info]: 720x304p 1:1 @ 24/1 fps (vfr) pad [info]: expanding frame to 720x480, picture starting at (0,88) x264 [info]: using SAR=1/1 x264 [info]: using cpu capabilities: MMX2 SSE2Slow SlowCTZ x264 [info]: profile Baseline, level 3.0 x264 [warning]: non-strictly-monotonic pts at frame 1 (0 <= 0) x264 [warning]: non-strictly-monotonic pts at frame 2 (0 <= 1) x264 [warning]: non-strictly-monotonic pts at frame 3 (0 <= 2) x264 [warning]: too many nonmonotonic pts warnings, suppressing further ones x264 [warning]: 3015 suppressed nonmonotonic pts warnings x264 [info]: frame I:13 Avg QP:17.54 size: 19819 x264 [info]: frame P:3006 Avg QP:19.32 size: 5262 x264 [info]: mb I I16..4: 100.0% 0.0% 0.0% x264 [info]: mb P I16..4: 8.4% 0.0% 0.0% P16..4: 28.3% 0.0% 0.0% 0.0% 0.0% skip:63.3% x264 [info]: coded y,uvDC,uvAC intra: 23.0% 35.5% 11.9% inter: 15.2% 14.1% 2.4% x264 [info]: i16 v,h,dc,p: 45% 28% 14% 13% x264 [info]: i8c dc,h,v,p: 52% 25% 14% 8% x264 [info]: kb/s:1022.40 encoded 3019 frames, 72.20 fps, 1022.44 kb/s Code:
--vf pad:0,88,0,88/ --preset ultrafast -o testpad.mp4 D3.avi Code:
General Complete name : C:\ft\D3.avi Format : AVI Format/Info : Audio Video Interleave File size : 151 MiB Duration : 2mn 5s Overall bit rate : 10.1 Mbps Writing library : VirtualDub build 32817/release Video ID : 0 Format : AVC Format/Info : Advanced Video Codec Format profile : High 4:4:4 Predictive@L3.0 Format settings, CABAC : Yes Format settings, ReFrames : 2 frames Codec ID : H264 Duration : 2mn 5s Bit rate : 10.1 Mbps Width : 720 pixels Height : 304 pixels Display aspect ratio : 2.35:1 Frame rate : 24.000 fps Resolution : 8 bits Colorimetry : 4:2:0 Scan type : Progressive Bits/(Pixel*Frame) : 1.921 Stream size : 151 MiB (100%) Writing library : x264 core 102 r1666bm d058f37 Encoding settings : cabac=1 / ref=2 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=4 / psy=0 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=0 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / bframes=0 / weightp=1 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc=cqp / mbtree=0 / qp=0 Tested again. No warrnings if I add --force-cfr to command line. VFR is the problem, I think. Last edited by detmek; 9th August 2010 at 22:28. |
|
16th August 2010, 14:55 | #3383 | Link |
もこたんインしたお!
Join Date: Jan 2008
Location: Finland / Japan
Posts: 512
|
And another update to my build script, L-SMASH straight from the git repo :3
Yes, it looks ugly and very much like a hack, but works and seems to be the official way to install git L-SMASH at the moment. If anyone has a better version, please do share <3. x264 r1698 64bit unpatched: download ; hash
x264 r1698 32bit download
x264 r1698 64bit download
patched with:
Flabbergasted and not really getting what I did? Read the build script, it should be more understandable ^^;. Seems to be working, though.
__________________
[I'm human, no debug]
Last edited by JEEB; 4th September 2010 at 12:25. |
16th August 2010, 23:30 | #3385 | Link |
Registered User
Join Date: Dec 2008
Posts: 589
|
I've put them here on the mplayer's mirror i host:
http://mplayer.savedonthe.net/x264/x..._unpatched.exe http://mplayer.savedonthe.net/x264/x264_1698_32.7z http://mplayer.savedonthe.net/x264/x264_1698_64.7z ... in the order they appear in the post |
17th August 2010, 22:24 | #3387 | Link |
Registered User
Join Date: Mar 2006
Posts: 1,538
|
Toolchain:
x264 Build:
|
19th August 2010, 09:34 | #3388 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
x264_r1698-allbits.7z
x264=r1698 [8-, 9-, and 10-bit] FFMS2=r325 FFmpeg=r24829 Patches: http://vfrmaniac.fushizen.eu/OtherSt.../mp4muxer.diff Flags: -march=pentium3
Last edited by qyot27; 22nd August 2010 at 05:57. |
20th August 2010, 17:17 | #3389 | Link | |
Registered User
Join Date: May 2009
Posts: 184
|
Quote:
Last edited by RainyDog; 20th August 2010 at 17:19. |
|
22nd August 2010, 05:56 | #3390 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
With all the talk about licensing going on elsewhere in this section, I've made the decision to drop the builds I've made. Instead, I'll post the steps I took for the audio encoding one in the meanwhile (since the LAGS+OC build was a pain in the neck to get working right, and I'd have to constantly recheck the steps involved):
1. Sign up for a free account on Apple Developer Connection (sadly, there's no way around this part) and download the Quicktime 7.3 SDK for Windows. 2. Install the SDK normally. 3. Copy the contents of C:\Program Files\Quicktime SDK to a directory on msys' root called /qtsdk. Alternately, you could just install to said location right away, but you need to remember to rename the directory so there aren't any spaces in the path name. 4. When configuring x264, use --qtsdk=/qtsdk. It should recognize it and under Audio should respond with yes (raw, qtaac, qtaac_he). 4a. Cross-compiling on Linux is possible, but requires the .lib files in /qtsdk/Libraries to be renamed/copied/symlinked to have upper-case (.LIB, not .lib) extensions - case sensitivity causes configure to fail otherwise. Windows doesn't have this problem. |
22nd August 2010, 07:02 | #3391 | Link |
Pain and suffering
Join Date: Jul 2002
Posts: 1,337
|
You should not be scared by the money makers.
If it wasn't for "us" xvid and x264 would never grown so popular. We did all the hard work, and now companies make money of it. If you are afraid of hosting stuff, you can always host it on x264.nl. |
22nd August 2010, 07:28 | #3392 | Link |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Well, at least in my own case, those two builds were mainly for esoteric features/purposes, and my ability to churn them out with regularity was already a problem because of how old my comp is. The tide of progress on all the parts inside them would have made it a moot point in relatively short order anyhow. It already somewhat did to the r1688 build with Lagarith and Ordered Chapters. The Quicktime stuff is a regular part of the L-SMASH patch now, it's just a matter of whether one chooses to supplement said patch with AAC encoding or not by downloading the SDK from Apple.
It would be far more convenient for me to document what I did to get there, because this flare-up still points out that source code is apparently different from binaries; I'm comfortable with being told what to do with source code, or to rely on existing pipelines to get a hold of things, I've just re-evaluated whether I myself want to or have the time/ability to be part of said pipelines. Binaries may be more convenient for an average user without knowledge of compiling software, but the methodology to get different results is more valuable to those that feel confident with compiling it themselves - not to mention most of them would get through the process faster than I could simply due to better underlying hardware. Waiting 1h45m-2h or so just for a complete cycle of ffmpeg->ffms2->x264->ffmpeg is getting to be too much for me anyhow. That should seriously take me a half hour (or less!), not 3-4x that. Discounting, of course, any extra time racked up due to stuff causing builds to fail mid-way through and start the process over again trying to troubleshoot it. |
31st August 2010, 20:43 | #3394 | Link |
Registered User
Join Date: Jan 2002
Posts: 332
|
Can someone make a build for LAVF/ffmpeg SVN but with all audio codec enable ( aac,lame,vorbis ... ) because I want to try to build "x264 audio" and I don't know how to build ffmpeg correctly under mingw/msys. ( A guide for ffmpeg under mingw/msys can also be good)
|
1st September 2010, 06:45 | #3395 | Link |
Registered User
Join Date: Jan 2007
Location: Romania, Timisoara
Posts: 223
|
I'm also looking for a recent Mac build of x264 with ffms/lavf. Or at least a build tutorial. Thanks
__________________
[Intel] Core i5 8500|[ASUS] ROG STRIX Z390-I GAMING|[Noctua] NH-U12S|[GSkill] DDR4 2400 2x16GB|[MSI] RTX2060 Super Gaming X|[Samsung] 970 Pro 512Gb|[Seasonic] Focus SGX 650|[NZXT] H400|[LG] 27GL850 |
1st September 2010, 08:25 | #3396 | Link | |
...?
Join Date: Nov 2005
Location: Florida
Posts: 1,420
|
Quote:
A) install Xcode - it's on the OSX install disc or through Apple Developer Connection. B) Install MacPorts (by following Parts 1 & 2 from http://davidbaumgold.com/tutorials/wine-mac/ - although if you want to go on to install wine feel free to). C) Use MacPorts to install subversion, git-core, yasm, nasm, texi2html, automake, autoconf, libtool, pkg-config (might already be installed through Xcode...I can never seem to remember this), and I think that's it. svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg svn checkout http://ffmpegsource.googlecode.com/svn/trunk/ ffms2 git clone git://git.videolan.org/x264.git cd ffmpeg ./configure --prefix=$HOME/ffms2_build --enable-gpl --enable-version3 --enable-postproc --disable-encoders \ --disable-muxers --disable-debug --disable-network --disable-hwaccels --disable-indevs --disable-outdevs \ --extra-cflags="-march=pentium3" make make install cd ../ffms2 ./configure --prefix=$HOME/ffms2_build PKG_CONFIG_PATH=$HOME/ffms2_build/lib/pkgconfig make make install cd ../x264 wget http://vfrmaniac.fushizen.eu/OtherSt.../mp4muxer.diff patch -p1 < mp4muxer.diff PKG_CONFIG_PATH=$HOME/ffms2_build/lib/pkgconfig ./configure --extra-cflags="-march=pentium3" make make install make distclean PKG_CONFIG_PATH=$HOME/ffms2_build/lib/pkgconfig ./configure --prefix=$HOME/x264-9bit \ --extra-cflags="-march=pentium3" --bit-depth=9 make make install make distclean PKG_CONFIG_PATH=$HOME/ffms2_build/lib/pkgconfig ./configure --prefix=$HOME/x264-10bit \ --extra-cflags="-march=pentium3" --bit-depth=10 make make install All -march=pentium3 parts should be changed to the processor you actually have; refer to GCC's documentation for that list...-march=native could also be used if you'd rather not take the time to target your cpu explicitly and let GCC autodetect it. The MSYS/MinGW instructions are pretty much identical to those - the only place they differ are that ffmpeg requires two additional options: --enable-memalign-hack and -U__STRICT_ANSI__ needs to be added to the cflags, like --extra-cflags"-U__STRICT_ANSI__ -march=pentium3". EDIT: I forgot...I have read reports that ffmpeg won't build under Snow Leopard unless --disable-asm and --arch=x86_64 are also given. I'm not entirely sure because I can't remember if I've ever built without those options, so be aware of that as well. Last edited by qyot27; 5th September 2010 at 23:32. |
|
4th September 2010, 07:56 | #3397 | Link |
Registered User
Join Date: Oct 2002
Location: France
Posts: 2,316
|
@jeeb : I've tested your x64 patched 1703 version, with the following command line :
Code:
@echo off SET E_SRC=%6%1.avs SET E_DST=%3%1.264 SET CHAPTERS=%6%5 SET STAT_FILE=%6%1.stats SET TUNING=%4 SET LOG_FILE_1=%6%1_log_1.txt SET LOG_FILE_2=%6%1_log_2.txt REM Set of max bitrate (ici le bitrate max) set MAX_BR=40000 REM Set of Buffer (ici le buffer) set BUF_BR=30000 REM 1ère passe x264_x64.exe --profile "high" --preset "placebo" --tune %TUNING% --pass 1 --bitrate %2 --stats %STAT_FILE% --level "4.1" --qpmin 0 --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --keyint 24 --min-keyint 2 --mvrange 511 --ref 4 --bframe 3 --slices 4 --b-pyramid "strict" --open-gop "bluray" --fade-compensate 0.7 --subme 9 --trellis 1 --me "umh" --aq-mode 2 --aud --nal-hrd "vbr" --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --videoformat "ntsc" --sar 1:1 --qpfile %CHAPTERS% --threads 0 --thread-input --output NUL %E_SRC% 2> %LOG_FILE_1% REM 2ème passe x264_x64.exe --profile "high" --preset "placebo" --tune %TUNING% --pass 2 --bitrate %2 --stats %STAT_FILE% --level "4.1" --qpmin 0 --vbv-maxrate %MAX_BR% --vbv-bufsize %BUF_BR% --keyint 24 --min-keyint 2 --mvrange 511 --ref 4 --bframe 3 --slices 4 --b-pyramid "strict" --open-gop "bluray" --fade-compensate 0.7 --aq-mode 2 --aud --nal-hrd "vbr" --colorprim "bt709" --transfer "bt709" --colormatrix "bt709" --videoformat "ntsc" --sar 1:1 --qpfile %CHAPTERS% --threads 0 --thread-input --output %E_DST% %E_SRC% 2> %LOG_FILE_2% 2 problems : - It displays avs errors about audio... First time i'm having this kind of message, specialy when output is raw h264... - It never finish the 1st pass... Process is some kind of locked, i've one thread (ie one CPU) at 100%, log of 1st pass seems completed, but still used/locked by the process, and there is no log of 2nd pass, which mean 2nd pass is not starting. Reproductible at 100%, even with a small file of few frames. |
5th September 2010, 01:52 | #3398 | Link | |||
Registered User
Join Date: Oct 2009
Posts: 21
|
This is my settings
Quote:
Quote:
Quote:
I can't create the .stats file. x264 crash immediately when i run the bat. Last edited by livetolove92; 5th September 2010 at 02:34. |
|||
5th September 2010, 13:31 | #3400 | Link | |
Compiling Encoder
Join Date: Jan 2007
Posts: 1,348
|
Quote:
iirc JEEB is using the still-being-developed audio support patch which would explain the audio warning... Last edited by kemuri-_9; 5th September 2010 at 13:34. |
|
Tags |
h.264, x264, x264 builds, x264 patches, x264 unofficial builds |
|
|