Play ASF file in Plex

Hello people, here I am again.



I have a list of DirectoryItems when I click one of these, it wil link to the function which gets the ASF file of the stream. Then I try to play it using:



#mms://wm-ondemand10.omroep.nl/ug-ondemand-wm3/wm3c1/ceres/bnn/rest/2009/POW_00222653/bb.20090320.asf<br />
return Plugin.Redirect(stream_url)


But I get an error saying that it cant play this file. When I create in this sub-section a new VideoItem and add the stream url to that item, it works fine. But I dont want to click again on another Item. I want it to start when I click on the DirectoryItem, the redirect function worked when I used FLV files but not with this ones.

I hope someone can help me solve this problem.

Yours, Matthijs

Try downloading the newer test build with ffmpeg 0.5 installed… It seems the version you’re using can’t play that file format. The newer build might support it.



http://forums.plexapp.com/index.php?showtopic=4439

I have installed the patch. But now it wont even play with the VideoItem and the Plugin.Redirect function doesn’t seems to work at all, not even with an FLV file. Also sometimes plugins are loading forever untill I restart Plex (“Waiting for response…”).



With the VideoItem function:


16:39:54 T:2687186720 M:532393984  NOTICE: DVDPlayer: Opening: http://145.58.33.18:80/ug-ondemand-wm3/wm3c1/ceres/bnn/rest/2009/POW_00225776/bb.20090324.asf<br />
16:39:54 T:2687186720 M:532393984 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED<br />
16:39:54 T:2962116608 M:532385792  NOTICE: Creating InputStream<br />
16:39:54 T:2962116608 M:516378624  NOTICE: Creating Demuxer<br />
16:39:54 T:2962116608 M:516370432   ERROR: Open - error probing input format, http://145.58.33.18:80/ug-ondemand-wm3/wm3c1/ceres/bnn/rest/2009/POW_00225776/bb.20090324.asf<br />
16:39:54 T:2962116608 M:516366336   ERROR: OpenDemuxStream - Error creating demuxer<br />
16:39:54 T:2962116608 M:516366336  NOTICE: CDVDPlayer::OnExit()<br />
16:39:54 T:2962116608 M:516366336  NOTICE: CDVDPlayer::OnExit() deleting input stream<br />
16:39:54 T:2687186720 M:516435968   ERROR: Playlist Player: skipping unplayable item: 0, path [145.58.33.18:80/ug-ondemand-wm3/wm3c1/ceres/bnn/rest/2009/POW_00225776/bb.20090324.asf]<br />
16:39:54 T:2687186720 M:532406272  NOTICE: CDVDPlayer::CloseFile()<br />
16:39:54 T:2687186720 M:532406272 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED<br />
16:39:54 T:2687186720 M:532406272  NOTICE: DVDPlayer: waiting for threads to exit<br />
16:39:54 T:2687186720 M:532426752  NOTICE: DVDPlayer: finished waiting<br />
16:40:32 T:2687186720 M:522149888 WARNING: CreateFile, error 2 opening file </tmp/plex/70984064.fi>, flags:4, mode:124.<br />
16:40:33 T:2687186720 M:520798208 WARNING: CreateFile, error 2 opening file </tmp/plex/5bc533de.fi>, flags:4, mode:124.<br />
16:40:35 T:2687186720 M:521617408  NOTICE: DVDPlayer: Opening: mms://wm-ondemand12.omroep.nl/ug-ondemand-wm3/wm3c1/ceres/bnn/rest/2009/POW_00225776/bb.20090324.asf<br />
16:40:35 T:2687186720 M:521617408 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED<br />
16:40:35 T:2962649088 M:521609216  NOTICE: Creating InputStream<br />
16:40:36 T:2962649088 M:505765888  NOTICE: Creating Demuxer<br />
16:40:36 T:2962649088 M:505696256   ERROR: Open - probing detected format [asf]<br />
16:40:36 T:2962649088 M:505696256   ERROR: Open - Error, could not open file mms://wm-ondemand12.omroep.nl/ug-ondemand-wm3/wm3c1/ceres/bnn/rest/2009/POW_00225776/bb.20090324.asf<br />
16:40:36 T:2962649088 M:505696256   ERROR: OpenDemuxStream - Error creating demuxer<br />
16:40:36 T:2962649088 M:505696256  NOTICE: CDVDPlayer::OnExit()<br />
16:40:36 T:2962649088 M:505696256  NOTICE: CDVDPlayer::OnExit() deleting input stream<br />
16:40:36 T:2687186720 M:505679872   ERROR: Playlist Player: skipping unplayable item: 0, path [mms://wm-ondemand12.omroep.nl/ug-ondemand-wm3/wm3c1/ceres/bnn/rest/2009/POW_00225776/bb.20090324.asf]<br />
16:40:36 T:2687186720 M:505593856  NOTICE: CDVDPlayer::CloseFile()

Hmmm lets try simplyifing it a bit… make a empty file with just one line in it:



mms://wm-ondemand10.omroep.nl/ug-ondemand-wm3/wm3c1/ceres/bnn/rest/2009/POW_00222653/bb.20090320.asf



Name this file test.strm and try playing that file in Plex, this should tell you if the file you are trying to play works in plex or not. I can't seem to get VLC to play this either... are you sure it's not in a DRM format? Which site are you trying to play from?


The streams come from: [http://www.uitzendinggemist.nl/](http://www.uitzendinggemist.nl/). I tried what you said and created a .strm file and I would not play that too in the new build, when I put back on the latsest release it just works fine again.

When I put 'mms://wm-ondemand10.omroep.nl/ug-ondemand-wm3/wm3c1/ceres/bnn/rest/2009/POW_00222653/bb.20090320.asf' in my browser the stream starts fine in QuickTime, I did not try to play it in VLC yet.

Its weird it worked in the older version and not in this one.

Yours, Matthijs.

I get a 404 when I try to play it in VLC, an error in Plex, and Quicktime Player seems to ignore it. Perhaps the stream has moved?

Well it seems they move the streams once in a while but my plugin will get the recent stream url’s.



Try this one:

mms://wm-ondemand12.omroep.nl/ug-ondemand-wm3/wm3c1/ceres/bnn/rest/2009/POW_00225776/bb.20090324.asf



Tested it while writing. Works with current release, new build doesn’t play it and QuickTime plays it.



If it doesn’t work you can try this stream:



mms://tempo01.omroep.nl/nos_journaal24-bb



it’s a live channel from the same company. Works in the current release not with the new build.

Well here is the plugin try it with the ffmpeg 0.5 build and the 0.7.3 build. If this problem got figured out I will continue updating the plugin. I hope you guys will take a look at it.

I have verified that there is a regression, likely due to the new ffmpeg code.

And it’s fixed in the soon-to-be-released 0.7.14 :slight_smile:

Thank you very much! :slight_smile:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.