Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to convert a movie I have from the avi format to an mkv format. I am fairly new to using avconv, but would like to use it to perform this conversion.

My real problem is knowing what settings to use such as the bitrate. Essentially all I want to do is change the format to allow my DVD player to play it.

In Windows I would normally use FormatFactory, which essentially allowed me to do a drag and drop conversion with no setting changes required. I essentially am trying to do that same thing in Ubuntu but with the command line.

share|improve this question
up vote 2 down vote accepted

I ended up using the following command, though there may be better solutions:

avconv -i input_movie_name.avi -c copy output_movie_name.mp4

I had to use mp4, as mkv was giving me issues.

share|improve this answer

Look the documentation for avconv. There is a "target" option. The safest for playing on a DVD should be to use the "-target dvd" option:

The problem with "-target dvd" is the size of the resulting file. But you can also try "-target vcd" and the alike. I don't know what extension you sould use, maybe someone could clarify this a little bit, but I guess this should work:

avconv -i myfile.avi -target dvd converted.mpg
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.