digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Authoring VCD, DVD, Blu-ray (http://www.digitalfaq.com/archives/author/)
-   -   KDVD: Does anyone know tools for previewing safe area? (http://www.digitalfaq.com/archives/author/13696-kdvd-tools-previewing.html)

sparskter 07-22-2005 09:40 AM

Does anyone know tools for previewing safe area?
 
Hello ? If anyone can type a list of tools that can preview the safe area of TV (the overscan "issue") of a video file it would be nice :).


EDIT:
Sorry! This sshould be on KDVD forum. DIalhot, could you move it please?

Dialhot 07-22-2005 09:55 AM

You want to have it drawn onto the picture while you look at the video ?

sparskter 07-22-2005 10:13 AM

Yes, like this:

http://www.digitalfaq.com/archives/i.../2005/07/5.jpg

Dialhot 07-22-2005 10:21 AM

The only tool I know is DVDLab that give you that on the menu drawing screen. But it does not display it on a running video, just on a still picture.

Note: where do you find you image ?

kwag 07-22-2005 10:41 AM

#---------------------------------------------

Colorbars(720, 480)

Subtitle("Top Center", align=5)
Subtitle("Bottom Center", align=2)
Subtitle("Top Left", align=4)
Subtitle("Top Right", align=9)
Subtitle("Bottom Right", align=3)
Subtitle("Bottom Left", align=1)

#----------------------------------------------



Save that to an avs script, and run it.

-kwag

Dialhot 07-22-2005 11:08 AM

Actually the correct values are :
Code:

Colorbars(720, 480)

Subtitle("Top Center", align=2)
Subtitle("Bottom Center", align=7)
Subtitle("Top Left", align=1)
Subtitle("Top Right", align=3)
Subtitle("Bottom Right", align=8)
Subtitle("Bottom Left", align=9)

But this does not allow to preview where is the safe area on a video !

The safe area is an authoring notion that take in account the "safe" place to put a button else you won't be abble to select it. It's something more than only the overscan issue.

sparskter 07-22-2005 11:26 AM

Quote:

Originally Posted by Dialhot
Note: where do you find you image ?

Ok, full screen =]

http://www.digitalfaq.com/archives/i.../2005/07/6.jpg

Adobe After Effects. You can create a composition in any resolution you want to , load up the video and check safe area button. It only suppoorts lossless video compression. So I used huffyuv codec and encoded a small amount of the video (with overscan=2). I heard you can change the FOURCC of the video too...

Adobe Encore DVD has a safe area option too. But it only supports full dvd resolution videos:

http://www.digitalfaq.com/archives/i.../2005/07/7.jpg

kwag 07-22-2005 12:15 PM

Quote:

Originally Posted by Dialhot
Actually the correct values are :
Code:

Colorbars(720, 480)

Subtitle("Top Center", align=2)
Subtitle("Bottom Center", align=7)
Subtitle("Top Left", align=1)
Subtitle("Top Right", align=3)
Subtitle("Bottom Right", align=8)
Subtitle("Bottom Left", align=9)


That's totally wrong Phil 8O
Did you actually play that script on your monitor, and read what is displayed :lol:

-kwag

sparskter 07-22-2005 01:45 PM

Quote:

Originally Posted by kwag
#---------------------------------------------

Colorbars(720, 480)

Subtitle("Top Center", align=5)
Subtitle("Bottom Center", align=2)
Subtitle("Top Left", align=4)
Subtitle("Top Right", align=9)
Subtitle("Bottom Right", align=3)
Subtitle("Bottom Left", align=1)

#----------------------------------------------



Save that to an avs script, and run it.

-kwag

Tried this script:

Code:


AviSource("C:\KARAS_Parte\karas_parte_2.avi", false)
BicubicResize(688, 350, 0, 0.6, 6, 0, 628, 360)
AddBorders(16, 65, 16, 65)
Colorbars(720, 480)

Subtitle("Top Center", align=5)
Subtitle("Bottom Center", align=2)
Subtitle("Top Left", align=4)
Subtitle("Top Right", align=9)
Subtitle("Bottom Right", align=3)
Subtitle("Bottom Left", align=1)

errr. The result:

http://www.digitalfaq.com/archives/error.gif

LoL. I cannot see the safe area this way ;_; . I cannot see the video lol

kwag 07-22-2005 01:59 PM

Quote:

Originally Posted by sparskter

errr. The result:

That script is supposed to be run WITHOUT feeding any video ;)

http://www.digitalfaq.com/archives/i...2005/07/11.png

-kwag

Prodater64 07-22-2005 02:34 PM

Quote:

Originally Posted by sparskter

