51

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Sent you a sample in PM.

52

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

you did remux the file before you tried to cut it with mkvcutter, right?
I guess the container shows another resolution, because if I remux the file to mkv, then cut it I get the following info:

General
Count                                    : 284
Count of stream of this kind             : 1
Kind of stream                           : General
Kind of stream                           : General
Stream identifier                        : 0
Unique ID                                : 212109931811870578856674803233454402507
Unique ID                                : 212109931811870578856674803233454402507 (0x9F92E30D0C3409648C9E0B5C68F5ABCB)
Count of video streams                   : 1
Video_Format_List                        : AVC
Video_Format_WithHint_List               : AVC
Codecs Video                             : AVC
Video_Language_List                      : English
Complete name                            : h:\Output\testCut.mkv
Folder name                              : h:\Output
File name                                : testCut
File extension                           : mkv
Format                                   : Matroska
Format                                   : Matroska
Format/Url                               : http://packs.matroska.org/
Format/Extensions usually used           : mkv mk3d mka mks
Commercial name                          : Matroska
Format version                           : Version 4 / Version 2
Codec                                    : Matroska
Codec                                    : Matroska
Codec/Url                                : http://packs.matroska.org/
Codec/Extensions usually used            : mkv mk3d mka mks
File size                                : 5321112
File size                                : 5.07 MiB
File size                                : 5 MiB
File size                                : 5.1 MiB
File size                                : 5.07 MiB
File size                                : 5.075 MiB
Duration                                 : 11595
Duration                                 : 11s 595ms
Duration                                 : 11s 595ms
Duration                                 : 11s 595ms
Duration                                 : 00:00:11.595
Overall bit rate                         : 3671315
Overall bit rate                         : 3 671 Kbps
Stream size                              : 105922
Stream size                              : 103 KiB (2%)
Stream size                              : 103 KiB
Stream size                              : 103 KiB
Stream size                              : 103 KiB
Stream size                              : 103.4 KiB
Stream size                              : 103 KiB (2%)
Proportion of this stream                : 0.01991
Encoded date                             : UTC 2013-05-31 18:00:22
File creation date                       : UTC 2013-05-31 18:00:22.322
File creation date (local)               : 2013-05-31 20:00:22.322
File last modification date              : UTC 2013-05-31 18:00:22.353
File last modification date (local)      : 2013-05-31 20:00:22.353
Writing application                      : mkvmerge v6.0.0 ('Coming Up For Air') built on Jan 20 2013 09:52:00
Writing library                          : libebml v1.3.0 + libmatroska v1.4.0
Writing library                          : libebml v1.3.0 + libmatroska v1.4.0

