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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 4th March 2005, 13:47   #1  |  Link
imaginaire
Registered User
 
Join Date: Feb 2005
Posts: 2
How to frameserve growing avi and wav muxed

My problem seems simple on the outset.
But a brief outline is required.

The system:
Pinnacle systems take a live feed from satellite and archive it to file real-time at 25Mbs DV1. They then create a proxy version at 1.5Mbs mpeg. Video files are saved as .avi while the there are 1-4 seperate audio files in .wav.

I need to attach meta-data to the feed in real time using a seperate product. This product uses Windows Media Player and encoder (v.7) to re-encode in 300Kbs.

What works:
When a Pinnacle feed is complete I have no problems using AviSynth to handle the muxing and serve the files to Media Player. This has been tested and works brilliantly. I use "DirectShowSource" for both audio and video.

The problem:
Doing the above bit while Pinnacle is busy creating the files.

Attempted solution:
Pinnacle has a directshow "File source" filter that is capable of serving the file to me while its growing.
If I use graphEdit to string together filters I can play the growing file in GraphEdit with no problems.

My AviSynth script:
DirectShowSource("D:\work_KF\Supersport_pinnacle\Pinnacle Project\LowRes\PinnacleFilterGraphNoRender.GRF",fps=25,seek=false)

Since AviSynth can serve .grf files the solution seems clear. Again no problem with completed files.
But when I try to serve a file using the Pinnacle File Source I get the following error:

"""
DirectShowSource: Could not open as video or audio.

Video returned: "DirectShowSource: Unable to determine the duration of the video."

Audio returned:"DirectShowSource: The Filter Graph Manager won't talk to me."
("D:\incoming\test2.avs")
"""

This seems rather obvious as the avi file has no index table at the end while growing and the duration is not known.
I HAVE to use the Pinnacle file source filter.
Is it possible to play this file in AviSynth?
If so, will AviSynth be able to mux the files without knowing their duration?
If not, I need to get the files into Media Player Classic muxed using my own Filter Graph. Is this possible?

A note:
I saw that when I use source filters in GraphEdit that most have an "output" next to the output pin of the source filter, but the Pinnacle source filter has a "Stream 1".

Zoom Player can play the complete (including render filter) .grf file for video. I have not attempted muxing yet.

Any help or pointer would be greatly appreciated.

Thanks in advance.
imaginaire is offline   Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:47.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.