Uploading h264 video with aac (LC) audio, still InvalidContent Error

restapi
video
media-upload

#1

Hi All,
I’m trying to upload video using twitteroauth library or twurl but I’m getting always InvalidContent Error. I checked video specifications and recommendations but I can’t find anything wrong.

This is the video file: https://dl.dropboxusercontent.com/u/6054325/cat_mm.mp4

And here video info from ffprobe:
Metadata: major_brand : isom minor_version : 512 compatible_brands: isomiso2avc1mp41 encoder : Lavf56.15.102 Duration: 00:00:06.69, start: 0.000000, bitrate: 787 kb/s Chapter #0:0: start 0.059501, end 6.688000 Metadata: title : Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 480x480, 653 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default) Metadata: handler_name : VideoHandler Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 127 kb/s (default) Metadata: handler_name : SoundHandler

Thanks for any help.


#2

(moving to the Media APIs category)


#3

If anybody experiencing the same issue, try to add “media_category” parameter:


Add media_category to documentation
#4