Video
Count                                    : 263
Count of stream of this kind             : 1
Kind of stream                           : Video
Kind of stream                           : Video
Stream identifier                        : 0
StreamOrder                              : 0
ID                                       : 1
ID                                       : 1
Unique ID                                : 3093102141339530158
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format/Url                               : http://developers.videolan.org/x264.html
Commercial name                          : AVC
Format profile                           : High@L4.1
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4
Format settings, ReFrames                : 4 frames
Internet media type                      : video/H264
Codec ID                                 : V_MPEG4/ISO/AVC
Codec ID/Url                             : http://ffdshow-tryout.sourceforge.net/
Codec                                    : V_MPEG4/ISO/AVC
Codec                                    : AVC
Codec/Family                             : AVC
Codec/Info                               : Advanced Video Codec
Codec/Url                                : http://ffdshow-tryout.sourceforge.net/
Codec profile                            : High@L4.1
Codec settings                           : CABAC / 4 Ref Frames
Codec settings, CABAC                    : Yes
Codec_Settings_RefFrames                 : 4
Duration                                 : 11595
Duration                                 : 11s 595ms
Duration                                 : 11s 595ms
Duration                                 : 11s 595ms
Duration                                 : 00:00:11.595
Bit rate                                 : 3598256
Bit rate                                 : 3 598 Kbps
Width                                    : 1920
Width                                    : 1 920 pixels
Height                                   : 1040
Height                                   : 1 040 pixels
Pixel aspect ratio                       : 1.000
Display aspect ratio                     : 1.846
Display aspect ratio                     : 1.85:1
Frame rate mode                          : CFR
Frame rate mode                          : Constant
Frame rate                               : 23.976
Frame rate                               : 23.976 fps
Frame count                              : 278
Resolution                               : 8
Resolution                               : 8 bits
Colorimetry                              : 4:2:0
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8
Bit depth                                : 8 bits
Scan type                                : Progressive
Scan type                                : Progressive
Interlacement                            : PPF
Interlacement                            : Progressive
Bits/(Pixel*Frame)                       : 0.075
Delay                                    : 0
Delay                                    : 00:00:00.000
Delay, origin                            : Container
Delay, origin                            : Container
Stream size                              : 5215190
Stream size                              : 4.97 MiB (98%)
Stream size                              : 5 MiB
Stream size                              : 5.0 MiB
Stream size                              : 4.97 MiB
Stream size                              : 4.974 MiB
Stream size                              : 4.97 MiB (98%)
Proportion of this stream                : 0.98009
Writing library                          : x264 - core 130 r2273 b3065e6
Writing library                          : x264 core 130 r2273 b3065e6
Writing library/Name                     : x264
Writing library/Version                  : core 130 r2273 b3065e6
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=-2 / threads=12 / lookahead_threads=3 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=16 / b_pyramid=2 / 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=19.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
Default                                  : Yes
Default                                  : Yes
Forced                                   : No
Forced                                   : No

the chroma_qp_offset also not wrong and the resolution seems to be fine,..

-> Looks fine here or did I miss something ?
=> Please post a detailed (MediaInfo --full with the command line version) analysis of the input file

53 (edited by alpha_d 2013-09-16 11:04:05)

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

hi, thanks for the program, but there are bugs.

MediaInfo - Encoding settings:
cabac=1 / ref=9 / deblock=1:-1:-1 / analyse=0x3:0x113 / me=umh / subme=11 / psy=1 / psy_rd=0.30:0.00 / mixed_ref=1 / me_range=32 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-2 / threads=18 / lookahead_threads=4 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=12 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=1 / keyint=300 / keyint_min=1 / scenecut=50 / intra_refresh=0 / rc=2pass / mbtree=0 / bitrate=997 / ratetol=1.0 / qcomp=0.70 / qpmin=0 / qpmax=45 / qpstep=12 / cplxblur=20.0 / qblur=0.5 / ip_ratio=1.40 / pb_ratio=1.30 / aq=2:0.60

Converted to x264 cli:
--cabac --ref 9 --deblock -1:-1 --partitions i4x4,i8x8,p8x8,b8x8 --me umh --subme 11 --psy-rd 0.30:0.00 --merange 32 --trellis 2 --8x8dct --cqm flat --deadzone-inter 21 --deadzone-intra 11 --no-fast-pskip --chroma-qp-offset -2 --threads 18 --lookahead-threads 4 --no-dct-decimate --bframes 12 --b-pyramid normal --b-adapt 2 --b-bias 0 --direct auto --weightp 1 --keyint 300 --min-keyint 1 --scenecut 50 --no-mbtree 0 --bitrate 997 --ratetol 1.0 --qcomp 0.70 --qpmin 0 --qpmax 45 --qpstep 12 --cplxblur 20.0 --qblur 0.5 --ipratio 1.40 --pbratio 1.30 --aq-mode 2 --aq-strength 0.60
Warning: a modded version of x264 was used to create this file.

The following entries got ignored:
rc=2pass since rc does not hold any useful info

ffms [error]: could not create index
lavf [error]: could not open input file
raw [error]: raw input requires a resolution.
x264 [error]: could not open input file `0' via any method!

I had to edit:
--b-bias 0 => --b-bias=0
and
--no-mbtree=0 => --no-mbtree.

not yet tested how it works, but thanks anyway. (sorry for my bad english).

54

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

ffms [error]: could not create index
lavf [error]: could not open input file
raw [error]: raw input requires a resolution.
x264 [error]: could not open input file `0' via any method!

