Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Help How To Change Fonts?, Fonts in addFrameNumber.vd
 
Help How To Change Fonts?
The problem with the size and choice of fonts in addFrameNumber.vdf [ 0 ]  [0.00%]
Please help! [ 0 ]  [0.00%]
Guests cannot vote
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
sfera
Posted on Sep 13 2014, 09:04 PM


Newbie


Group: Members
Posts: 5
Member No.: 38259
Joined: 13-September 14



The problem with the size and choice of fonts in addFrameNumber.vdf
Please help to increase the font I've seen here http://forum.doom9.org/archive/index.php/t-114157.html
Question how can I change the font itself?
 
     Top
raffriff42
Posted on Sep 14 2014, 04:28 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



I doubt addFrameNumber uses a Windows font; more likely a simple (and fast) home brew font, with [0]-[9], [:], [;] and [.] characters only.

You can do much more (font, color, slant, transparency, ...) with Avisynth's ShowFrameNumber and ShowTime.
CODE
AviSource("my video.avi")
ShowFrameNumber(x=30, y=30)
ShowTime(x=80, y=50)


Here's an example with some oddball font choices:
CODE
AviSource("my video.avi")
ShowFrameNumber(
\   x=180, y=60, size=62,
\   text_color=color_palegoldenrod,
\   font="Bodoni-DTC")
ShowTime(
\   x=180, y=120, size=56,
\   text_color=color_paleturquoise,
\   font="Geometr415 Blk BT")

user posted image
..you would have to have these fonts on your system, of course.
 
     Top
sfera
Posted on Sep 14 2014, 08:11 PM


Newbie


Group: Members
Posts: 5
Member No.: 38259
Joined: 13-September 14



It is difficult for me, I have read articles on your links and spent half the day thinking, but the result is unfortunately the same.
Invite please finish the script these I have worn out insert.
Next, I understand x, y, and font selection.
I can't write a script though and tried. sad.gif
 
     Top
raffriff42
Posted on Sep 15 2014, 12:54 AM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



Sorry you are having trouble. Please post your script; I am pretty sure I can spot the problem. If you get an error message when loading or playing the script in VirtualDub, please post that as well (View menu, Log, right-click, Copy; if the Log is lengthy, please include only the last 10 lines or so)
 
     Top
Altaf
Posted on Sep 15 2014, 05:01 AM


Advanced Member


Group: Members
Posts: 75
Member No.: 36396
Joined: 9-April 13



QUOTE (sfera @ Sep 14 2014, 01:04 AM)
The problem with the size and choice of fonts in addFrameNumber.vdf
Please help to increase the font I've seen here Question how can I change the font itself?

You couldn't lay out for me addFrameNumber.vdf. Thanks
 
     Top
sfera
Posted on Sep 15 2014, 09:25 AM


Newbie


Group: Members
Posts: 5
Member No.: 38259
Joined: 13-September 14



http://altukhov.clan.su/_fr/13/addFrameNumber.rar
 
     Top
sfera
Posted on Sep 15 2014, 10:29 AM


Newbie


Group: Members
Posts: 5
Member No.: 38259
Joined: 13-September 14



I paste this code in Notepad

AviSource("my video.avi")
ShowFrameNumber(
\ x=180, y=60, size=62,
\ text_color=color_palegoldenrod,
\ font="Bodoni-DTC")
ShowTime(
\ x=180, y=120, size=56,
\ text_color=color_paleturquoise,
\ font="Geometr415 Blk BT")

but can't understand how to save a file extension .job, .vdf or how?
then run the file to execute the script and get an error
please give the finished file
 
     Top
raffriff42
Posted on Sep 15 2014, 01:47 PM


Advanced Member


Group: Members
Posts: 384
Member No.: 35081
Joined: 25-June 12



CODE
Version

Save the code in the box above (EDIT as plain text) with an .avs extension, then after installing Avisynth, drag the .avs file into VirtualDub. You should see a little video message.

When you have got that working, go back to the first script, changing "my video.avi" to the full path to your source video, with quotes as shown - for example, "D:\VideoProjects\test\myvideo.avi"

If your source video is not .AVI, use this code:
CODE
DirectShowSource("my video.mp4")
...again, changing "my video.mp4" to the full path to your source video, with quotes as shown.

This post has been edited by raffriff42 on Sep 15 2014, 08:31 PM
 
     Top
sfera
Posted on Sep 15 2014, 02:45 PM


Newbie


Group: Members
Posts: 5
Member No.: 38259
Joined: 13-September 14



I have downloaded and installed AviSynth but can't run!
The files appeared in the start menu-all programs
But no AviSynth.åxå how to use I do not understand
I badly understand English and are translated
Sorry that I create problems
May be there is a video on how to do this?
And to learn all this http://avisynth.nl/index.php/Main_Page/ru it is impossible
 
     Top
Altaf
Posted on Sep 15 2014, 05:45 PM


Advanced Member


Group: Members
Posts: 75
Member No.: 36396
Joined: 9-April 13



QUOTE (sfera @ Sep 15 2014, 06:45 PM)
I have downloaded and installed AviSynth but can't run!
The files appeared in the start menu-all programs
But no AviSynth.åxå how to use I do not understand
I badly understand English and are translated
Sorry that I create problems
May be there is a video on how to do this?
And to learn all this http://avisynth.nl/index.php/Main_Page/ru it is impossible

And to you it is easier for them to understand? It is perhaps necessary to look for the management in this language?
 
     Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:
9 replies since Sep 13 2014, 09:04 PM Track this topic | Email this topic | Print this topic

<< Back to Codec Discussion