Iam trying to upload video and audio files from my app on android to backend using api.
But before sending want to compress them to reduce size, how can we make it?
Thanks
Yes, you can . You can use ffmpeg library for that . For more info visit ffmpeg
I am trying to upload an image and video from my android application to a private server.
I can't figure out how to upload video with other images and text.
You need to create a multipart request in Volley and specify the path of your photo/video that you want to upload. Follow this tutorial for a better understanding - http://www.techstricks.com/multipart-request-using-android-volley/
I am developing an android app with box api integration. In which I have to fetch videos from logged in users' uploaded videos. I also need to show video thumbnails. I found something from below link.
Link:=> https://box-content.readme.io/reference#get-a-thumbnail-for-a-file
But in response I got the contents of image. i don't know how to fetch that type of response.
Can anyone help me please to come out of this???
Thanks in advance.
The Get Thumbnail API can generate either a png or jpg thumbnail file from a video. But it cannot generate a video thumbnail (such as a mp4 or gif file) from a video.
I have to upload a video on twitter from android app. I have successfully uploaded image and text on twitter. I am using the twitter4j-core-3.0.3.jar library.
I tried uploading video using the same method I used for images, but failed to upload and got exception code 403 and TwitterException {exceptionCode=[2ea3c142-58dea759], statusCode=403, message=Error creating status., code=189, retryAfter=-1, rateLimitStatus=null, version=3.0.3}.
I also downloaded twitvid sdk from http://twitvid.pbworks.com/w/page/22556292/Client%20Libraries, but even after integrating this sdk, I could not upload video on twitter.
As per twitter official discusion thread https://dev.twitter.com/discussions/11241 we can upload video using twitvid using that code.
Since I am not having a suitable sdk, I am not able to work on this.
Any help to upload video on twitter from android app will be highly appreciated.
EDIT 2016: This answer is outdated. Twitter now support video upload in addition to linking.
You cannot upload video directly to Twitter - they simply don't support it.
Here's what you have to do, instead.
Upload the video to a 3rd party service (like YouTube)
Get the public URL of the uploaded video
Add the URL to the status you send to Twitter - e.g. "Here is my video http://example.com/video123"
If you want, you can add a thumbnail of the video as an image attachment.
Refer this link CLICK HERE Twitter video share this may be useful to others . I have made up a library by extending twitter4j library . Note this is used for only Silent Video share i.e Without using the composer .
I want to upload a video file from my Android application. Any ideas?
by using ytd-android
here is demo project available
you can upload youtube video.
If you have fix username and password then
see this answer
have a niec developing.....