Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

2 Answers 2

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
up vote 1 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

Your Answer

 
discard

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.