Can I use ffmpeg on my iPhone and edit videos in my camera roll with it?

  • 1
    Are you ok with jailbreaking? That's the only way to do it. – abc Sep 20 at 17:21

If your device is jailbroken, you can install the ffmpeg package:

  • ffmpeg

    This package is open source on GitHub nin9tyfour/FFmpeg-iOS-build-script which you can use to build a more recent version and manually install it yourself if the version of ffmpeg provided by this package is insufficient for your needs.

You can use the package from the command line using a Terminal.

  • NewTerm 2

    A terminal emulator package, installable with Cydia.

    NewTerm is a continuation of the Mobile Terminal project, a versatile terminal emulator for iOS.

You can also use an SSH app from the App Store, however this requires you to change your SSH port from 22 since iOS prevents localhost access to port 22, so suggestions for apps and instructions are out of scope for this question.

  • 1
    This is the real answer. – abc Sep 21 at 0:55
  • Can I do it with Cydia Impactor and skip jailbreaking? – theonlygusti Sep 21 at 17:33
  • @theonlygusti No, you need to be fully jailbroken to install these. – abc Sep 25 at 15:00

In a word NO.

FFMPEG is a command line video converter and iOS has no command line. There are plenty of programs that can edit video though, not the least of which is Apple's own iMovie.

A simple search on the iTunes store (the only place you can install software from) for "edit video" will turn up a lot of apps.

(Yes I know all about jailbreaking and what is possible, command lines and alternative applications, etc. But we do not discuss or support people with Jailbreaking issues, there are other places for that)

  • 12
    This website does support jailbreaking. See the jailbreak tag. – abc Sep 20 at 17:21

ffmpeg is both a command line utility and a software library allowing modification of various media files. As a command line utility you won't find ffmpeg in the App Store, as there's no command line support in iOS.

However parts of ffmpeg are also used as a software library (usually in the form of libavcodec) in a wide range of applications, some on iOS as well. For example VLC on iOS uses it to decode and display media files. My searches did not show up unfortunately any good apps that use either ffmpeg or libav for encoding & editing purposes, but it's likely a few of the video editor apps you'll find will use these software packages as their backend.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.