Vojtech Vrbka
Vojtech Vrbka

Reputation: 5368

Cannot upload video to iTunesConnect: The frame rate of your app video preview is too high

I made an App Store preview video using QuickTime player on OS X Yosemite.
When I try to upload the video to iTunesConnect, I get an error message:

The frame rate of your app video preview is too high.

I can't see any options in the QuickTime Player to change frame rate.

Error message that I am getting

Does anybody knows what to do with it?

Upvotes: 31

Views: 10673

Answers (13)

Joshua Uzor
Joshua Uzor

Reputation: 11

ffmpeg -i "InputMovie.mov" -r 30 "OutputMovie.mov"

This solves it for me.

Upvotes: 0

rabie jegham
rabie jegham

Reputation: 125

ffmpeg -i apppreview.mov -r 30 -acodec copy -crf 12 -vf scale=1920:886,setsar=1:1 output.mp4

Upvotes: -1

Daanzel
Daanzel

Reputation: 1037

  1. Create the file resize_video.sh, with the code below
  2. Open the terminal, run the command: sh resize_video.sh

This script, will convert videos as needed by the AppStore.

INPUT_VIDEO=app_preview.mov

mkdir -p 6.5
mkdir -p 5.5
mkdir -p 12.9

WIDTH=886
HEIGHT=1920
OUTPUT_VIDEO=6.5/app_preview.mov
rm -f $OUTPUT_VIDEO
ffmpeg -i $INPUT_VIDEO -qscale 0 -r 24 -y -vf scale=$WIDTH:$HEIGHT,setsar=1:1 $OUTPUT_VIDEO

WIDTH=1080
HEIGHT=1920
OUTPUT_VIDEO=5.5/app_preview.mov

rm -f $OUTPUT_VIDEO
ffmpeg -i $INPUT_VIDEO -qscale 0 -r 24 -y -vf scale=$WIDTH:$HEIGHT,setsar=1:1 $OUTPUT_VIDEO

WIDTH=1200
HEIGHT=1600
OUTPUT_VIDEO=12.9/app_preview.mov

rm -f $OUTPUT_VIDEO
ffmpeg -i $INPUT_VIDEO -qscale 0 -r 24 -y -vf scale=$WIDTH:$HEIGHT,setsar=1:1 $OUTPUT_VIDEO

https://gist.github.com/5lineofcode/ba6fc90ed7628c3acf11a735437c7944

Upvotes: 0

William Entriken
William Entriken

Reputation: 39303

This rescales one video into all the required framerate and sizes to match what App Store Connect needs:

IN=IMG_3518.TRIM.MOV
ffmpeg -i $IN -s 1080x1920 -r 30 5.5.mov
ffmpeg -I $IN -s 886x1920 -r 30 6.5.mov
ffmpeg -I $IN -s 1200x1600 -r 30 ipp3.mov

Don't use this. You should make all your videos by running on the actual different devices. Your account will be banned, your house will catch fire, your cat will die.

Upvotes: 1

Tim Friedland
Tim Friedland

Reputation: 1045

This is what worked for me:

ffmpeg -i input.mov -qscale 0 -r 24 -y output_5.mov

-qscale 0 made sure the length stayed the same but the frame rate dropped from 56 or so (as it was recorded from my iPhone6 by the QuickTime) to exactly 24 !!

Then managed to successfully upload to iTunes, yay!

March 28, 2019 EDIT:

There is also this option to just do it with iMovie: Creating App Previews with iMovie

Upvotes: 18

Larry Ricker
Larry Ricker

Reputation: 319

I scripted this into a borne again shell (bash) to convert a bunch of files. You can add 'rm $file' to the script to delete the original file if you wish, but do not do this unless you know exactly what you are doing and take full responsibility for the risks involved. I list 30s in my filename convention to specify the length of the video. If your file name convention is different you will need to adjust accordingly.

#!/bin/bash
for file in `ls *s.mov`
do
newFileName=`echo $file | sed s/s.mov/s_r24.mov/`
# echo $file  $newFileName
if [ -e $newFileName ]; then
echo $newFileName "exists"
else
echo ""
# echo $newFileName "does not exist"
ffmpeg -i $file  -qscale 0 -r 24 -y $newFileName
fi
done

Upvotes: 0

Szuwar_Jr
Szuwar_Jr

Reputation: 713

You can fix it easily in iMovie (I used 10.1.10).
1. Go to main screen of iMovie.
2. File -> New App Preview.
3. Drag your movie to the project.
4. File -> Share -> App Preview.

Upvotes: 2

brian.clear
brian.clear

Reputation: 5327

Just did my first movie. hit lots of snags - heres quick steps to avoid them:

  • RECORD
  • Record in Quick Time Player > File > New Movie Recording
  • Use iPhone 6/7 PLUS to get right dimensions
  • use drop down beside red record button to choose iphone
  • record your video - max 30 secs but easy to trim
  • Trim in Quicktime to be under 30 secs
  • Edit/Trim - drag the ends of the yellow bounds
  • had problems splitting and combining clips in Quicktime - use iMovie
  • save as mp4 or mov
  • IMOVIE - CONVERT TO APP PREVIEW
  • Use iMovie to get correct framerate
  • File > New App Preview
  • import exported movie file from quicktime
  • drag movie to timeline
  • press space to test play
  • add sound if you like - google "royalty free sounds"
  • drag wav into project/ drag into timelime
  • EXPORT APP PREVIEW
  • Share button top right
  • choose App Preview (if missing check prev steps dont use File option fps dimesions may not be right)
  • save to file mp4
  • UPLOAD USING SAFARI
  • Upload using Safari to iTunes Connect - wont work in chrome
  • In pictures section of you app version, choose file, pick mp4 exported from imovie
  • set frame to display when movie not playing
  • save itunes version info
  • movie uploaded
  • itunes said 'can take up to 24 hours'

Upvotes: 9

Pablo Ruan
Pablo Ruan

Reputation: 1791

For Quicktime videos user this command, worked for me fine:

ffmpeg -i demo_app.mov -qscale 0 -r 24 -y -vf scale=1080:1920,setsar=1:1 app_preview.mov

Upvotes: 2

Guri S
Guri S

Reputation: 1103

I have followed the following steps :

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

then

brew install ffmpeg

then used the following command :

/usr/local/Cellar/ffmpeg/3.1.3/bin/ffmpeg -i SpeechToText_usage.mov  -qscale 0 -r 24 -y speechtotext_framerate_changed.mov

It worked well!

Upvotes: 3

AlexeyVMP
AlexeyVMP

Reputation: 2426

For Quicktime videos use this command line:

ffmpeg -r 30 -i 60fpsvideo.m4v 30fpsvideo.avi

Upvotes: 1

Tomas Camin
Tomas Camin

Reputation: 10096

Videos can be easily converted using ffmpeg, a handy tool that can be installed using homebrew.

ffmpeg -r 30 -i 60fpsvideo.m4v -vcodec copy -acodec copy 30fpsvideo.avi

Upvotes: 36

Vojtech Vrbka
Vojtech Vrbka

Reputation: 5368

I found out, that there is no possibility to edit the frame rate in the QuickTime Player.

I ended up downloading trial version of Final Cut Pro. In Final Cut Pro it's just a few clicks.

Upvotes: 2

Related Questions