(note: if the problem only happens with some inputs, include a link to such an input file)
Expected results
I'm trying to convert video to fill with Instagram API specs.
According to the API documentation, here the specs:
Container: MOV or MP4 (MPEG-4 Part 14), no edit lists, moov atom at the front of the file.
Audio codec: AAC, 48khz sample rate maximum, 1 or 2 channels (mono or stereo).
Video codec: HEVC or H264, progressive scan, closed GOP, 4:2:0 chroma subsampling.
Frame rate: 23-60 FPS.
Picture size:
Maximum columns (horizontal pixels): 1920
Minimum aspect ratio [cols / rows]: 4 / 5
Maximum aspect ratio [cols / rows]: 16 / 9
Video bitrate: VBR, 5Mbps maximum
Audio bitrate: 128kbps
Duration: 60 seconds maximum, 3 seconds minimum
File size: 100MB maximum
The inputed video of the above code is a raw .mov file filmed with an iPhone 13.
Its metada:
When I'm publishing the converted video through Instagram API, I have an error with code 2207026.
According to Instagram error documentation, the error is:
The video format is not supported. Please check spec for supported {video} format
The converted video seems to have a valid format (MOV) and a valid codec (h264).
I supposed there is something in the specs / metadata I forgot or an operation to do with the conversion.
Do you have an idea on this point ?
[X] I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place)
[X] I have included full stderr/stdout output from ffmpeg
Version information
Code to reproduce
(note: if the problem only happens with some inputs, include a link to such an input file)
Expected results
I'm trying to convert video to fill with Instagram API specs. According to the API documentation, here the specs:
The inputed video of the above code is a raw
.mov
file filmed with an iPhone 13. Its metada:We can see the bitrate of the video stream is too high. That's why the code above reduce it.
The metadata of the converted video:
Observed results
When I'm publishing the converted video through Instagram API, I have an error with code
2207026
. According to Instagram error documentation, the error is:The converted video seems to have a valid format (
MOV
) and a valid codec (h264
). I supposed there is something in the specs / metadata I forgot or an operation to do with the conversion. Do you have an idea on this point ?Checklist