[FFmpeg-user] ffmpeg pip issues

Lukácsy Gergely Gergely.Lukacsy at streamnet.hu
Tue May 7 13:14:21 CEST 2013


> The repeatlast option was added in April, you are using a version from February.
> 
> Carl Eugen

Hmm, I'll try it with a newer version, thanks for the hint!

Anyways, here's the full command line output regarding case 2:

C:\pip>ffmpeg -y -i pip3.mp4 -i pip2.mp4 -r 25 -t 20 -filter_complex "[1]scale=288:162 [pip];[0][1] amix=inputs=2:durati
on=longest;[0][pip] overlay=main_w-overlay_w-10:10" -b:v 600k -c:v libx264 -f mp4 out00.mp4
ffmpeg version N-49610-gc2dd5a1 Copyright (c) 2000-2013 the FFmpeg developers
  built on Feb  5 2013 13:26:02 with gcc 4.7.2 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfi
g --enable-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-libcaca --enable-libfreetype --enable-libg
sm --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --ena
ble-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-libxv
id --enable-zlib
  libavutil      52. 17.101 / 52. 17.101
  libavcodec     54. 91.100 / 54. 91.100
  libavformat    54. 61.104 / 54. 61.104
  libavdevice    54.  3.103 / 54.  3.103
  libavfilter     3. 35.101 /  3. 35.101
  libswscale      2.  2.100 /  2.  2.100
  libswresample   0. 17.102 /  0. 17.102
  libpostproc    52.  2.100 / 52.  2.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'pip3.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf54.29.104
  Duration: 00:00:10.93, start: 0.000000, bitrate: 872 kb/s
    Stream #0:0(und): Video: mpeg4 (Advanced Simple Profile) (mp4v / 0x7634706D), yuv420p, 688x320 [SAR 1:1 DAR 43:20],
720 kb/s, 25 fps, 25 tbr, 25k tbn, 25 tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 108 kb/s
    Metadata:
      handler_name    : SoundHandler
    Stream #0:2(ger): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 112 kb/s
    Metadata:
      handler_name    : SoundHandler
    Stream #0:3(ger): Subtitle: mov_text (tx3g / 0x67337874)
    Metadata:
      handler_name    : SubtitleHandler
    Stream #0:4(eng): Subtitle: mov_text (tx3g / 0x67337874)
    Metadata:
      handler_name    : SubtitleHandler
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'pip2.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf54.29.104
  Duration: 00:00:20.02, start: 0.000000, bitrate: 7604 kb/s
    Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080, 7447 kb/s, 25 fps, 25 tbr, 50 tbn, 50
tbc
    Metadata:
      handler_name    : VideoHandler
    Stream #1:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 157 kb/s
    Metadata:
      handler_name    : SoundHandler
