Advertisement
Guest User

ffmpeg rotate and overlay

a guest
Jun 1st, 2015
316
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.62 KB | None | 0 0
  1. ffmpeg -y -f lavfi -i "smptebars=duration=6.3:size=640x480" -f lavfi -i "smptebars=duration=6.3:size=320x240" -filter_complex "[1:v]rotate=n/25:c=none:ow=rotw(iw):oh=roth(ih)[b]; [0:v][b]overlay=120:50" z.mkv
  2.  
  3. ffmpeg version N-72566-gd8bbb99 Copyright (c) 2000-2015 the FFmpeg developers
  4. built with gcc 4.9.2 (GCC)
  5. 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-libmfx --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
  6. libavutil 54. 26.101 / 54. 26.101
  7. libavcodec 56. 41.101 / 56. 41.101
  8. libavformat 56. 34.100 / 56. 34.100
  9. libavdevice 56. 4.100 / 56. 4.100
  10. libavfilter 5. 16.101 / 5. 16.101
  11. libswscale 3. 1.101 / 3. 1.101
  12. libswresample 1. 1.100 / 1. 1.100
  13. libpostproc 53. 3.100 / 53. 3.100
  14. Input #0, lavfi, from 'smptebars=duration=6.3:size=640x480':
  15. Duration: N/A, start: 0.000000, bitrate: N/A
  16. Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
  17. Input #1, lavfi, from 'smptebars=duration=6.3:size=320x240':
  18. Duration: N/A, start: 0.000000, bitrate: N/A
  19. Stream #1:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 320x240 [SAR 1:1 DAR 4:3], 25 tbr, 25 tbn, 25 tbc
  20. [libx264 @ 05fdcd20] using SAR=1/1
  21. [libx264 @ 05fdcd20] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
  22. [libx264 @ 05fdcd20] profile High, level 3.0
  23. [libx264 @ 05fdcd20] 264 - core 146 r2538 121396c - H.264/MPEG-4 AVC codec - Copyleft 2003-2015 - http://www.videolan.org/x264.html - options: 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=12 lookahead_threads=2 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=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
  24. Output #0, matroska, to 'z.mkv':
  25. Metadata:
  26. encoder : Lavf56.34.100
  27. Stream #0:0: Video: h264 (libx264) (H264 / 0x34363248), yuv420p, 640x480 [SAR 1:1 DAR 4:3], q=-1--1, 25 fps, 1k tbn, 25 tbc (default)
  28. Metadata:
  29. encoder : Lavc56.41.101 libx264
  30. Stream mapping:
  31. Stream #0:0 (rawvideo) -> overlay:main
  32. Stream #1:0 (rawvideo) -> rotate
  33. overlay -> Stream #0:0 (libx264)
  34. Press [q] to stop, [?] for help
  35. frame= 124 fps=0.0 q=28.0 size= 447kB time=00:00:02.64 bitrate=1385.9kbits/s
  36. frame= 158 fps=0.0 q=-1.0 Lsize= 1087kB time=00:00:06.24 bitrate=1426.4kbits/s
  37. video:1085kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.167459%
  38. [libx264 @ 05fdcd20] frame I:3 Avg QP:16.43 size: 17580
  39. [libx264 @ 05fdcd20] frame P:101 Avg QP:26.66 size: 7205
  40. [libx264 @ 05fdcd20] frame B:54 Avg QP:29.64 size: 6104
  41. [libx264 @ 05fdcd20] consecutive B-frames: 48.1% 13.9% 15.2% 22.8%
  42. [libx264 @ 05fdcd20] mb I I16..4: 60.1% 6.6% 33.3%
  43. [libx264 @ 05fdcd20] mb P I16..4: 7.7% 3.7% 5.4% P16..4: 12.1% 6.1% 3.9% 0.0% 0.0% skip:61.1%
  44. [libx264 @ 05fdcd20] mb B I16..4: 0.6% 0.4% 1.3% B16..8: 16.8% 5.0% 1.0% direct:11.9% skip:63.0% L0:45.5% L1:42.9% BI:11.6%
  45. [libx264 @ 05fdcd20] 8x8 transform intra:19.3% inter:20.2%
  46. [libx264 @ 05fdcd20] coded y,uvDC,uvAC intra: 23.9% 61.5% 56.5% inter: 2.2% 17.3% 16.7%
  47. [libx264 @ 05fdcd20] i16 v,h,dc,p: 75% 22% 2% 0%
  48. [libx264 @ 05fdcd20] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 9% 71% 1% 1% 1% 0% 0% 1%
  49. [libx264 @ 05fdcd20] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 12% 64% 17% 1% 1% 1% 2% 1% 2%
  50. [libx264 @ 05fdcd20] i8c dc,h,v,p: 29% 55% 15% 1%
  51. [libx264 @ 05fdcd20] Weighted P-Frames: Y:0.0% UV:0.0%
  52. [libx264 @ 05fdcd20] ref P L0: 64.4% 3.8% 23.9% 7.9%
  53. [libx264 @ 05fdcd20] ref B L0: 85.2% 13.4% 1.4%
  54. [libx264 @ 05fdcd20] ref B L1: 95.4% 4.6%
  55. [libx264 @ 05fdcd20] kb/s:1405.10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement