locked
How I can playback videos from DVD disck? C#

    Question

  • Hi everyone! Please take a look into issue that i'm experiencing. 

    When I am trying to open files from licensed DVD disk I have some troubles.
    Here you go part of my code:
                    try
                    {
        var file = await StorageFile.GetFileFromPathAsync(Url);
                        var stream = await file.OpenAsync(FileAccessMode.Read);

                        this.mediaElement.SetSource(stream, file.ContentType);
                    }
                    catch (Exception e)
                    {
                    }
    after this, video don't start and I get no exception.
    I'm trying to copy this stream to file, but it is copy protected, so I can't check this video stream. If I use DVD disk without copy protection - everything works fine.

    Here you go my code sample: http://1drv.ms/1IralKG

    Any ideas how can I playback videos from copy protected DVD disks?





    Thursday, January 29, 2015 10:38 AM

Answers

  • Hello,

    At this time we do not have support for optical disc access from the context of a Windows Store app. Because of this there is no way to natively play copy protected DVD discs from your Windows Store app.

    -James


    Windows SDK Technologies - Microsoft Developer Services - http://blogs.msdn.com/mediasdkstuff/

    Thursday, January 29, 2015 8:57 PM
    Moderator