I’m doing long transcodes on my local server to avoid tying up my laptop.
Unfortunately much of the console output gets lost in the process. So I’m
using the report-writing feature of ffmpeg by creating a FFREPORT environment
variable.
This is great, but with libx265, none of the x265 info gets into the report -
it is missing. With libx264, the libx264 output DOES get into the report - it
works fine.
Here is a command and console output from a short transcode with libx265,
followed by the report from the same event:
$ ffmpeg -ss 1:55 -i in1.mkv -t 1:00 -vf crop=1920:820 -c:v libx265 -preset
superfast -b:v 3M -x265-params pass=1 -an -sn -f matroska -y /dev/null
ffmpeg started on 2016-01-09 at 05:43:32
Report written to "ffreport_20160109-054332.log"
ffmpeg version N-76705-g35bbc19 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 7.0.0 (clang-700.1.76)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-nonfree --enable-gpl
--enable-version3 --enable-libmp3lame --enable-libx264 --enable-libx265
--enable-libgsm --enable-libvpx --enable-libfdk-aac --enable-libvorbis
--enable-libass --enable-libfreetype --enable-libfontconfig --enable-libfribidi
--disable-outdevs --disable-ffserver --disable-network
libavutil 55. 6.100 / 55. 6.100
libavcodec 57. 15.100 / 57. 15.100
libavformat 57. 15.100 / 57. 15.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 15.100 / 6. 15.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, matroska,webm, from 'in1.mkv':
Metadata:
title : Star Wars Episode I. The Phantom Menace
encoder : libmakemkv v1.9.8 (1.3.3/1.4.4) darwin(x86-release)
creation_time : 2016-01-08 23:25:14
Duration: 02:16:10.91, start: 0.000000, bitrate: 35525 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR
16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
title : Video
x265 [info]: HEVC encoder version 1.8+1-5dcc9d3a928c400b
x265 [info]: build info [Mac OS X][clang 7.0.0][64 bit] 8bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2
x265 [info]: Main profile, Level-4 (Main tier)
x265 [info]: Thread pool created using 4 threads
x265 [info]: frame threads / pool features : 2 / wpp(26 rows)
x265 [info]: Coding QT: max CU size, min CU size : 32 / 8
x265 [info]: Residual QT: max TU size, max depth : 32 / 1 inter / 1 intra
x265 [info]: ME / range / subpel / merge : dia / 57 / 1 / 1
x265 [info]: Keyframe min / max / scenecut : 23 / 250 / 40
x265 [info]: Lookahead / bframes / badapt : 10 / 3 / 0
x265 [info]: b-pyramid / weightp / weightb : 1 / 0 / 0
x265 [info]: References / ref-limit cu / depth : 1 / 0 / 0
x265 [info]: Rate Control / qCompress : ABR-3000 kbps / 0.60
x265 [info]: tools: rd=2 psy-rd=0.30 early-skip signhide tmvp fast-intra
x265 [info]: tools: strong-intra-smoothing deblock stats-write
Output #0, matroska, to '/dev/null':
Metadata:
title : Star Wars Episode I. The Phantom Menace
encoder : Lavf57.15.100
Chapter #0:0: start 0.000000, end 60.000000
Metadata:
title : Chapter 03
Stream #0:0(eng): Video: hevc (libx265), yuv420p, 1920x820 [SAR 1:1 DAR
96:41], q=2-31, 3000 kb/s, 23.98 fps, 1k tbn, 23.98 tbc
Metadata:
title : Video
encoder : Lavc57.15.100 libx265
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
Press [q] to stop, [?] for help
frame= 1438 fps=8.1 q=-0.0 Lsize= 21236kB time=00:00:59.93
bitrate=2902.6kbits/s
video:21223kB audio:0kB subtitle:0kB other streams:0kB global headers:1kB
muxing overhead: 0.061746%
x265 [info]: frame I: 14, Avg QP:17.30 kb/s: 23750.54
x265 [info]: frame P: 360, Avg QP:18.20 kb/s: 6470.65
x265 [info]: frame B: 1064, Avg QP:20.16 kb/s: 1414.91
x265 [info]: consecutive B-frames: 4.0% 1.1% 1.3% 93.6%
encoded 1438 frames in 177.22s (8.11 fps), 2898.06 kb/s, Avg QP:19.64
********* And the report - notice the x265 info is missing: ***************
ffmpeg started on 2016-01-09 at 05:43:32
Report written to "ffreport_20160109-054332.log"
Command line:
ffmpeg -ss 1:55 -i in1.mkv -t 1:00 -vf "crop=1920:820" -c:v libx265 -preset
superfast -b:v 3M -x265-params "pass=1" -an -sn -f matroska -y /dev/null
ffmpeg version N-76705-g35bbc19 Copyright (c) 2000-2015 the FFmpeg developers
built with Apple LLVM version 7.0.0 (clang-700.1.76)
configuration: --prefix=/Volumes/Ramdisk/sw --enable-nonfree --enable-gpl
--enable-version3 --enable-libmp3lame --enable-libx264 --enable-libx265
--enable-libgsm --enable-libvpx --enable-libfdk-aac --enable-libvorbis
--enable-libass --enable-libfreetype --enable-libfontconfig --enable-libfribidi
--disable-outdevs --disable-ffserver --disable-network
libavutil 55. 6.100 / 55. 6.100
libavcodec 57. 15.100 / 57. 15.100
libavformat 57. 15.100 / 57. 15.100
libavdevice 57. 0.100 / 57. 0.100
libavfilter 6. 15.100 / 6. 15.100
libswscale 4. 0.100 / 4. 0.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, matroska,webm, from 'in1.mkv':
Metadata:
title : Star Wars Episode I. The Phantom Menace
encoder : libmakemkv v1.9.8 (1.3.3/1.4.4) darwin(x86-release)
creation_time : 2016-01-08 23:25:14
Duration: 02:16:10.91, start: 0.000000, bitrate: 35525 kb/s
Stream #0:0(eng): Video: h264 (High), yuv420p, 1920x1080 [SAR 1:1 DAR
16:9], 23.98 fps, 23.98 tbr, 1k tbn, 47.95 tbc
Metadata:
title : Video
[graph 0 input from stream 0:0 @ 0x7ffeca60b120] w:1920 h:1080 pixfmt:yuv420p
tb:1/1000 fr:24000/1001 sar:1/1 sws_param:flags=2
[Parsed_crop_0 @ 0x7ffeca60ad20] w:1920 h:1080 sar:1/1 -> w:1920 h:820 sar:1/1
Output #0, matroska, to '/dev/null':
Metadata:
title : Star Wars Episode I. The Phantom Menace
encoder : Lavf57.15.100
Chapter #0:0: start 0.000000, end 60.000000
Metadata:
title : Chapter 03
Stream #0:0(eng): Video: hevc (libx265), yuv420p, 1920x820 [SAR 1:1 DAR
96:41], q=2-31, 3000 kb/s, 23.98 fps, 1k tbn, 23.98 tbc
Metadata:
title : Video
encoder : Lavc57.15.100 libx265
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> hevc (libx265))
Press [q] to stop, [?] for help
frame= 8 fps=0.0 q=0.0 size= 2kB time=00:00:00.00 bitrate=N/A
—— snip ——
frame= 1436 fps=8.2 q=-0.0 size= 20926kB time=00:00:59.14
bitrate=2898.4kbits/s
No more output streams to write to, finishing.
frame= 1438 fps=8.1 q=-0.0 Lsize= 21236kB time=00:00:59.93
bitrate=2902.6kbits/s
video:21223kB audio:0kB subtitle:0kB other streams:0kB global headers:1kB
muxing overhead: 0.061746%
Input file #0 (/Volumes/Ark.Media/FFstor/in1.mkv):
Input stream #0:0 (video): 1473 packets read (233097335 bytes); 1466 frames
decoded;
Total: 1473 packets (233097335 bytes) demuxed
Output file #0 (/dev/null):
Output stream #0:0 (video): 1438 frames encoded; 1438 packets muxed (21732691
bytes);
Total: 1438 packets (21732691 bytes) muxed
_______________________________________________
ffmpeg-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-user