[libx264 @ 0000000004c402e0] using SAR=1/1
[libx264 @ 0000000004c402e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 Cache64
[libx264 @ 0000000004c402e0] profile High, level 3.0
[libx264 @ 0000000004c402e0] 264 - core 129 r2245 bc13772 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - http://www.vid
eolan.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=3 lookah
ead_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=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahe
ad=40 rc=abr mbtree=1 bitrate=600 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
Output #0, mp4, to 'out00.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2mp41
    encoder         : Lavf54.61.104
    Stream #0:0: Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 128 kb/s
    Stream #0:1: Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 688x320 [SAR 1:1 DAR 43:20], q=-1--1, 600 kb/s, 12800 tb
n, 25 tbc
Stream mapping:
  Stream #0:0 (mpeg4) -> overlay:main
  Stream #0:1 (aac) -> amix:input0
  Stream #1:0 (h264) -> scale
  Stream #1:1 (aac) -> amix:input1
  amix -> Stream #0:0 (libvo_aacenc)
  overlay -> Stream #0:1 (libx264)
Press [q] to stop, [?] for help
Buffer queue overflow, dropping.     703kB time=00:00:10.71 bitrate= 537.4kbits/s
[Parsed_overlay_2 @ 0000000000318340] Buffer queue overflow, dropping.
    Last message repeated 16 times
Buffer queue overflow, dropping.     703kB time=00:00:12.08 bitrate= 476.6kbits/s
[Parsed_overlay_2 @ 0000000000318340] Buffer queue overflow, dropping.
    Last message repeated 32 times
Buffer queue overflow, dropping.     703kB time=00:00:13.44 bitrate= 428.3kbits/s
[Parsed_overlay_2 @ 0000000000318340] Buffer queue overflow, dropping.
    Last message repeated 36 times
Buffer queue overflow, dropping.     703kB time=00:00:14.96 bitrate= 384.9kbits/s
[Parsed_overlay_2 @ 0000000000318340] Buffer queue overflow, dropping.
    Last message repeated 37 times
Buffer queue overflow, dropping.     703kB time=00:00:16.54 bitrate= 348.2kbits/s
[Parsed_overlay_2 @ 0000000000318340] Buffer queue overflow, dropping.
    Last message repeated 30 times
Buffer queue overflow, dropping.     703kB time=00:00:17.80 bitrate= 323.6kbits/s
[Parsed_overlay_2 @ 0000000000318340] Buffer queue overflow, dropping.
    Last message repeated 26 times
Buffer queue overflow, dropping.     703kB time=00:00:18.93 bitrate= 304.2kbits/s
[Parsed_overlay_2 @ 0000000000318340] Buffer queue overflow, dropping.
    Last message repeated 26 times
frame=  250 fps= 18 q=-1.0 Lsize=    1035kB time=00:00:20.02 bitrate= 423.7kbits/s
video:712kB audio:313kB subtitle:0 global headers:0kB muxing overhead 1.027825%
[libx264 @ 0000000004c402e0] frame I:2     Avg QP:23.11  size: 25930
[libx264 @ 0000000004c402e0] frame P:87    Avg QP:23.51  size:  6521
[libx264 @ 0000000004c402e0] frame B:161   Avg QP:27.84  size:   677
[libx264 @ 0000000004c402e0] consecutive B-frames:  2.8%  4.0% 90.0%  3.2%
[libx264 @ 0000000004c402e0] mb I  I16..4: 22.3% 60.3% 17.4%
[libx264 @ 0000000004c402e0] mb P  I16..4:  1.4%  2.4%  0.4%  P16..4: 37.1% 16.3% 12.0%  0.0%  0.0%    skip:30.4%
[libx264 @ 0000000004c402e0] mb B  I16..4:  0.1%  0.1%  0.0%  B16..8: 32.2%  1.7%  0.5%  direct: 1.2%  skip:64.2%  L0:35
.4% L1:58.0% BI: 6.6%
[libx264 @ 0000000004c402e0] final ratefactor: 23.01
[libx264 @ 0000000004c402e0] 8x8 transform intra:58.0% inter:66.8%
[libx264 @ 0000000004c402e0] coded y,uvDC,uvAC intra: 50.4% 64.4% 37.5% inter: 11.6% 13.3% 2.9%
[libx264 @ 0000000004c402e0] i16 v,h,dc,p: 33% 36% 18% 13%
[libx264 @ 0000000004c402e0] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 22% 26% 33%  3%  3%  3%  4%  3%  4%
[libx264 @ 0000000004c402e0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 23% 25% 11%  5%  7%  7%  9%  5%  7%
[libx264 @ 0000000004c402e0] i8c dc,h,v,p: 37% 34% 23%  6%
[libx264 @ 0000000004c402e0] Weighted P-Frames: Y:2.3% UV:1.1%
[libx264 @ 0000000004c402e0] ref P L0: 60.6% 16.2% 17.1%  6.0%  0.1%
[libx264 @ 0000000004c402e0] ref B L0: 75.8% 21.1%  3.1%
[libx264 @ 0000000004c402e0] ref B L1: 85.0% 15.0%
[libx264 @ 0000000004c402e0] kb/s:582.59


More information about the ffmpeg-user mailing list