That  probably happens because you didn't specify an input file.

I had to edit:
--b-bias 0 => --b-bias=0
and
--no-mbtree=0 => --no-mbtree.

Can't follow you:
a. the converted command line of misx264 does state "--no-mbtree" and not "--no-mbtree=0".
b. "--b-bias 0 => --b-bias=0" that's wrong,  it should be '--b-bias 0':

--b-bias <integer>      Influences how often B-frames are used [0]

source: x264 --help

-> don't see where you think mis2x264 is doing something wrong.

Cu Selur

55

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

That  probably happens because you didn't specify an input file.

x264.exe --level=4.1 --cabac --ref 9 --deblock -
1:-1 --partitions i4x4,i8x8,p8x8,b8x8 --me umh --subme 11 --psy-rd 0.30:0.00 --m
erange 32 --trellis 2 --8x8dct --cqm flat --deadzone-inter 21 --deadzone-intra 1
1 --no-fast-pskip --chroma-qp-offset -2 --threads 18 --lookahead-threads 4 --no-
dct-decimate --bframes 12 --b-pyramid normal --b-adapt 2 --b-bias 0 --direct aut
o --weightp 1 --keyint 300 --min-keyint 1 --scenecut 50 --no-mbtree 0 --bitrate
997 --ratetol 1.0 --qcomp 0.70 --qpmin 0 --qpmax 45 --qpstep 12 --cplxblur 20.0
--qblur 0.5 --ipratio 1.40 --pbratio 1.30 --aq-mode 2 --aq-strength 0.60 --outpu
t file.x264 t2_3.avi

a. the converted command line of misx264 does state "--no-mbtree" and not "--no-mbtree=0"

I did not want the program to work with the parameter --no-mbtree=0

PS
There are differences between the original and the result
rez:
chroma_qp_offset=-4
orig:
chroma_qp_offset=-2
and
rez:
no, at least in the coding parameters present.
orig:
cplxblur=20.0 / qblur=0.5

56

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

x264.exe --level=4.1 --cabac --ref 9 --deblock -1:-1 --partitions i4x4,i8x8,p8x8,b8x8 --me umh --subme 11 --psy-rd 0.30:0.00 --merange 32 --trellis 2 --8x8dct --cqm flat --deadzone-inter 21 --deadzone-intra 11 --no-fast-pskip --chroma-qp-offset -2 --threads 18 --lookahead-threads 4 --no-dct-decimate --bframes 12 --b-pyramid normal --b-adapt 2 --b-bias 0 --direct auto --weightp 1 --keyint 300 --min-keyint 1 --scenecut 50 --no-mbtree 0 --bitrate 997 --ratetol 1.0 --qcomp 0.70 --qpmin 0 --qpmax 45 --qpstep 12 --cplxblur 20.0 --qblur 0.5 --ipratio 1.40 --pbratio 1.30 --aq-mode 2 --aq-strength 0.60 --output file.x264 t2_3.avi

you need to add the info whether you want to encode 2pass or single pass. mis2x264 does not add this to it's command line, since for two pass two command lines are needed.

I did not want the program to work with the parameter --no-mbtree=0

Ah I see, your "MediaInfo Encoding Settings" reports "mbtree=0", mis2x264 translates this to "--no-mbtree 0", but should translate it to just "--no-mbtree". -> fixed

rez:
chroma_qp_offset=-4
orig:
chroma_qp_offset=-2

Your "MediaInfo Encoding Settings" report "chroma_qp_offset=-2", mis2x264 translates this to " --chroma-qp-offset -2"
-> don't see the problem

rez:
no, at least in the coding parameters present.
orig:
cplxblur=20.0 / qblur=0.5

Your "MediaInfo Encoding Settings" report "cplxblur=20.0 / qblur=0.5", mis2x264 translates this to "--cplxblur 20.0 --qblur 0.5"
-> don't see the problem

Cu Selur

