InStreamTimedText plugin is showing partial xml

Nov 7, 2010 at 10:44 PM

Hi,

I'm using smf version 2.1.1 , when i use the InStreamTimedText plugin it displays partial xml of the DFXP , have a look on here : http://i54.tinypic.com/2m2hz5s.png

however it works pretty well on  the source package, all i have modified is player's layout, what is wrong ?

Coordinator
Nov 9, 2010 at 8:20 PM

que0x, my best guess is there's some invalid DFXP XML somewhere.  If you can post your DFXP file somewhere and provide a link I'll take a look.

Thanks,

Kevin.

Nov 9, 2010 at 8:32 PM

kevin, I'm using the hosted stream provided in the samples : SelectedCaptionStreamName="textstream_fra" DeliveryMethod="AdaptiveStreaming" MediaSource="http://streams.smooth.vertigo.com/elephantsdream/Elephants_Dream_1024-h264-st-aac.ism/manifest" , i thought may be my plugins are causing this but i disabled them and recompiled and still getting the same issue.

strange enough it's working really good on the sample project.

Coordinator
Nov 9, 2010 at 9:12 PM

I just tried it here on my end and I'm not seeing the XML show up.  I see you've customized the UI a bit, moving the controls on top and it appears that there's a dark background behind the captions, where it should be semi-transparent.  It's possible that I can't see the issue b/c my project doesn't have the same changes.  Can you zip up your solution and drop me a link so I can take a look?

Nov 9, 2010 at 9:39 PM

Hi Kevin,

I just PM with the files, you can freely write down here what caused the issue and the resolution.

Many thanks !

Coordinator
Nov 10, 2010 at 8:46 PM

Not sure what you mean by "PM with the files".  Do you have a link to a repro app I can look at?

Nov 10, 2010 at 8:49 PM

sure, you can download it here : https://www.yousendit.com/dl?phi_action=app/orchestrateDownload&rurl=http%253A%252F%252Fwww.yousendit.com%252Ftransfer.php%253Faction%253Dbatch_download%2526batch_id%253DdklyZGVlK3htNEpjR0E9PQ

Coordinator
Nov 10, 2010 at 9:26 PM

que0x, try removing your reference to Microsoft.SilverlightMediaFramework.Plugins.ClearTextCaptions.  This plugin treats captions as "clear text" and should not be used with DFXP formatted data.  Once you remove this you should be left with only the correctly formatted captions displaying.

Nov 10, 2010 at 9:44 PM

Thanks Kevin ! it works now.

in the case i would like to get the captions from a web service ,should i reference Microsoft.SilverlightMediaFramework.Plugins.ClearTextCaptions ?

also for the steam "elephant dreams" found at http://streams.smooth.vertigo.com/elephantsdream/Elephants_Dream_1024-h264-st-aac.ism/manifest , how can i style the caption (background, text color ..etc)

Thanks again

Dec 30, 2011 at 8:40 PM

Hi All,

Just a newbie and want to get the caption of Elephant Dreams to work from localhost also. But I can't. Here is what I did

1. Download the Elephants Dream here http://www.microsoft.com/download/en/details.aspx?id=18199

2. Setup the local smoothstreaming enviroment, it works ok since I can get the video streaming

3. Trying to get the caption work but Can't, Check under Elephants Dreams folder downloaded I see the file Elephants_Dream.dfxp.ismt, open the file and see the format is like xml.

4. In the XAML code I used

         <Core:SMFPlayer CaptionsVisibility="Visible">
           
            <Core:SMFPlayer.Playlist>
                <Media:PlaylistItem SelectedCaptionStreamName="textstream_fra" DeliveryMethod="AdaptiveStreaming" MediaSource="http://localhost/DataSmoothStreaming/ElephantsDream.ism/manifest">                  
                </Media:PlaylistItem>
            </Core:SMFPlayer.Playlist>
        </Core:SMFPlayer>

Well the same above code is work if I provide MediaSource="http://streams.smooth.vertigo.com/elephantsdream/Elephants_Dream_1024-h264-st-aac.ism/manifest. But if I provide MediaSource="http://localhost/DataSmoothStreaming/ElephantsDream.ism/manifest (which is localhost), I only have the video streaming not the caption?

Any idea how to fix this is very much appreciated.

 

Thanks

Truyenle