Instagram Export Preset
I am trying to export videos with which to create Instagram stories. I use the ffmpeg Youtube preset to create .mp4 files, which works fine if I post the videos from my computer, but if I attempt to post them from my cell phone, it tells me 'The video file type you have chosen is unsupported. Please try again'.
Any suggestions on how I can resolve this?
The "youtube" presets use the VP9 codec and not h265-5. Maybe that's what makes it incompatible with the smartphone. Try using an mp4 preset with x264-5 codecs.
Try rendering with faststart_h264.mp4 - which adds faststart to the mov flags. From the ffmpeg filters documentation:
MOV/MP4/ISMV (Smooth Streaming) muxer.
The mov/mp4/ismv muxer supports fragmentation. Normally, a MOV/MP4 file has all the metadata about all packets stored in one location (written at the end of the file, it can be moved to the start for better playback by adding faststart to the movflags, or using the
qt-faststart tool). A fragmented file consists of a number of fragments, where packets and metadata about these packets are stored together. Writing a fragmented file has the advantage that the file is decodable even if the writing is interrupted (while a normal MOV/MP4 is undecodable if it is not properly finished), and it requires less memory when writing very long files (since writing normal MOV/MP4 files stores info about every single packet in memory until the file is closed). The downside is that it is less compatible with other applications.
dankinzelman wrote: which works fine if I post the videos from my computer, but if I attempt to post them from my cell phone, it tells me 'The video file type you have chosen is unsupported. Please try again'
It is really strange. Is it the same file?
As phylsmith2004 wrote, could you report the info of MediaInfo (or the output of "ffprobe -i <namefile>" , please?
Thanks @dankinzelman for the FFprobe info.
Your file seems good but may be Instagram doesn't like that.
I don't use Instagram, but I found the requires below.
=== Video Resolution and Size === You can upload a video with an aspect ratio between 1.91:1 and 9:16. Videos should have a minimum frame rate of 30 FPS (frames per second) and minimum resolution of 720 pixels. The maximum file size for videos that are 10 minutes or less is 650MB. The maximum file size for videos up to 60 minutes is 3.6GB. === Video codec === Progressive scan (no interlacing). High profile. 2 consecutive B frames. Closed GOP. GOP of half the frame rate. CABAC. Chroma subsampling: 4:2:0. === Audio codec === Channels: Stereo or Stereo + 5.1. Sample rate 96khz or 48khz.
It seems to me that your video is interlaced, no progressive (50 fps, 50 tbr, 12800 tbn, 100 tbc).
Can you make a new Rendering with 30fps, please?
I just noticed that the filename is "idea\ stories.mp4001". There is a blank space at the beginning of the filename and "001" at the end. Is it a typewrite error here in the forum? (Maybe this is the reason your Instagram App can not to see your file)
It would be better it were "idea\stories.mp4