57

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Your "MediaInfo Encoding Settings" report "chroma_qp_offset=-2", mis2x264 translates this to " --chroma-qp-offset -2"
-> don't see the problem

I agree that programa adequately converts parameters, but for some reason after the video encoding parameter chroma_qp_offset = -4

Your "MediaInfo Encoding Settings" report "cplxblur=20.0 / qblur=0.5", mis2x264 translates this to "--cplxblur 20.0 --qblur 0.5"
-> don't see the problem

also agree, but for some reason, these encoder ingoniruet parameres and does not add in a video, although the values (cplxblur = 20.0 / qblur = 0.5) default

ideally thought to create identical to the original video clip and join those two pieces of video.

58

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

but for some reason, these encoder ingoniruet parameres and does not add in a video, although the values (cplxblur = 20.0 / qblur = 0.5) default

can't do anything about that, I only stick to the info x264 itself provides

ideally thought to create identical to the original video clip and join those two pieces of video.

you should then also add "--stitchable" to you command line.

--stitchable            Don't optimize headers based on video content
                              Ensures ability to recombine a segmented encode

source: x264 --fullhelp

Cu Selur

Ps.: Uploaded mis2x264_ver20130916 which fixes the '--no-mbtree 0'-bug

59

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

thx,
but x264 core:133 r2334 a3ac64b
--stitchable     - there is no such option....

60

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

x264 core:133 r2334

current version is 2358 and can be downloaded over at:
a. http://komisar.gin.by/ (this one I would recommend)
or
b. http://download.videolan.org/pub/x264/binaries/

61

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Encoding settings : cabac=1 / ref=5 / deblock=1:-3:-3 / analyse=0x3:0x113 / me=umh / subme=11 / psy=1 / fade_compensate=0.00 / psy_rd=1.00:0.15 / mixed_ref=1 / me_range=48 / chroma_me=1 / trellis=2 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=0 / chroma_qp_offset=-3 / threads=6 / lookahead_threads=1 / sliced_threads=0 / nr=0 / decimate=0 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / fgo=0 / bframes=8 / b_pyramid=2 / b_adapt=2 / b_bias=0 / direct=3 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=2pass / mbtree=0 / bitrate=14500 / ratetol=1.0 / qcomp=0.60 / qpmin=0:0:0 / qpmax=69:69:69 / qpstep=4 / cplxblur=20.0 / qblur=0.5 / vbv_maxrate=38000 / vbv_bufsize=30000 / nal_hrd=none / ip_ratio=1.10 / pb_ratio=1.10 / aq=4:1.00 / aq-sensitivity=10.00 / aq-factor=1.00:1.00:1.00 / aq2=1:0.60 / aq2-sensitivity=15.00 / aq2-factor=1.00:1.00:1.00 / aq3=0

The following entries got ignored:
fade_compensate=0.00
rc=2pass since rc does not hold any useful info
aq-factor=1.00:1.00:1.00
aq2-factor=1.00:1.00:1.00
aq3=0

Any way to determine of this? Thanks for the great tool.

62

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

fade_compensate=0.00
aq-factor=1.00:1.00:1.00
aq2-factor=1.00:1.00:1.00
aq3=0

are all options of a modded x264 versions, since mis2x264 does not know about any modded x264 versions it ignores theses settings.

63

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Yeah I know, it's from  tMod. Cant find cli codes for that.

64 (edited by djcj 2014-08-09 03:28:33)

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

I have tried to create a shell script version of this tool: https://gist.github.com/darealshinji/0c … 72c611ba01

65

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

this is how I do it in mis2x264:

