View Single Post
Old 27th May 2010, 21:43   #4  |  Link
RiCON
Registered User
 
RiCON's Avatar
 
Join Date: Jan 2004
Posts: 69
Vfr.py 0.6

Ported to Python 3.1.2.
Changed some options so they do exactly the same as split_aud.
Fixed bug with scripts with a single trim.
Added edition to matroska chapter header.
Added tag header (doesn't create tag file yet).
Enabled audio cutting without chapter or qpfile creation (making it syntax-compatible replacement with split_aud.pl)
Moved avs input to arguments, since it's now the only required thing for vfr.py to run.
"Fixed" trims using last frame in timecodes file: will generate a synthetic timecode from the average time per frame of a few previous frames to use in audio cutting (not very accurate).
If timecode file input is used and trims refer to frames not in it, the script tries to generate the timecode from an average of some previous frames (not accurate).

Changed options:
Code:
vfr.py -i audio.aac -o cutaudio.mka -f 30000/1001 -t timecodes.txt -c chapters.xml -q qpfile.qpf -vmr --test --frames 9001 trims.avs

-i = Audio to be cut (takes whatever mkvmerge takes)
-o = Cut audio inside .mka
-f = Frames per second (takes "25", "24000/1001" and "30000:1001" as input)
-t = v1 or v2 timecodes file for vfr capabilities (needs tcConv.exe for v1 parsing)
-c = Chapters file. If extension is xml, outputs MKV Chapters, else it outputs OGM Chapters
-q = QPFile for use in x264
-v = Verbose mode
-m = Merge split audio files
-r = Remove split audio files after merging
--test = Test Mode (doesn't create new files)
--frames = number of frames for v1 to v2 timecodes conversion
trims.avs = Gets first uncommented line starting with trims from this Avisynth script
RiCON is offline   Reply With Quote