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. |
10th June 2012, 08:11 | #1 | Link |
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 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 |
10th June 2012, 09:37 | #2 | Link |
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/. |
14th June 2012, 08:44 | #3 | Link | |
Registered User
Join Date: Jul 2010
Posts: 16
|
Quote:
|
|
Tags |
cli, cli x264, ffmpeg |
Thread Tools | Search this Thread |
Display Modes | |
|
|