Currently Browsing:  Home » Forum » Tutorials » The new compression - x264 12/1/2008 11:20:36 PM


[post reply
Page 5 of 5 « First < 3 4 5
fei
fei
Regular User

Join Date: 7/14/2003
Posts: 1846
Location: retirement home
reply | view profile | pm | quote
may or may not clean up a few problems / make your life easier

http://www.shaolinproductions.org/index.php?option=com_content&task=view&id=33&Itemid=16

#shaolinproductions on quakenet | http://www.shaolinproductions.org
Download: Dedicated | Disfigurement | Prepare to Respawn | Get Quaked 3 | Lepus| Unity| Legendary
IP: Logged
Posted: 1.20.06 @ 6:24 PM
Fragalishus
Fragalishus
Regular User

Join Date: 4/25/2005
Posts: 356
Location: Dallas
reply | view profile | pm | quote
numlocked wrote:
Sorry to bring up an old thread :/

Anyway, I've been having problems right off the bat. When I tried to actually follow the guide and do the command line it said something about FAAC not being a valid program or batch. So I decided to cop out and do the makemp4.bat. But I get "The system cannot find the path specified" for the audio and all the passes.

Here is what I have done. Re-installed all the decoders and encoders, and used the same versions as http://wiki.meaz.org/index.php?title=X264_Encoding. I made a new folder on my drive "C:\slam" and put my uncompressed audio and video (both same filename "slam") there. Then, per directions, extracted the x264, faac, and mp4box .exe's there. I have double and triple checked that I edited my makemp4.bat file correctly. My resolution is 768x576 at 30 frames per second. Here is a screenshot. http://img75.imageshack.us/img75/3525/wtf3zv.jpg


in your windows explorer go to tools > folder options > view tab > "hide extensions for known file types" > uncheck.

your audio file does not look like an .m4a, it looks like a .wav.

FragTV
IP: Logged
Posted: 1.20.06 @ 7:17 PM
numlocked
numlocked
New User

Join Date: 11/22/2005
Posts: 45
Location: Michigan
reply | view profile | pm | quote
Frag, it already is a .wav. Is it supposed to be a .m4a? Anyway, I'm trying fei's tutorial, I'll edit later with results.. Thanks for the help so far though :)
IP: Logged
Posted: 1.20.06 @ 7:44 PM
Fragalishus
Fragalishus
Regular User

Join Date: 4/25/2005
Posts: 356
Location: Dallas
reply | view profile | pm | quote
no that's the point, it needs to be an .m4a, not a .wav. that's what the faac.exe is for.

i've found it easiest to just follow the guide on the first page. use faac in a command window and convert the audio.

then use megui to compress the video. then mp4box to mux them.

as for megui, i've just picked up different things here and there to try. you just have to play with it.



FragTV
IP: Logged
Posted: 1.20.06 @ 10:07 PM
numlocked
numlocked
New User

Join Date: 11/22/2005
Posts: 45
Location: Michigan
reply | view profile | pm | quote
Installed .net framework 2.0, then I was able to use FAAC (I'm guessing that was the problem =x) Then I just followed the rest of the guide!
IP: Logged
Posted: 1.21.06 @ 1:37 AM
haven
haven
Regular User

Join Date: 8/12/2003
Posts: 43
Location:
reply | view profile | pm | quote
Hope no one minds a new addition to an older thread here.

I've thoroughly read the guide and followed it to the T as I've compressed my current project. But I'm having numerous problems with mp4box that I just can't figure out. I started off using it in the command window and used the exact command line that Tox|c uses in the guide. The first error message I got was "Option -new unknown. Please check usage." I figured that mp4box has been updated and that switch is no longer correct, so I just tried leaving it out. Then I got "Option -fps unknown. Please check usage." So I took out that switch which left me with:

mp4box -add section9avis.264#video -add section9-2aud.m4a#audio section9-2.mp4

"Error importing section9avis.264#video: MP4 File is truncated."

?? By now I'm totally confused so I broke down and installed YAMB. Here's the log:

[21:55:21] : YAMB 1.5.0 started !
[21:55:21] : OS type detection...
[21:55:21] : Windows XP Home Edition (version 5.1, Build 2600 : Service Pack 2)
[21:55:21] : Checking MP4Box location...MP4Box found.
[21:55:21] : Checking MediaInfo.dll...library found.
[21:55:45] : Muxing started...
[21:55:45] : Muxing finished completely.

No output file. No error message =(. Any ideas?
IP: Logged
Posted: 4.26.06 @ 9:56 PM
tox|k
tox|k
New User

Join Date: 1/22/2003
Posts: 49
Location: Canada... eh
reply | view profile | pm | quote
yeah, it's been a while. I'll give it a look after I'm done this semester (start of may) and update the guide if neccessary.


Quake, Honoris Causa.
IP: Logged
Posted: 4.27.06 @ 2:57 AM
trigerek
trigerek
New User

Join Date: 12/2/2006
Posts: 2
Location:
lil probreply | view profile | pm | quote
I've got a little problem - after follwoing toxic's guide i met a litle problem - i wanted to compress some avi file [ just 4 a quality test etc.] and thats what i get in logs of MeGUI "avis [info]: 856x480 @ 125.00 fps (1851 frames) x264 [warning]: width or height not divisible by 16 (856x480), compression will suffer. x264_encoder_open failed"
IP: Logged
Posted: 12.2.06 @ 10:39 AM
Fragalishus
Fragalishus
Regular User

Join Date: 4/25/2005
Posts: 356
Location: Dallas
reply | view profile | pm | quote
Well you answered your own question.  856 is not divisible by 16.  Needs to be 848x480 or 864x480.

FragTV
IP: Logged
Posted: 12.2.06 @ 3:59 PM
muckyman
muckyman
Regular User

Join Date: 12/11/2003
Posts: 1326
Location: UK_HULL_SHITHOLE
reply | view profile | pm | quote
his res is actually right,video on the pc is actualy compressed as 4x4 pixel blocks

IP: Logged
Posted: 12.2.06 @ 4:32 PM
Azura
Azura
Regular User

Join Date: 6/16/2005
Posts: 807
Location: Pirating your ass
reply | view profile | pm | quote
Perhaps x264 has some restrictions that differ from the usual ones used with divx & co.

"Some people like to bitch and whine. Me ? I just smile and say cheese :D ."
* Clan Smiley iCTF movie by Ausbrecher
* Running games at insanely high resolutions
* The Clan Smiley Movie II (in progress)
* Azazel's Movie Making Wiki (submit your own tips and info)

Smiley and the Smiling Eradicators - http://www.clansmiley.com/



 

IP: Logged
Posted: 12.2.06 @ 5:32 PM
trigerek
trigerek
New User

Join Date: 12/2/2006
Posts: 2
Location:
reply | view profile | pm | quote
kk then i've tried with some coded material [with sony vegas, w/o compression, it was 848x480 , divisable by 16 now, @ 25 frames] and "x264_encoder_open failed" XDD i'm quite lame @ codes and al i did is reading some tutorials & making about 80 copies of one game-play action while trying to find some nice quality [in Xvid :D] and i want to compress smth with legendary x264 xD can anybody help meh ? :X how to solve this "x264_encoder_open failed" ? i've dloaded x264.exe file [i dont have a clue about compiling from sources and i think (maybe im wrong) that it's already full & compiled version] and used MeGui exactly as in Toxics guide......
IP: Logged
Posted: 12.3.06 @ 4:14 AM
Fragalishus
Fragalishus
Regular User

Join Date: 4/25/2005
Posts: 356
Location: Dallas
reply | view profile | pm | quote
I put up a VTM at csflicks.net just going over Toxik's guide.  Not exactly explaining the guide just pointing out where the good bits are and different things to try, and different ways of getting your resolution right.

FragTV
IP: Logged
Posted: 12.6.06 @ 4:31 AM
tox|k
tox|k
New User

Join Date: 1/22/2003
Posts: 49
Location: Canada... eh
reply | view profile | pm | quote
Well I finally got around to updating the guide. The main GUI used in the guide (meGUI) has changed and been improved significantly since the original version of this guide, so I figured I'd bring everything up to date.

*Update* v2.0  2007-03-25
-Completely revamped the guide so everything is up to date.
-Everything done through a single GUI.
-Changed encoding path from 3pass automated to 2pass automated turbo (reason in the guide).
-Added a few notes about bitrate.
-Removed a bunch of outdated info.

Hope it helps for anyone who may need it :)



Quake, Honoris Causa.
IP: Logged
Posted: 3.25.07 @ 11:38 AM
Dav
Dav
Regular User

Join Date: 8/6/2004
Posts: 77
Location: Amsterdam
reply | view profile | pm | quote
You could change one more thing in your guide.
I find it's best (and easiest) to use the AutoEncode button in MeGUI. If you manually go to the MP4 muxer, you can't enter a custom FPS.
IP: Logged
Posted: 8.27.07 @ 6:04 AM
Christian_19
Christian_19
New User

Join Date: 8/30/2007
Posts: 1
Location:
reply | view profile | pm | quote
http://toxik.cacheflo.ws/x264/guide.html

this link doesn't work anymore :(



EDIT: ok, now its working :)
IP: Logged
Modified by IP: Logged

Posted: 8.30.07 @ 5:41 PM
Last modified: 8.31.07 @ 3:51 AM
[post reply
Page 5 of 5 « First < 3 4 5