Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
27th November 2007, 23:11 | #1 | Link |
Registered User
Join Date: Jun 2007
Location: Ann Arbor, MI
Posts: 124
|
Overlay Time on a mms: Source
I thought I saw this somewhere but can't find it now. What I'd like to do is "simply" overlay the time over an mms stream. I was hoping something like:
directShowSource("mms://server/file.wmv") showSMPTE() Would do the trick, but it appears that directShowSource doesn't like the mms part very much. Then I realized, I've never used AviSynth with a stream and don't even know if you can. Any direction here would sure be appreciated. Thanks, Steve
__________________
Life is more interesting viewed upside down |
28th November 2007, 12:03 | #2 | Link |
ffdshow/AviSynth wrangler
Join Date: Feb 2003
Location: Austria
Posts: 2,441
|
Not really - AviSynth assumes that the number of frames in your video stream is known as soon as it is opened, but of course that's quite impossible with a stream.
__________________
now playing: [artist] - [track] ([album]) |
28th November 2007, 14:15 | #3 | Link |
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
|
You will have to render the stream in GraphEdit, save a .GRF file and then load said .GRF file into DirectShowSource() You will need to specify the FrameCount option and probably the FPS option as well
Code:
DirectShowSource("Plugh.GRF", FrameCount=10000, FPS=25, ConvertFPS=True) If you just want to rip the stream there are a few programs that can directly capture mms:'s straight to a .WMV file. Or you can do it directly in GraphEdit by adding a muxer and file writer into your graph and just running it. |
28th November 2007, 17:45 | #4 | Link |
Registered User
Join Date: Jun 2007
Location: Ann Arbor, MI
Posts: 124
|
Leak, IanB,
Thanks for the responses. I figured I was going to need to do something like that. Now that I know there are no options for directly dealing with the .wmv, I'll get on with snagging the file. Many thanks! Steve
__________________
Life is more interesting viewed upside down |
Thread Tools | Search this Thread |
Display Modes | |
|
|