I have a problem using ffmpeg on android device. I have built a static ffmpeg using guardian project, which I use as command line in android. Now my problem is that my code works fine and all for quite a few device, but for some reason on some device(like Nivo) it just fails.
To be more precise it only fails when I use image as an input. My command has two -i input defined with a complex filter overlaying one on another. Now if I use two video it works like a charm. If I use an image as the second input then it fails saying:
/mnt/sdcard/Pictures/picture_1389105356533.png: No such file or directory
The file exists I checked it
And to make it even more interesting this only happens on some device like the bloody Nivo, generally it works great ( Samsung s2, samsung s4, nexus 7, nexus 4 etc)
Any idea?
Update1 What I don't get is when I build the guardian project I get ffmpeg version 0.11.1 even though I thought it should auto update the ffmpeg inside it... And as far as I know ffmpeg is around version 2+ now?
I ended up with a fresh build. I didn't figured out only recently that the guardian project for some reason didn't update ffmpeg above 0.11.1 version or something like that. So I asked help on the ffmpeg irc chat to build a new one from ground. That work on every device.
Ok finally I think I found the loophole; here it is.
The
guardian Ffmpeg
build that you have used has following in theconfigure_ffmpeg.sh
:While the device you successfully tested are
Above
orEqual
to this Cpu. But fornivo
; the it isCortex A5
which is less than the specified flag.So just make a change here and you are good to go..!!
Cheers.