Recently strava added video upload feature. (Available on mobile only, so far.) However it seems to be really picky about the format. I could not find any documentation about the exact requirements. I am using an action camera and the videos obviously need to be processed before uploading. I was unable to produce a file that strava accepts. I have a sample video that works, ffprobe gives the following details:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'strava.mp4':
Metadata:
major_brand : mp42
minor_version : 0
compatible_brands: isommp42
creation_time : 2022-05-16T17:06:21.000000Z
location : +47.1887+018.6241/
location-eng : +47.1887+018.6241/
com.android.version: 8.1.0
Duration: 00:00:09.25, start: 0.000000, bitrate: 19760 kb/s
Stream #0:0[0x1](eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p(tv, smpte170m/bt470bg/smpte170m, progressive), 1920x1080, 19656 kb/s, SAR 1:1 DAR 16:9, 29.96 fps, 30 tbr, 90k tbn (default)
Metadata:
creation_time : 2022-05-16T22:07:54.000000Z
handler_name : VideoHandle
vendor_id : [0][0][0][0]
Side data:
displaymatrix: rotation of -90.00 degrees
Stream #0:1[0x2](eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 96 kb/s (default)
Metadata:
creation_time : 2022-05-16T22:07:54.000000Z
handler_name : SoundHandle
vendor_id : [0][0][0][0]
I am using openshot on linux to edit the video, but ffmpeg is available as well for transcoding/post processing. I would welcome any hints how to produce a video in the correct format. Also, details about other accepted formats, if any, would be welcome.