VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 8 of 8
Thread
  1. ----------------------------------------------------------------------------
    AudioSpeed 2019-08-16.zip
    AudioMeter 2019-08-15.zip
    ----------------------------------------------------------------------------

    AudioSpeed() is intended as a way to more easily change the audio duration by non standard amounts to match the video, or to apply standard PAL speedup or slowdown etc. It has no effect on the video. To change the video duration in combination with AudioSpeed(), use AssumeFPS() or ConvertFPS() etc. If the source has no video, a blank clip is created to display the info when Info=true (the default).

    The 2019-08-16 version has a picture dimming option to make the text easier to read. Some dimming is enabled by default.
    When a delay is specified, if DelayFirst=true (the default) the delay is applied before the audio is resampled. DelayFirst=false does the resampling before the delay is applied..

    Usage is fairly straightforward, but there's a help file included.

    AudioSpeed(25.0, 24.0/1.001, Delay=-114)




    ----------------------------------------------------------------------------

    AudioMeter() displays the audio levels over the top of the video. It's exactly the same as using Histogram("audiolevels") in a script that contains video, but if the source is "audio only" it'll create a blank clip to display the audio levels.

    AudioMeterL(), AudioMeterR(), AudioMeterT() & AudioMeterB() display the audio levels to the left, right, above or below the video.
    The output resolution never changes, so the video width or height is halved, however the script can crop/resize and/or add borders to the video with the CropResize script as required (using CropResize is the default). If CropResize isn't loaded, the script reverts to "squishing" the picture with Spline36Resize and Borders=true has no effect, which isn't necessarily a bad thing, given the object of the exercise is mainly to view the audio levels.

    There's additional information at the top of the script.

    AudioMeter()




    AudioMeterL(Borders=true) (with the CropResize script loaded)




    AudioMeterR() (without the CropResize script loaded, or with CR=false)

    Last edited by hello_hello; 26th Aug 2019 at 03:42.
    Quote Quote  
  2. I've updated the link in the opening post with a new version (2017-09-14). The only change is if the source contains no video, instead of creating a blank 10 second clip when Info=true is specified, the blank clip created will have the same duration as the audio (give or take a few ms).
    Quote Quote  
  3. While I'm here, this is another little script that might come in handy for someone. All it does is display the audio levels over the top of the video. It's exactly the same as using Histogram("audiolevels") in a script that contains video, but if the source is "audio only" it'll create a blank clip to display the output meters.
    There's no options.

    AudioMeter() overlays the meters on the video (or creates a blank clip)
    AudioMeterL() displays the output meters to the left of the video
    AudioMeterT() displays the output meters above the video

    The latter two simply reduce the width or height of the video by half to display the meters at the left or top without changing the over-all resolution.

    Link & image removed. See the opening post instead.
    Last edited by hello_hello; 14th Aug 2019 at 10:50.
    Quote Quote  
  4. I've attached anewer version of the AudioSpeed script to the opening post, and also here: Link Removed

    It fixes a problem where Info=true would sometimes display the duration of the resampled audio as being an hour longer than the real duration (the resampling function was working as it should though).

    I also changed the duration of the blank clip created when the source is audio-only and Info=true to match the duration of the resampled audio rather then the original audio.
    Last edited by hello_hello; 14th Aug 2019 at 10:49.
    Quote Quote  
  5. I've updated the AudioMeter script in post #3 to this version: Link Removed
    When the source didn't contain video, it wasn't always creating a blank clip as expected.
    Last edited by hello_hello; 14th Aug 2019 at 10:48.
    Quote Quote  
  6. There's two new versions of the AudioSpeed script in the opening post and also attached here.

    Link Removed
    The same as the previous version (2017-10-02) but I fixed a stupid that caused the script to produce an error when Info=false and the source contains no video. Other than that it was working fine so the link remains in case the new version introduces gremlins.

    Link Removed
    Changed the way the input/output bitdepth is handled. The Output option can now be set to -1 (which is the default).
    See the description of the Output option in the opening post or in the included text file for details.
    Last edited by hello_hello; 14th Aug 2019 at 10:48.
    Quote Quote  
  7. For anyone who might be interested, I've given the AudioSpeed and AudioMeter scripts a bit of a refresh. There's download links and some new screenshots in the opening post. The new versions are dated 2019-08-15.
    Last edited by hello_hello; 15th Aug 2019 at 14:37.
    Quote Quote  
  8. I've updated the AudioSpeed script a little again. The new version is dated 2019-08-16. I'll leave the link for yesterday's version in the opening post for a while just in case I did something silly, but the new version should be fine.

    There's now a DelayFirst argument. When DelayFirst=true (the default) any audio delay specified is applied before the audio is resampled (before the speed/duration is changed), otherwise the delay is applied after the resampling. The order in which "Post Delay Duration" and "Resampled Duration" are displayed when Info=true changes accordingly.

    The picture dimming with Avisynth's Levels() is bypassed completely when PicDim=0 or when a blank clip is created when Info=true, possibly saving a few CPU cycles.
    Quote Quote  



Similar Threads