Closed dt1973 closed 9 years ago
I think that's quite an edge case. You have both avconv and ffmpeg installed but you want to choose ffmpeg. Wouldn't uninstalling avconv be an option?
I never installed it myself so it must be some sorta dependency.
You're right, this is an edge case. That Runnable test case uses Ubuntu, and as with everything else in Ubuntu, installing ffmpeg is way harder than it has to be. And, somehow, it mysteriously manages to install avconv as well:
https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu
Naturally, this is not a problem on OpenBSD where I actually host my app so I'm just going to close this one.
Thank you for your support.
@owahab how does paperclip-av-transcoder look for avconv? I removed /usr/bin/avconv
as well as /usr/share/avconv
but it still insists on using avconv:
http://runnable.com/VR3jBtJKSwh21EKs/paperclip-av-transcoder
i don't know why (strange decision), but av gem tests for avprobe
instead of avconv
, so you need to remove avprobe
and you can leave avconv
as is in the system
Indeed you're right. Thank you @attenzione!
@owahab maybe you could make it look for avconv
instead of avprobe
?
How to make paperclip-av-transcoder choose ffmpeg over avconv if both are found?
http://runnable.com/VR3jBtJKSwh21EKs/paperclip-av-transcoder
As one would expect, this was never a problem with paperclip-ffmpeg:
http://runnable.com/VSFEpaY88OsqHGa0/paperclip-reverted-to-ffmpeg