Hi everyone,
I´m having trouble with my workflow, where I´m trying to make AviSynth script trim media at certain time. The idea is that AviSynth trims first 15 seconds of every file and then the process continues.
The script:
#
return trim(m_clip,375,0)
#return m_clip
The files:
XDCAM50 files
The workflow:
Folder - A/V Media - AviSynth and following steps.
The problem is obviously in the script, as when I skip it, the workflow works just fine (deinterlacing, watermarking, h.264 etc.)
Is there something wrong with the script? Am I using wrong script? Or is there any better way to make FFAStrans trim first 15 seconds of all the files in watchfolder?
Thanks a lot for any help!
Asynchronous A/V after AviSynth trim
Re: Asynchronous A/V after AviSynth trim
Hi st-tb, thank you for using FFAStrans and welcome to the forum!
As the default avisynth script says:
# The following MUST be the last line of your script
Return m_clip
The reason for this is that subsequent filters will use the m_clip as source for their filtering. So your script should look like this:
m_clip = trim(m_clip,375,0)
return m_clip
Try it and let us know how that works out
-steinar
As the default avisynth script says:
# The following MUST be the last line of your script
Return m_clip
The reason for this is that subsequent filters will use the m_clip as source for their filtering. So your script should look like this:
m_clip = trim(m_clip,375,0)
return m_clip
Try it and let us know how that works out
-steinar
Re: Asynchronous A/V after AviSynth trim
Hello, Steinar
and thanks for your help.
I´ve already tried several incarnations of the script, one of them looked like your does. But with no help. I copied your´s and there still is asynchronous audio (it´s probably something like 0.3sec forward)..
I even tried changing encoders or simplifiing the workflow, but it always seems to be a problem with AviSynth :/
and thanks for your help.
I´ve already tried several incarnations of the script, one of them looked like your does. But with no help. I copied your´s and there still is asynchronous audio (it´s probably something like 0.3sec forward)..
I even tried changing encoders or simplifiing the workflow, but it always seems to be a problem with AviSynth :/
Re: Asynchronous A/V after AviSynth trim
I anyone knew any (or any other) way of how to trim first 15seconds of video, please share
I still cant figure out why there is alway an audio delay (seems to be 12 or 13 frames).
Thanks for any help
I still cant figure out why there is alway an audio delay (seems to be 12 or 13 frames).
Thanks for any help
Re: Asynchronous A/V after AviSynth trim
Have you tried to use "Full decode" in the "A/V Media"-decoder? If not, please do and see if that helps.
-steinar
-steinar
Re: Asynchronous A/V after AviSynth trim
excelent! that did the trick!
thank you so much!
thank you so much!