Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ffmpeg -v 8 -loglevel verbose -hwaccel auto -i VTS_CON.mpg -map 0:0 -vcodec libx265 -preset medium -vf "fieldmatch=order=tff:combmatch=none, pullup, fps=24000/1001" -pix_fmt yuv420p -x265-params -crf=0 -map 0:1 -acodec aac -strict experimental -b:a 192k -ac 2 -ar 48000 -threads 8 -f mp4 VTS_01_FIN_crf.mp4 2> out.txt
- Whatever i choose, 0, 18, 20, 25 ... it always encodes with 300 to 400 kbps
- --------------------------------------------------------------
- ffmpeg version N-76137-gb0bb1dc Copyright (c) 2000-2015 the FFmpeg developers
- built with gcc 5.2.0 (GCC)
- configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
- libavutil 55. 4.100 / 55. 4.100
- libavcodec 57. 7.100 / 57. 7.100
- libavformat 57. 8.102 / 57. 8.102
- libavdevice 57. 0.100 / 57. 0.100
- libavfilter 6. 12.100 / 6. 12.100
- libswscale 4. 0.100 / 4. 0.100
- libswresample 2. 0.100 / 2. 0.100
- libpostproc 54. 0.100 / 54. 0.100
- Routing option strict to both codec and muxer layer
- [mpegts @ 00000000004a4f20] max_analyze_duration 5000000 reached at 5004667 microseconds st:0
- Input #0, mpegts, from 'VTS_CON.mpg':
- Duration: 02:03:10.98, start: 1.433367, bitrate: 3667 kb/s
- Program 1
- Metadata:
- service_name : Service01
- service_provider: FFmpeg
- Stream #0:0[0x100]: Video: mpeg2video (Main), 1 reference frame ([2][0][0][0] / 0x0002), yuv420p(tv), 720x480 [SAR 32:27 DAR 16:9], max. 9008 kb/s, 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
- Stream #0:1[0x101]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 192 kb/s
- [Parsed_fps_2 @ 00000000004a3920] fps=24000/1001
- [graph 0 input from stream 0:0 @ 0000000002b1f900] w:720 h:480 pixfmt:yuv420p tb:1/90000 fr:30000/1001 sar:32/27 sws_param:flags=2
- [graph 1 input from stream 0:1 @ 0000000002b09680] tb:1/48000 samplefmt:fltp samplerate:48000 chlayout:0x3
- [libx265 @ 0000000002b1b060] Unknown option: -crf.
- x265 [info]: HEVC encoder version 1.8+1-5dcc9d3a928c400b
- x265 [info]: build info [Windows][GCC 5.2.0][64 bit] 8bit
- x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
- x265 [info]: Main profile, Level-3 (Main tier)
- x265 [info]: Thread pool created using 8 threads
- x265 [info]: frame threads / pool features : 8 / wpp(8 rows)
- x265 [info]: Coding QT: max CU size, min CU size : 64 / 8
- x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
- x265 [info]: ME / range / subpel / merge : hex / 57 / 2 / 2
- x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
- x265 [info]: Lookahead / bframes / badapt : 20 / 4 / 2
- x265 [info]: b-pyramid / weightp / weightb : 1 / 1 / 0
- x265 [info]: References / ref-limit cu / depth : 3 / 0 / 0
- x265 [info]: AQ: mode / str / qg-size / cu-tree : 1 / 1.0 / 32 / 1
- x265 [info]: Rate Control / qCompress : CRF-28.0 / 0.60
- x265 [info]: tools: rd=3 psy-rd=0.30 signhide tmvp strong-intra-smoothing
- x265 [info]: tools: deblock sao
- Output #0, mp4, to 'VTS_01_FIN_crf.mp4':
- Metadata:
- encoder : Lavf57.8.102
- Stream #0:0: Video: hevc (libx265), 1 reference frame ([35][0][0][0] / 0x0023), yuv420p, 720x480 [SAR 32:27 DAR 16:9], q=2-31, 23.98 fps, 24k tbn, 23.98 tbc
- Metadata:
- encoder : Lavc57.7.100 libx265
- Stream #0:1: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 192 kb/s
- Metadata:
- encoder : Lavc57.7.100 aac
- Stream mapping:
- Stream #0:0 -> #0:0 (mpeg2video (native) -> hevc (libx265))
- Stream #0:1 -> #0:1 (ac3 (native) -> aac (native))
- Press [q] to stop, [?] for help
- Input stream #0:0 frame changed from size:720x480 fmt:yuv420p to size:720x480 fmt:nv12
- [Parsed_fps_2 @ 00000000004a3920] 0 frames in, 0 frames out; 0 frames dropped, 0 frames duplicated.
- [Parsed_fps_2 @ 0000000002b09bc0] fps=24000/1001
- [graph 0 input from stream 0:0 @ 0000000002b09c80] w:720 h:480 pixfmt:nv12 tb:1/90000 fr:30000/1001 sar:32/27 sws_param:flags=2
- [scaler for output stream 0:0 @ 0000000002b09e00] w:720 h:480 flags:'bicubic' interl:0
- [auto-inserted scaler 0 @ 0000000002b09f80] w:iw h:ih flags:'bicubic' interl:0
- [Parsed_fieldmatch_0 @ 0000000002b09a40] auto-inserting filter 'auto-inserted scaler 0' between the filter 'graph 0 input from stream 0:0' and the filter 'Parsed_fieldmatch_0'
- [auto-inserted scaler 0 @ 0000000002b09f80] w:720 h:480 fmt:nv12 sar:32/27 -> w:720 h:480 fmt:yuv420p sar:32/27 flags:0x4
- [scaler for output stream 0:0 @ 0000000002b09e00] w:720 h:480 fmt:yuv420p sar:32/27 -> w:720 h:480 fmt:yuv420p sar:32/27 flags:0x4
- *** 1 dup!
- frame= 61 fps=0.0 q=-0.0 size= 17kB time=00:00:02.60 bitrate= 54.0kbits/s dup=1 drop=0
- frame= 109 fps=107 q=-0.0 size= 126kB time=00:00:04.58 bitrate= 225.1kbits/s dup=1 drop=0
- frame= 143 fps= 94 q=-0.0 size= 218kB time=00:00:06.10 bitrate= 292.4kbits/s dup=1 drop=0
- frame= 183 fps= 90 q=-0.0 size= 320kB time=00:00:07.65 bitrate= 341.9kbits/s dup=1 drop=0
- frame= 219 fps= 87 q=-0.0 size= 403kB time=00:00:09.17 bitrate= 360.1kbits/s dup=1 drop=0
- frame= 249 fps= 82 q=-0.0 size= 484kB time=00:00:10.51 bitrate= 377.4kbits/s dup=1 drop=0
- frame= 289 fps= 82 q=-0.0 size= 597kB time=00:00:12.05 bitrate= 405.9kbits/s dup=1 drop=0
- frame= 335 fps= 83 q=-0.0 size= 693kB time=00:00:13.97 bitrate= 406.2kbits/s dup=1 drop=0
- frame= 371 fps= 77 q=-0.0 Lsize= 870kB time=00:00:15.61 bitrate= 456.5kbits/s dup=1 drop=0
- video:502kB audio:355kB subtitle:0kB other streams:0kB global headers:1kB muxing overhead: 1.466808%
- Input file #0 (VTS_CON.mpg):
- Input stream #0:0 (video): 374 packets read (6356585 bytes); 374 frames decoded;
- Input stream #0:1 (audio): 488 packets read (374784 bytes); 488 frames decoded (749568 samples);
- Total: 862 packets (6731369 bytes) demuxed
- Output file #0 (VTS_01_FIN_crf.mp4):
- Output stream #0:0 (video): 371 frames encoded; 371 packets muxed (514289 bytes);
- Output stream #0:1 (audio): 732 frames encoded (749568 samples); 733 packets muxed (364013 bytes);
- Total: 1104 packets (878302 bytes) muxed
- [Parsed_fps_2 @ 0000000002b09bc0] 186 frames in, 370 frames out; 1 frames dropped, 185 frames duplicated.
- x265 [info]: frame I: 2, Avg QP:26.54 kb/s: 2288.08
- x265 [info]: frame P: 104, Avg QP:28.73 kb/s: 793.85
- x265 [info]: frame B: 265, Avg QP:33.60 kb/s: 42.35
- x265 [info]: Weighted P-Frames: Y:65.4% UV:27.9%
- x265 [info]: consecutive B-frames: 4.7% 18.9% 23.6% 27.4% 25.5%
- encoded 371 frames in 4.84s (76.67 fps), 265.12 kb/s, Avg QP:32.20
- [aac @ 0000000002b1bca0] Qavg: 13575.251
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement