Log in

View Full Version : What is this x264 profile?


stranno
23rd March 2013, 16:16
It is from Steam promotional videos (on his web).

Writing library : x264 core 120 r2151 a3f4407
Encoding settings : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=36 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=1 / bitrate=1024 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=63 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.25 / aq=1:1.00

Is this a custom profile or x264 standar profile?.

I want this profile coz it looked way better than my videos using high, 5.1, slower and -2:-2 deblock profile using more bitrate (1,5MB my videos, 1MB steam videos). Both have lot of motion.

Look this screenshots.

From Steam:

http://lh4.ggpht.com/-PupOUePM0Dc/UU3Gx6d3gWI/AAAAAAAAFbE/DAMhrNSB0e4/s0/movieLrg.flv_snapshot_01.14_%25255B2013.03.23_16.12.16%25255D.jpg

http://lh6.ggpht.com/-J1M3DzSu_UQ/UU3GyyiVaDI/AAAAAAAAFbM/JRcmXSqwVRc/s0/movieLrg.flv_snapshot_02.02_%25255B2013.03.23_16.12.33%25255D.jpg

My video:

http://lh5.ggpht.com/-IAQCm8ZD9N0/UU3GvoLRFII/AAAAAAAAFa0/nQMyFNrga3M/s0/JUEG_retrovirus_01_PC.mp4_snapshot_18.35_%25255B2013.03.23_16.13.05%25255D.jpg

http://lh3.ggpht.com/-WWn-TXgpE1I/UU3GxHqJ4OI/AAAAAAAAFa8/kF5IzImIWio/s0/JUEG_retrovirus_01_PC.mp4_snapshot_29.22_%25255B2013.03.23_16.13.17%25255D.jpg

I dont know how to explain, it just looks better from Steam. Maybe less detail but soften colors, less artifacts and less macroblocks (i think) even when they are not using deblock.

My source is lossless RGB capture.

Any idea?.

LoRd_MuldeR
23rd March 2013, 17:10
First of all, H.264 Profiles are defined by the H.264 standard and are not specific to x264. Such thing as "x264 Profile" does NOT exist!

Please see for details:
* http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profiles
* http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Levels

Anyway, tools like MediaInfo (http://mediainfo.sourceforge.net/en) can show you the H.264 Profile as well as the H.264 Level for a given stream!

Secondly, if you are actually talking about the x264 encoding settings, then, well, above you posted all settings that have been used for that video.

What does hold you back from using exactly those settings, if you really want to ???

Last but not least, instead of trying to copy the encoder settings from some clip, you probably are better off just using the x264 Preset and Tuning system!

Just try something like "x264.exe --crf X --preset veryslow --tune film" and choose an appropriate X value ;)

Conquerist
23rd March 2013, 17:27
using more bitrate (1,5MB my videos, 1MB steam videos)From the screen shots, it looks like your video is 1280x720, but the steam video is 700x394. That's more than three times as many pixels, so the comparison doesn't really tell you a lot. If you want a better comparison, you should try resizing your own video to match their resolution. The command line for that is:
--video-filter resize:width=700,height=394The settings that are mostly related to the detail vs. artifact tradeoff you mention (AQ, psy-rd and psy-trellis) are at their default values in the steam video. If you want a smoother/softer picture with less artifacts, you can try resizing to a lower resolution (see above) or using a low-pass filter. Both methods will however get rid of fine detail as well...

Guest
23rd March 2013, 17:39
First of all, H.264 Profiles are defined by the H.264 standard and are not specific to x264. Such thing as "x264 Profile" does NOT exist! Probably he meant "preset" and is just wondering if that is an existing preset and if so, which one is it.

stranno
23rd March 2013, 19:11
I mean they have used x264 so i asked about if they used the standard settings (just bitrate, tune and preset) or they messed around every single option in the command line.

I know is bigger but it still doesnt look right using the same size. It looks blockier and not as soften. It looks just worse.

Does very slow gives much better encoding than slower? I dont see great differences.

Even Youtube gives 1.5MB to 720 videos and they dont look bad, and i really doubt they use as intensive preset as slower (if they use x264, of course, years ago ffmpeg was used if im not mistaken).

vivan
23rd March 2013, 19:25
All settings there are default (equals to medium preset, without any tuning).

Youtube's quality is awful, it's like x264 veryfast preset if not worse.

stranno
23rd March 2013, 20:13
Ummm ok, maybe they have soften the video?.