View Single Post
Old 1st November 2011, 20:02   #93  |  Link
vampiredom
Registered User
 
Join Date: Aug 2008
Posts: 233
MpegAutoIndex

New Utility and Function: MpegAutoIndex and MpegAutoIndexSource()

http://forum.doom9.org/forumdisplay.php?f=69

All requirements are included in the distribution.

MpegAutoIndex provides easy script-controlled indexing for MPEG2, h264/MPEG4 and VC1 sources via Donald Graft's indexing tools. As of 2011/11/01, h264 .mkv files are also supported. [note: .mkv containers, VC1 formats and interlaced h264 require a license from neuron2.net]

The package includes the indexers - and expands h264 support to include .mp4 and .mov containers via the included mp4box and faad executables. Likewise, it now includes ASF2VC1 to enable accurate indexing of VC1 in .wmv containers.

MpegAutoIndexSource() uses NicAudio for sourcing a large variety of audio formats. It also includes SoundOut for easy exporting of AC3 and WAV formats, which can be particularly helpful for 5.1 channel encodings, etc. The function provides many options for audio input/processing/output.

When opening .VOB files, MpegAutoIndexSource() automatically detects and indexes the entire set.

Code:
# MPEGAutoIndexSource(filename [, options])

# Open an MPEG4 file
MpegAutoIndexSource("foo.mp4")

# Open an AVC stream using DGIndexNV and hardware double-rate deinterlacing
MpegAutoIndexSource("foo.mts", NV=true, args="deinterlacing=2")

# Open an AVC stream using DiAVC and hardware double-rate deinterlacing
MpegAutoIndexSource("foo.mts", DI=true, args="deinterlacing=2")

# Open an NTSC MPEG2 DVD stream using DGIndex, force it to 24P (film)
# Downmix the multichannel audio to stereo, Normalize the audio to 99%
MpegAutoIndexSource("VTS_01_1.VOB", FieldOperation=1, Downmix=true, PeakAudioLevel=0.99)

# Open an AVC stream from BluRay using DGIndexNV, forcing 24p
# Downmix the multichannel audio to stereo, normalize it to 100%
# Output the audio as a 256kbps AC3 file
MpegAutoIndexSource(
\     "12345.m2ts",
\     NV=true,
\     args="fieldop=1",
\     Downmix=true,
\     PeakAudioLevel=1.00,
\     AC3Out=true, AC3Bitrate=256
\ )

# Open an VC-1 .wmv file
MpegAutoIndexSource("vc1.wmv", NV=true)

# Open a .mkv file with h264 video
MpegAutoIndexSource("vc1.wmv", NV=true)

Last edited by vampiredom; 2nd November 2011 at 03:38. Reason: new version, new functionality
vampiredom is offline   Reply With Quote