Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th February 2005, 03:35   #1  |  Link
opsis81
Registered User
 
Join Date: Nov 2003
Posts: 131
New filters...

Download FilmShrink from
http://filmshrink.sourceforge.net/

FilmShrink is a DVD-Video backup software for Windows, which transcodes video titles into the RealMedia format (RealVideo / RealAudio 10) powered by the Helix DNA platform.
BUT!! it includes some new avisynth filters

MPEG-2 Video Decoder Plugin for AviSynth 2.5 (m2input.dll)
AC-3 Audio Decoder Plugin for AviSynth 2.5 (ac3input.dll)
DTS Audio Decoder Plugin for AviSynth 2.5 (dtsinput.dll)
MPEG Audio Decoder Plugin for AviSynth 2.5 (mpainput.dll)
LPCM Audio Decoder Plugin for AviSynth 2.5 (lpcminput.dll)
opsis81 is offline   Reply With Quote
Old 8th February 2005, 22:47   #2  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,306
Sounds very promising! The site is a bit slow/down

I changed the title a bit

edit: I can't get AC3Source or DTSSource to work. Did someone have any luck?

Last edited by Wilbert; 8th February 2005 at 23:23.
Wilbert is offline   Reply With Quote
Old 9th February 2005, 00:25   #3  |  Link
opsis81
Registered User
 
Join Date: Nov 2003
Posts: 131
You should change the title.
FilmShrink seems to indexes the vob first.Something like d2a cration
These filters seem to be the m2tools pack.The source code of m2tools can be downloaded from http://filmshrink.sourceforge.net/dl.html.
Have a look at it.
opsis81 is offline   Reply With Quote
Old 9th February 2005, 17:36   #4  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
What input does the m2input.dll plugin supports?
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 9th February 2005, 21:36   #5  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,306
I'm not sure. If you look at mpeg2dec.c it says * Jun 20, 2004: Derived from "DGIndex 1.0.12" by Attila Afra. Perhaps "it's" just dgdecode 1.0.12. I do know it should be called with mpeg2source(blabla).

I will mail him about this.
Wilbert is offline   Reply With Quote
Old 9th February 2005, 21:50   #6  |  Link
Sirber
retired developer
 
Sirber's Avatar
 
Join Date: Oct 2002
Location: Canada
Posts: 8,978
ok, so it takes D2V files. Thanks for the info
__________________
Detritus Software
Sirber is offline   Reply With Quote
Old 9th February 2005, 22:41   #7  |  Link
a_afra
Registered User
 
Join Date: Feb 2005
Location: Romania
Posts: 76
Hi,

My name is Attila Afra, and I'm the developer of FilmShrink. I've noticed that a few people are interested in the new AviSynth plugins used by FilmShrink. These plugins are part of m2tools, which can be downloaded (full source code) from FilmShrink's homepage. m2input is a slightly modified version of DGDecode (it accepts M2I files, which are VERY similar to D2V files, but there are a few differences, so it's NOT compatible with those) and ac3input/dtsinput/lpcminput/mpainput were written by me using different decoder libraries (liba52, libdts/libdca, MAD). The cause of your problems is that the video/audio plugins can ONLY accept files generated by m2index, the main indexer library, which is based on DGIndex. m2index first creates a "full" video/audio/subpic index, from which you can later rebuild (using the m2rebuild function) the index of a single PGC/angle, usable by the plugins. I will soon (this weekend ) write a detailed description on how to use this package, and I will release a sample command-line tool (with source) which uses m2index. Until then I recommand experimenting with the files located in the hidden ".fskj" directory of the jobs created by FilmShrink. And don't forget to check out "m2index.h" and "m2index_info.h" from the m2tools source package! I'm awaiting all your questions and suggestions...

Attila
a_afra is offline   Reply With Quote
Old 10th February 2005, 14:51   #8  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,306
Welcome on this forum!

Quote:
I will soon (this weekend ) write a detailed description on how to use this package, and I will release a sample command-line tool (with source) which uses m2index.
Does the latter mean we can open dts/ac3/etc in AviSynth by using the index file created with m2index (and the command-line tool)?
Wilbert is offline   Reply With Quote
Old 10th February 2005, 19:50   #9  |  Link
a_afra
Registered User
 
