[FFmpeg-user] problem with -txt_top

Peter M√ľnster pmlists at free.fr
Sun Jun 19 10:13:25 CEST 2016


On Sat, Jun 18 2016, Carl Eugen Hoyos wrote:

> Please post the command line you tested together with the complete, 
> uncut console output here on the mailing list.

Hi,

Here is the output for -txt_top = 10:

--8<---------------cut here---------------start------------->8---
$ ffmpeg -y -txt_page 149 -txt_top 10 -i 00001.ts -filter_complex [0:v][0:s:0]overlay[v] -map [v] -map 0:a:0 -preset faster -crf 20 output.mp4
ffmpeg version 3.0.2 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5 (SUSE Linux)
  configuration: --enable-libzvbi --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags='-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' --optflags='-O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables' --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-runtime-cpudetect --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-pic --enable-pthreads --enable-vaapi --enable-vdpau --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-libtwolame --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab
  libavutil      55. 17.103 / 55. 17.103
  libavcodec     57. 24.102 / 57. 24.102
  libavformat    57. 25.100 / 57. 25.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 31.100 /  6. 31.100
  libavresample   3.  0.  0 /  3.  0.  0
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Input #0, mpegts, from '00001.ts':
  Duration: 00:00:47.92, start: 71891.949811, bitrate: 5213 kb/s
  Program 132 
    Stream #0:0[0x5ff]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv), 720x576 [SAR 64:45 DAR 16:9], max. 15000 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc
    Stream #0:1[0x600](deu): Audio: mp2 ([3][0][0][0] / 0x0003), 48000 Hz, stereo, s16p, 192 kb/s
    Stream #0:2[0x25](deu): Subtitle: dvb_teletext ([6][0][0][0] / 0x0006), 492x250
[libx264 @ 0x146d8a0] using SAR=64/45
[libx264 @ 0x146d8a0] using cpu capabilities: MMX2 SSE2Fast LZCNT
[libx264 @ 0x146d8a0] profile High, level 3.0
[libx264 @ 0x146d8a0] 264 - core 148 - H.264/MPEG-4 AVC codec - Copyleft 2003-2016 - http://www.videolan.org/x264.html - options: cabac=1 ref=2 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=4 psy=1 psy_rd=1.00:0.00 mixed_ref=0 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=0 threads=6 lookahead_threads=1 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=1 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=20 rc=crf mbtree=1 crf=20.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'output.mp4':
  Metadata:
    encoder         : Lavf57.25.100
    Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 720x576 [SAR 64:45 DAR 16:9], q=-1--1, 25 fps, 12800 tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc57.24.102 libx264
    Side data:
      unknown side data type 10 (24 bytes)
    Stream #0:1(deu): Audio: aac (LC) ([64][0][0][0] / 0x0040), 48000 Hz, stereo, fltp, 128 kb/s
    Metadata:
      encoder         : Lavc57.24.102 aac
Stream mapping:
  Stream #0:0 (mpeg2video) -> overlay:main (graph 0)
  Stream #0:2 (libzvbi_teletextdec) -> overlay:overlay (graph 0)
  overlay (graph 0) -> Stream #0:0 (libx264)
  Stream #0:1 -> #0:1 (mp2 (native) -> aac (native))
Press [q] to stop, [?] for help
sub2video: rectangle (0 20 492 240) overflowing 492 2501.05 bitrate= 243.4kbits/s speed=2.08x    
sub2video: rectangle (0 20 492 240) overflowing 492 2503.64 bitrate=1674.7kbits/s speed=1.74x    
sub2video: rectangle (0 20 492 240) overflowing 492 2508.12 bitrate=1721.2kbits/s speed=1.76x    
sub2video: rectangle (0 20 492 240) overflowing 492 2500.91 bitrate=1750.3kbits/s speed=1.78x    
sub2video: rectangle (0 20 492 240) overflowing 492 2504.58 bitrate=1880.1kbits/s speed=1.77x    
sub2video: rectangle (0 20 492 240) overflowing 492 2507.91 bitrate=1861.9kbits/s speed=1.74x    
sub2video: rectangle (0 20 492 240) overflowing 492 2502.45 bitrate=1853.4kbits/s speed=1.75x    
sub2video: rectangle (0 20 492 240) overflowing 492 2506.25 bitrate=1853.4kbits/s speed=1.77x    
sub2video: rectangle (0 20 492 240) overflowing 492 2508.98 bitrate=1873.7kbits/s speed=1.76x    
sub2video: rectangle (0 20 492 240) overflowing 492 2502.44 bitrate=1899.2kbits/s speed=1.75x    
sub2video: rectangle (0 20 492 240) overflowing 492 2506.47 bitrate=1893.9kbits/s speed=1.77x    
sub2video: rectangle (0 20 492 240) overflowing 492 2509.92 bitrate=1881.9kbits/s speed=1.76x    
sub2video: rectangle (0 20 492 240) overflowing 492 2503.53 bitrate=1882.3kbits/s speed=1.76x    
sub2video: rectangle (0 20 492 240) overflowing 492 2505.56 bitrate=1879.2kbits/s speed=1.77x    
frame= 1906 fps= 60 q=-1.0 Lsize=   11410kB time=00:01:16.16 bitrate=1227.3kbits/s dup=707 drop=0 speed=2.38x    
video:10573kB audio:794kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.389365%
[libx264 @ 0x146d8a0] frame I:15    Avg QP:16.89  size: 38728
[libx264 @ 0x146d8a0] frame P:687   Avg QP:19.02  size:  9317
[libx264 @ 0x146d8a0] frame B:1204  Avg QP:21.97  size:  3193
[libx264 @ 0x146d8a0] consecutive B-frames:  3.0% 32.5% 17.5% 47.0%
[libx264 @ 0x146d8a0] mb I  I16..4:  7.5% 56.4% 36.1%
[libx264 @ 0x146d8a0] mb P  I16..4:  4.0% 25.5%  1.1%  P16..4: 21.4%  9.2%  3.5%  0.0%  0.0%    skip:35.3%
[libx264 @ 0x146d8a0] mb B  I16..4:  1.5% 10.2%  0.0%  B16..8: 13.9%  2.5%  0.1%  direct: 9.6%  skip:62.3%  L0:41.5% L1:38.6% BI:19.9%
[libx264 @ 0x146d8a0] 8x8 transform intra:83.7% inter:77.9%
[libx264 @ 0x146d8a0] coded y,uvDC,uvAC intra: 76.7% 49.8% 5.7% inter: 15.0% 11.7% 0.2%
[libx264 @ 0x146d8a0] i16 v,h,dc,p: 34% 12% 34% 20%
[libx264 @ 0x146d8a0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23%  9% 53%  2%  2%  2%  2%  3%  2%
[libx264 @ 0x146d8a0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 14% 15%  3%  8%  8%  5%  9%  6%
[libx264 @ 0x146d8a0] i8c dc,h,v,p: 53% 16% 29%  2%
[libx264 @ 0x146d8a0] Weighted P-Frames: Y:0.7% UV:0.0%
[libx264 @ 0x146d8a0] ref P L0: 71.3% 28.7%
[libx264 @ 0x146d8a0] ref B L0: 71.6% 28.4%
[libx264 @ 0x146d8a0] ref B L1: 97.6%  2.4%
[libx264 @ 0x146d8a0] kb/s:1135.95
[aac @ 0x146e820] Qavg: 722.240
--8<---------------cut here---------------end--------------->8---

-- 
           Peter



More information about the ffmpeg-user mailing list