VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Apr 2012
    Location
    Hungary
    Search PM
    I would like to render my recent project in X264. I would like to keep original properties of the files, so similar quality, frame size, etc. Could you help creating an optimal command line for it? My computer is not extremely powerful, has i5-3210M with Intel HD4000 GPU.

    I have attached a sample from the source.

    The file details from Mediainfo:

    Please be aware of that though Mediainfo detects the video as Interlaced 50i, in fact it is Progressive 25p!!!

    Code:
    General
    ID                                       : 1 (0x1)
    Complete name                            : C:\Users\bencuri\Desktop\sample.ts
    Format                                   : MPEG-TS
    File size                                : 28.1 MiB
    Duration                                 : 10 s 40 ms
    Overall bit rate mode                    : Variable
    Overall bit rate                         : 23.4 Mb/s
    Maximum Overall bit rate                 : 35.5 Mb/s
    Recorded date                            : 2011-09-09 17:48:02+01:00
    Writing application                      : Canon
    
    Video
    ID                                       : 4113 (0x1011)
    Menu ID                                  : 1 (0x1)
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4
    Format settings                          : CABAC / 2 Ref Frames
    Format settings, CABAC                   : Yes
    Format settings, Reference frames        : 2 frames
    Format settings, GOP                     : M=3, N=12
    Codec ID                                 : 27
    Duration                                 : 10 s 0 ms
    Bit rate mode                            : Variable
    Bit rate                                 : 22.0 Mb/s
    Maximum bit rate                         : 22.7 Mb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate                               : 25.000 FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Interlaced
    Scan type, store method                  : Separated fields
    Scan order                               : Top Field First
    Bits/(Pixel*Frame)                       : 0.424
    Stream size                              : 26.2 MiB (93%)
    
    Audio
    ID                                       : 4352 (0x1100)
    Menu ID                                  : 1 (0x1)
    Format                                   : AC-3
    Format/Info                              : Audio Coding 3
    Commercial name                          : Dolby Digital
    Codec ID                                 : 129
    Duration                                 : 9 s 920 ms
    Bit rate mode                            : Constant
    Bit rate                                 : 256 kb/s
    Channel(s)                               : 2 channels
    Channel layout                           : L R
    Sampling rate                            : 48.0 kHz
    Frame rate                               : 31.250 FPS (1536 SPF)
    Compression mode                         : Lossy
    Stream size                              : 310 KiB (1%)
    Service kind                             : Complete Main
    Thank you in advance!
    Image Attached Files
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Use MKVtoolnix to create an MKV form your .ts file

    Create a simple avs script like this:
    Code:
    lwlibavvideosource("C:\pathto\sample.mkv")
    assumefps(25)
    Open a cmd prompt and run x264 like this:
    Code:
    "c:\pathto\x264.exe" --preset "faster" --crf 20 --output "c:\pathto\new.mkv" "c:\pathto\input_avs"
    Or use a GUI like Virtualdub2
    Quote Quote  



Similar Threads

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