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 4th April 2005, 09:05   #1  |  Link
Amdh
Registered User
 
Join Date: May 2004
Posts: 76
Need Advice On X264 Settings !


Hi Everyone in doom9 !
Well .. I have lately Started Using X264 In Order to Compress Slow Motion TV Show Of About 30 Minutes ! However I am still confused and I need advice about the perfect Profile For Such Compression !
Thank U In Advance !
__________________
MhX Digital - An Old Fan Of x264
Amdh is offline   Reply With Quote
Old 4th April 2005, 10:54   #2  |  Link
namchik
Registered User
 
Join Date: Dec 2004
Location: Russia
Posts: 79
Hi
don't know about the perfect profile but with x.264 rev.184 I sticked to default settings and set only deblocking strength to "1"
namchik is offline   Reply With Quote
Old 4th April 2005, 14:22   #3  |  Link
Zarxrax
Registered User
 
Join Date: Dec 2001
Posts: 1,219
Speaking of the settings, has anyone written down what they all do anywhere? I've tried searching for anything that explains all the settings, but I'm not coming up with anything. After encoding with nothing but xvid for the past many years, this is all like a foreign language to me
Zarxrax is offline   Reply With Quote
Old 4th April 2005, 14:28   #4  |  Link
twist3d
encoder enthusiast
 
twist3d's Avatar
 
Join Date: Aug 2003
Location: Lahti, Finland
Posts: 115
i proposed a while ago "recommended x264 settings" sticky but maybe it just got overlooked. would help though.
twist3d is offline   Reply With Quote
Old 4th April 2005, 14:28   #5  |  Link
video
moron
 
Join Date: Jan 2005
Location: Budapest, Hungary
Posts: 205
Quote:
Originally posted by Zarxrax
Speaking of the settings, has anyone written down what they all do anywhere? I've tried searching for anything that explains all the settings, but I'm not coming up with anything. After encoding with nothing but xvid for the past many years, this is all like a foreign language to me
I feel we should have the standards... but 150CHF is alotsa money
__________________
one by one my leaves fall...
one by one my tales are told...
video is offline   Reply With Quote
Old 4th April 2005, 18:40   #6  |  Link
unmei
frying subs
 
unmei's Avatar
 
