macosvideovideo-conversion

Resizing Video on macOS for Apple App Store Page


Sorry for posting this. I'm having lots of trouble resizing a video dimension for adding to the apple app store.

The video was recorded from the simulator in 1290x2796, the app store is saying it wants 886x1920

I'm looking for a terminal command, or something to get this video resized. It looks like Photos cannot do it, iMovie is gone nowadays, does anyone know a mac friendly option?


Solution

  • So I finally solved this, here are the steps to record a video on the simulator and get it to go the the Apple App Store Page as an App Preview

    STEP 1: Record the video, run the simulator and go to File > Record Screen

    STEP 2: Overwrite the audio, this is to avoid the, 'corrupted audio error'

    From terminal

    ffmpeg -f lavfi -i anullsrc=channel_layout=stereo:sample_rate=44100 -i input.mp4 -c:v copy -c:a aac -shortest output.mp4
    

    STEP 3: Change Dimensions of Video

    Next run the output into another ffmpeg command to change the dimensions

    ffmpeg -i output.mp4 -vf scale=886:1920 -r 30 outputFinal.mp4
    

    STEP 4:

    Finally adding the video for some reason adds a bunch of unneeded black video. My 27 Second clip was turned into 27 Seconds plus another 4 mins of black screen.

    So go into Preview, Photos, Quicktime, or whatever and trim your final product.

    That's it, With those four steps you can go from recording a video on the simulator to having apple accept the video on the app store page.

    Thank you for all the comments and suggestions