none
Issue on MP4/AVC/AAC playback with Silverlight 5

    Question

  • We have an existing Silverlight video player with version 4 target runtime. The player plays via progressive download. Everything is OK until the users updated their Silverlight plugins to version 5. Now most of the MP4/AVC/AAC files that used to play with SL4 plugin are not playing in SL5 plugin. I even tried converting the app to SL5 but we got the same error. Silverlight is reporting error 3001. 

    We are using Silverlight Media Framework as well.

    Anybody got an idea why suddenly it stopped playing on SL5?

    Here is the sample specs of the video using mediainfo.

    General
    Complete name : file.mp4
    Format : MPEG-4
    Format profile : Base Media / Version 2
    Codec ID : mp42
    File size : 14.6 MiB
    Duration : 1mn 38s
    Overall bit rate mode : Variable
    Overall bit rate : 1 250 Kbps
    Encoded date : UTC 2012-04-18 20:13:14
    Tagged date : UTC 2012-04-18 20:13:14
    ©TIM : 00;00;00;00

    Video
    ID : 1
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : Main@L3.1
    Format settings, CABAC : Yes
    Format settings, ReFrames : 3 frames
    Codec ID : avc1
    Codec ID/Info : Advanced Video Coding
    Duration : 1mn 38s
    Bit rate mode : Constant
    Bit rate : 1 100 Kbps
    Width : 640 pixels
    Height : 480 pixels
    Display aspect ratio : 4:3
    Frame rate mode : Constant
    Frame rate : 29.970 fps
    Standard : NTSC
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan order : Bottom Field First
    Bits/(Pixel*Frame) : 0.119
    Stream size : 12.7 MiB (87%)
    Language : English
    Encoded date : UTC 2012-04-18 20:13:14
    Tagged date : UTC 2012-04-18 20:13:14

    Audio
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format profile : LC
    Codec ID : 40
    Duration : 1mn 38s
    Source duration : 1mn 38s
    Bit rate mode : Variable
    Bit rate : 157 Kbps
    Maximum bit rate : 230 Kbps
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 KHz
    Compression mode : Lossy
    Stream size : 1.84 MiB (13%)
    Source stream size : 1.84 MiB
    Language : English
    Encoded date : UTC 2012-04-18 20:13:14
    Tagged date : UTC 2012-04-18 20:13:14

    
    

    Thanks.

    Mike

    Tuesday, April 24, 2012 5:52 PM

Answers

  • Chroma subsampling                       : 4:2:0
    Bit depth : 8 bits
    Scan type                                : Interlaced
    Scan order                               : Bottom Field First 

    Silverlight does not support interlaced formats. It may have worked in SL4, which would have been a bug and is now "fixed" in SL5. You will need to re-encode your content for this to work for SL5.

    http://msdn.microsoft.com/en-us/library/bb412386.aspx#mediaformats_unsupportedformats

    The following formats are not supported:

    • Interlaced video content

     

    Thursday, April 26, 2012 9:05 PM
  • Hi. I believe Microsoft will include them in the next General Distribution Release. As to when, I have no idea. Microsoft gave us (and the other customer) a limited distribution of SL 5 which includes a fix for this issue.  I am afraid I can not disclose more details here. I will PM you some information.

    Update: I sent you a private message.

    Wednesday, June 13, 2012 3:21 PM

All replies

  • Just an update. I was able to keep in touch with someone from the Microsoft engineering team and they are helping us investigate the issue. Looks like we are not the only users having the same problem. Will update this post once I got more details.

    Thursday, April 26, 2012 10:31 AM
  • Chroma subsampling                       : 4:2:0
    Bit depth : 8 bits
    Scan type                                : Interlaced
    Scan order                               : Bottom Field First 

    Silverlight does not support interlaced formats. It may have worked in SL4, which would have been a bug and is now "fixed" in SL5. You will need to re-encode your content for this to work for SL5.

    http://msdn.microsoft.com/en-us/library/bb412386.aspx#mediaformats_unsupportedformats

    The following formats are not supported:

    • Interlaced video content

     

    Thursday, April 26, 2012 9:05 PM
  • Thanks for that info. Re-encoding the video files is not an easy option for us since we have terabytes of videos in our repostory.  Looks like we are not the only users having the same problem.

    Microsoft team identified the problem and working on a fix (thanks to Microsoft). We were able to help test their test build by running it on our videos. I don't have an ETA of the fix. I will update this post once we got the final build/patch. Until then, we roll-back to SL4.

    Tuesday, May 01, 2012 12:25 PM
  • I work on a video editing system that uses SL4 for mp4 content and customers that upgrade to SL5 are hitting this issue and this is causing a major problem for us having to make customers down grade to SL4 especially since Microsoft is including SL5 in the latest set of Windows Updates.

    I read in this group that MSFT is working on a fix. Can someone please provide a status on such a fix because having to convert our content from interlaced to progressive is going to a challenge.

    Monday, June 04, 2012 3:46 PM
  • Hi. I believe Microsoft will include them in the next General Distribution Release. As to when, I have no idea. Microsoft gave us (and the other customer) a limited distribution of SL 5 which includes a fix for this issue.  I am afraid I can not disclose more details here. I will PM you some information.

    Update: I sent you a private message.

    Wednesday, June 13, 2012 3:21 PM