Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > General > Linux, Mac OS X, & Co

Reply
 
Thread Tools Search this Thread Display Modes
Old 10th June 2012, 08:11   #1  |  Link
xosuitehearts
Registered User
 
Join Date: Jul 2010
Posts: 16
Help with FFMPEG on Ubuntu 12.04LTS

Hey folks,

So basically I need some help taking a copy of a movie I have that is about 4.7GB and I need to convert it down to 2.7GB so say 2GBs.

Here's the base command I have, Im converting it over from .mkv to .mp4 -

Code:
ffmpeg -i movie.mkv -acodec copy -vcodec copy -scodec copy out.mp4
I need some help with getting this converted down.

Can anyone help me with some syntax?

I'm using ffmpeg version 0.10.2.git Copyright (c) 2000-2012 the FFmpeg developers
built on Jun 4 2012 20:04:51 with gcc 4.6.3
xosuitehearts is offline   Reply With Quote
Old 10th June 2012, 09:37   #2  |  Link
bernd_b
Registered User
 
Join Date: Jan 2003
Location: Germany
Posts: 65
You need at least to reencode the video.
In your commandline, you have to exchange "-vcodec copy" with the video codec you want to use.

If you want to know the exact resulting bitrate, you should set the bitrate using the "-b" option. Use a Bitratecalculator to set it to the right number.

If not, -crf is a good friend to play around, e.g.:
"-vcodec libx264 -preset veryfast -crf 16"

Even the preset is a matter of discussion, maybe you like "slow" more than "veryfast"? At least, it much more easier to choose a preset than to adjust the other options manually - and I guess much more reasonable.

All in all: Reencoding is a matter of art as well as syntax. For a start, I may suggest to use a graphical tool like http://handbrake.fr/.
bernd_b is offline   Reply With Quote
Old 14th June 2012, 08:44   #3  |  Link
xosuitehearts
Registered User
 
Join Date: Jul 2010
Posts: 16
Quote:
Originally Posted by bernd_b View Post
You need at least to reencode the video.
In your commandline, you have to exchange "-vcodec copy" with the video codec you want to use.

If you want to know the exact resulting bitrate, you should set the bitrate using the "-b" option. Use a Bitratecalculator to set it to the right number.

If not, -crf is a good friend to play around, e.g.:
"-vcodec libx264 -preset veryfast -crf 16"

Even the preset is a matter of discussion, maybe you like "slow" more than "veryfast"? At least, it much more easier to choose a preset than to adjust the other options manually - and I guess much more reasonable.

All in all: Reencoding is a matter of art as well as syntax. For a start, I may suggest to use a graphical tool like http://handbrake.fr/.
Thanks mate.
xosuitehearts is offline   Reply With Quote
Reply

Tags
cli, cli x264, ffmpeg

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.