从Android手机到服务器的视频文件传输 [英] Video file transfer from Android phone to server

查看:514
本文介绍了从Android手机到服务器的视频文件传输的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在写一个视频处理Android应用程序。应用程序的用户将需要一个视频,以及应用程序将视频发送到服务器用于通过帧处理一些帧。然后,服务器将发送回结果给应用程序。

I'm writing a video processing Android application. The user of the application would take a video, and the application would send the video to the server for some frame by frame processing. The server would then send back a result to the application.

什么是它发送到服务器VS发送视频,然后制动它之前的优点和制动了视频放到帧在Android设备上的利弊?什么是快?

What are the pros and cons of braking up the video into frames on the Android device before sending it to the server vs sending the video and then braking it up? What would be faster?

如果我刹车它分成帧的Andr​​oid手机,要我送的位图或我应该送COM pressed图像,然后DECOM preSS的服务器上?什么是成本和COM pression的VS发送一个位图的增益?我知道COM pression比可根据图像,但我只是要求利弊。

If I brake it up into frames on the Android phone, should I send bitmaps or should I send compressed images and then decompress on the server? What would be the cost and the gain of compression vs sending a Bitmap? I know the compression ratio can vary based on the image but I'm just asking for pros and cons.

推荐答案

我发现COM pression比例可能约为16:1。足以让我选择COM preSS它在这种情况下。上述比例是,如果我的COM pressed它为JPEG

I found that the compression ratio could be about 16:1. Enough for me to choose to compress it in this situation. The above ratio is if I compressed it to a JPEG.

这篇关于从Android手机到服务器的视频文件传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