ffmpeg generated video gives error “Cannot read property ‘code’ of undefined

I am generating video from audio.
my sample code Example is:

ffmpeg -i audio.webm -i image.png -vcodec libx264 -pix_fmt yuv420p -strict -2 -acodec aac video.mp4

Can you provide the steps you’ve followed in the API to upload your video (preferably with a code sample), and a link to an example file that fails?

I am directly trying to upload from twitter website.
my upload code for twitter is working perfect. but issue is in generated video.
So, Even I am trying to upload generated video directly in tweeter then also it gives error

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.