Log in

View Full Version : RV10 GUI: YS RealAnime


Pages : 1 [2] 3 4 5

Sirber
29th February 2004, 17:54
I would have finished if I restarted it in vb6, but this is Delphi men! Encoding currently works but still need tweaking and validation. I'm working right now on batching, audio encoding and muxing. Sylvain will work on simple mode soon. Simple mode might be the first thing to work ok, since expert is kinda big.

notags
1st March 2004, 13:09
Just out of curiousity, is YS i.e. Shinobu, currently involve in this new GUI?

Sirber
1st March 2004, 14:07
yep, read first post.

achtungfeuer
5th March 2004, 20:13
sorry for the pb I had with Xvid RC2: it's only a pb with ffdshow

Sirber
6th March 2004, 04:13
I'm getting bored of my RealAnime 2.00 dev-test build with "lost core source". I will release tomorrow Preview 2 with working batch.

Sirber
6th March 2004, 17:06
Hi mates!

I spoke with Shinobu some days ago and we got a nice idea: LAN encoding. Since YS RealAnime first goal is batching, why not sending files to encoders on a private LAN?

All comments are welcome :D

h9903209
6th March 2004, 17:19
do you mean e.g. install YS realanime in computer A, and use it to directly encode files in computer B and directly save the resulting rmvb in computer B?

if yes that's awesome! I love this feature, I can use a faster pentium computer to encodes file downloaded in another slower athlon computer! ^^

Sirber
6th March 2004, 17:25
Exemple:

Computer A: YS RealAnime
Computer B: YS RealAnime Encoding Slave

A has 3 jobs with 30 files each. A start Job1/File1 and send Job1/File2 to B. A and B start encoding. B finish Job1/File2 and send the resulted file back to A. A send Job1/File3 to B while finishing encoding Job1/File1.

If B get some errors, the error is sent back to A for analisis.
If B loose connection with A, A resend the file to another slave or encode it itself.

All jobs are controled by A. B only recieve files, settings and return the encoded file.

Imagine if you have... 10 2GHz computer in LAN? :D

Sirber
6th March 2004, 19:25
*** Preview 2 released ***

http://www.webernic.com/sites/sirber/YS/YSRealAnime_001.exe (7MB)
http://www.webernic.com/sites/sirber/YS/YSRealAnime_001.exe.sig

Note:
* Only Expert mode works, so please be sure to choose it :)
* Only input supported is AVI.
* You have to add at least one job to be able to encode.
* There is almost no validation in settings.

Comments are as usual welcome :D

achtungfeuer
6th March 2004, 21:12
the next realanim will accept .MKV, .OGM and .MP4?

Sirber
6th March 2004, 21:16
More something like AVS/D2V.

OGM/MKV ae quite a pain in the ass to recompress. Never tryed MP4 yet.

Maybe 20% of the planned work has been done yet, and maybe the hardest part also.

Sirber
6th March 2004, 22:35
damrod is joining our happy dev group. Long live to YS Dev Team!! :D

Latexxx
7th March 2004, 08:39
You should mark in the first post which features have been implemented.

achtungfeuer
7th March 2004, 15:22
what the next step in the dvp?

Sirber
10th March 2004, 02:12
We will move on Helix Community March 31 :D

Next step is detection of other input and muxing.

achtungfeuer
13th March 2004, 18:22
why don't you use mkvextract for mkv input and mkvmerge for mkv output? It's really easy with command line...

Sirber
13th March 2004, 18:41
for output, I will use mkvmerge. I'm focusing now on handeling AVI + AC3 + SRT: )

damrod
13th March 2004, 18:57
you can check source file and then demux using mkvextract... to separate for exemple avi+ac3+srt in mkv file then encode only video to rmeux again after...

Sirber
13th March 2004, 19:15
YS RealAnime has the same spirit as old' RealAnime: Batch encoding. If it can be done automaticly for more than 1 file, I will implement it (or you will, damrod :p :D)

achtungfeuer
14th March 2004, 16:27
Do you will propose the choice between new and old RV10?

Sirber
14th March 2004, 17:15
...

Did you even checked the first post? Did you checked the preview 1 or 2? Sorry but I don't have time to answer things that are already public.

Read first post :devil:

[note]

There is NO old or new RV10.

