FFMPEG Output file #0 does not contain any stream

I am trying to run the following command for my Android app:

"ffmpeg -i /full/path.video.mp4 -ignore_loop 0 -i myGif.gif -filter_complex \"[0][1]overlay=0:H-100\" /full/path/videoWithGifOverlay.mp4"

but I am getting am getting an error.

Here is the ouput:

04-14 18:36:30.386 30508-30508/com.example.android.camera2video I/onProgress(): ***Output #0, mp4, to 'ffmpeg -i /full/path/video.mp4 -ignore_loop 0 -i myGif.gif -filter_complex "[0][1]overlay=0:H-100" /full/path/videoWithGifOverlay.mp4': 04-14 18:36:30.386 30508-30508/com.example.android.camera2video I/onProgress(): ***Output file #0 does not contain any stream 04-14 18:36:30.386 30508-30508/com.example.android.camera2video E/onFailure(): ***ffmpeg version n3.0.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8 (GCC) configuration: --target-os=linux --cross-prefix=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/bin/arm-linux-androideabi- --arch=arm --cpu=cortex-a8 --enable-runtime-cpudetect --sysroot=/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/sysroot --enable-pic --enable-libx264 --enable-libass --enable-libfreetype --enable-libfribidi --enable-libmp3lame --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/vagrant/SourceCode/ffmpeg-android/ffmpeg-pkg-config --prefix=/home/vagrant/SourceCode/ffmpeg-android/build/armeabi-v7a --extra-cflags='-I/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/include -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fno-strict-overflow -fstack-protector-all' --extra-ldflags='-L/home/vagrant/SourceCode/ffmpeg-android/toolchain-android/lib -Wl,-z,relro -Wl,-z,now -pie' --extra-libs='-lpng -lexpat -lm' --extra-cxxflags= 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 libswscale 4. 0.100 / 4. 0.100 libswresample 2. 0.101 / 2. 0.101 libpostproc 54. 0.100 / 54. 0.100 Output #0, mp4, to 'ffmpeg -i /full/path/video.mp4 -ignore_loop 0 -i myGif.gif -filter_complex "[0][1]overlay=0:H-100" /full/path/videoWithGifOverlay.mp4': Output file #0 does not contain any stream

I am trying to save a video, after its recorded, with a gif overlay on it.


if you take a look at the FFmpeg android sample, you will see that they are separating every " "(space) , so instead of passing an integrated string command you should do something like this:

String[] commands = new String[10]; commands[0] ="-i"; commands[1] = "/full/path.video.mp4";



  • Problems with current version of SDWebImage
  • FFmpeg error Output file #0 does not contain any stream
  • angular2 rc1: No provider for RouterOutletMap
  • Is it possible to specify `panic = “abort”` for a specific target?
  • Failed to create Shared Library using android-ndk in Linux?
  • How to create a single native shared library with no dependency for Android using Qt Creator
  • WPf Datepicker Input modification
  • Error while building android ndk sample project
  • Compiling Assembly for android
  • Getting undefined symbol: __asan_memset when trying to use Clang address sanitizer
  • Can atomic ops based spin lock's Unlock directly set the lock flag to zero?
  • “oncore” folder in Visual Studio 2017
  • Can't compile/assemble MRC and MCR coprocessor instructions on iPhone?
  • Compiling Crypto++ for armhf for cross compiling
  • Docker building fails randomly with Error mounting
  • Setup buildroot for old kernels
  • Can't run docker on os X with boot2docker
  • mobile-chrome-apps using cordova plugin
  • How to “vagrant up” multiple nodes at a time?
  • Include label attribute into xtable header
  • Storage::move giving “File not found at path:” Laravel with Ubuntu
  • “cpanm PHP” fails
  • Spark (Scala) Writing (and reading) to local file system from driver
  • How to rotate the dial in a gauge chart? Using python plotly
  • Installing Perl6 and Panda on Ubuntu 15.10. Problems with bootstrap.pl
  • Can my PDF ping my server when it is opened?
  • nodemcu custom firmware build problems
  • Android Studio Can't Find tools.jar
  • Convert SQLite database to XML
  • Spring Cloud Microservice Architecture Confusion
  • Eclipse CDT error: Unable to compile
  • Android full screen on only one activity?
  • How can I send an e-mail from a vbs script
  • Accessing IRQ description array within a module and displaying action names
  • Shallow update not allowed (git > 1.9)
  • jquery mobile loadPage not working
  • Is there a mandatory requirement to switch app.yaml?
  • How to include full .NET prerequisite for Wix Burn installer
  • Qt: Run a script BEFORE make
  • UserPrincipal.Current returns apppool on IIS