Advertisement
Guest User

ffmpeg amerge fail

a guest
Jun 13th, 2013
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.38 KB | None | 0 0
  1. ffmpeg -v info -y -i $1 -i $2 -filter_complex "
  2. [0:0] pad='max(240,iw):max(180,ih):0:0', scale='240:180', pad='480:180:240:0' [left];
  3. [1:0] pad='max(240,iw):max(180,ih):0:0', scale='240:180' [right];
  4. [left] [right] overlay [out0];
  5. [0:1] [1:1] amerge [out1]" \
  6. -codec:a libfaac -ar 44100 \
  7. -codec:v libx264 -preset medium -r 24 \
  8. -map [out0] -map [out1] $3
  9.  
  10.  
  11. ffmpeg version 1.1.git-716dbc7 Copyright (c) 2000-2013 the FFmpeg developers
  12. built on Jun 8 2013 15:27:14 with Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
  13. configuration: --prefix=/opt/local --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libopus --enable-libtheora --enable-libschroedinger --enable-libopenjpeg --enable-libmodplug --enable-libvpx --enable-libspeex --enable-libfreetype --mandir=/opt/local/share/man --enable-shared --enable-pthreads --cc=/usr/bin/clang --arch=x86_64 --enable-yasm --enable-gpl --enable-postproc --enable-libx264 --enable-libxvid --enable-nonfree --enable-libfaac
  14. libavutil 52. 34.100 / 52. 34.100
  15. libavcodec 55. 12.102 / 55. 12.102
  16. libavformat 55. 8.102 / 55. 8.102
  17. libavdevice 55. 2.100 / 55. 2.100
  18. libavfilter 3. 73.100 / 3. 73.100
  19. libswscale 2. 3.100 / 2. 3.100
  20. libswresample 0. 17.102 / 0. 17.102
  21. libpostproc 52. 3.100 / 52. 3.100
  22. [flv @ 0x7fdf5a83d800] max_analyze_duration 5000000 reached at 5014000 microseconds
  23. Input #0, flv, from 'one_.flv':
  24. Metadata:
  25. creationdate : Thu Jun 13 17:00:40
  26. encoder : Lavf55.8.102
  27. Duration: 00:00:10.12, start: 0.000000, bitrate: 51 kb/s
  28. Stream #0:0: Video: flv1, yuv420p, 320x240, 200 kb/s, 1k tbr, 1k tbn, 1k tbc
  29. Stream #0:1: Audio: aac, 22050 Hz, mono, fltp, 128 kb/s
  30. [flv @ 0x7fdf5a840200] max_analyze_duration 5000000 reached at 5014000 microseconds
  31. Input #1, flv, from 'two_.flv':
  32. Metadata:
  33. creationdate : Thu Jun 13 17:00:40
  34. encoder : Lavf55.8.102
  35. Duration: 00:00:09.94, start: 0.000000, bitrate: 51 kb/s
  36. Stream #1:0: Video: flv1, yuv420p, 320x240, 200 kb/s, 1k tbr, 1k tbn, 1k tbc
  37. Stream #1:1: Audio: aac, 22050 Hz, mono, fltp, 128 kb/s
  38. [Parsed_amerge_6 @ 0x7fdf5a42d1a0] No channel layout for input 1
  39. [Parsed_amerge_6 @ 0x7fdf5a42d1a0] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
  40. [libx264 @ 0x7fdf5a8d9e00] using cpu capabilities: none!
  41. [libx264 @ 0x7fdf5a8d9e00] profile High, level 1.3
  42. [libx264 @ 0x7fdf5a8d9e00] 264 - core 129 - H.264/MPEG-4 AVC codec - Copyleft 2003-2013 - 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=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=2 keyint=250 keyint_min=24 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
  43. Output #0, mp4, to 'out.mp4':
  44. Metadata:
  45. creationdate : Thu Jun 13 17:00:40
  46. encoder : Lavf55.8.102
  47. Stream #0:0: Video: h264 (libx264) ([33][0][0][0] / 0x0021), yuv420p, 480x180, q=-1--1, 12288 tbn, 24 tbc
  48. Stream #0:1: Audio: aac (libfaac) ([64][0][0][0] / 0x0040), 44100 Hz, stereo, s16, 128 kb/s
  49. Stream mapping:
  50. Stream #0:0 (flv) -> pad
  51. Stream #0:1 (aac) -> amerge:in0
  52. Stream #1:0 (flv) -> pad
  53. Stream #1:1 (aac) -> amerge:in1
  54. overlay -> Stream #0:0 (libx264)
  55. amerge -> Stream #0:1 (libfaac)
  56. Press [q] to stop, [?] for help
  57. Error while decoding stream #1:1: Cannot allocate memory
  58. Last message repeated 180 times
  59. [swscaler @ 0x7fdf5b017600] Warning: data is not aligned! This can lead to a speedloss
  60. Error while decoding stream #0:1: Cannot allocate memory
  61. Last message repeated 152 times
  62. frame= 25 fps=0.0 q=-1.0 Lsize= 40kB time=00:00:01.53 bitrate= 213.1kbits/s dup=24 drop=0
  63. video:14kB audio:23kB subtitle:0 global headers:0kB muxing overhead 6.022813%
  64. [libx264 @ 0x7fdf5a8d9e00] frame I:1 Avg QP:19.84 size: 13290
  65. [libx264 @ 0x7fdf5a8d9e00] frame P:6 Avg QP:12.19 size: 33
  66. [libx264 @ 0x7fdf5a8d9e00] frame B:18 Avg QP:12.67 size: 16
  67. [libx264 @ 0x7fdf5a8d9e00] consecutive B-frames: 4.0% 0.0% 0.0% 96.0%
  68. [libx264 @ 0x7fdf5a8d9e00] mb I I16..4: 21.7% 30.8% 47.5%
  69. [libx264 @ 0x7fdf5a8d9e00] mb P I16..4: 0.0% 0.0% 0.0% P16..4: 0.5% 0.1% 0.2% 0.0% 0.0% skip:99.2%
  70. [libx264 @ 0x7fdf5a8d9e00] mb B I16..4: 0.0% 0.0% 0.0% B16..8: 0.2% 0.0% 0.0% direct: 0.0% skip:99.8% L0:100.0% L1: 0.0% BI: 0.0%
  71. [libx264 @ 0x7fdf5a8d9e00] 8x8 transform intra:30.7% inter:100.0%
  72. [libx264 @ 0x7fdf5a8d9e00] coded y,uvDC,uvAC intra: 65.1% 72.9% 67.9% inter: 0.0% 0.1% 0.0%
  73. [libx264 @ 0x7fdf5a8d9e00] i16 v,h,dc,p: 81% 1% 18% 0%
  74. [libx264 @ 0x7fdf5a8d9e00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 14% 9% 14% 11% 12% 11% 6% 10% 12%
  75. [libx264 @ 0x7fdf5a8d9e00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 30% 9% 17% 8% 8% 9% 6% 8% 7%
  76. [libx264 @ 0x7fdf5a8d9e00] i8c dc,h,v,p: 55% 14% 21% 10%
  77. [libx264 @ 0x7fdf5a8d9e00] Weighted P-Frames: Y:0.0% UV:0.0%
  78. [libx264 @ 0x7fdf5a8d9e00] ref P L0: 80.9% 13.2% 0.0% 5.9%
  79. [libx264 @ 0x7fdf5a8d9e00] ref B L0: 9.1% 90.9%
  80. [libx264 @ 0x7fdf5a8d9e00] kb/s:105.82
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement