Convert Videos For Import Into Lightworks With Avconv

Convert Videos For Import Into Lightworks With Avconv

Lightworks hates all those fancy video codecs you so love to encode with. It is very picky about what it will deal with. Fortunately for us, avconv will let us convert to a Lightworks preferred format! So if you’re having difficulty getting Lightworks to transcode your videos, try converting them with this avconv command.

All you need to change here is the input and output file names. Below is a brief breakdown of all of the parameters we set.

-i Specifies your input file

-c:v Specifies your video codec

-pix_fmt Specifies your video color space.

-g:v Enables intra frame compression.

-q:v Sets the output quality of the video on a scale of 1-31 where 1 is the best quality.

-qmin:v sets the minimum video quantizer scale (1-31).

-c:a selects the audio codec.

-r:a sets the audio sample rate.

-b:a sets the audio bit rate.

We can also batch convert a whole folder of videos with a few additions to this command.

All we’ve done here is put the avconv command inside of a for loop that includes any files in the current directory with the extension .mkv. The last bit,¬†$(basename “$i” “.mkv”).mp4,¬†will change the output extension to .mp4 but otherwise keep the same file name. You can change it to look for any other extension like mov, avi, etc. Just make sure you change the reference to the extension at the beginning and end of the script.

If you are totally averse to using the command line, you can alternatively install a Windows program called EyeFrame Converter under Wine. This is a small application built specifically for converting videos for import into Lightworks. This is also how I figured out what settings to use in avconv.

About the Author

Convert Videos For Import Into Lightworks With Avconv was posted by on . I am one half of the creative force behind Dototot. I'm a writer, web programmer, composer, designer, and video editor with an interest in all things digital media.

Discuss this article in the Comments below, or and it with your friends. Learn more about , , , and our creative process by subscribing to the New Moon Newsletter .

Recommended for you
Join the discussion

Subscribe to our New Moon Newsletter

How do you make money doing what you love? Sign up for monthly emails exploring the necessary evils of business as we develop a creative media studio using free and open source software.

The email entered is invalid