digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   ToMPEG2 converter! (http://www.digitalfaq.com/archives/encode/13826-tompeg2-converter.html)

dvdreasy 09-19-2005 06:37 PM

ToMPEG2 converter!
 
Hi,

I coded a litle tool to convert my camcorder captured AVI files to MPEG2 DVD compliant files. It uses AVISYNTH with HC encoder.

It has a few feutures :

- Accurate selection of frames to encode (Startframe & Endframe)
- Filesize prediction on HC MPV file
- You can have all of your AVISYNTH scripts on a directory and when you load one the AVISOURCE("") is automaticly changed to the name of the AVI clip
- TRIM() function is automaticly inserted in the script (if you selected start & end frames to encode)

Here are same screenshots :
---------------------------------
Main Window
http://www.digitalfaq.com/archives/i...2005/09/18.jpg

Selection of Start and End Frames
http://www.digitalfaq.com/archives/i...2005/09/19.jpg

You must have installed :
----------------------------
- BeSweet
- VirtualDub

In fact, VirtualDub is only used to extract the audio from the clip to WAV. As far as I know, VirtualDub is the only tool that let you specify the start and end frame for Audio extraction (SAVE WAV). If you know other tool to do it or (better) have the code to do it, please let me know.

The only way that I know of extracting the audio from an AVI file by code is setting Video display off, play and capture the clip/segment /(wich it only contain audio) and save the capture to a WAV file. But, obviously, this is the wrong aprouch and takes forever . . .

My camcorder captured AVI's are interlaced. I included, in avisynthscripts directory (ex: c:\program files\tompeg2\avisynthscripts) the script that I'm using (until now, this script is the one that give's me the best results. as discussed in http://www.kvcd.net/forum/viewtopic.php?t=15826)Donīt have any non interlace avi to test, so if this is your case you must find/build the correct avisynth script and put it in the avisynthscripts directory.

I'm planing to incorporate CAPTURE capability in this tool. This way I/you only need ToMpeg2 to capture the clips from the camcorder and encode them to MPEG.

So, here it is ToMpeg2!
http://www.kvcd.net/dvdreasy/ToMpeg2.zip

Hope you like it and it can be of any use to you.
comments/feedback are wellcome :wink:

Cheers,

Pedro

kwag 09-19-2005 06:50 PM

Thanks Pedro :D
Downloading it right now :cool:
(Too many new toys in the past few days :mrgreen: )

EDIT: I fixed your link Pedro.
The filename was all in lower case, so the link was not valid ;)

-kwag

fabrice 09-19-2005 11:23 PM

Hi,

Seems great! I have to try it, when I have some time ,because of a lot a cam material to convert to DVD (basically, the first 3 years of my son! :-) Believe me, that's a lot of material).

Thanks,
Fabrice

Anerboda 09-20-2005 09:09 AM

Thanks, I will use this next time.
I do a lot of camcorder to mpeg2 conversions, and this will help to make things a lot easier.
If I just had the time, the testing would have begun... :D

-Anerboda

Zyphon 09-20-2005 03:49 PM

Wow thanks Pedro for this excellent tool, it will definately help out people who use captures. :D

:bowdown: :bowdown: :bowdown: :bowdown:

fingerbob 09-21-2005 02:54 AM

could it be...no surely not...could it?

The long lost distant cousin of good old ToK :D

Blubear 04-29-2006 02:48 PM

Given up on this program
 
Hi,

I obviously must be doing something wrong here as i am sure this does work. i installed it and set all the paths as the program stated to Besweet(latest) and VirtualDub MPEG2 (Latest). Captured a 5 minute clip from my camcorder of my sons birthday to test. In the GUI selected NOTCH Matrice for HEnc settings and path to working folder. All the required latest avisynth 2.5 .dll placed in the filter folder of Avisynth. Despite 5 tests both with interlaced ticked unticked an error occurs and the program prematurely ends. The final result is only a ripped soundtrack x2 one named video'.

Do you know what i am doing wrong here?? :roll:


All times are GMT -5. The time now is 11:40 PM  —  vBulletin Đ Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.