Join Date: Feb 2005
Location: Romania
Posts: 76
Yes, you can! In fact, there will be two tiny tools: one (simply m2index) for creating the main (full) index, and the other (m2rebuild) for rebuilding it to get the index of the desired PGC/angle. Both will use "m2index.dll". Note that the AviSynth plugins included in m2tools can only accept the rebuilt index, which is NOT compatible with any other plugins! By using m2rebuild, you can immediately decode any PGC/angle without extracting it from the DVD using a tool like vstrip, DVD Decrypter or IfoEdit. Also you don't have to demux the audio streams: the only things you need are the index files. m2tools supports multi-angle and seamless branching DVDs too, so it's quite powerful (I've tested it with "The Matrix" and it works fine)!

Last edited by a_afra; 10th February 2005 at 19:58.
a_afra is offline   Reply With Quote
Old 1st March 2005, 22:18   #10  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 6,306
Any news?
Wilbert is offline   Reply With Quote
Old 3rd March 2005, 20:09   #11  |  Link
a_afra
Registered User
 
Join Date: Feb 2005
Location: Romania
Posts: 76
m2DecPak 1.1.1 SDK is available for download! I had to rename m2tools because I've noticed that there is already an m2_tools. Sorry for this huge delay, but I have very little spare time and I had to concentrate on the development of FilmShrink's main module. You can download this package from FilmShrink's download page. The SDK contains the include files, the compiled libraries, examples (the sample command-line tools) and a detailed description about the usage of this package outside FilmShrink. You should also download the source code and the latest version of FilmShrink (0.2.8). Looking forward to feedback...
a_afra is offline   Reply With Quote
Old 4th March 2005, 03:05   #12  |  Link
Backwoods
ReMember
 
Backwoods's Avatar
 
Join Date: Nov 2003
Posts: 416
I just tried out your AC3 filter, it's perfect. Only problem is the CMD stuff. I used Filmshrink instead and copied the temp files it made and used those. Otherwise I couldn't get it to work.
Backwoods is offline   Reply With Quote
Old 4th March 2005, 05:27   #13  |  Link
E-Male
mad computer-scientist
 
Join Date: Mar 2002
Posts: 1,375
does this only work on DVDs, or can i also create indexes for already demuxed streams?
E-Male is offline   Reply With Quote
Old 4th March 2005, 05:42   #14  |  Link
Backwoods
ReMember
 
Backwoods's Avatar
 
Join Date: Nov 2003
Posts: 416
I'm pretty sure it's only VOBs and IFOs.
Backwoods is offline   Reply With Quote
Old 4th March 2005, 09:31   #15  |  Link
a_afra
Registered User
 
Join Date: Feb 2005
Location: Romania
Posts: 76
Yes, it can index only DVDs (demuxed ones aren't accepted)! Also make sure to copy "m2index.dll" into the directory from where you launch the command-line tools! It should work without any problems.

Example usage:
m2index.exe "VTS_02_1.VOB|VTS_02_2.VOB|VTS_02_3.VOB" main true true
m2rebuild.exe main VTS_02_0.IFO movie 1 0 true true true

Last edited by a_afra; 4th March 2005 at 09:40.
a_afra is offline   Reply With Quote
Old 4th March 2005, 10:44   #16  |  Link
E-Male
mad computer-scientist
 
Join Date: Mar 2002
Posts: 1,375
i see, but could it be modified to work with demuxed files?
E-Male is offline   Reply With Quote
Old 4th March 2005, 19:27   #17  |  Link
a_afra
Registered User
 
Join Date: Feb 2005
Location: Romania
Posts: 76
No. It is possible to index the demuxed video stream with m2Index but you won't be able to use m2Rebuild and decode the video using m2Video. But you can decode a demuxed audio track if you manually create a .VFM file. It should look like this (without < >):


VirtualFileMap10
1
<full path of the demuxed audio file>

0 <length of the file in hex>

.


Pass this file to the proper decoder filter.
a_afra is offline   Reply With Quote
Old 4th March 2005, 19:46   #18  |  Link
E-Male
mad computer-scientist
 
Join Date: Mar 2002
Posts: 1,375
thx, i'll look into that
E-Male is offline   Reply With Quote
Old 30th March 2005, 18:52   #19  |  Link
Nic
Moderator
 
Join Date: Oct 2001
Location: England
Posts: 3,285
Is anyone interested in these filters as standalones for loading raw audio files such as AC3, DTS, etc?

It's very easy to convert them, (I'm thinking someone else has
already done it, but I can't find it with a search).

(I could just join them all into one DLL pretty easily)

Here's an AC3 one for example:
http://nic.dnsalias.com/m2audio_ac3.zip

-Nic
Nic is offline   Reply With Quote
Old 30th March 2005, 19:45   #20  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,183
Quote:
Originally posted by Nic
Is anyone interested in these filters as standalones for loading raw audio files such as AC3, DTS, etc?
Yes,me...I'm interested.
Kurtnoise is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:33.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.