Since I’m a lazy guy I’ve been using GoPro Quik quite a bit which has worked out good so far and I’ve really enjoyed. I recently got myself a DJI drone and, needless to say, I produced a bit of footage with it too.
However I also wanted to use those drone videos with GoPro Quik because it makes it very easy turning a few clips into a short and nicely looking video. Sadly it only offers to import videos originating from GoPro itself. So I started to ask myself how to add non gopro videos to quik?
I figured there can not be so many ways the software could check if a given media file was originating by a GoPro or not. So I got to poke around and after a bit I found a solution which works on all my current video files.
If you run the following ffmpeg command on any DJI video (its probably working for any video source which includes iPhone or Android videos too) it adds the magic field that Quik expects and happily imports the video.
ffmpeg -i dji-video.mp4 \ -map_metadata \ -1 \ -codec copy \ -metadata:s handler="GoPro AVC encoder" \ -metadata:s handler_name=" GoPro AVC" \ gopro-quick-video.mp4
Edit: As it was requested several times, the same command as a oneliner
ffmpeg -i dji-video.mp4 -map_metadata -1 -codec copy -metadata:s handler="GoPro AVC encoder" -metadata:s handler_name=" GoPro AVC" gopro-quick-video.mp4
Have fun creating content and happy to see your results