achtungfeuer
14th March 2004, 17:47
sorry for the last reply...
I found info on an other forum about the codec.
Nevertheless I have pb with your version. I use basic mode, I follow instruction and.... nothing....
i have all the software needed (in the first post) and I tried encode a .avi.
:(

karl_lillevold
14th March 2004, 18:17
achtungfeuer: perhaps you meant if YS RealAnime has an option for the new vs the old rate control. And yes, it does, looking at the screen shots in the first tab, the expert tab has a drop-down for choice of rate control, as well as the advanced options for the new rate control, and every possible option you can imagine. It is very nice. I just tried it out.

I had a similar little problem though: I had another encoding task running on my computer, and it appeared like YS RealAnime did nothing... then finally, it started producer, but running so very slowly. After I set my other encoding task to "Low", it sped up YS encoding, but it still looked like YS's producer.exe received much less CPU time than my other running encoding job. Strange. In any case, check if you have something running in the background on your computer, for instance SETI or folding@home, that would take up all your CPU preventing YS producer from running. This because YS sets producer to run at the lowest priority.

Sirber
14th March 2004, 18:24
Originally posted by achtungfeuer
sorry for the last reply...
I found info on an other forum about the codec.
Nevertheless I have pb with your version. I use basic mode, I follow instruction and.... nothing....
i have all the software needed (in the first post) and I tried encode a .avi.
:( As I said lots of times, simple mode do NOT work. Use Expert in the menu.

*** Preview 2 released ***

Note:
* Only Expert mode works, so please be sure to choose it
* Only input supported is AVI.
* You have to add at least one job to be able to encode.
* There is almost no validation in settings.

Comments are as usual welcome Reading by yourself don't hurt :p

Sirber
15th March 2004, 23:48
I'm thinking about removing the bitrate setting. FileSize is the only really needed since we can calculate filesize manually for the old Rate Control. What do you think?

damrod
16th March 2004, 00:22
bof bof... it depends what you want... same size or same bitrate for a list of files...

Sirber
16th March 2004, 00:24
I thought it would be simplier to code, but it's the same as filesize. :)

Marcel
16th March 2004, 00:58
There are some cases where the bitrate settings are needed.
OK, atm I have only one case in mind: Devices with limited hardware.
Some of them, Nokia Series 60 mobiles, are covered by RealHandy (new version with cool AVS creator and cropping preview will be out next days, I hope). But there are also other devices like PocketPCs which need limited bitrates. For their owners, YS RealAnime will be worthless.
Or did I completely misunderstand you?

BTW, as you code in Delphi - if anyone is interested in it, I've made a small unit which fills

TVideoInfo = Record
Width, Height, FPS1000, MPEGversion: Integer;
FPS: Single;
end;

for .AVI, .MPEG (1/2), .VOB and .D2V (just tracking down to the source) files.
Dirty code, but works; when I'm less busy, I might clean it up and I'll post it to the Development forum. But for those who don't want to wait - get it here (7k) (http://www.turbogenial.de/data/VidInfo.pas).

Sirber
16th March 2004, 01:07
Hi

Thanks for the reply. I will keep bitrate. Laziness took control over me for a moment :). Your code is interresting, but I have some questions:

1) What are the licensing terms?
2) Does it require aditionnal DLLs?
3) Could you add Frame count?

Thanks :D

[About YS]

I just got how to use Drag&Drop. Preview 3 will be powered by DragDrop :D

