Personal View site logo
EDL_Convert: Workflow Developement for Sony Vegas Pro - DaVinci Resolve
  • Motivation:

    Davinci Resolve Lite is one of the best color grading tool and now available as free Lite version. It works so far up to a Full HD resolution of 1920 x 1080 but not directly with .mts files. Sony Vegas Pro 11 does work directly with .mts files but does not export AAF and EDL files which can be read by DaVinci Resolve. Hence a easy workflow is almost not possible with implemented tools from both sites. With EDL_Convert and the application of two Vegas scripts its possible to realize an effective and efficient Workflow. Rendered .mov files will not be endless in space consumtion. You can predict the head and tail trim of the original cut in Vegas.

    Workflow Overview:

    a) Media Ingestion

    b) Vegas Edit

    c) EDL_Convert (Creates two new Text EDL files + Subfolders for Workflow)

    d) Vegas Batch Render (place before Noise Reduction, Velocity Envelopes if needed)

    e) Davinci Color Correction

    f) Vegas Final Edit (Title, Audio Effects etc.; final Render for Presentation)

    Workflow Detail:

    a1) copy .mts files to logical folder structure of your computer (something like c:\originals\yyyy\yyyy-MM\yyyy-MM-dd)
    
    a2) rename them in a logical way (something like yyyy-MM-dd_hhmmss.mts)
    
    b1) start Project in Vegas in a separate Poject folder - save .veg file
    
    b2) at the end of the edit use "save as" and activate "copy media with project" (this will copy all .mts files into the Project folder)
    
    b3) save Project.veg also now as Project.txt (Text EDL) file
    
    c1) load Project.txt file into EDL_Convert Program (creates Project_EDL_lin.txt and Project_EDL_lin.veg in Project\CCInput\ folder, Project_EDL_final.txt in Project folder) and starts Project_EDL_lin.veg of Project\CCInput\ folder by EDL_Convert automatically. Regions are applied automatically as well.
    
    d1) apply neat video, stabilizer and/or velocity envelopes to specific clips in  Project_EDL_lin.veg
    
    d2) Batch rendering in DNxHD format by means of A2_RegionsRender.cs. Choose Subfolder Project\CCInput for .mov files)
    
    e1) load from this subfolder all freshly generated .mov files into DaVinci MEDIA
    
    e2) Goto COMPOSE of DaVinci
    
    e3) Add new empty timeline - right click on timelines area
    
    e4) drag/drop sorted files from media files area to timeline
    
    e3) start color grading in COLOR
    
    e4) goto DELIVER and render graded files with original name into Project\CCOutput subfolder
    
    e5) Move .mov Files to Project\ mainfolder
    
    f1) start Project_EDL_final.txt of Project Folder in Vegas (audio files will be linked to .mts files, Video files will be linked to .mov files)
    
    f2) edit the rest (put titles to your video, etc.), save all as .veg
    
    enjoy....
    

    Version History

    v1buid003:

    Did add head and tail trim

    v1build004:

    Did add new scripts A1_RegionsMark 24p, A1_RegionsMark 25p, A1_RegionsMark 30p. They will take care that you can render footage with mixed framerates to the target frame rate either 24p, 25p or 30p. This is done by automatically adjust "Undersample rate" as well as "Playback rate".

    All RegionMark scripts will remove regions which might be set before and then subsequently sets the new regions.

    Added A0_RegionsRemove which does only remove regions which might be set.

    Added A0_RunEDL_Convert which will execute EDL_Convert.exe directly from Sony Vegas

    v1build005:

    Did correct frame shift. DaVinci Resolve thumbnails are now displayed correctly. Before that, thumbnails did show last frame of previous clip. Had to make changes in A2_RegionsRender.cs script as well as EDL_Convert.exe.

    v1build006:

    EDL_Convert program: introduce link to sony vegas; option to autorun Project_EDL_lin.txt, save it to Project_EDL_lin.veg and apply RegionsMark script. All RegionsMark scripts: automatic choose first track if nothing was selected; can be progressed from EDL_Convert to save .text to .veg

    Install:

    https://www.dropbox.com/s/gjnc673jymve3ug/EDL_Convert%20v1build006.zip

    Copy all *.js and *.cs files to the script folder of Vegas Pro (something like: c:\Program Files\Sony\Pegas Pro 11.0\Script Menu)

    Copy EDL_Convert.* files to the "C:\ProgramData\EDL_Convert\" folder of your computer. If you want to put it to another folder, please open the script A0_Run_EDL_Convert.js with a notepad editor and change the line var InstPath = "C:/ProgramData/EDL_Convert/EDL_Convert.exe"; that the path will fit. Please note: The script language is a little bit tricky. Sony Vegas does use "\" for making remarks within the code. Instead of "\" you have to use "/".

  • 52 Replies sorted by
  • FAQ

    How can I integrate DNxHD into Sony Vegas?

    DNxHD Codecs download can be found at: http://avid.force.com/pkb/articles/en_US/Download/en423319

    You will find a nice tutorial for making render templates in Sony Vegas here: http://johnrofrano.com/training/video-tutorials/avid-dnxhd-template-for-vegas-pro/

  • but does not export AAF and EDL files

    Sony Vegas Pro 12 does! Just saying in case you don't know.

  • @Rambo Thanks, I know but never tried it. In case you don't want to update to Pro 12 you are somehow lost and that's the reason why I try to develope a convinient workflow. Furthermore you have to render into a .mov or .mp4 format and batch rendering of DNxHD by Sony Vegas Pro is an additional nice option. Did you try AAF or EDL in Sony Vegas Pro 12 and used it with DaVinci. I'm wondering whether you have to completely render out whole clips (events) or are you able to use desired parts.

    Described method saves a lot of space because you render out only the used parts of the clips. I'm also thinking about an option to add a few seconds before and after. Similar like in Vegas the Copy Media Options which does not work with .mts files.

    b2 Create trimmed Copies - Does Not Work with mts files.jpg
    300 x 162 - 14K
  • Started following your workflow. I'm using Sony Vegas Pro 11. I'm interested if working with Vegas 12 would simplify the process. Notes about the workflow:

    b2) So the option "Create trimmed copies of source media" does not work with Vegas 11 or..? Chose now not to use that option.

    image

    c1) I get this error when pressing button "Open EDL File". Not deal breaker, since I'm able to pass it.

    image

    d1) And now I lost all crossfades etc..?! Is it possible to get also those to Davinci?

    d3) Remember to select all clips from the timeline (Ctrl+A) before running the scripts. Better to add also instructions where to get DNxHD encoder and how to setup render options (same links as you mentioned in other topic).

    e1) Lol this was my first experience with Davinci and it was confusing, I couldn't figure out how to import the damn files. It seems that I'm not the only one and the solution was found here: http://forum.blackmagicdesign.com/viewtopic.php?f=10&t=942#p9179 . And you mean that add the files to the Media Pool?

    e2) You mean Conform?

    Now things are looking weird. The video clips are black. Just black picture and audio at the background, so step d3 failed. Not sure what I'm doing wrong, if I render clips manually with same render settings from Vegas, it's working fine.

    Any ideas?

    ScreenHunter_02 Feb. 25 19.46.gif
    292 x 152 - 10K
    ScreenHunter_03 Feb. 25 19.49.gif
    436 x 242 - 16K
  • update to vegas 12 and this issue will be solved.

  • @tonalt

    b2) whether you choose this option or not, it will not give any effect on .mts files

    c1) sorry my mistake. Just open EDL_Convert.ini with text Editor and exchange the first line with an existing drive or folder. After that it will save always last folder position. (You can download also again as I changed it. Start folder is now C:)

    d1) this procedure will not show crossfates in DaVinci. It will line up all your clips according to start times of edit independent which track you used.

    d3) yes same links, install DNxHD, name make a template in Vegas

    e1) when you managed to render them as .mov files you have to make a new timeline in CONFORM and drag/drop them. There are some video tutorials which you should use to understand how to setup DaVinci at first. There are sometimes no user friendly "no way backs" - like setting frame rates at first.

    Hope this helps....

  • @tida thanks but didn't answer to my problem. d3 failed because A2_RegionsRender.cs script generated black video clips.

  • @tonalt did you render the Project_EDL_lin.txt file, where all clips are only located in one track. Furthermore, which kind of DNxHD template did you create. Something like shown in attatched image. Keep also the name of the template simple.

    d3 Render Template.jpg
    1167 x 808 - 196K
  • Just did upload a tutorial to make it easier to follow the steps. A Round-Trip without rendering time and color correction takes less than 5 minutes. Would appreciate if you would give me some feedback...

  • @fatpig, thanks for the link. I have seen this links and others using as a base ffmbc for rewrapping. HD-AWU from HD-CINEMATICS is also an interesting free tool. This can be found here: http://www.hdcinematics.com/tools/AWU.html. But why not using batch rendering by Sony Vegas Pro itself as you have better control.

    Batch render by Sony Vegas is known for very long:http://sony-vegas.wonderhowto.com/how-to/batch-render-sony-vegas-329667/ and it's an original script delivered by Sony. I did just changed both scripts mentioned in that video tutorial.

    It's of course a pity that Sony Vegas Pro 11 and lower does not support xml export.

  • Did release EDL_Conform v01 build 003. Now one is able to trim the head and tail of source file. DNxHD .mov files (or mp4 files) can be rendered to the clip length of the original .mts file, to the clip length of the cut or some defined time in between.

    image

    EDL_Convert v1build003.jpg
    1224 x 578 - 219K
  • @tida Hi there - I was going to ask this particular question on your vimeo piece, but thought I'd ask it here as it may help more people: I'm using Vegas 12 and can export individual DNxHD clips and an XML file, but I can't for the life of me get it to bring the clips into resolve. I can bring the clips in manually but of course that's a bit of a pain as I want eventually to have the graded clips available back in Vegas 12 for final output.

    DNxHD really flies in Resolve (at the expense of big files) but it would be great obviously to only have to output the bits I need to grade, otherwise my PC will get clogged up with huge files.

    I can do the round-trip manually but not using XML. Is there something obvious I'm doing wrong - in Vegas or Resolve? Presumably with Vegas 12's ability to export XML (apparently!) I don't need to use @tida's EDL_Convert / EDL_Conform?

    I realise you might have answered this one in the Vimeo video but there's no audio so not entirely sure if I'm missing something.

  • @Mark_the_Harp sorry I did not realize that it was you on vimeo. As mentioned before I did not try Vegas 12 (even not the trial version). But as far as I understand if you work with XML/EDL/AAF files you end up always with two .mov files. The first one is the ungraded input .mov file and finally you generate the second graded .mov file.

    I assume that if you go the XML route in Vegas 12 you have to convert each clip over the whole distance (at least the ungraded; maybe the final graded has the excact cut length and you save at this point space?) .

    If you go into Resolve, first check framerate in PRESETS but after that directly go to CONFORM. Right click in the "Timelines" area and "Import AAF/EDL/XML.." If you import your XML whole structure of your edit should show up. (If that doesn't work first import in MEDIA the files then go to CONFORM and Import XML) Please note that the handbook of DaVinci Resolve is very good... Might help also. Also edit your XML-file with notepad and look how the file structure changes.

    But just come back also to my route. This will not show excactly the edit structure with transitions in Resolve. But it will show a linear structure where each clip is organized by time one after the other. Thats because I renamed them with 1001_XXX.mov, 1002_XXX.mov, etc. For medium sized projects its OK and you will not get lost. The ungraded as well as the graded .mov file will have the length of the cut or optional an additional length of specific seconds you put in EDL_convert. I did calculate the new clip length in the final EDL-file. Maybe in the future Sony would do that for XML files as well.

    Hope this helps....

  • @tida Brilliant - thank you! Getting there - got something into Resolve but not quite sure it's doing what I'm expecting it to do yet. I'll follow your instructions carefully again in the morning. This should be really useful if I can get it working.

  • @Mark_the_Harp maybe I should look also into Vegas 12 that I would not assume everything. But I bet that the XML-route always assumes that you round-trip original camera files. But for *.mts files you get stuck in Resove. (mp4-files like other cameras do would work)

    The pity is that when you start Edit you don't know which clips you want to use and which not. So it's a waste of time and memory to convert everything where you assume you need it and then start editing. Rewrapping is that you start to edit with *.mts files. Convert the used .mts files to same or similar .mov file names. And simply rename all *.mts into *.mov links in the xml.

    So you still end up with a waste of memory for the input files as you have to render out the full length. Batch conversion via 5DToRGB or ffmbc remapping tools doesn't allow to cut original files. If you want short .mov files easiest way is still to do it in Vegas by scripts. But then you have to adjust the file length and cutting points in the xml files as well to make roundtrip work - hence you need an additional (self made) program to do that.

    If Sony Vegas does integrate that in Version 13 it's worthwhile for me to upgrate it!!!

  • @tida That all makes sense (more sense, now that I've played with it). I fully see the advantage of just exporting the bits you need otherwise it's such a huge hit on space. Incidentally hoping to try again next week at the same venue, this time with some lighting! I will definitely be using your scripts now I know roughly how it works - no real point until I have an edited piece with the actual shots I want, but I'm confident I can do it now, thanks to you!

  • @Mark_the_Harp especially if you cannot plan your scene. Like you have mentioned somewhere that you shoot on concerts with multiple cameras. For master cams you need long lasting shots. 5 minutes would end up in a deasaster for DNxHD - and you might need only 5 seconds. It's a waste of render time and space on your hard drive.

    I would be happy if you could report on results. Please take for excample an eye on frame accuracy. That means compare your starting project.veg file (linked with .mts) with project_EDLfinal.txt file (linked with .mov). It might be that if you use other frame rates than me that you could observe a shift of one or two frames.

    By the way the Vegas EDL text files contain much more information like the standardized EDL CMX3600 which would work in Resolve. I would guess with their 30 different variables they include nearly same information like AAF and XML.

  • @tida I'm very happy to report on results - the vimeo video was just a collection of shots I did as a trial (glad I did, as I'm taking some lighting next time). This week as well as more multitrack audio for our eventual CD, I'm hoping to get enough to do a little taster video about the amazing copies of 4500 year old instrumens we're using and that's where resolve / roundtripping will come into its own. I'll report back!

  • @Mark_the_Harp didn't know that playable instruments do exists for 4500 years - must be a great honor. Then you must be very busy concentration on lightning, video, audio and playing.

    I start to love color correction and grading with DaVinci Resolve more and more. It's easy to perfom different versions of grading for whole projects. If you put each grade in different Vegas output sub folders. Just drag and drop from sub to major folder. As soon as files appears in major folder Sony Vegas does update it automatically and you have a new type of Video.

    Signed in for ColorGHear Pro few days ago and even with few yet available tutorials for DaVinci from @shian results are quick and impart the secret professional touch.

  • @tida Fortunately, I'm not playing as well, otherwise it would be impossible. It's hard enough trying to do various audio and video things, but the recordings are sounding good so far. Your idea about using folders to hold different versions of the files makes perfect sense and I will do that. It will also help me not lose track of which version of things I am working on.

    I joined ColorGhears a while back but that was mainly using AE which is something I don't know that well. I've done a few motion-tracked layers in AE but DaVinci seems to do a better job for me, so I might look into @shian's DaVinci tutorials. There are some other good ones out there, which I have found really great. I'm really at the beginning of learning DaVinci but I'm really impressed. Hope to have a proper video to show everyone soon!

  • @Mark_the_Harp one think to note. Just in case if you want to work with footage that include different framerates in one project like 1080p30 and 720p60. Usually for whole project rendering Vegas takes place with frame blending or skipping and rezising.

    If you want to batch render regions in Vegas you have to manually equalize framerates at first. Otherwise I get a lot of jumpy .mov files or Vegas passes by from time to time. If you have a 720p60 clip - right click and choose Properties/Video Event/Undersample rate. Instead of 1.000 put 0.500 and it will be fine for batch render regions (incl. rezising) in 1080p30.

    Maybe I can take care about this in a new script with an automatic batch resample framerate option for mixed footage. Then you don't have to keep an eye on it manually.

  • In this screenshot from Vegas you see three different timelines from same Project. I used 42 different clips for a Video of a length of 2:20 minutes.

    Usually, I would have to render out overall 28:00 minutes in DNxHD which shows upper timeline.

    With "Tail and Head Trim" set to 2 seconds it is only 4:40 minutes shown in the middle timeline.

    With "Tail and Head Trim" set to 0 seconds it is only 2:20 minutes shown in the lower timeline.

    That means for a typical Project I can safe a little more than 10 times of hard drive space as well as render time. In this case 3.8 GB against 42 GB either with or without trimming for .mov files. Sanity 5 patch took 6.4 GB for these 42 original .mts files.

    Before Grading:

    image

    Final Edit in Vegas:

    image

    By the way Color Grading with ColorGHears in Davinci Resolve is a charm!!!

    Size changes for DNxHD rendering.jpg
    1893 x 269 - 119K
    Final edit in Vegas.jpg
    1804 x 360 - 184K
  • I did release a new version of EDL_Convert. This time with changes of the scripts to take care about original footage with mixed framerates in one project.

    You can download it at the top of this topic: http://www.personal-view.com/talks/discussion/6238/edl_convert-workflow-developement-for-sony-vegas-pro-davinci-resolve-/p1

    Just put all scripts into the customized toolbar and you will be able to make a round-trip with a few clicks. image

    Changes in v1build004:

    Did add new scripts A1_RegionsMark 24p, A1_RegionsMark 25p, A1_RegionsMark 30p. They will take care that you can render footage with mixed framerates to the target frame rate either 24p, 25p or 30p. This is done by automatically adjust "Undersample rate" as well as "Playback rate".

    All RegionMark scripts will remove regions which might be set before and then subsequently sets the new regions.

    Added A0_RegionsRemove which does only remove regions which might be set.

    Added A0_RunEDL_Convert which will execute EDL_Convert.exe directly from Sony Vegas

    Option - Customize Toolbar.jpg
    602 x 308 - 56K
  • Hi @tida, Can you tell me the advantage of your workflow over using scene detection in DaVinci?

    With my workflow I can render edited MTS files to DNXHD. Then I import it into DaVinci and run the scene detection program to split it up into separate clips that can be individually color corrected. Thanks.