1 (edited by Umberlee 10-02-2012 14:40:54)

Topic: Demostration Mode without black line and editing OSD messages

Hi everyone

I was wondering if there's an option to remove the black line that appears on demostration mode, because I've some other image quality improvements on the right half of image but it's not much noticeable when the black line is on place.


And on the other hand, the OSD message "Original" and "Smooth" that appear, is it possible to rewrite them to other words or even a phrase?


I hope I didn't miss another topic identical to this one.


Thanks for any tips on it.

Re: Demostration Mode without black line and editing OSD messages

Hello, Umberlee

You can modify two files:

1. SVP\AVS\Demo_BlockBefore.avs

srcd = crop(0,0,-Int(Width/4)*2-2,0)
srcd = srcd.ChangeFPS(FramerateNumerator(last)*multinum, FramerateDenominator(last)*multiden)
line = srcd.BlankClip(width=2)
srcd = StackHorizontal(srcd,line)

crop(Int(Width/4)*2,0,0,0)

2. SVP\AVS\Demo_BlockAfter.avs

srcd = srcd.Subtitle("Source", align=2)
last = last.Subtitle("Smooth", align=2)
StackHorizontal(srcd,last)

You can delete marked parts from script 1. It removes vertical line at the middle of screen.
You can change marked words in script 2. It is "OSD messages".

3 (edited by Umberlee 09-02-2012 13:38:44)

Re: Demostration Mode without black line and editing OSD messages

Hi agan, thanks for this quick reply MAG79, unreal fast smile

I've tried and works perfect, I didn't know it were posible to edit that. Great!

Now I was wondering if on the text "smooth" and "original", we can out various lines, like return key on texts. Like <br> codes in html or \n on c++

I want to put something like:

ORIGINAL VIDEO                                     IMPROVED QUALITY
- 24fps                                                   - 60fps
- plain colors                                           - Better quality
- etc..                                                     - etc..

So I need to jump to other lines in text ^^


Thankyou!

4 (edited by Umberlee 09-02-2012 13:58:52)

Re: Demostration Mode without black line and editing OSD messages

And to edit SVP OSD messages, to put them more cool things to impress ppl (and need to translate them too) would be awesome ^^

Edit: Found it, it's on "SVP\Language" english file for example.

Well only need the return key on the original and smooth text messages.

Thanks for the tips wink

Re: Demostration Mode without black line and editing OSD messages

Umberlee
if on the text "smooth" and "original", we can out various lines
See description of Subtitle() usage

Multi-line text using "\n" is added in v2.57

wink

to edit SVP OSD messages
Are you tell about edit from SVP User Interface? or by ini-file? hmm

6 (edited by Umberlee 10-02-2012 14:39:15)

Re: Demostration Mode without black line and editing OSD messages

Ok after a few tries, I got it working, as an example I used something like:

srcd = srcd.Subtitle(\
"line 1\n" + \
"line 2\n" + \
"line 3", \
        align=2)


On the other hand I've edited the english file in directory SVP\Language and I put something more "cool" and impresive, and removed warnings (like the variable framerate detected implementinf emergency framedoubling) and I writted some fake text saying different words like "improving smoothness" or something more cool, to not to worry ppl who watch videos in the demo mode.


Hope it helps to others this post if it's not already on forums.


Thankyou for help  smile

Re: Demostration Mode without black line and editing OSD messages

Umberlee
Can you give us your results of translation?

Re: Demostration Mode without black line and editing OSD messages

MAG79 wrote:

Umberlee
Can you give us your results of translation?

It's fake translation, of only 3 messages, not the real translation it should be, only to impress and not to worry the one who sees it.

For example:
Настройка плавного воспроизведения ...=Calculando metodo de fluidez para 1080p ...  ->  Calculating smoothness method (absolutely fake and intentionally wrong translation)

and only 2 more changed messages to a non real ones.

Re: Demostration Mode without black line and editing OSD messages

Umberlee
Oh. I see. Thanx.

Calculando metodo de fluidez para 1080p

Is it your natural language?

hay un deseo de hacer una traducción completa al español? wink

10 (edited by Umberlee 29-03-2013 21:23:11)

Re: Demostration Mode without black line and editing OSD messages

Hi again MAG79, I was out of my home many months and now I'm back.

I'm not native spanish, but I can try to help. Is it long to translate?


I came back because on the new SVP versión I can't find how to remove the black line in demostration mode and neither editing the OSD "source" "smooth" message on demostration mode too.

Any thoughts?

I could just use the older versión, it did the trick smile  but I'm always eager to try the new ^^


Thankyou again!

Re: Demostration Mode without black line and editing OSD messages

Hello, Umberlee

You can modify file generate.js. Find this place at end of file and you can change it:

if(demoMode)
{
    avs.WriteLine("");
    avs.WriteLine('function demo(clip src,clip smooth)');
    avs.WriteLine('{');
    avs.WriteLine('\tsrcd = src.crop(0,0,-Int(src.width/4)*2-2,0)');
    avs.WriteLine('\tsrcd = srcd.ChangeFPS(FramerateNumerator(src)*'+mediaInfo.main.num+', FramerateDenominator(src)*'+mediaInfo.main.den+')');
    avs.WriteLine('\tres = smooth.crop(Int(src.width/4)*2,0,0,0)');
    avs.WriteLine('\treturn StackHorizontal(srcd.Subtitle("Source", align=2),srcd.BlankClip(width=2),res.Subtitle("Smooth", align=2))');
    avs.WriteLine('}');
    avs.WriteLine('');
}

You can delete parts marked red. It removes vertical line at the middle of screen.
You can change words marked green. It is "OSD messages".