iPhone slo-mo video can kind of be played on Windows 7, but the video speed and audio can be glitchy. To fix this, you'll need to convert the framerate of video file itself to something Windows Media Player can handle well.

using FFmpeg, this batch file will output a video file that will play back entirely in slow motion at a fixed 30fps

Requirements:
Usage:

Download FFmpeg Windows binaries and the zip file above. Create a folder and place both the batch file and ffmpeg.exe inside. Drag and drop a .MOV 240fps slomo video file onto the batch file.

Written for and tested with iPhone 6 Plus 720p 240fps H.264 video files.

Example Workflow:
  1. Transfer the iPhone videos to Windows computer
  2. Convert them with this batch file
  3. Edit the newly corrected slowmo video file with an editor, e.g. OpenShot, avidemux, etc.
  4. Transcode it with Handbrake and the "Gmail Large 3 Minutes 720p30" preset

The output file might still play upside down or sideways in Windows Media Player, but if you transcode it with Handbrake, it (Handbrake) will rotate the video during the transcoding (compression) process, resulting in a small, correct file.

echo off
REM This batch file will allow you to drag and drop a .MOV file onto it.
REM It will then create a ~30fps slomo video from a ~240fps high speed iPhone video original
REM Windows media player might not show your video rotated, but the metadata for orientation is preserved and can be utilized by Handbrake, etc.

REM change directory to the location of this batch file (where ffmpeg resides) to avoid errors
cd %~dp0

REM export the raw H.264 video stream
ffmpeg.exe -y -i %1 -c copy -an -f h264 video.h264

REM export and resample audio to slow it down
ffmpeg.exe -y -i %1 -vn -af "asetrate=5512,aresample=44100" slowaudio.aac

REM remux the video and audio to create a slowmo video
ffmpeg.exe -y -r 29.97 -i video.h264 -i slowaudio.aac -c:v copy -c:a copy %~n1_temp.mp4

REM grab metadata from original MOV file and apply it to the new mp4
ffmpeg.exe -y -i %~n1_temp.mp4 -i %1 -map_metadata:s:v:0 1:s:v:0 -codec copy %~n1.mp4

REM clean up temporary files
del video.h264
del slowaudio.aac
del %~n1_temp.mp4

Add a comment

Previous Post