if (line.startsWith("analyse=")) {
    clearStart(line);
    QStringList list = line.split(":");
    QString parameter = list.at(0);
    //bool adapt = parameter != "0";
    bool i4x4 = false;
    bool i8x8 = false;
    bool p4x4 = false;
    bool p8x8 = false;
    bool b8x8 = false;
    parameter = list.at(1);
    if (parameter == "0") {
      //none
    } else if (parameter == "0x1") {
      i4x4 = true;
    } else if (parameter == "0x3") {
      i4x4 = true;
      i8x8 = true;
    } else if (parameter == "0x10") {
      p8x8 = true;
    } else if (parameter == "0x11") {
      i4x4 = true;
      p8x8 = true;
    } else if (parameter == "0x13") {
      i4x4 = true;
      i8x8 = true;
      p8x8 = true;
    } else if (parameter == "0x30") {
      p4x4 = true;
      p8x8 = true;
    } else if (parameter == "0x31") {
      i4x4 = true;
      p4x4 = true;
      p8x8 = true;
    } else if (parameter == "0x33") {
      i4x4 = true;
      i8x8 = true;
      p4x4 = true;
      p8x8 = true;
    } else if (parameter == "0x110") {
      p8x8 = true;
      b8x8 = true;
    } else if (parameter == "0x111") {
      i4x4 = true;
      p8x8 = true;
      b8x8 = true;
    } else if (parameter == "0x113") {
      i4x4 = true;
      i8x8 = true;
      p8x8 = true;
      b8x8 = true;
    } else if (parameter == "0x130") {
      p4x4 = true;
      p8x8 = true;
      b8x8 = true;
    } else if (parameter == "0x131") {
      i4x4 = true;
      p4x4 = true;
      p8x8 = true;
      b8x8 = true;
    } else if (parameter == "0x133") {
      i4x4 = true;
      i8x8 = true;
      p4x4 = true;
      p8x8 = true;
      b8x8 = true;
    }
    x264 << "--partitions";
    parameter = QString();
    bool first = true;
    if (i4x4 && i8x8 && p8x8 && p4x4 && b8x8) {
      x264 << "all";
      return true;
    } else if (!i4x4 && !i8x8 && !p8x8 && !p4x4 && !b8x8) {
      x264 << "none";
      return true;
    }
    if (i4x4) {
      if (!first) {
        parameter += ",";
      }
      parameter += "i4x4";
      first = false;
    }
    if (i8x8) {
      if (!first) {
        parameter += ",";
      }
      parameter += "i8x8";
      first = false;
    }
    if (p8x8) {
      if (!first) {
        parameter += ",";
      }
      parameter += "p8x8";
      first = false;
    }
    if (p4x4) {
      if (!first) {
        parameter += ",";
      }
      parameter += "p4x4";
      first = false;
    }
    if (b8x8) {
      if (!first) {
        parameter += ",";
      }
      parameter += "b8x8";
      first = false;
    }
    x264 << parameter;
  }

66

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Hey Selur, I hope you don't mind my posting this here, but it is sort of related...

For the VERY first time ever, I read an MKV file with MediaInfo and NONE of the x264 settings were shown!  I mean, I have used MediaInfo literally on thousands of MKV files, and this is the first time that it didn't show the encoding settings that were used. 

Since I have NEVER seen this before, I was doing some searching around to find out HOW to read an MKV file in some way to determine what x264 encoder settings were used, and I saw a discussion on Doom9 of this program you wrote here.

Why would this ONE MKV file not show up any x264 settings in MediaInfo, do you think?  And, is there any way possible to 'Read' the MKV file in some way to see what encoder settings were used?

Thanks!

67

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Okay easy to clear this one up. smile

Let's first clear up, why you can see these settings even though MediaInfo simply looks at some headers and the first few bytes of a file.

The reason why MediaInfo can show you see the encoder settings is because the x264 authors decided to embed these settings inside the SEI  ("supplemental enhancement information") of the raw stream and most users do not care about removing them. So MediaInfo simply looks for the first SEI and outputs the info that is presented there. (+ does some cosmetics)
Side note:
To remove them you need to either:
a. patch the source that they don't get written
or
b. remux the stream and remove them in example by using https://forum.doom9.org/showthread.php?t=152419
or
c. use a hex editor and overwrite the settings
all these options are probably nothing an average user would do, but they are all not really hard to do. (Side note: I suggested, years ago, to the x264 authors to add an option to make these SEI optional, but they decided to keep it mandatory in the normal sources of x264.)

