LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Reducing video size for small android devices (https://www.linuxquestions.org/questions/linux-software-2/reducing-video-size-for-small-android-devices-4175475391/)

fakie_flip 08-31-2013 07:48 AM

Reducing video size for small android devices
 
I'm trying to resize a video. It is roughly 780 mb. My phone has roughly 600 mb available. I would like to reduce the size of the video by 200 mb approximately, so that it will fit on my android phone. I don't want to reduce the quality of the video more than necessary. I have googled much about this. Most of what I found mentions ffmpeg but not how to determine the parameters. The current specs on the video are as follows:

Codec: H264
Resolution: 1280x536
Frame Rate: 23.97

teckk 08-31-2013 09:34 AM

Try something like this example.
Code:

ffmpeg -i video.mp4 -c:a copy -c:v libx264 -b:v 2500k -s 640x268 output.mp4
That will resize to half size, copy audio, should be good video quality. You can also use one of ffmpeg's presets.

jefro 08-31-2013 12:34 PM

Quality is very subjective. In a real sense you can't reduce that file anymore than it is. Maybe a different file format but it won't get much smaller. You however don't need that large of a resolution, you don't need that good of sound, you may not even need all the colors. You need to loose something in order to reduce the size, period.

Sound quality and video quality and color and screen size or any combination could result in a much much smaller file. You'll see many of the windows apps make mention of how they can convert videos for use in phones and tablet and even computers.

As teckk points out there are some linux apps that can do that, usually from command line.


I have to admit I cheated and used a windows app in wine.

I'd think you could reduce that to maybe 20M or so and still be watchable.


All times are GMT -5. The time now is 06:12 PM.