未加星标

DaVinci Resolve FFmpeg cheatsheet for Linux

字体大小 | |
[系统(linux) 所属分类 系统(linux) | 发布者 店小二05 | 时间 2018 | 作者 红领巾 ] 0人收藏点击收藏

If you’re using the free version DaVinci Resolve on linux or any other OS for that matter, you may have stumbled upon the various limitations that come with this version.

One of the biggest limitations of all is the fact that the free version doesn’t come with any sort of support for the MP4 file format.

This was a huge struggle for me since my entire workflow was based on the usage of MP4 files, from the screen-casting with OBS and file recording on my video camera, to the render and export for YouTube or Vimeo , which love a properly compressed MP4 file.

Solving the issue with OBS was quite easy , involving the changes of some settings by selecting the proper codecs for audio and video rendering.

Dealing with the files coming from my camera, a Canon Rebel T6i , was a whole other story. There’s noway to change the recording format directly within the camera, so I needed to find a solution that allowed me to convert those MP4 files into a format digestible by DaVinci Resolve, without losing too much quality.

FFmpeg to the rescue!

On the official website, FFmpeg is described as “…the leading multimedia framework, able to decode, encode, transcode, mux, demux, stream, filter and play pretty much anything that humans and machines have created.”

And holy cow if it isn’t true.

If you’re running any modern Linux distro, FFmpeg should already be included in your system and you should be able to run it via terminal. The hard part was to understand all the options, and those are a lot, and find the correct settings to convert files from a format to another, by keeping the quality high and the MegaByte count low.

Convert MP4 to MOV

This is the command I use to convert a MP4 file recorded from a video camera to a MOV format of the same quality that DaVinci Resolve can import and read.

ffmpeg -i input.mp4 -vcodec dnxhd -acodec pcm_s16le -s 1920x1080 -r 30000/1001 -b:v 36M -pix_fmt yuv422p -f mov output.mov Convert MOV to MP4

When it comes to rendering a file from DaVinci Resolve, I was forced to stick with the MOV format with some high video/audio codec settings. The rendered file is not small, but nonetheless, FFmpeg is more than capable of handling it and converting it into a slim and crisp MP4.

The settings I’m using are those recommended by YouTube for a fast upload and a almost zero processing.

ffmpeg -i input.mov -vf yadif -codec:v libx264 -crf 1 -bf 2 -flags +cgop -pix_fmt yuv420p -codec:a aac -strict -2 -b:a 384k -r:a 48000 -movflags faststart output.mp4

While searching around, I found this super useful list of FFmpeg commands with also a short explanation. If you’re a nerd like me and love these stuff, you’ll be pleased to learn all the different options and what all those weird letters mean and how to fully control the conversion of your files.

Useful Commands

I hope this guys can be helpful to someone else other than myself.

Happy Video Editing on Linux!

本文系统(linux)相关术语:linux系统 鸟哥的linux私房菜 linux命令大全 linux操作系统

tags: MP4,format,file,FFmpeg,was
分页:12
转载请注明
本文标题:DaVinci Resolve FFmpeg cheatsheet for Linux
本站链接:https://www.codesec.net/view/604980.html


1.凡CodeSecTeam转载的文章,均出自其它媒体或其他官网介绍,目的在于传递更多的信息,并不代表本站赞同其观点和其真实性负责;
2.转载的文章仅代表原创作者观点,与本站无关。其原创性以及文中陈述文字和内容未经本站证实,本站对该文以及其中全部或者部分内容、文字的真实性、完整性、及时性,不作出任何保证或承若;
3.如本站转载稿涉及版权等问题,请作者及时联系本站,我们会及时处理。
登录后可拥有收藏文章、关注作者等权限...
技术大类 技术大类 | 系统(linux) | 评论(0) | 阅读(8)