PDA

View Full Version : NDS - DPG batch encoder



seppesbox
June 6th, 2006, 18:37
ls5 (http://gbatmw.proboards44.com/index.cgi?board=mnshllgen&action=display&thread=1149097698&page=1) posted this news/release:


BatchDPG is a program I've been working on, because I was irritated with dpgenc for a number of reasons. However, as I simply do not know how to create a DPG header, it still uses dpgenc. So why did I create this program? Well, there are a number of reasons;
- Support for pretty much any file you can play in DirectShow based media players such as Windows Media Player and Media Player Classic. This means you're not limited to AVI, WMV and MPG anymore.
- It's very easy to add subtitles. Currently only SRT, SSA and ASS can be selected, but it's very simple for me to change the code so it supports others. Anything VSFilter (the best subtitle renderer around) can handle is therefore possible to add.
- Better quality, both video and audio wise. Audio because a better resampler is used, and video because a better resizer is used and extra options are added to the mencoder commandline (mencoder is the program dpgenc uses for the video conversion to MPEG-1). In fact, you can choose different video quality settings according to your demands. The High settings is quite slow, so Medium is recommended, while Low should offer quality equivalent to the dpgenc default settings.
- Set any bitrate you want. This means you can go above the normal limit of 256 too. Note that this is just a target bitrate. It will probably use less if you set it very high.
- Max video bitrate option. This helps prevent those skips which sometimes occur. I havn't done any serious testing, but MoonShell seems to be able to handle a total bitrate of 512 kbps (video+audio) perfectly.
- Automatic framerate calculation. This assumes Height * Width * FPS = 737280. So with a 256x192 (Fullscreen) video, this would result in the framerate being 15. A 256x144 (Widescreen) video would have a bitrate of 20.
- Batch encoding! You can safely leave a number of files in the queue and it will automatically convert one after the other.

So how does it do all these things? Well, the first thing it does is create an Avisynth AVS file. Avisynth is a great video editing system, but unfortunately dpgenc can't directly open AVS files. To circumvent that, VFAPIConv is used to create a dummy AVI file, which dpgenc can read. BatchDPG then creates a dpgenc.ini with necessary instructions, after which it will start dpgenc itself and do the actual video and audio encoding.

The installation instructions are as followed:
- Install Avisynth from http://sourceforge.net/project/showfiles.php?group_id=57023. Make sure to get the 2.5 version, not the 2.0.
- Install this file to any place you like: http://rapidshare.de/files/22189277/BatchDPG.exe.html / http://www.mytempdir.com/715514.

scorpei
June 6th, 2006, 20:02
Could you try and find the latest version in there and somekind of howto on installing and using it? It seems a bit...unclear.

seppesbox
June 6th, 2006, 20:53
BatchDPG is a program that solves some of the inconviniences of the original DPG-encoder.

- Support for pretty much any file you can play in DirectShow based media players such as Windows Media Player and Media Player Classic. This means you're not limited to AVI, WMV and MPG anymore.

- It's very easy to add subtitles. Currently only SRT, SSA and ASS can be selected, but it's very simple for me to change the code so it supports others. Anything VSFilter (the best subtitle renderer around) can handle is therefore possible to add.

- Better quality, both video and audio wise. Audio because a better resampler is used, and video because a better resizer is used and extra options are added to the mencoder commandline (mencoder is the program dpgenc uses for the video conversion to MPEG-1). In fact, you can choose different video quality settings according to your demands. The High settings is quite slow, so Medium is recommended, while Low should offer quality equivalent to the dpgenc default settings.

- Set any bitrate you want. This means you can go above the normal limit of 256 too. Note that this is just a target bitrate. It will probably use less if you set it very high.

- Max video bitrate option. This helps prevent those skips which sometimes occur. I havn't done any serious testing, but MoonShell seems to be able to handle a total bitrate of 512 kbps (video+audio) perfectly.

- Automatic framerate calculation. This assumes Height * Width * FPS = 737280. So with a 256x192 (Fullscreen) video, this would result in the framerate being 15. A 256x144 (Widescreen) video would have a bitrate of 20.

- Batch encoding! You can safely leave a number of files in the queue and it will automatically convert one after the other.

So how does it do all these things? Well, the first thing it does is create an Avisynth AVS file. Avisynth is a great video editing system, but unfortunately dpgenc can't directly open AVS files. To circumvent that, VFAPIConv is used to create a dummy AVI file, which dpgenc can read. BatchDPG then creates a dpgenc.ini with necessary instructions, after which it will start dpgenc itself and do the actual video and audio encoding.

The current version is 0.5

Known issue that will be fixed in the next release (coming soon):

When the BatchDPG window is not active at the end of coding a file, the next file of the batch will not load.

Home of the program :

http://gbatmw.proboards44.com/index.cgi?board=mnshllgen&action=display&thread=1149097698&page=1

The installation instructions are as followed:

- Install Avisynth from http://sourceforge.net/project/showfiles.php?group_id=57023.
Make sure to get the 2.5 version, not the 2.0.

- Install this file to any place you like: http://rapidshare.de/files/22189277/BatchDPG.exe.html
http://www.mytempdir.com/715514

seppesbox
June 6th, 2006, 23:02
this is not a program that I've been working on, can the text be replaced by the one i posted a bit lower (the one in place is a quote of the maker of the program itself, which isn't me, i just wanted more people to know about this good tool)

nelsta
October 12th, 2007, 17:57
hi new to this having probs with dpg encoder says cannot find video lenth

ecoboy1
July 20th, 2008, 14:59
I have a mac myself and was wondering if it was available for mac os 10.4

(can't yet afford leopard)