Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a video in heigh quality I would like to play on my netbook, but it's chopy. I'm thinking my netbook doesn't have to power to play it. How can I lower the quality so my netbook will play it?
Code:
>ffmpeg -i Avata.mp4
ffmpeg version 0.8.5-4:0.8.5-0ubuntu0.12.04.1, Copyright (c) 2000-2012 the Libav developers
built on Jan 24 2013 18:03:14 with gcc 4.6.3
Seems stream 0 codec frame rate differs from container frame rate: 47.95 (5000000/104271) -> 23.98 (24000/1001)
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Avatar.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2011-08-23 18:27:53
Duration: 02:51:31.94, start: 0.000000, bitrate: 3336 kb/s
Stream #0.0(und): Video: h264 (High), yuv420p, 1920x864 [PAR 8:9 DAR 160:81], 2927 kb/s, PAR 853:960 DAR 853:432, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc
Metadata:
creation_time : 2011-08-23 18:27:53
Stream #0.1(eng): Audio: aac, 48000 Hz, 5.1, s16, 404 kb/s
Metadata:
creation_time : 2011-08-23 18:29:52
The -s option will change the output resolution of the original file. Might want to play around with that some. But this will take time to convert and maybe not worth your time.
I'm not at my linux machine so unable to test it but this should get you going. Check the man page for detailed info.
Code:
man ffmpeg
What application are you using to play this file? VLC is very good as it supports many av formats. Also mplayer, xine, dragon player might work.
-b = video bit rate, lesser the value, lesser the size of the video. But it reduces the quality of video. If you put it 256k, you can see the video is pixelette.
-s = resolution of the video, 640x360 is common resolution for mobiles. but it should be according to aspect ratio. If you put it here anything, it gives error.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.