VideoHelp Forum




+ Reply to Thread
Results 1 to 4 of 4
  1. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Hello. I am trying to write specifically a GUI utility to cut and splice a video and re-encode only the part in front of the key index frames. My thought is this will allow cutting a specific frames and not just at index frames. I can pull all the codec specifics like Cabac, deblock, etc. as well as size, bitrate, etc.. This leaves me with a couple questions.

    1. Do I need to set all the parameters shown in MediaInfo codec settings need to be set, or can some of them be left out and still be compatible?

    2. I know Cabac is set with the 'Loader=x' preset but I can find no information on setting 'analyze' or what the settings for it means.
    (deblock=1:0:0 / analyse=0x1:0x111 / me=hex )
    If Anyone knows about this, I would greatly appreciate help with this information.

    3. Does the re-encode portion need to be the same pattern such as IBBPIBBP or can it be different as long as it leads with an I frame such as IBBPIB making the segment IBBPIBBP -> IBBPIB -> IBBPIBBP {Re-encode portion in red}?

    I'm sure I will have more questions before the utility works since my knowledge in this, even reading a lot, is limited so I will undoubtedly be back with more. I know many people have wanted this feature in a free program and I am hoping to create it and maybe add more codecs, VFR, etc. eventually.

    Thanks in advance for any help.
    Bud
    Quote Quote  
  2. Originally Posted by Budman1 View Post

    1. Do I need to set all the parameters shown in MediaInfo codec settings need to be set, or can some of them be left out and still be compatible?
    1) not necessarily... But most parameters usually have an entry, even if it's omitted from the commandline

    But sometimes even if the parameters match, x264 version matches, there are still problems with union...



    1b) selur made a utility to match x264 settings from a mediainfo string, mis2x264 (and mis2x265 for x265)

    2. I know Cabac is set with the 'Loader=x' preset but I can find no information on setting 'analyze' or what the settings for it means.
    (deblock=1:0:0 / analyse=0x1:0x111 / me=hex )
    If Anyone knows about this, I would greatly appreciate help with this information.
    What is loader=x ??

    those mediainfo analyse results are --partitions i4x4,i8x8,p8x8,b8x8



    3. Does the re-encode portion need to be the same pattern such as IBBPIBBP or can it be different as long as it leads with an I frame such as IBBPIB making the segment IBBPIBBP -> IBBPIB -> IBBPIBBP {Re-encode portion in red}?
    No, can be different pattern as long as those adjacent GOP's are closed GOPs

    (Unless there are additional constraints , such as some device profiles, BD etc... might have certain frametype or GOP length constraints, along with VBV restrictions)


    Looking forward to the utility!
    Quote Quote  
  3. Member Budman1's Avatar
    Join Date
    Jul 2012
    Location
    NORTHWEST ILLINOIS, USA
    Search Comp PM
    Great News! and Great work Selur. Half Work is done for me... now to make it GUI and work/ lol
    Quote Quote  
  4. Don't forget not every H.264 encode has the x264 custom SEI with settings. And MediaInfo doesn't show everything important (pic_init_qp_minus26 isn't shown but very important for compatibility).
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!