Log in

View Full Version : DRPEnc XP v.0.60 -The GUI for FFMPEG


Amnon82
24th March 2004, 21:54
So here is my GUI for FFMPEG.

I played a little with FFMPEG. Some here told me that it will also encode MPEG2. So I started my Delphi and codeded a GUI for it.
The package includes the newest CVS specialy compiled for this GUI.
I improved my coding skills. So this app has a ini-file to set it up.
The first start takes a while to find the DRPEncXP.exe.
The second will be faster.

For all who want a easy GUI I added on the first page fast-templates.
Open the inputfile. Select the target. Setup the outputfile and hit 'Do it!!!'. Thats all.

Also I added most of the features the encoder supports. This is for the freaks here:

You can add custom matrices
You can run 1/2Pass mode
You can debug
You can show motion vectors
You can benchmark
You can crop
You can pad
You can use other formats (this encoder can almost all codecs!)
etc.

I hope you will have fun with it.
______________________________________________________________________

Screenshot1:
http://rj-elektronik.de/avideo/images/DRPEncXP.jpg

Screenshot2:
http://rj-elektronik.de/avideo/images/DRPEncXP2.jpg

Download the new Version:
download it (1.52 MB) (http://rj-elektronik.de/avideo/files/DRPEncXPSetup.exe)

Latest FFMPEG Build compiled by me:
FFMPEG CVS 12.04.04 AC3 Decoding Enabled (767 KB) (http://rj-elektronik.de/avideo/files/ffmpeg.exe)

______________________________________________________________________

Changelog:

0.51 - 25.03.04: First public release
0.51 - 30.03.04: updated FFMPEG to CVS 30.03.04
0.60 - 12.04.04: added padding support

tickey
25th March 2004, 20:05
dling now, gonna check it out.

Amnon82
25th March 2004, 20:14
I'm searching the net for resizing function in ffmpeg. Till now no result! :eek:

Did anybody of You know how to resize a 16:9 DVD
From 720x576 to 464x430 plus adding borders to get a 480x576 resolution?

tickey
30th March 2004, 16:44
What's goin on with DRP XP?
How about DRPEXTREEEME? :D j/k
I am playing with ffmpeg,
here are a couple of links you prolly have already :o
I think they talk about resizing.
I know you can add borders in ffdshow/ffvfw so you can prolly do it in ffmpeg.
http://ffmpeg.sourceforge.net/ffmpeg-doc.html#SEC4
http://ffmpeg.sourceforge.net/faq.html

Amnon82
30th March 2004, 16:59
If that is true I'll add it to the GUI.
DRPEnc EXTREEEME is the now Layout.
For all beginner I build a DRPEnc Easy GUI.
ClickAndGO is there the thing.

Why so many GUIs? ... maybe there is now GUI fit for everyone.
Try out which GUI is Yours...:D

Amnon82
30th March 2004, 17:19
@tickey: rereaded the whole FAQ and Manual! Nothing about resizing or add borders. You can only crop. So You can encode so funny MPEG2files with the resolution 464x430. I didn't tried how it will be displayed on a sap. There is now add border support. If You have a build within it, post it or show me the way how to do it in ffmpeg.

tickey
30th March 2004, 17:31
from the faq
Not sure but this may also set size? I'll try it out later.
`-target type'
specify target file type ("vcd", "svcd" or "dvd"). All the format options (bitrate, codecs, buffer sizes) are automatically set by this option. You can just type:
ffmpeg -i myfile.avi -target vcd /tmp/vcd.mpg

Nic
30th March 2004, 17:43
you resize in ffmpeg by using -s 352x288 (if you wanted to resize to 352x288)

-Nic

tickey
30th March 2004, 17:45
From the QuEnc thread
Originally posted by Mozart
This is possible to be done using ffmpeg commandline. Edit the following code and save as a .bat file and you will have a quantizer based encode "a la" CCE 1passVBR.

PATH:\bbdmux.exe PATH:\SOURCE.vob 0xe0 PATH:\temp_vts.m2v
PATH:\pulldown.exe PATH:\temp_vts.m2v PATH:\temp_vts1_nopull.m2v -nopulldown -norff -prog_seq p -prog_frames p -framerate 23.976
PATH:\ffmpeg.exe -i PATH:\temp_vts1_nopull.m2v -target dvd -r 24000/1001 -bt 2000
-s 720x480 -aspect 16:9 -maxrate 8000 -qmin 4 -vcodec mpeg2video -g 15
-b_qfactor 1.2 -i_qfactor 1 -bf 2 -sc_threshold 400 -an PATH:\temp_ffmpeg.vob
PATH:\bbdmux.exe PATH:\temp_ffmpeg.vob 0xe0 PATH:\TARGET.m2v
Note the large text command
I tested this out on a small vob piece and it looks/works great but the res was already 720x480.
To test this batch out copy the orig from
http://forum.doom9.org/showthread.php?s=&threadid=72827&perpage=20&pagenumber=9
as I inserted page line breaks to keep the page from going to wide.

Amnon82
30th March 2004, 17:49
tickey! man! This is not the feature I'm looking for.
Try this:

Use Your 720x480 Source (I hope it is 16:9 AS) and try it to resize it to 480x480 in the right aspect ratio. If You don't get eggheads talk again with me:devil:

Nic
30th March 2004, 17:52
By using -croptop,-cropleft,etc and -aspect, when necessary he should be able to avoid having the wrong AR (or eggheads ;) )

Amnon82
30th March 2004, 18:08
Hi Nic. Guess whats came out? A funny MPEG2file with the resolution 464x430 and not one with added borders.

Cropping is easy, but how adding borders to get a valid SVCD 480x576?
till now I don't understand why they didn't add this option...

BTW. is there a way adding AVS to ffmpeg? Or is a adding borders feature possible?

Amnon82
12th April 2004, 12:02
Added the padding support. Fixed the audioencodingsettings.

vlada
11th July 2004, 23:36
Hi,
I guess I've found a bug in latest DRPEncXP. The path to the executable has to be in quotes. @ECHO OFF
ECHO COMMANDLIST created by DRPEnc XP v.0.51
ECHO _______________________________________
ECHO RUNNING 1PASS OF 2. PLEASE WAIT...
ECHO _______________________________________
C:\Program Files\Audio-Video\Video\DRPEncXP\FFMPEG\ffmpeg.exe -i "D:\DVD\video.avi" -target dvd -hq -b 8000 -aspect 4:3 -bt 2000 -maxrate 10000 -bufsize 1835 -vcodec mpeg2video -pass 1 -g 15 -ab 224 -ar 48000 -ac 2 -acodec ac3 "D:\DVD\pokus.vob"
.
.
.

This is the code I got, but there should be "C:\Program Files\Audio-Video\Video\DRPEncXP\FFMPEG\ffmpeg.exe" -i
When I changed the .bat file like this it worked fine, but with the original one it didn't work. Spaces in path are not a good idea. But folder Program Files has it.
Btw. did you already check the new ffmpeg build? Seems to bring a lot of new futures and improvements.
JeCh

Amnon82
2nd August 2004, 11:02
I didn't had time ... If I found some I'll work on it ...