SHARE
TWEET

FFMPeg Cross fading

a guest Apr 12th, 2016 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Input Command : -i /userVideos/cutterVID_20160412_0851061460476266191.mp4 -i /userVideos/cutterVID_20160412_0851051460476265866.mp4 -r 30.01 -f lavfi -i color=black:s=1280x720 -filter_complex [0:v]fade=t=out:st=0:d=1:alpha=1,setpts=PTS-STARTPTS[va0];[1:v]fade=t=in:st=0:d=1:alpha=1,setpts=PTS-STARTPTS[va1];[2:v]trim=duration=1.0[over];[over][va0]overlay[over1];[over1][va1]overlay[outv] -vcodec libx264 -map [outv] /userVideos/faderVID_20160412_0851061460476266210.mp4
  2.  
  3. Output is :
  4. ffmpeg version n2.4.2 Copyright (c) 2000-2014 the FFmpeg developers
  5.                                               built on Oct  7 2014 15:08:46 with gcc 4.8 (GCC)
  6.                                                                                                                configuration: --target-os=linux --cross-prefix=/home/sb/Source-Code/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/sb/Source-Code/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-fontconfig --enable-pthreads --disable-debug --disable-ffserver --enable-version3 --enable-hardcoded-tables --disable-ffplay --disable-ffprobe --enable-gpl --enable-yasm --disable-doc --disable-shared --enable-static --pkg-config=/home/sb/Source-Code/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/sb/Source-Code/ffmpeg-android/build/armeabi-v7a-neon --extra-cflags='-I/home/sb/Source-Code/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all -mfpu=neon' --extra-ldflags='-L/home/sb/Source-Code/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags=
  7.  
  8. libavutil      54.  7.100 / 54.  7.100
  9. libavcodec     56.  1.100 / 56.  1.100
  10. libavformat    56.  4.101 / 56.  4.101
  11. libavdevice    56.  0.100 / 56.  0.100
  12. libavfilter     5.  1.100 /  5.  1.100
  13. libswscale      3.  0.100 /  3.  0.100
  14. libswresample   1.  1.100 /  1.  1.100
  15. libpostproc    53.  0.100 / 53.  0.100
  16.  
  17. Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/userVideos/cutterVID_20160412_0851061460476266191.mp4':
  18.  Metadata:
  19.    major_brand     : iso6
  20.    minor_version   : 1
  21.    compatible_brands: mp42iso6avc1isom
  22.    creation_time   : 2016-04-12 15:51:06
  23.  Duration: 00:00:01.20, start: 0.000000, bitrate: 5300 kb/s
  24.    Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 5295 kb/s, SAR 65536:65536 DAR 16:9, 30.02 fps, 30 tbr, 90k tbn, 180k tbc (default)
  25.    Metadata:
  26.      creation_time   : 2016-04-12 15:50:23
  27.      encoder         : MOTO
  28. Input #1, mov,mp4,m4a,3gp,3g2,mj2, from '/userVideos/cutterVID_20160412_0851051460476265866.mp4':
  29.  Metadata:
  30.    major_brand     : iso6
  31.    minor_version   : 1
  32.    compatible_brands: mp42iso6avc1isom
  33.    creation_time   : 2016-04-12 15:51:05
  34.  Duration: 00:00:02.00, start: 0.000000, bitrate: 5043 kb/s
  35.    Stream #1:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720, 5039 kb/s, SAR 65536:65536 DAR 16:9, 30.02 fps, 30 tbr, 90k tbn, 180k tbc (default)
  36.    Metadata:
  37.      creation_time   : 2016-04-12 15:51:03
  38.      encoder         : MOTO
  39. Input #2, lavfi, from 'color=black:s=1280x720':
  40.  Duration: N/A, start: 0.000000, bitrate: N/A
  41.    Stream #2:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 25 tbr, 25 tbn, 25 tbc
  42. [libx264 @ 0xb82775b0] using SAR=1/1
  43. [libx264 @ 0xb82775b0] using cpu capabilities: none!
  44. [libx264 @ 0xb82775b0] profile High, level 3.2
  45. [libx264 @ 0xb82775b0] 264 - core 142 - H.264/MPEG-4 AVC codec - Copyleft 2003-2014 - 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=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
  46. Output #0, mp4, to '/userVideos/faderVID_20160412_0851061460476266210.mp4':
  47.  Metadata:
  48.    major_brand     : iso6
  49.    minor_version
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top