26

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Selur wrote:

Think I found and fixed the problem. :)
Your file includes some additional tags which the parser stumbled upon.

Cu Selur

YES.
Now everything works as expected.

Some wishes more?

It would be very nice if:
a. The program remembered the MediaInfo.exe location between sessions.
b. I could have a shortcut somewhere that I could throw a h264 file on, and automatically opened Mis2x264 with the cli output. (Really Lazy Human ;o)

Thanks anyway ...

27

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

a. The program remembered the MediaInfo.exe location between sessions.

put the MediaInfo.exe and the MediaInfo.dll next to mis2x264 and it will automatically find them

and automatically opened Mis2x264 with the cli output.

do you mean in "File Mode"? mis2x264 has no cli mode or output,...

28

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Uploaded a version, that is you:
a. put MediaInfo.exe and MediaInfo.dll (from the CLI version) next to mis2x264.exe
and
b. create a shortCut with 1 as additional parameter
will open and analyze the a file if you drag&drop it on the shortcut

Cu Selur

29

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Works as promised.
I'm out of wishes ...

BTW The mbaff=0 is ignored
Also a file gives me this:

MediaInfo - Encoding settings:
profile=high / level=4.1 / fps=23.976 / cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=9 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=24 / keyint_min=2 / scenecut=40 / intra_refresh=0 / rc_lookahead=24 / rc=2pass / mbtree=1 / bitrate=2695 / ratetol=1.0 / qcomp=0.70 / qpmin=10 / qpmax=51 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=40000 / vbv_bufsize=30000 / ip_ratio=1.40 / aq=1 / aq-strength=1.00 / aq-sensitivity=10.00 / aq-ifactor=1.00 / aq-pfactor=1.00 / aq-bfactor=1.00 / aq2=0 / nal_hrd=none

Converted to x264 cli:
--profile high --level 4.1 --fps 23.976 --cabac --ref 4 --deblock 0:0 --partitions i4x4,i8x8,p8x8,b8x8 --me hex --subme 9 --psy-rd 1.00:0.00 --merange 16 --trellis 2 --8x8dct --cqm jvt --deadzone-inter 21 --deadzone-intra 11 --qblur -2 --threads 3 --bframes 8 --b-pyramid strict --b-adapt 2 --b-bias 0 --direct spatial --weightp 2 --keyint 24 --min-keyint 2 --scenecut 40 --rc-lookahead 24 --bitrate 2695 --ratetol 1.0 --qcomp 0.70 --qpmin 10 --qpmax 51 --qpstep 4 --cplxblur 20.0 --qblur 0.5 --vbv-maxrate 40000 --vbv-bufsize 30000 --ipratio 1.40 --aq-mode 1 --aq-strength 荐⃬噓璡꼧㌀僄䒍Ⱔꍤ㌀僄䒍Ⱔꍤ⠤䒉␤䒍ᰤ赐⑔刔庉褈⑜褨⑜햵 <<<<< (Many unreadable characters)>>>>> --nal-hrd none

The following entries got ignored:
fade_compensate=0.00
fgo=0
rc=2pass since rc does not hold any useful info
aq-strength=1.00
aq-sensitivity=10.00
aq-ifactor=1.00
aq-pfactor=1.00
aq-bfactor=1.00
aq2=0

It must be something wrong with the file (although it plays ok)

30

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Argh, I see the problem with that file it was created with a modded version of x264

aq=1 / aq-strength=1.00 / aq-sensitivity=10.00 / aq-ifactor=1.00 / aq-pfactor=1.00 / aq-bfactor=1.00 / aq2=0

fade_compensate=0.00
fgo=0
aq-strength=1.00
aq-sensitivity=10.00
aq-ifactor=1.00
aq-pfactor=1.00

are all changes of due to the mod,... I'll google a bit to find the command line parameters that belong to these options,...

31

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Tests with mis2x264 - ver20130208_4

Now ALL the video files (even the ones I created myself with the x264 vfw 37 2200bm 33968 version) have the "Warning: a modded version of x264 was used to create this file."

The following entries got ignored:
slices=4
mbaff=0
wpredp=2

32

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

will look into it smile

Now ALL the video files (even the ones I created myself with the x264 vfw 37 2200bm 33968 version) have the "Warning: a modded version of x264 was used to create this file."

contains VAQmod so the warning is correct.

will look into:
slices=4
mbaff=0
wpredp=2
now

Cu Selur

33

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

added a version that should handle:
slices=4
mbaff=0
wpredp=2

Cu Selur

34

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Well, if the codec I downloaded from http://sourceforge.net/projects/x264vfw … 0bm_33968/ is modded, then, can you please tell me where can I find an unmodded version?

TIA

35

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Sorry, no clue since I never use the unofficial x264 vfw codec.
x264 developers dropped support for x264 vfw ages ago.

Cu Selur

36

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Thank you very much for misx264 software. I'm looking for just that!

A suggestion:

After prepared Mis2x264's documents (1 parameter, mediainfo.exe+dll ), can be submit to videohelp.com or doom9.org forum. I hope that everyone will be aware.

Very thanks for your labour.
Best regards.

37

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

you can already download it from videohelp -> http://www.videohelp.com/tools/Mis2x264

Cu Selur

38

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

"cqm=0" should be decoded to "--cqm flat" (default value - flat matrix) or ommited.

http://mewiki.project357.com/wiki/X264_Settings#cqm

"--cqm jvt" is not recommended.

39

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

thanks for the info will fix smile

40

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

-> should be fixed now (uploaded a new version)

41 (edited by bugmenot 2013-04-23 11:34:27)

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

I'm not sure, but "chroma_qp_offset=-2" seems to be decoded to "--qblur -2" which have no sense.
http://mewiki.project357.com/wiki/X264_ … -qp-offset
http://mewiki.project357.com/wiki/X264_Settings#qblur

"b_pyramid=2" is a default value, and should be decoded to "--b-pyramid normal" (not strict)
http://mewiki.project357.com/wiki/X264_ … #b-pyramid

42

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

uploaded a new version which should fix both

43

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Just one little problem now: where did you hide the download link?

44

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Sorry, something went wrong during upload, should work now. smile

45

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Thank you smile

46

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

No, problem always happy to get feedback. smile

Cu Selur

47

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Wonderful tool, really!

I see that it not only decodes Encoding settings, but also adds info about Format Profile, FPS. However, it seems that other settings, that there pointed out by ppress, like BitDepth, Bits/Pixels etc. are not included in decoded command line. Are they not important?

48

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

they normally should not influence compatibility

49

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

I am quite new to x264. I have tried to replicate one BD Rip.

Original:

Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format_Profile                           : High@L4.1
Format_Settings_CABAC/String             : Yes
Format_Settings_RefFrames/String         : 4 frames
Format_Settings_GOP                      : N=1
CodecID                                  : V_MPEG4/ISO/AVC
Duration/String                          : 1h 48mn
BitRate/String                           : 10.0 Mbps
Width/String                             : 1 920 pixels
Height/String                            : 1 040 pixels
DisplayAspectRatio/String                : 1.85:1
FrameRate_Mode/String                    : Constant
FrameRate/String                         : 23.976 fps
ColorSpace                               : YUV
ChromaSubsampling                        : 4:2:0
BitDepth/String                          : 8 bits
ScanType/String                          : Progressive
Bits-(Pixel*Frame)                       : 0.210
StreamSize/String                        : 7.64 GiB (80%)
Encoded_Library_Settings                 : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=9 / psy_rd=1.0:0.0 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / chroma_qp_offset=-2 / threads=3 / nr=0 / decimate=1 / mbaff=0 / bframes=16 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / wpredb=1 / keyint=250 / keyint_min=25 / scenecut=40 / rc=crf / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=50000 / vbv_bufsize=50000 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00

Replica:

Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4.1
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 3 frames
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 15mn 57s
Bit rate                                 : 4 766 Kbps
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 fps
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.096
Stream size                              : 544 MiB (98%)
Encoding settings                        : cabac=1 / ref=4 / deblock=1:0:0 / analyse=0x3:0x113 / me=umh / subme=9 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-4 / threads=3 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=16 / b_pyramid=1 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=25 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=20.0 / qcomp=0.60 / qpmin=10 / qpmax=51 / qpstep=4 / vbv_maxrate=50000 / vbv_bufsize=50000 / crf_max=0.0 / nal_hrd=none / ip_ratio=1.40 / aq=1:1.00

I got different: ReFrames, Format_Settings_GOP, Height, AspectRatio, Bits-(Pixel*Frame).
Also Encoding settings do not match, e. g. 'psy=1', 'chroma_qp_offset=-4', 'lookahead_threads=1', 'sliced_threads=0' etc.

Why there are so many differences?

50

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

probably because the defaults changed,,...
*psy=1', 'lookahead_threads=1', 'sliced_threads=0'  is relatively new and therefore only appear with newer versions and none of them should interference with compatibility.
ref is the same for both,...
Hybrid doesn't resize, so my guess is that you should make a detailed mediainfo analysis and look what is statet there what the Original Height is.

chroma_qp_offset=-4' looks strange because, normally only positive values are allow for chroma_qp_offset
-> can you upload a small sample somewhere (< 10MB) so I can try to reproduce this?