The silence detection in the voice-over tool is absolutely brilliant. However, I have found a small bug with it...
If the voice-over is split into many events on the track, as mine usually is, and the duration of the "quiet" part at the start or end of an event is shorter than the "Min Duration", the fade incorrectly starts from the end of the event rather than from the point at which the volume passes the threshold.
Here is a simple project that illustrates this. The "silence" at the end of the events on track #2 is 10 frames in a 24p project, and therefore less than the 0.5 sec of the "Min Duration". The volume envelopes on the "music" tracks #3 and #4 were made using the Vegasaur defaults. They should be the same. If those silent ends are 12 or more frames there is no problem.
Unfortunately the problem arises many times in my projects as I routinely cut up my voice-over into short events with a fraction of a second silence at each end.
I've been testing the new smart trim feature with VP13.
It works beautifully for DV footage, where it is frame-accurate, for GH4 C4K .mov footage, where it seems to trim clips nicely to the next I-frame outside the wanted part of the clip. It also worked pretty well for Apple ProRes clips.
Unfortunately it is not working with HDV .m2t clips (captured with HDVSplit), or AVC .m2ts clips from my Sony RX100. For DNxHD 444 10-bit I got audio only.
The one format I'd really like this to work for is 4k .mp4 clips from my GH4. When I try that I just get a tiny unplayable .mp4 file. The Smart Trim Log is below.
altarvic, I'm more than happy to work with you to get this working for more formats, either by testing or by providing sample media.
While I'm at it, I'll post my settings for the voice-over tool. It took me ages and many attempts to get this right, but now this closely approximates what I've been doing manually. The silence detection feature is brilliant.
On that occasion it was my AMD HD 6970. I was doing a big frameserved render in VP13 and it kept hanging at 6%. I think the GPU was to blame. Can't be sure. I could do some more testing.
I have now 2x R9 290 and had issues with it too, especially rendering. Like you, I was stuck at around 8-9%. I upgraded driver from 14.4 to 14.9 and even the latest 14.12, none solved the problem. I am now on driver 13.251 which I downloaded from the manufacturer website as the latest driver for my card. Guess what, all is working now.
I assume you mean from ASUS, from looking at your system specs, for which you now need to update your driver version ;)
I checked Sapphire and they are linking to the same latest drivers for HD 6970 as AMD are. I am a couple of driver versions out of date so I may update and try that. I don't think I'm going to start going backwards on the off chance of a solution.
1. Paste Event Attributes: Added support for Fade Ins/Outs
2. Replace Media: Introduced Match Media Properties option to automatically change the project settings to match the replaced media properties
3. Transcoder: Added support for DoStudio chapters
4. Voice Over:
- Added ability to save and restore settings using presets
- "Detect Silence" function can process audio from nested projects
5. Presets Manager: Save/Restore toolbar buttons
6. Automatic check for updates
7. Minor bug fixes and improvements
Great updates. Thanks very much altarvic, especially for changes #2 and #4!
Panasonic GH4 UHD mp4 smart trimming is still just rendering a tiny unplayable file. Does it just work with intra-frame formats? I'm very happy to contribute media and test if there is any prospect of getting it working.
I was wondering if it might be more straightforward to create a function that simply trims the file to the nearest i-Frames outside the area to keep. You would get a slightly longer clip than needed but it might make the function more reliable and simple to code. Just a thought.
altarvic, having still not found a way to smart render GH4 footage in a batch, I've been doing some more testing and it looks like the problem is with the PCM audio that is in the GH4 MP4 files. PCM is not supported in MP4 output in ffmpeg.
I've found that I can get success by ignoring the audio (which doesn't matter for much of my footage), for example:
So I was wondering if it would be possible to give us a couple more additional options in the Smart Trim dialog: "Render video only" (which invokes -an), and "Transcode audio to aac"?
@musicvid Unfortunately not. I managed to get a wav file out using ffmpeg but it wouldn't mux it into an mp4 container. The official mp4 still doesn't support pcm audio. mp4box won't even remux the .h.264 and .twos files that it demuxes from the original mp4. I failed with FFmpeg too.
However I've today discovered that pcm audio is allowed with h.264 video in a mov container, and it's pretty easy to rewrap .mp4 as .mov in ffmpeg:
The files aren't frame accurate (2 duplicate static frames at each end) but otherwise the video quality is untouched, the pcm audio is fully intact, they play nicely on the timeline, and Vegasaur will smart trim them. Unusual things happen at the ends of the trimmed file (extra length and duplicate or even reverse frames), but the section that you wanted to keep is preserved.
A simple command line to trim and rewrap to mov would be this: