Skip navigation
Anderson M. Gaspar
Currently Being Moderated

Help with SMIL Plugin

Jan 3, 2011 5:23 AM

Hello Everyone,

 

  Where can I find more info about the SMIL plugin for Strobe? I'm trying to config this but got stuck and cant get this plugin run, there is any way to check if the strobe loads the plugin?

 

I'm trying to load the plugin with the following flashvars :

 

&plugin_smil=<src_of_plugin>

&smil_namespace=<no_idea_what_is_this>

&smil_retryLive=true

&myPlugin1_retryInterval=10

 

What is this namespace? And the source can be a local path (like this 'resources/SMILPlugin.swf')?

 

Thanks and Happy New Year!

 

Anderson

 
Replies
  • Currently Being Moderated
    Jan 3, 2011 1:43 PM   in reply to Anderson M. Gaspar

    Hi Anderson,

     

    I created a wiki page for this: http://sourceforge.net/adobe/smp/wiki/Using%20the%20SMILPlugin%20in%20 Strobe%20Media%20Playback/

     

    The SMILPlugin does not need any metadata, so you don't need to worry about namespaces.

     

    Check the OSMF Metadata specs for a discussion about metadata and namespaces. You can also check the Plugin Dev Guide for some additional context.

     

    Let us know how it goes!

     

    Andrian

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 4, 2011 12:58 PM   in reply to Anderson M. Gaspar

    Hi,

     

    You need to host the SMILPlugin.swf file on your server. The crossdomain.xml on osmf.org does not allow loading the SWF into your player security context.

     

    -Andrian

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 10, 2011 12:17 AM   in reply to Anderson M. Gaspar

    What do you mean, the assets referred in the smil file to be rtmp or the smil file itself?

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 12, 2011 1:22 AM   in reply to Anderson M. Gaspar

    I can see that the rtmp url includes the default flv extension and it shouldn't.

    ex: rtmp://server/application/stream

    Can you try without it? or with the stream directly linked in the src?

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 13, 2011 1:34 AM   in reply to Anderson M. Gaspar

    Do you still use urlIncludesFMSApplicationInstance=true ? Please set it to false.

     

    I tried to replicate your situation:

     

    http://osmf.org/dev/1.5.rc1/debug.html?plugin_smil=http://osmf.org/dev /1.5.rc1/SMILPlugin.swf&src=http://linternalserver/strobe/assets/gaspa r.smil

     

    smil contents:

     

    <?xml version="1.0" encoding="utf-8"?>
    <smil>
         <head></head>
         <body>
              <seq>
                   <video src="rtmp://cp67126.edgefcs.net/ondemand/mp4:mediapm/ovp/content/demo /video/elephants_dream/elephants_dream_768x428_24.0fps_408kbps.mp4" system-bitrate="408000"/>
                   <video region="content" src="http://mediapm.edgesuite.net/strobe/content/test/AFaerysTale_sylviaApo stol_640_500_short.flv" />
                   <video region="content" src="rtmp:/otherinternalserver/vod/va/all_video_assets/1000/stream" />
              </seq>
         </body>
    </smil>

     

    my FMS setup:

     

    - default vod streaming application

    - VOD configuration set up to read files from a different directory

     
    |
    Mark as:
  • Currently Being Moderated
    Jan 14, 2011 1:09 AM   in reply to Anderson M. Gaspar

    Is your FMS setup based on application instances, or are those subdirectories?

     

    I looked in the plugin code and it does not support urlIncludesFMSApplicationInstance in smils.

     

    I think you have 3 possible solutions:

    - You could post an improvement request in the bugbase http://bugs.adobe.com/jira/browse/FM and wait for a fix

    - You could try to modify the SMIL Plugin code and add the necessary code to support passing urlIncludesFMSApplicationInstance in a smil tag

    (in SMILMediaGenerator.as and SMILParser.as)

    - You can modify your FMS setup (add a new app instead of an instance )

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 25, 2012 12:39 PM   in reply to Andrian Cucu

    Andrian,

    The SourceForge wiki link you provided does not appear to work any more (nor do many other SourceForge wiki links I have spotted on these forums). Evidently SourceForge requires write access to the Wiki in order to simply view a page? Am I not cool enough for documentation?

    Dreadful, and I am still very much up a creek... but my time working with OSMF in general has taught me patience and reinforced my belief in an alternate reality where Adobe framework documentation is both consolidated and correct!

    Anyway, sorry to dredge up an old topic and then turn it into a rant, I'm just so sick of all the dead ends!

     

    Thanks,

    Dylan

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 23, 2012 5:51 AM   in reply to Silviu Vergoti

    What if I have an XML playlist? How can I load and parse it through the SMP so that the videos are played?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 23, 2012 4:33 PM   in reply to Ankit Tanna

    Strobe Media Playback does support M3U (albeit not XML) playlists out of the box, but I needed to support MRSS (XML) playlists for my project. No worries there, a few modifications to the PlaylistLoader and PlaylistParser classes and now my Strobe(ish) player retrieves video segments, captions and metadata without  any confusing proxy chain modifications, bleck. Hope that puts you in the right direction

     

    Dylan

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2012 3:53 AM   in reply to dylan_baxter

    hi dylan,

     

    Yeah.... I did the same... but messed up when it came to matching the tags... Could you just please guide me through the two files - PlaylistLoader and PlaylistParser? I placed the XML file with the metadata in the assets folder under the project.

     

    its comparitively easy building in Flash Professional but when it comes to builder it gets a bit tough...

     

    A lot interested and eager for your response dylan. May I have a reference to your files?

     

    Thanks a lot.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2012 4:00 AM   in reply to dylan_baxter

    I went through this turorial and mapped it onto my SMP...

     

    http://republicofcode.com/tutorials/flash/as3xmlvideoplayer/

     

    Ankit

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 24, 2012 2:21 PM   in reply to Ankit Tanna

    First I replaced the M3U file extension check on the resource ("src" flashVar) in PlaylistLoader.as cahHandleResource:

     

    if (supported == MediaTypeUtil.METADATA_MATCH_FOUND)

    {

        return true;

    }

        else if (resource is URLResource)

    {

        var urlResource:URLResource = URLResource(resource);

        return (urlResource.url.toLowerCase().indexOf("videogateway") > -1); // Checking for my own MRSS playlist gateway...

    }       

    else return false;

     

    Then I altered PlaylistParser.as parse method to return a Vector.<MediaResourceBase> based on my own XML parsing scheme as opposed to the M3U scheme that was in place...

     

    I hope that helps...

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 28, 2012 12:30 AM   in reply to dylan_baxter

    This has given me a clearer picture but I am missing out some where... Could you please give me the reference of the entire file? I would be glad to have your help.

     

    Thank you for replying.

     

    Ankit.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points