Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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 windows xp.
I ran a blue ray rip on my P3 with following options
-lavdopts lowres=1:fast:skiploopfilter=all
-vf scale=640:272 (because my computer supports max resolution 1024x768 while original video is 1280x528)
Yet the video is slower than audio.
Can I do anything else to play this ?
Or
How can I convert the file to lower resolution video maintaining quality & small size using ffmpeg or mencoder?
here are file specifications
You aren't going to be playing a BD rip on a P3. My dual-core laptop can barely play HD video.
If you really wanted to, you could convert it to something like a 640x272 XviD, but it would probably take that machine days just to convert the video, and obviously the video quality would be nothing like the original.
when I just ran
mplayer.exe video-file
I got error
Code:
FATAL: Cannot initialize video driver.
Too many buffered pts
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [directx] 1280x544 => 1280x544 Planar YV12
<vo_directx><ERROR>invalid parameters
<vo_directx><FATAL ERROR>can't use overlay mode: please use -vo directx:noaccel
I am getting fantastic results with 1010MB file size.
Had I used my mind then I should try '-s 640x264' because original blue ray rip is 1280x528 , so that would be proportionate.
That would have taken less space .
Last edited by sumeet inani; 12-02-2010 at 07:52 AM.
Also I played brrip though with aberrations on my pentium3 via
(1)extract sound using ffmpeg
(2)mplayer video_file -audiofile sound.mp3 -vf scale=width:height -framedrop
Here width , height is fraction of original.
By giving sound file as input , we are saving effort of processor to decode audio from brrip stream.
Last edited by sumeet inani; 12-07-2010 at 09:21 AM.
Using qscale produces a smaller and higher quality file. As for the seg fault on resampling, you should extract the audio, resample with another program, then merge it back in.
I thought you can convert any video to 700MB without discernable distortion.
Then , I noticed that file encoded with 530kb/s shows blocks when scene changes fastly.
I read that
Code:
-qscale <1-31>for ffmpeg
-vqscale <0-31> for mencoder
value above 13 is unacceptable
5 is best . 11 is good .
In case of audio we can have
Code:
-aq 8 (variable bit rate)
Now I know that you cannot encode any 2hour video to 700MB in one pass. For same quality some will take less space & some more.
Last edited by sumeet inani; 03-07-2011 at 10:09 PM.
3.11 Which are good parameters for encoding high quality MPEG-4?
'-mbd rd -flags +mv4+aic -trellis 2 -cmp 2 -subcmp 2 -g 300 -pass 1/2', things to try: '-bf 2', '-flags qprd', '-flags mv0', '-flags skiprd'.
Shockingly The file size difference between 640x480 and 640x264 is just 0.2MB.
Not shocking at all really.
1280:528 = 2.4242 aspect ratio
640:264 = 2.4242 aspect ratio
640:480 will just give you the old 'black bars' at the top and the bottom of the frame. Because its not really encoding any more information, the filesize is pretty much the same.
Yeah , i forgot that .
ffmpeg will add black bands at top & bottom to maintain aspect ratio so 640x480 frame is same as 640x264 one except additional border.
Last edited by sumeet inani; 03-09-2011 at 12:26 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.