insert text in video
-
Hello Sirs how to insert text into an avi file? there's a filter that does this, aware motion ... something, but i wanted to know how to do something like that, any help would be very ... um, Confused ... helpfull thanks
:~ Failure is Success If we learn from it!!:~
-
Hello Sirs how to insert text into an avi file? there's a filter that does this, aware motion ... something, but i wanted to know how to do something like that, any help would be very ... um, Confused ... helpfull thanks
:~ Failure is Success If we learn from it!!:~
I'll assume you mean you want to do that programatically using (V)C++, otherwise you wouldn't be asking here. Imho take a look at writing directshow filters[^] for starters, i hope that will help.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
I'll assume you mean you want to do that programatically using (V)C++, otherwise you wouldn't be asking here. Imho take a look at writing directshow filters[^] for starters, i hope that will help.
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
Thanks for your replay ! i need to split I frames and P-frames in avi file and how to insert text into avi file.So please help me ..
:~ Failure is Success If we learn from it!!:~
-
Thanks for your replay ! i need to split I frames and P-frames in avi file and how to insert text into avi file.So please help me ..
:~ Failure is Success If we learn from it!!:~
I don't know what I and P frames are, sorry, i'm not much into video editing in details. To insert text i would write my own filter which takes the incoming frame, writes its text on it and then passes it along the graph (so it would have 1 input pin for incoming video frames and 1 output pin which passes the frame along after writing text onto it), i think video frames are (usually) passed as DIBs (Device Independent Bitmaps), so you should be able to use GDI (or GDI+) functions to write text onto these before letting them continue their journey. [edit] And of course, insert my filter into the filter graph by building the graph "manually". [/edit]
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
modified on Tuesday, February 16, 2010 6:15 AM
-
I don't know what I and P frames are, sorry, i'm not much into video editing in details. To insert text i would write my own filter which takes the incoming frame, writes its text on it and then passes it along the graph (so it would have 1 input pin for incoming video frames and 1 output pin which passes the frame along after writing text onto it), i think video frames are (usually) passed as DIBs (Device Independent Bitmaps), so you should be able to use GDI (or GDI+) functions to write text onto these before letting them continue their journey. [edit] And of course, insert my filter into the filter graph by building the graph "manually". [/edit]
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
modified on Tuesday, February 16, 2010 6:15 AM
thanks for your thoughts .. this is I frames and Pframe FYI : http://en.wikipedia.org/wiki/Video_compression_picture_types[^]
**do u have any samples for insert text into frames ...?**
:~ Failure is Success If we learn from it!!:~
-
thanks for your thoughts .. this is I frames and Pframe FYI : http://en.wikipedia.org/wiki/Video_compression_picture_types[^]
**do u have any samples for insert text into frames ...?**
:~ Failure is Success If we learn from it!!:~
I don't know of any samples, but google is your friend...
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
-
I don't know of any samples, but google is your friend...
> The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <
Thanks :-O
:~ Failure is Success If we learn from it!!:~