-> if you use one of the steps above, or simply use another encoder than x264 (x264&x265 are the only two encoders out there that do this sort of thing) your settings will not be included inside the SEI of the raw stream.

Not let's look at how to obtain infos about the settings used to create a raw .264 stream. Since the SEI doesn't contain any information about the settings your only chance is to analys the raw stream. To do this you first neeed to extract the raw stream and then analyse the raw stream. Mis2x264 does this using h264_parse which is part of the MPEG4IPTools. Using h264_parse you can see some of the settings (read: http://forum.videohelp.com/threads/3613 … -generator  I explained most of the output of h264_parse there), but you will always have some missing settings, since not all settings are readable from the source (in example rate control and psychovisual enhancement settings) + not all encoders offer the same parameters.

-> With some effort you can identify some of the settings used to create an arbitrary H.264 stream, but you can't identify them all.

Cu Selur

68 (edited by latheofheaven 2014-09-19 00:58:30)

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Ah...  Thank you for your excellent answer!  It's really weird because I just ran into my second MKV encode that also did not show any encoding parameters in MediaInfo.  I'll try what you said.  How do I input the stream (you mean the extracted .264 file, NOT the full MKV file, right?) into your program here.  I have NO idea how to do that?

I will look up the information though that you have included.

Thanks again!

P.S:  I guess this guy has figured out, like you said, how to hide the settings he used in his encode.  Too bad; I REALLY wanted to see how he did his encodes.

***EDIT

I went to the VideoHelp site and I could see that you were discussing a similar thought there.  May I ask please, how do I use the parse_x264?  Do I do it as a CMD line code?  If so, could you please give me the syntax to use?  Thank you!

69

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Just checked, I mixed up mis2x264 with MKV Cutter (this one uses h264_parse). smile
-> best way to get some basic infos about the file would be to extract the raw stream and feed that to h264_parse.

Too bad; I REALLY wanted to see how he did his encodes.

Normally it's not the encoder which does any magic it's the filtering before the encoding. wink

70

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Selur wrote:

Just checked, I mixed up mis2x264 with MKV Cutter (this one uses h264_parse). smile
-> best way to get some basic infos about the file would be to extract the raw stream and feed that to h264_parse.

Too bad; I REALLY wanted to see how he did his encodes.

Normally it's not the encoder which does any magic it's the filtering before the encoding. wink

Yes, you are quite right; I have done some rudimentary stuff like that myself with filtering and it can make a lot of difference.

Would you mind telling me the exact CMD line code please how I can use h264_parse and I will give it a try.

71

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

h264_parse doesn't have any additional options, so a simple:

h264_parse "path to input .264"

should do the trick

72 (edited by latheofheaven 2014-09-19 02:31:28)

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Selur wrote:

h264_parse doesn't have any additional options, so a simple:

h264_parse "path to input .264"

should do the trick

Thanks kindly!  I'll give it a try smile

Oh, do I have to put in the path TO h264_parse? (wherever that is)

73 (edited by latheofheaven 2014-09-19 02:41:18)

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Yeah, I'm getting an error; I THINK that I hafta tell it where h264_parse is (I don't think I KNOW where it is...  smile )

74

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Do the following
a. download h264_parse (I attached a version to the thread, I linked to)
b. extract it into a folder
c. open a terminal and navigate to the folder you extracted it to
d. extract the raw .264 stream from your source
e. call h264_parse

75

Re: Mis2x264 - MediaInfo Encoding settings to x264 cli

Selur wrote:

Do the following
a. download h264_parse (I attached a version to the thread, I linked to)
b. extract it into a folder
c. open a terminal and navigate to the folder you extracted it to
d. extract the raw .264 stream from your source
e. call h264_parse

Thanks!  I'll give it a try; so now I can use the exact syntax you gave me before.  When you say (c.) above, do you mean that I tell it in the CMD line where the h264_parse is?  So, my very first line in dos would be the same as you stated above, except that I would now show the FULL path to the newly acquired h264_parse, correct?