Created
January 5, 2014 15:39
-
-
Save msg7086/8269722 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ eac3to 陈妍希\ -\ 孩子气.m2ts 1:a.h264 2:a.wav | |
M2TS, 1 video track, 1 audio track, 0:04:13, 25p | |
1: h264/AVC, 1080p25 (16:9) | |
2: RAW/PCM, 2.0 channels, 16 bits, 48kHz | |
v01 Extracting video track number 1... | |
a02 Extracting audio track number 2... | |
a02 Reading RAW/PCM... | |
a02 Swapping endian... | |
a02 Writing WAV... | |
v01 Creating file "a.h264"... | |
a02 Creating file "a.wav"... | |
a02 The original audio track has a constant bit depth of 16 bits. | |
Video track 1 contains 6313 frames. | |
eac3to processing took 8 seconds. | |
Done. | |
$ MP4Box -add a.h264 a.mp4 | |
AVC-H264 import - frame size 1920 x 1080 at 25.000 FPS | |
AVC Import results: 6313 samples - Slices: 2108 I 8416 P 14728 B - 6313 SEI - 2108 IDR | |
Stream uses forward prediction - stream CTS offset: 2 frames | |
Saving to a.mp4: 0.500 secs Interleaving | |
$ x264 --demuxer lavf --crf 23 --threads 6 --preset slow --tune film --force-cfr --vf resize:1280,720 -o a.v.mp4 a.mp4 | |
lavf [info]: | |
Format : mov,mp4,m4a,3gp,3g2,mj2 | |
Codec : h264 ( H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 ) | |
PixFmt : yuv420p | |
Framerate : 25/1 | |
Timebase : 1/100000 | |
Duration : 0:04:12 | |
lavf [info]: 1920x1080p 1:1 @ 25/1 fps (cfr) | |
lavf [info]: color matrix: bt709 | |
resize [info]: resizing to 1280x720 | |
x264 [info]: using SAR=1/1 | |
x264 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX | |
x264 [info]: profile High, level 3.1 | |
x264 [info]: cabac=1 ref=5 deblock=1:-1:-1 analyse=0x3:0x113 me=umh subme=8 psy=1 fade_compensate=0.00 psy_rd=1.00:0.15 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-3 threads=6 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 fgo=0 bframes=3 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=50 rc=crf mbtree=1 crf=23.0000 qcomp=0.60 qpmin=0:0:0 qpmax=69:69:69 qpstep=4 ip_ratio=1.40 aq=1:1.00 aq-sensitivity=10.00 aq-factor=1.00:1.00:1.00 aq2=0 aq3=0 | |
x264 [info]: started at Sun Jan 5 07:33:13 2014 | |
x264 [info]: frame I:57 Avg QP:16.92 size: 48311 | |
x264 [info]: frame P:1859 Avg QP:21.34 size: 9255 | |
x264 [info]: frame B:4397 Avg QP:22.84 size: 2386 | |
x264 [info]: consecutive B-frames: 3.5% 5.4% 16.3% 74.7% | |
x264 [info]: mb I I16..4: 26.4% 61.7% 11.9% | |
x264 [info]: mb P I16..4: 5.2% 10.1% 0.8% P16..4: 27.1% 6.0% 3.5% 0.0% 0.0% skip:47.3% | |
x264 [info]: mb B I16..4: 0.4% 0.8% 0.1% B16..8: 21.5% 1.8% 0.2% direct: 1.5% skip:73.7% L0:39.4% L1:56.5% BI: 4.1% | |
x264 [info]: 8x8 transform intra:62.6% inter:89.2% | |
x264 [info]: direct mvs spatial:99.9% temporal:0.1% | |
x264 [info]: coded y,uvDC,uvAC intra: 39.5% 51.6% 13.3% inter: 5.3% 10.1% 0.1% | |
x264 [info]: i16 v,h,dc,p: 34% 23% 6% 37% | |
x264 [info]: i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 13% 10% 15% 8% 11% 11% 11% 10% 11% | |
x264 [info]: i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 11% 6% 8% 14% 14% 12% 10% 11% | |
x264 [info]: i8c dc,h,v,p: 43% 28% 18% 11% | |
x264 [info]: Weighted P-Frames: Y:7.4% UV:6.6% | |
x264 [info]: ref P L0: 59.9% 10.7% 17.7% 5.5% 5.1% 1.0% 0.0% | |
x264 [info]: ref B L0: 86.4% 9.6% 3.2% 0.9% | |
x264 [info]: ref B L1: 96.2% 3.8% | |
x264 [info]: kb/s:964.72 | |
remux [100.00%], 29814/29814 KiB, 1462652 KiB/s, total elapsed 0:00:00 | |
encoded 6313 frames, 30.97 fps, 964.74 kb/s, 29.04 MB | |
x264 [info]: ended at Sun Jan 5 07:36:37 2014 | |
x264 [info]: encoding duration 0:03:24 | |
$ qaac --tvbr 100 a.wav | |
qaac 2.19, CoreAudioToolbox 7.9.7.8 | |
a.m4a | |
AAC-LC Encoder, TVBR q100, Quality 96 | |
[100.0%] 4:12.560/4:12.560 (29.4x), ETA 0:00.000 | |
12122880/12122880 samples processed in 0:08.580 | |
Overall bitrate: 168.615kbps | |
$ remuxer -i a.v.mp4 -i a.m4a -o final.mp4 | |
Remuxing completed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment