Username:
B
I
U
S
"
url
img
#
code
sup
sub
font
size
color
smiley
embarassed
thumbsup
happy
Huh?
Angry
Roll Eyes
Undecided
Lips Sealed
Kiss
Cry
Grin
Wink
Tongue
Shocked
Cheesy
Smiley
Sad
<- 12
--
--
List results:
Search options:
Use \ before commas in usernames
Edit history:
ballofsnow: 2013-01-20 01:53:42 pm
ballofsnow: 2013-01-20 01:52:54 pm
You need to do both, they go together. Change to import(), and not use b-frames with ffmpegsource. Or, just copy the code from intermediatefile.avs into _source.avs; the effect is the same as import().

B-frames seeking incorrectly with ffmpegsource was a discovery. Using import() directly just make sense, since otherwise you're doing weird nesting like directshowsource(ffmpegsource(thefile)). Also, generally speaking directshowsource can be buggy and should be avoided if possible.

Like I said above, I'll patch in an import option to make this easier.
Oh okay, I see now.
Well, for the record, it looked like using import or directshowsource alone did the trick for me, without having to turn off b-frames.  If I do notice anything weird with the seeking/trimming in some future encode, though, I'll try turning off b-frames.

Thanks again.
Here's the import patch. Option 4 for AVS in anri.
Cool, tried it and it works as expected. Smiley
Actually, one other question, if I may.

In many cases, I'd like the intermediate encode to be frame-trimmed relative to the original AVI - because the original AVI might have a few failed attempts at the start of the recording, or a few unnecessary seconds of buffer at the end, and it's very unlikely that I'd have to keep those start/end parts for any reason.

Where in the batch script could I specify trim frames for the intermediate encode, such that the intermediate encode undergoes minimal (or no) quality loss versus not trimming?  If it helps at all, I'd only need one trim range for this purpose; appending multiple trim ranges won't be necessary.
x264 has --seek and --frames which effectively gives you a single trim range, but it won't take care of trimming the audio. The easiest method is to just create a simple trim.avs with avisource(...) and then trim(...). In encode.bat set input=trim.avs.
Great, thanks. Smiley  Think I'm finally ready to free up some GB's of uncompressed avi's.