Let's say I wanted to encode the intro along with the music of an anime. The intro is 1:30. What I want to do is encode the intro along with the audio and I want the output files to be the exact same length so that I can put them back together with MKV merge. And you know sometimes the intro doesn't play at the beginning of an anime.
I know how to trim the video but the audio is still a mystery to me. Here's what I got so far:
DirectShowSource("C:\Users\Nagashi\Desktop\Working \A.mkv")
Trim (0,2141)
Oh, and I am using MeGUI to load AVIsynth scripts.
+ Reply to Thread
Results 1 to 5 of 5
-
Last edited by Nagashi; 2nd Oct 2011 at 08:52.
-
feed the same .avs script into the audio section
Trim() affects both audio & video . So if your script feeds both audio & video, both will be cut
DirectShowSource() should normally return both audio & video , otherwise you can use audiodub(video,audio) -
-
e.g
Aud = FFAudioSource("video.mkv")
Vid = FFVideoSource("video.mkv")
AudioDub(vid,aud)
Trim (0,2141)
or
FFMpegSource2("video.mkv", atrack=-1)
Trim (0,2141)
You need FFMS2 plugin
Similar Threads
-
AviSynth Overlay and Trim Help
By NMeade in forum Newbie / General discussionsReplies: 20Last Post: 1st Apr 2012, 07:53 -
Is there ANYthing that will trim h.264 flv's without audio sync issues?
By AshleyQuick in forum Newbie / General discussionsReplies: 4Last Post: 29th Mar 2012, 09:07 -
Seeking audio sync using avisynth trim and selectRange
By Kab09 in forum Newbie / General discussionsReplies: 9Last Post: 27th Aug 2009, 12:10 -
Trim audio without re-encode
By pchan in forum AudioReplies: 3Last Post: 17th Sep 2007, 08:29 -
How to trim your video and audio within Windows Media Player™
By DmitryV in forum User guidesReplies: 0Last Post: 20th Jun 2007, 04:53