Hi,
We have implemented twitter video upload API integration in which the video file is uploaded using INIT, APPEND and FINALIZE call.
INIT call:-
Request: {“command”=>“INIT”, “media_type”=>“video/mp4”, “total_bytes”=>2139606}
Response body: {:media_id=>628093038540120064, :media_id_string=>“628093038540120064”, :expires_after_secs=>3599}
APPEND call:-
Request: {“command”=>“APPEND”, “media”=>#UploadIO:0x007f849684e438, “media_id”=>“628093038540120064”, “segment_index”=>0}
Response body: nil (http code : 200 OK)
FINALIZE call:-
Request: {“command”=>“FINALIZE”, “media_id”=>“628093038540120064”}
Response:- Invalid media: fail: [decode/mp4.cpp: finish_initialization (69)] internal inconsistency: “!(summary)” condition failed, Reason: Some(InvalidContent).
The above problem is coming with the below video:-
Some of the other videos are working fine.
Can somebody advise as to why this error is coming up?
Thanks
Ganesh