Thread: FFmpegSource
View Single Post
Old 14th January 2012, 14:15   #1407  |  Link
Sparktank
47.952fps@71.928Hz
 
Sparktank's Avatar
 
Join Date: Mar 2011
Posts: 940
Quote:
Originally Posted by Atak_Snajpera View Post
could you try with x264 cli?
I did with a very simple function.
(x264 build: x264 core:120 r2120 0c7dab9(from http://x264.nl/))

Code:
x264 --crf 19 -o "E:\Work\test_cli.mkv" E:\Work\video.mkv"

D:\App Bin\x264\32bit 8bit-depth>x264 --crf 19 -o "E:\Work\test_cli.mkv" E:\Work\video.mkv"
ffms [info]: 1920x1080p 1:1 @ 24000/1001 fps (vfr)
x264 [info]: using SAR=1/1
x264 [info]: using cpu capabilities: MMX2 SSE2Slow SlowCTZ
x264 [info]: profile High, level 4.0
x264 [info]: frame I:12    Avg QP: 9.09  size: 56780
x264 [info]: frame P:865   Avg QP:18.32  size: 38949
x264 [info]: frame B:720   Avg QP:23.24  size:  5039
x264 [info]: consecutive B-frames: 35.1% 13.1%  3.9% 47.8%
x264 [info]: mb I  I16..4: 61.0% 30.5%  8.5%
x264 [info]: mb P  I16..4:  4.7%  6.2%  1.2%  P16..4: 25.3% 10.3%  5.4%  0.0%  0.0%    skip:47.0%
x264 [info]: mb B  I16..4:  0.3%  0.1%  0.0%  B16..8:  8.9%  1.4%  0.4%  direct: 1.2%  skip:87.7%  L0:32.8% L1:48.0% BI:19.2%
x264 [info]: 8x8 transform intra:48.8% inter:67.8%
x264 [info]: coded y,uvDC,uvAC intra: 43.6% 47.6% 22.8% inter: 12.9% 11.1% 1.7%
x264 [info]: i16 v,h,dc,p: 72% 13%  4% 11%
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 15% 13% 32%  6%  8%  8%  5%  5%  8%
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 19% 21% 25%  6%  7%  6%  6%  4%  6%
x264 [info]: i8c dc,h,v,p: 64% 16% 17%  3%
x264 [info]: Weighted P-Frames: Y:15.3% UV:9.1%
x264 [info]: ref P L0: 65.8% 16.8% 12.5%  4.6%  0.3%
x264 [info]: ref B L0: 87.8% 10.2%  2.0%
x264 [info]: ref B L1: 96.7%  3.3%
x264 [info]: kb/s:4563.98

encoded 1597 frames, 3.88 fps, 4564.06 kb/s
Media Info of resulting CLI encode:
Code:
General
Complete name                    : E:\Work\test_cli.mkv
Format                           : Matroska
Format version                   : Version 2
File size                        : 36.3 MiB
Duration                         : 1mn 6s
Overall bit rate                 : 4 568 Kbps
Writing application              : x264 r2120 0c7dab9
Writing library                  : Haali Matroska Writer b0

Video
ID                               : 1
Format                           : AVC
Format/Info                      : Advanced Video Codec
Format profile                   : High@L4.0
Format settings, CABAC           : Yes
Format settings, ReFrames        : 4 frames
Codec ID                         : V_MPEG4/ISO/AVC
Duration                         : 1mn 6s
Bit rate                         : 4 478 Kbps
Width                            : 1 920 pixels
Height                           : 1 080 pixels
Display aspect ratio             : 16:9
Frame rate mode                  : Constant
Frame rate                       : 1.199 fps
Color space                      : YUV
Chroma subsampling               : 4:2:0
Bit depth                        : 8 bits
Scan type                        : Progressive
Bits/(Pixel*Frame)               : 1.801
Stream size                      : 35.6 MiB (98%)
Writing library                  : x264 core 120 r2120 0c7dab9
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=3 / 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=23 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=crf / mbtree=1 / crf=19.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                         : English
Default                          : Yes
Forced                           : No
Although it does not load the resulting MKV in VDub, it gives an error that there is "no video". I'm not sure about that, will have to investigate that.

But eac3to was able demux the resulting video to elementary stream of x264.
I loaded the ES x264 into "DGAVCIndex" and saved the project.
However...
The fps turned out to be a constant 25fps...

Code:
Stream Type: AVC Elementary
Profile: High
Level: 4
Frame Size: 1920x1080
SAR: 1:1
Display Size: 1920x1080
Frame Rate: 25.000000 fps
Colorimetry: BT.709* [2]
Frame Structure: Frame
Frame Type: not yet
Coded Number: 250
Playback Number: 250
Frame Repeats: 0
Field Repeats: 0
Bitrate: 10.391
Bitrate (Avg): 6.519
Bitrate (Max): 11.388
Elapsed: 0:00:00
Remain: 0:00:00
FPS: 
Info: Finished!
I've never really used the CLI before on its own.
I usually use Vdub or other with it ^_____^

Here's the resulting video in MKV format, using x264 (core:120 r2120 0c7dab9)...

Code:
deleted, uploading proper converted file
__________________
Win10 (x64) build 19041
NVIDIA GeForce GTX 1060 3GB (GP106) 3071MB/GDDR5 | (r435_95-4)
NTSC | DVD: R1 | BD: A
AMD Ryzen 5 2600 @3.4GHz (6c/12th, I'm on AVX2 now!)

Last edited by Sparktank; 14th January 2012 at 21:35.
Sparktank is offline   Reply With Quote