View Full Version : In which program are done these screenshots?
Anakunda
18th February 2013, 18:44
Hi. I found this comparison, interested which program is able to make such screenshots. I mean the info graphics so that screens are easily identifiable..
Thanks
http://screenshotcomparison.com/comparison/5695/
J_Darnley
19th February 2013, 02:12
Avisynth is almost certainly responsible for the text rendering. Then I would also guess that Avisynth is made to write the files too. Might as well know what the software is doing when you want something like that.
ChiDragon
27th February 2013, 22:37
FFMS2 into Avisynth.
Anakunda
6th March 2013, 17:04
I have already fount it. It's done by Subtitle() command. But I still have problem to use internal avs variables in the output. This command makes error:
Subtitle(string(current_frame),x=1270,y=10,size=20,text_color=$FFCC00,align=9,font="Tahoma")
Is there some use of internal variables for Subtitle?
vdcrim
6th March 2013, 18:27
current_frame is a special variable only available to runtime filters. You'd need to call Subtitle with ScriptClip (http://avisynth.org/mediawiki/ScriptClip#ScriptClip).
However as ChiDragon said that text was overlayed using ffms2 (FFInfo from FFMS2.avsi with FFVideoSource/FFAudioSource/FFmpegSource2 as source filter). The ffms2 source filter sets some global variables with additional info about the input file like that picture type. Otherwise AviSynth wouldn't have that information.
Anakunda
6th March 2013, 18:33
However as ChiDragon said that text was overlayed using ffms2 (FFInfo from FFMS2.avsi with FFVideoSource/FFAudioSource/FFmpegSource2 as source filter).
Ah so :cool: I suspicted it must be some kind of template. But the problem is I have used AVCSource for this.
LoadPlugin("DGAVCDecode.dll")
AVCSource("Source.dga")
because ffms2 couldnot read the video. Is still some use for ffms2?
This:
FFVideoSource("Source.h264") generates this: FFVideoSource: Invalid initial pts and dts (New file(1), line 1)
vdcrim
6th March 2013, 18:56
The rule of thumb for ffms2 is "if it doesn't work, remux it to mkv". Maybe with threads=1.
Anakunda
6th March 2013, 21:21
Damn you were right. Moved the stream into MKV now can open by ffms2:
FFVideoSource("Source.mkv")
ConvertToYV12()
FFInfo()
Subtitle("Source", x=1915, align=9)
Is this the way how were the info annotations in the screens from 1st post made?
So there's no counterpart for FFInfo() in DirectShowSource() or AVCSource() ?
vdcrim
6th March 2013, 22:34
Is this the way how were the info annotations in the screens from 1st post made?
Yes. You don't need x=1915 when using align=9 by the way. And ConvertToYV12() is probably a NOP. [EDIT] If your source is RGB don't convert it to YV12, as it would have to be converted back when saving the image.
So there's no counterpart for FFInfo() in DirectShowSource() or AVCSource() ?
If you're referring to picture type I don't know of another filter that provides that info.
StainlessS
13th March 2013, 19:38
The below should do it, although I seem to have a codec problem ("FFVideoSource No Video track found" messages) so not tested.
EDIT: Recently had my motherboard burn out, so have new setup, probable cause of problem.
X="D:\avs\1.mkv"
FFIndex(X)
FFVideoSource(X)
ScriptClip("""
Type=Chr(FFPICT_TYPE)
S="FrameNumber: "+String(current_frame)+" of "+String(FrameCount)+"\nPicture Type: "+Type
SubTitle(S,x=0,y=0,lsp=0)
""",after_frame=true)
EDIT: Switched to FFMS-r722 working fine as is above snippit.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.