Join Date: Jan 2003
Location: ch-2500
Posts: 891
get it from ITU for free -> look what akupenguin said in his post near the bottom of this page. On the page after that one, someone also points to a direct PDF download (maybe tha's an older version tho).

But ..good luck in trying to derive encoding settings from the specs.. :/
__________________
-nyo
unmei is offline   Reply With Quote
Old 4th April 2005, 22:08   #7  |  Link
Stacey Melissa
Registered User
 
Join Date: Mar 2005
Location: Kansas, USA
Posts: 58
@twist3d - see the mencoder commands page. Near the bottom it has a -x264encopts section, which lists and describes x264-specific encoding options.
Stacey Melissa is offline   Reply With Quote
Old 5th April 2005, 05:54   #8  |  Link
twist3d
encoder enthusiast
 
twist3d's Avatar
 
Join Date: Aug 2003
Location: Lahti, Finland
Posts: 115
@Stacey, those are for mplayer (i use the vfw builds) and still a complete hebrew for me (and there is no general recommended settings as I stated earlier). well off to test the latest xvid beta ->
twist3d is offline   Reply With Quote
Old 5th April 2005, 06:07   #9  |  Link
Stacey Melissa
Registered User
 
Join Date: Mar 2005
Location: Kansas, USA
Posts: 58
Yes, those are for mencoder, but they are exactly the same options that the vfw interface uses. Most of them even have the same names. And if you read the option descriptions, the manual tells you what the "sane" ranges are.

There's no general recommended settings because the codec can be used for all sorts of different tasks, and each task calls for different settings. I do non-scaled anamorphic high bitrate DVD rips. My defaults are going to be different from someone who does downscaled square-pixel DVD rips at lower bitrates, or someone who does TV capture transcoding. So just use the default settings as a starting point, then tweak and experiment to find what you like best.

Last edited by Stacey Melissa; 5th April 2005 at 06:18.
Stacey Melissa is offline   Reply With Quote
Old 5th April 2005, 06:39   #10  |  Link
Stacey Melissa
Registered User
 
Join Date: Mar 2005
Location: Kansas, USA
Posts: 58
Re: Need Advice On X264 Settings !

Quote:
Originally posted by Amdh
I have lately Started Using X264 In Order to Compress Slow Motion TV Show Of About 30 Minutes ! However I am still confused and I need advice about the perfect Profile For Such Compression !
Can't tell you want the perfect profile would be, but I'd suggest you start by playing around with number of b frames, deblocking strength, enable/disable 4x4mv, enable/disable weighted b frames, enable/disable chroma motion estimation, and of course tweak the bitrate.
Stacey Melissa is offline   Reply With Quote
Old 7th April 2005, 10:10   #11  |  Link
Amdh
Registered User
 
Join Date: May 2004
Posts: 76

Thank U EveryOne ! I will Stick To The Default Settings !
By The Way I Was Using The following Profile :
Quantizer=23 and Sometimes 25
Deblocking=1 and Sometimes 2
Max IDR Frame=300
Min IDR Frame=5
I got A bitrate of about 70 to 95 kbps !
Is This Right !
Note : Video Resolution = 384*320
__________________
MhX Digital - An Old Fan Of x264
Amdh is offline   Reply With Quote
Old 8th April 2005, 03:37   #12  |  Link
Stacey Melissa
Registered User
 
Join Date: Mar 2005
Location: Kansas, USA
Posts: 58
Your min IDR setting seems ridiculously low. Other than that, there's nothing wrong with your settings. If the quality and bitrate are good enough for you, then leave everything else alone. If not, start tweaking. That's how you can know whether you've got the right settings.
Stacey Melissa is offline   Reply With Quote
Old 8th April 2005, 06:51   #13  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,259
"has anyone written down what they all do anywhere?"
I wrote something like that for the vfw x264 GUI in German, German speaking readers can grab it over here.
(it's named 'Wissenswertes rund um x264')

Cu Selur
Selur is offline   Reply With Quote
Old 8th April 2005, 09:08   #14  |  Link
stephanV
gone
 
Join Date: Apr 2004
Posts: 1,706
Quote:
Originally posted by Amdh

Thank U EveryOne ! I will Stick To The Default Settings !
By The Way I Was Using The following Profile :
Quantizer=23 and Sometimes 25
Deblocking=1 and Sometimes 2
Max IDR Frame=300
Min IDR Frame=5
I got A bitrate of about 70 to 95 kbps !
Is This Right !
Note : Video Resolution = 384*320
q = 23 and q = 25 in AVC roughly correspond with q=3.5 and q=4.5 in ASP, so your bitrates seems indeed very low for that sort of resolution (what kind of res is that anyway?)
stephanV is offline   Reply With Quote
Old 12th April 2005, 14:25   #15  |  Link
Amdh
Registered User
 
Join Date: May 2004
Posts: 76

Thank U Stacey Melissa For Ur Comment .. I Will Correct That .. Maybe I Will Set It To 25 .. By The Way What does it Mean in reality !

__________________
MhX Digital - An Old Fan Of x264
Amdh is offline   Reply With Quote
Old 12th April 2005, 14:28   #16  |  Link
Amdh
Registered User
 
Join Date: May 2004
Posts: 76

Dear stephanV
The Bitrate Seems Low however I got Good Quality Coz I'm Compressing Slow motion TV Shows !
About The Resolution It Seems Sufficiant For My Purposes !
__________________
MhX Digital - An Old Fan Of x264
Amdh is offline   Reply With Quote
Old 12th April 2005, 18:31   #17  |  Link
Stacey Melissa
Registered User
 
Join Date: Mar 2005
Location: Kansas, USA
Posts: 58
Quote:
Originally posted by Amdh
Maybe I Will Set It To 25 .. By The Way What does it Mean in reality !
IDR frames are the only kind of seekable frames in x264. So if you like to skip around your video a lot, it would be good to have fairly low IDR values. The max IDR value is the more important one for that, though. The CLI interface for x264 defaults to Min IDR=25 and Max IDR=250. Mencoder defaults to 100 and 250, respectively.
Stacey Melissa 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:55.


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