View Full Version : how to construct graph to play on-line (streaming) content?
jmnk
24th January 2007, 22:55
Every time I try to construct a graph (with MS Graphedit, via 'Render URL' option) with online URL (for example http://images.apple.com/movies/sony_pictures/thepursuitofhappyness/thepursuitofhappyness_h.320.mov) I get the following error:
Could not construct a graph from this file.
[..]
The file format is invalid. (Return code: 0x8004022f)
The stream plays just fine in MPC - meaning I have the right splitters and codecs present. Also, when I do 'Connect to Remote Graph' while the MPC plays the file I get a graph created. When I save it, close the MPC and try to reopen just created graph file in Graphedit I get the error again. I thought that if Graphedit saved the graph I could reopen it anytime and render a given file, no?
Finally, if I want to create a graph "by hand" and use online URL as the source - which filter should I use as the source? I tried 'File Source (Netshow URL)' and 'File Source (URL)' but in both cases I'm asked to point to a local file and not url address. What is the trick here?
BTW, same happens with url pointing to asx or wmv files, so it's not like .mov issue only.
Sorry if it is in the wrong forum. I did not get any help when posted in 'general discussion' section.
LoRd_MuldeR
24th January 2007, 23:11
The file from your URL is only a playlist/redirect (dummy file)
Try this one instead:
http://images.apple.com/movies/sony_pictures/thepursuitofhappyness/thepursuitofhappyness_h320.mov
(yes, it is a different one ^^)
Works here with "File -> Render URL" in GraphEdit just fine.
Uses Haali Splitter plus ffdshow automatically...
jmnk
25th January 2007, 00:05
The file from your URL is only a playlist/redirect (dummy file)
Try this one instead:
http://images.apple.com/movies/sony_pictures/thepursuitofhappyness/thepursuitofhappyness_h320.mov
(yes, it is a different one ^^)
Works here with "File -> Render URL" in GraphEdit just fine.
Uses Haali Splitter plus ffdshow automatically...
Thanks. I feel sooo stupid. I thought I cut out the proper link from Apple page - abviously not. Your link indeed plays fine. Thanks again.
how about second part of the question "Finally, if I want to create a graph "by hand" and use online URL as the source - which filter should I use as the source? I tried 'File Source (Netshow URL)' and 'File Source (URL)' but in both cases I'm asked to point to a local file and not url address. What is the trick here?"
Any pointers here? When the graph renders - is there any way to identify which filter a given box represents (I mean most of them have friendly names displayed, but in this case the first box shows just url location). I can save it to XML and than I see it is :
<FILTER ID="APP_Source_0" clsid="{E436EBB6-524F-11CE-9F53-0020AF0BA770}">
<PARAM name="src" value="http://images.apple.com/movies/sony_pictures/thepursuitofhappyness/thepursuitofhappyness_h320.mov"/>
</FILTER>
but how do I relate that to a given DirectShow filter from graphedit 'Insert Filters' option?
LoRd_MuldeR
25th January 2007, 00:37
Have a look at this nice tool:
http://softella.com/dsfm/index.en.htm
jmnk
25th January 2007, 17:19
Thanks again. So using this filter manager it looks like the first filter in the graph rendering the on-line stream is, not suprisingly, 'File Source (URL)'. So if I want to create a graph rendering online stream 'by hand' I should select 'File Source (URL)' as a starting point, right? But when I do that I see no way I can actually enter an url address - it wants to be pointed to a local file. I tried to create a txt file with a single line containing url - but that did not work. What is the trick to make it work?
LoRd_MuldeR
27th January 2007, 14:49
Thanks again. So using this filter manager it looks like the first filter in the graph rendering the on-line stream is, not suprisingly, 'File Source (URL)'. So if I want to create a graph rendering online stream 'by hand' I should select 'File Source (URL)' as a starting point, right? But when I do that I see no way I can actually enter an url address - it wants to be pointed to a local file. I tried to create a txt file with a single line containing url - but that did not work. What is the trick to make it work?
It seems to me that this is just a limitation of GraphEdit's User Interface. So I think it won't be possible to make 'File Source (URL)' connect to an URL by hand. Only workaround is the "Render URL..." feature of GraphEdit. You can play your URL this way, delete all filters (except the File Source filter, of course) and then add whatever you need.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.