PDA

View Full Version : Question about producer .rpjf files


donnyj
5th September 2004, 16:22
Lots of GUIs and none that worked the way I wanted them to (yeah, yeah)...

I believe that I have a .rpjf "template" exactly the way I want it.

BUT :(

I'm stuck filling in the blanks so to speak...

I'd really like a VERY simple GUI that lets me pick the source file, it calculates the AVGBitrate from that source and then fills in the blanks


I have coded command-line (ONLY) pascal/delphi in the past but I have NEVER coded any Windows programs :(

Any suggestions on the best way to solve this?

I know I could write a batch file that makes the .rpjf but that leaves the avgbitrate calculation and getting the filenames correct, etc....

For the curious, RealAnime was the closest to what I wanted except that it appears to only let me set one bitrate per batch and I need/want one bitrate per job.

Also, I want to run the command-line producer to reduce encode times (don't need to watch it encode, etc.)

karl_lillevold
5th September 2004, 18:16
it does sound like RealAnime is the closest to what you need, but just like you say, it has only one bitrate per batch. Someone please correct me if I am wrong, I do not know all the GUIs' functionality in detail myself.

donnyj: I am curious though, how would you like the calculation of AVGBitrate to work? Do you select a certain bit/pixel ratio, such that the bitrate changes with source resolution and framerate? That would be an excellent addition to RealAnime.. Sirber..?

Sirber
5th September 2004, 18:22
Hi

RealAnime could do that :rolleyes:, but not so soon. I'm finishing theora support and the muxers / demuxers. Then I'll move to DVD support. This include source analysis. Currently, RealAnime don't bother checking the source and only use filename extention for file detection. Once I get that, everything will be possible :)

donnyj
6th September 2004, 00:17
karl_lillevold: sadly, nothing exciting :) I am converting DVDs and MOV/AVIs that are more than 1 CD, down to 700 MB for archival onto 1 CD...

So the bitrate is taking into account the number of seconds of the movie....


It's a shame that it's so much work (or at least I make it so much work) just to set up the encode job...

Load up VirtualDubMod: Combine all the parts (VirtualDubMod), demux the audio, depending on my mood I might save the combined AVI minus the audio into a new file

If the audio is AC3, load up headAC3he, do a 1-pass convert to WAV (going to normalize next anyways...)

Load up Adobe Audition: If the audio normalized at 100% I normalize back down to 90 then I do a dynamic processing pass, normalize it to 95% (found that if it is already normalized above 95%, I get clipping if I don't normalize it down first) and Save as a WAV

Create an AVISynth script

Test the script in Zoom Player, I use Zoom so that I can quickly/easily check the aspect ratio. If the ratio is wrong, find the correct ratio and write down the correct height/width. Check the lighting levels for both blacklevel and Gamma (usually I need to change the Gamma to 2, too dark)

Edit the script with the necessary ratio and level changes.

Open AVSGenerator, find the beginning of the credits, note the location, check if cropping is needed and if so note the values, if the width is greater than 640 write down the correct resizing params

Edit the script with the "Trim" for the credits (leave the music, cut the video), add the cropping and/or resizing if necessary

Load the AVS in MediaPlayerClassic (faster loading than Zoom) and check the results. If the audio isn't syncd correctly, mess with the timing until it works.... Note the hours, minutes, seconds....

Fire up the spreadsheet, input the time and note the AVGBitrate...

Manually edit the .rpjf file...

Run producer in belownormal priority and if all goes well recieve the new RMVB file in 8-12 hours....

Seems like a lot of work to me :)

Any feedback, suggestions, criticism about my methods would be GREATLY appreciated!

karl_lillevold
6th September 2004, 01:02
donnyj: yes, that does sound complicated. Have you tried AutoRV10 (http://forum.doom9.org/showthread.php?s=&threadid=29077) ( Guide (http://dark.pluridis.org/autorv10_guide/AutoRv10.htm) )? I think it actually automates everything you described + more, with a few button clicks and screens to go through. Maybe you need to intervene to adjust gamma levels, if that is your preference, but then you can just CTRL-C, adjust levels, and start producer manually with the job file(s) created by AutoRV10.

Sirber
6th September 2004, 01:05
Like karl said, AutoRV10 seems what you need. There is always a GUI to do what we want ;)

damrod
6th September 2004, 18:56
sorry it's only on my computer ;)

i add rpjf support in my gui : you can drag and drop video files and realjobs files

since i use cmdline encoding it was easy to implement :)

donnyj
7th September 2004, 05:18
damrod: GREAT, thanks, running to try it now =]

donnyj
7th September 2004, 05:19
Not Found
The requested URL /site/inc/RealBatch_bin.zip was not found on this server.


--------------------------------------------------------------------------------

Apache1.3.29 - ProXad [Aug 17 2004 02:24:04] Server at damrod66.free.fr Port 80


will try again later....

damrod
7th September 2004, 21:15
it's on my computer not released on my website sorry

i'm still working on the app ;)

donnyj
8th September 2004, 13:17
when you talk about adding other codecs to RealBatch, what engine does the compression?

I hate to admit it, but after all this trouble and headache, I discovered that DivX/XviD is MORE than good enough quality for 90% of the stuff I'm re-converting... but I can't find ANYTHING that lets me do a 2-pass conversion and still have a lot of control over the CODEC =[

yes, I can use VirtualDub, MANUALLY (set up both passes and execute one at a time...) but that sucks =]

damrod
8th September 2004, 19:23
yes, I can use VirtualDub, MANUALLY (set up both passes and execute one at a time...) but that sucks =]


why???

you must do F7 + check "add to job"
for the first then the second pass

then file/job control : you see your two pass as jobs...

you save you job (2passes in one job :)) => don't forget the .job extension !!

then it's simple....

file/load processing settings

and vdub will do the 2-passes.....


btw i wasn't talking about adding others codecs to realbatch
i was talking about adding rpjf files to the "Encoding list" with the avi

it's already working

donnyj
9th September 2004, 07:18
but how do you set different codec settings for each pass?

for example:

first pass set as "2-pass, pass 1" standard speed
second pass set as "2-pass, pass n" slow speed

????


thanks!

Sirber
9th September 2004, 13:14
It's all in the sticky.

http://forum.doom9.org/showthread.php?s=&threadid=72321

karl_lillevold
9th September 2004, 19:42
donnyj: If you choose the new rate control (curve compression aka vbrUnconstrainedBitrate) by default the complexities will be 50/85 with no inloop in the first pass. This is the best combination, and your 1st pass will run in about one quarter of the time the 2nd pass takes. With tools like RealAnime and AutoRV10 this is also the default, I think. I agree with you about XviD ... it is my 2nd favorite codec since it is so convenient in AVI / VirtualDub, and IMHO a very good implementation of MPEG-4 ASP.

damrod
9th September 2004, 20:51
@sirber
i forgot that :search:

:p

donnyj
10th September 2004, 09:33
Thanks for the continued help!!!

on so many other forums, you're LUCKY to get even someone else saying "yes I need help on the same thing" let alone an answer.

I needed to convert a QT movie, and having no luck doing it any other way, I used Sorenson... OMG!!!! The quality was BREATHTAKING!!!

However the speed is still terrible :)

I guess speed is the cost.

I just wish there was a comprimise available.....

damrod
10th September 2004, 20:11
with rmvb the speed/quality setting is made with ehq mode...