If you can export this with a black frame at 720*480 resolution you can overlay it (http://www.avisynth.org/Overlay) with your script playing with opacity value.
Now Im not in home, but later I could explain it further.
Meanwhile, maybe someone of our partners could post the correct script.

Dialhot 07-23-2005 09:17 AM

Quote:

Originally Posted by kwag
That's totally wrong Phil 8O
Did you actually play that script on your monitor, and read what is displayed :lol:

Of course I did !
And with your values, bottom string are at the top, and top ones are in the middle !!!

My values :
(you can see that I did a little mistake on the bottom line)
http://www.digitalfaq.com/archives/i...2005/07/12.png

Your values :
http://www.digitalfaq.com/archives/i...2005/07/13.png
:!::!::!:

(note : avisynth version 2.5.6)

Prodater64 07-23-2005 09:58 AM

Phil are right Karl, you messed values.
Anyway, values given by Phil are opposite as showed in http://www.avisynth.org/Subtitle
I mean avisynth subtitle page: 1,2 and 3 bottom, 7,8 and 9 top
Dialhot: 1,2 and 3 top, 7,8 and 9 bottom (fixed Dialhot error mentioned by himself)

kwag 07-23-2005 11:00 AM

Well, this is the weirdest thing I've seen 8O
That's screenshot I posted was taken with MY values :!:
I may have some codec screwing up things here :roll:

-kwag

Dialhot 07-23-2005 12:00 PM

ffdshow tells me the cip I generate with avisynth is RGB32. If yours is YV12 or YUY2, this can explain the vertical flip-flap.

Prodater64 07-23-2005 01:07 PM

http://www.videoresources.com/tips/g...esolution.html

I want to do what said in a previous post (overlay) but I don't know what linked pic I must to use with PAL or with NTSC neither at what resize adjust each one.
I mean:
Are 720*486 safety areas for a PAL 704*576 resized stream?
Are 720*486 safety areas for a PAL 704*576 resized stream?

Prodater64 07-23-2005 07:07 PM

Well:

http://www.digitalfaq.com/archives/error.gif

1 - Right click previous picture and save it as 720x486.jpg
2 - Do a script similar to following with your own resolution values.

Code:

Mpeg2Dec3dg_Mpeg2source("E:\DVD Authoring Working Folder\CAPChocolate-NA-108.55.d2v",cpu=4)
safe_area=imagesource("720x486.jpg").flipvertical()
width=704
height=480

GripCrop(width, height, overscan=2, source_anamorphic=false)
GripSize(resizer="LanczosResize")

RemoveGrain()
Deen()

GripBorders()
overlay(safe_area.bilinearresize(width,height),0,0,opacity=0.35)

Note that in the script you call 720x486.jpg as image, so when download it, do give it the correct name.
Width and height values are configurables.

3 - If you keep 720x486.jpg in same folder than avs script you can leave this line safe_area=imagesource("720x486.jpg").flipvertical( ) so, if not you need to modify it as:

safe_area=imagesource("path to\720x486.jpg").flipvertical()

4 - Doesn't matter what resolution is your target, dont edit and change jpg resolution, only change avs script values.

A pic as example:

http://www.digitalfaq.com/archives/error.gif

A stream as example:

SafeArea.m2v

sparskter 08-02-2005 01:30 AM

I was out for some days :D

Thanks very much to all ^_^

@Prodater64:

Thanks for your solution! I use avisynth on my animes but never noticed the possibility to use overlay/opacity with images and videos :D Avisynth is really P-O-W-E-R-F-U-L ._.

Anyway. That image is 720x480. How could it work (correctly) for a video in 352x240 for example ?

You said:

Quote:

4 - Doesn't matter what resolution is your target, dont edit and change jpg resolution, only change avs script values.
But the image is static (its own resolution) and the videos will be "variable" on their resolutions ;_; . Does not it matter on the TV after all ?

thx ^_^

EDIT: this apply for PAL & NTSC ?

Prodater64 08-02-2005 01:56 AM

Quote:

Originally Posted by sparskter
I was out for some days :D

Thanks very much to all ^_^

@Prodater64:

Thanks for your solution! I use avisynth on my animes but never noticed the possibility to use overlay/opacity with images and videos :D Avisynth is really P-O-W-E-R-F-U-L ._.

Anyway. That image is 720x480. How could it work (correctly) for a video in 352x240 for example ?

You said:

Quote:

4 - Doesn't matter what resolution is your target, dont edit and change jpg resolution, only change avs script values.

Sorry, maybe I did not explain that well.
You can edit values that are after
Width=
Height=
with legal values.

If you use gripcrop as I wrote in previous post (or another resizer that takes those values. I mean you must to replace 352 and 480 in resizer string for width an height words), you don't need to resize the jpg file. Just give it a try.
I think is for both pal and ntsc, maybe a little difference, but I think won't be any problem.

Do you understand?
My english is very bad. Just test it.

sparskter 08-05-2005 05:45 PM

@Prodater64

Pretty sorry! >.< . I saw now what I missed:

Code:

overlay(safe_area.bilinearresize(width,height),0,0,opacity=0.35)
You are RESIZING the image TOO :D :D :D (using the function bilinearresize)

Now it makes pretty sense at all :D :D :D

Quote:

Do you understand?
Now I understand perfectly :D

PS: I do not have my own StandAlone DVD player. So I will need my friend to test it. I just burn my animes to my friends :D

Quote:

My english is very bad. Just test it.
Do not worry, mine is pretty bad too ;_; . But the most important is be able to transmit your knowledge/ideas to others :D

TIP: Here I use www.babylon.com to help me with my english. If you wanna too, install the english-english-spanish dictionary :D (If I Recall Correctly, you are from Spain)


All times are GMT -5. The time now is 07:29 PM  —  vBulletin Jelsoft Enterprises Ltd

Site design, images and content © 2002-2021 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2021 Jelsoft Enterprises Ltd.