Marcel
16th March 2004, 02:07
Drag'n'drop can be soooo easy if you use FileDrop (http://delphi.icm.edu.pl/ftp/d20free/filedrop.zip). According to Delphi Super Page search engine (US) (http://dsp.href.com/), it is for D2/D3 only. But worth a try, because it's free...
Just add it to your form, tell it which component should receive filenames via D'n'D and create FileDrops OnDrop event handler.

Free like my little lib.
Doesn't need any .DLLs, just links to the units SysUtils and Classes. If you'd like to use it, use it. And if you'd like to use it and give me the credits in a little dark corner, do that.
I'm adding aspect ratio now (for MPEG1/2 files), but atm I don't have a clue where I can find the count of frames.

And I sure should get to bed now (2am)...

Sirber
16th March 2004, 02:26
Nice

I currently use vidframe (DLL) to get various infos about AVI/AVS, like audio sample / second (to know if source has built-in audio). Your "lib" sounds cool.

What I really need is to detect audio (AVI/AVS) and Aspect Ratio (D2V). If you can do that you're my king :D. About writing your name somewhere, I have a magnificent About box where you would be welcome :D Side not: just some hours ago, the about box was producing AccessViolation if used twice :confused: :)

Marcel
16th March 2004, 02:35
AR is now read correct (I hope) for MPEG1/2, VOB and D2V.
The number of streams in an AVI file can be found easy: Open an AVI in VDubMods Hex-Editor and click on the second line under the "avih8" header sign. And two DWords before, you'll find the number of frames in the clip. But for AVS... uh, don't know.

edit: the lib can still be found here (8k now) (http://www.turbogenial.de/data/VidInfo.pas).

edit2: "Mist", Delphi is rounding in a curious way. I will change TVideoInfo.AspectRatio from Single to Integer with consts...
edit3: done.

Sirber
16th March 2004, 02:57
Can you distinguish 4:3 from 16:9 for D2V?

Marcel
16th March 2004, 03:03
I hope so, as I read it from the MPG/VOB file the D2V points to. But now, I only have an 4:3 VOB on my HDD. Will test further tomorrow.

Sirber
16th March 2004, 03:08
nice nice

if you add those features (AR + Sound detection), I definitly add it to YS RealAnime :D

Sirber
16th March 2004, 03:35
I'm planning later to add plugin interface, for video codec mainly. The goal of that is to add video codec whitout breaking my core nor the stability of YS RealAnime.

This will be done (if possible) after LAN manager.

notags
16th March 2004, 12:09
From what I can see in the new screenshots, there's a status bar!:sly: Will we stll be seeing the command line dialogue in the upcoming version?

Marcel
16th March 2004, 12:23
Originally posted by Sirber
nice nice

if you add those features (AR + Sound detection), I definitly add it to YS RealAnime :D

AR is included, but I found that I'm not through with it yet.
Do you want the sound detection to be done for AVI only?

Till now, the tested MPEG/VOB files had those AR values:

AR_SQUARE_PIXEL = 1;
AR_4to3 = 2;
AR_16to9 = 8;


Now I tested a 16:9 PAL VOB, and it had a 3 as AR value, while a 4:3 PAL VOB reported 2, as it was supposed to.
Maybe someone with NTSC stuff could tell me which values are used there? You could do so by using my VidInfo.pas testing Application, FPSreader (http://www.turbogenial.de/data/FPSreader.zip) (110k, full source and FileDrop component included). Just start it and Drag'n'Drop the vob on it's window.

achtungfeuer
16th March 2004, 13:24
sorry Sirber, but both simple and expert mode don't work.:(

Sirber
16th March 2004, 14:05
you have to choose Expert mode in the menubar, not just changing tabs.

if your jobfile is 0KB, it means you're still in simple mode. Next release, if you don't change for expert mode (as I always say), it will burn your hard disk :p

@ Marcel

Yes, audio for AVI only, since you can't get that infor for AVS unless you use DShow :)

Marcel
16th March 2004, 16:05
I updated again (6k) (http://www.turbogenial.de/data/VidInfo.pas). :)
I finally added a frame counter for AVI files, threw some old, unused, comment-tagged code away and added comments for the data structure TVideoInfo.
Number of frames is not implemented for MPEG files, as I haven't found yet any hint where I can find it. But I'll continue searching, as DVD2AVI must read it anywhere, too.

FPSreader (http://www.turbogenial.de/data/FPSreader.zip) (110k; executable, full source and FileDrop component included) is also updated.
I'd really appreciate it if someone who has some NTSC 16:9 VOB files could use FPSReader on them and tell me which value is reported for the AR.

Sirber
16th March 2004, 17:16
no need of filedrop, I already have something that works #1 :)

Marcel
16th March 2004, 20:34
But you'll need FileDrop if you want to compile FPSreader. That's why I included it.

Sirber
16th March 2004, 21:19
Why would I need FPSreader?

Marcel
16th March 2004, 21:26
It's just a little demonstration of how to use VidInfo.pas. And maybe you've got your hands on some 16:9 NTSC VOB files ...

Sirber
16th March 2004, 21:34
Does VidInfo.pas works alone?

Marcel
16th March 2004, 21:54
yes, it could be used stand-alone.
Now it even reads the number of streams in an AVI file.

Sirber
16th March 2004, 22:15
nice :)

but...

AVI audio = 1 stream
AVI video = 1 stream

so it cannot detect audio track :(

Marcel
16th March 2004, 22:29
hum, I made some test files with VirtualDubMod 1.5.4.1:
b0.avi:
Video only, no Audio stream - FPSreader said: "Streams: 1"
b1.avi:
Video + 1 Audio stream - FPSreader said: "Streams: 2"
b2.avi:
Video + 2 Audio stream - FPSreader said: "Streams: 3"
b3.avi:
Video + 3 Audio stream - FPSreader said: "Streams: 4"
b4.avi:
Video + 4 Audio stream - FPSreader said: "Streams: 5"

- so for me, it works fine.

My source has been a bilingual AVI, I took the first minute (direct stream processing) => b2.avi.
Demuxed the second stream (MP3 VBR) and added it to the stream list => b3.avi, b4.avi.
Removed / disabled audio streams in stream list => b1.avi, b0.avi.

A "dir" on that folder says:

16.03.2004 22:22 725.328 b.mp3
16.03.2004 22:23 5.345.280 b0.avi
16.03.2004 22:23 6.150.144 b1.avi
16.03.2004 22:21 6.934.528 b2.avi
16.03.2004 22:22 7.718.912 b3.avi
16.03.2004 22:22 8.501.248 b4.avi

Sirber
17th March 2004, 13:26
what about AVI with no video track and 1 audio?