Windows 8 Store libVLC development

This forum is about all development around libVLC.
KellenSunderland
New Cone
New Cone
Posts: 5
Joined: 13 Mar 2012 05:04

Windows 8 Store libVLC development

Postby KellenSunderland » 02 Nov 2012 04:37

Hey everyone. I've been working for the last little while on getting a VLC Windows 8 store app working. I thought I'd share where I've gotten to so far and see if you had any comments.

I've got some ideas for metro user interfaces that I wanted a test app for, a media player seemed like a good idea. I also wanted to learn about the d3d/d2d interops, and C++/CX. I've been working on it for 3 months or so, it's largely based on nVLC by Roman Ginzburg (which is fantastic). So far the app plays videos and music quite well. Performance is decent, which surprises me because I'm using a horrible implementation right now to get video frames. I'm marshalling RGB frames to a c# object and then drawing them to the screen. If I continue development I don't think it'll be too hard to return YUV formatted frames and write them to a direct2d surface using a SurfaceImageSource.

So now the bad news:
After running the app certification tool we get tons of failures, about 15000 unsupported APIs calls. Most of these come from the plugins. I'm sure this is probably not news to you guys, but I was hoping for a bit less work than that. I'm seeing if there's anyway around this, but from my understanding there might not be any.

There may still be a way to side load apps onto devices. If that's relatively easy I would still be interested in helping to developing this into a program, provided you guys are alright with it.

If someone could help me with cross compiling for windows + ARM I could also see if I can get a build running on the new Surface.

KellenSunderland
New Cone
New Cone
Posts: 5
Joined: 13 Mar 2012 05:04

Re: Windows 8 Store libVLC development

Postby KellenSunderland » 02 Nov 2012 05:48

Here's a screencast of what VLC looks like inside a windows store app. This is playing a 720p mkv file. CPU usage was around 10-14%, again likely because of my horrible frame copying. In the youtube version of the video it looks a little choppy, but watching it in front of me there's no dropped frames that I can see. Audio and Video seems to be synced properly as well.

http://www.youtube.com/watch?v=XTb4mg1la5E&feature=plcp

save_jeff
New Cone
New Cone
Posts: 3
Joined: 02 Aug 2012 22:50

Re: Windows 8 Store libVLC development

Postby save_jeff » 04 Nov 2012 23:05

is this working on the surface (ARM)
i would love to have mkv support on my surface

KellenSunderland
New Cone
New Cone
Posts: 5
Joined: 13 Mar 2012 05:04

Re: Windows 8 Store libVLC development

Postby KellenSunderland » 05 Nov 2012 06:18

I picked up a Surface myself to test on. There's basically three things that will have to happen to get VLC installed on other winrt devices from what I can tell:

1. We'll need to get libvlc + plugins cross compiled on arm, and included in a wrapper app (like the one I've linked above).
2. We'll need to work around any sandboxing issues with opening files, which I think is doable.
3. We'll need an installer so that non-developers can install the tool.

I'll start working on a proof of concept for #2 and #3 first, since I'm pretty sure #1 is achievable.

Beyond these 3 potential 'gotchas' in windows 8, I think developing a nice user interface for VLC would be relatively easy. I'd be willing to volunteer the time to get it to at least a beta stage provided there's enough demand and that Rémi + Jean-Baptiste are ok with it.

Rémi Denis-Courmont
Developer
Developer
Posts: 15266
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Windows 8 Store libVLC development

Postby Rémi Denis-Courmont » 05 Nov 2012 10:09

LibVLC has compiled on ARM for years, including on Windows (CE). But I don't know of any usable toiolchain and platform SDK for Windows 8 on ARM at the moment. This is a blocker. (For both technical and legal reasons, I don't believe Visual Studio to be "usable".)

Developping a toolchain is way outside the scope of the VideoLAN project. Therefore I would humbly suggest that you focus on getting the existing code base to compile and run cleanly on Windows 8 on x86 for the time being. Then develop a proper Metro UI. Most of that work should prove useful if/when an ARM toolchain is found.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Windows 8 Store libVLC development

Postby Jean-Baptiste Kempf » 05 Nov 2012 12:03

Hey everyone. I've been working for the last little while on getting a VLC Windows 8 store app working. I thought I'd share where I've gotten to so far and see if you had any comments.
I've been doing the same for the last couple of days, and I am a bit farther from you, but getting closer...
Your stuff is cool.
I've got some ideas for metro user interfaces that I wanted a test app for, a media player seemed like a good idea. I also wanted to learn about the d3d/d2d interops, and C++/CX. I've been working on it for 3 months or so, it's largely based on nVLC by Roman Ginzburg (which is fantastic). So far the app plays videos and music quite well. Performance is decent, which surprises me because I'm using a horrible implementation right now to get video frames. I'm marshalling RGB frames to a c# object and then drawing them to the screen. If I continue development I don't think it'll be too hard to return YUV formatted frames and write them to a direct2d surface using a SurfaceImageSource.
D3D is the way to go, though...
So now the bad news:
After running the app certification tool we get tons of failures, about 15000 unsupported APIs calls. Most of these come from the plugins. I'm sure this is probably not news to you guys, but I was hoping for a bit less work than that. I'm seeing if there's anyway around this, but from my understanding there might not be any.
There are solutions... Those involve geeking on the 3rd party libraries and probably disabling the networking code, but I believe this is doable (and I think I got the skills).
This will be the long part.
There may still be a way to side load apps onto devices. If that's relatively easy I would still be interested in helping to developing this into a program, provided you guys are alright with it.
This is not a correct solution for users...
If someone could help me with cross compiling for windows + ARM I could also see if I can get a build running on the new Surface.
This will take a lot more work, though... Because I do not think mingw can cross-compiling to ARM for Windows.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

desitunez
New Cone
New Cone
Posts: 1
Joined: 11 Nov 2012 06:21

Re: Windows 8 Store libVLC development

Postby desitunez » 11 Nov 2012 06:30

thanks guys , any further progress :)

Manky
New Cone
New Cone
Posts: 1
Joined: 11 Nov 2012 09:07

Re: Windows 8 Store libVLC development

Postby Manky » 11 Nov 2012 09:10

This is awesome news and I hope you guys can pull this off.

First thing I did when I found out my Surface couldn't play MKV files was go looking for a VLC app.

I can't offer any help other than moral support but I would be most happy to buy a VLC app or at least donate to the cause :)

mutunekk
New Cone
New Cone
Posts: 1
Joined: 17 Nov 2012 13:26

Re: Windows 8 Store libVLC development

Postby mutunekk » 17 Nov 2012 13:30

This looks and sounds awesome!!! this is the one thing that I am really missing from my surface... cant really help with the development but im more than willing to donate!! especially if it means that we get VLC faster... :D

thanks guys for the awesome work!!

neonp
Blank Cone
Blank Cone
Posts: 20
Joined: 09 Jun 2011 14:07
VLC version: 2.2.0
Operating System: Raspbian/jessie
Location: Mulhouse, France

Re: Windows 8 Store libVLC development

Postby neonp » 20 Nov 2012 06:25

D3D is the way to go, though...
Hey,

Since I cannot find any source code to have the "alpha" of vlc for windows 8. I am trying to achieve the same thing. I am far away from you guys (since it does not run :oops:). But I have a noob question : why do you think D3D is better that D2D ? isn't D2D made for 2D, like videos ?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Windows 8 Store libVLC development

Postby Jean-Baptiste Kempf » 20 Nov 2012 14:20

D2D only accepts RGB in. D3D can have YV12 textures
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

weddi_eddy
New Cone
New Cone
Posts: 5
Joined: 17 Apr 2012 16:53

Re: Windows 8 Store libVLC development

Postby weddi_eddy » 03 Dec 2012 18:31

Question. Is the Kickstarter page found at - http://www.kickstarter.com/projects/106 ... ence-metro official?

If so, it might make sense stating so. This would exponentially increase the donations received.

Edit - Sorry. Just read the news section on the main website. Thanks! ^_^

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Windows 8 Store libVLC development

Postby Jean-Baptiste Kempf » 04 Dec 2012 14:59

Yes.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

neonp
Blank Cone
Blank Cone
Posts: 20
Joined: 09 Jun 2011 14:07
VLC version: 2.2.0
Operating System: Raspbian/jessie
Location: Mulhouse, France

Re: Windows 8 Store libVLC development

Postby neonp » 12 Jan 2013 09:34

Hello guys,

Could either JB or Kellen provide some source code to make libvlc work in a metro app ? That would be very helpful to me, and maybe other people.

Thanks a lot,

Nicolas

KellenSunderland
New Cone
New Cone
Posts: 5
Joined: 13 Mar 2012 05:04

Re: Windows 8 Store libVLC development

Postby KellenSunderland » 13 Jan 2013 03:44

Hey Nicolas. I'm just working on getting it cleanly integrated with our new app right now. I'll try and post some usable examples soon.

Eventually all the code will be posted publically. Before this happens I'd want the vlc experts to take a look and do some code review.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Windows 8 Store libVLC development

Postby Jean-Baptiste Kempf » 13 Jan 2013 14:57

Yep, as soon as we have a clean enough base, it will be opened.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

svdunn
New Cone
New Cone
Posts: 2
Joined: 10 Nov 2013 04:40

Re: Windows 8 Store libVLC development

Postby svdunn » 10 Nov 2013 05:41

Hi folks. I've been reading this thread with interest as I am keen to have something useful for my daughters' Surface 2s. I haven't found anything released in the Surface app store yet - am I mssing it or is it still in the works? Thanks for your help.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Windows 8 Store libVLC development

Postby Jean-Baptiste Kempf » 12 Nov 2013 19:15

Still working on it.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

svdunn
New Cone
New Cone
Posts: 2
Joined: 10 Nov 2013 04:40

Re: Windows 8 Store libVLC development

Postby svdunn » 12 Nov 2013 23:31

Thanks for letting me know. I have NO technical expertise but would be happy to help test or whatever would be sueful.

Meanwhile do members have any suggestions for something to use for mostly mp4, avi, wmp formats?

Plantje
New Cone
New Cone
Posts: 8
Joined: 24 Nov 2013 11:24

Re: Windows 8 Store libVLC development

Postby Plantje » 24 Nov 2013 11:31

Hi,

Any update on this matter? A year ago there were some developments? What are the current pitfalls? Can I sign up as tester of beta versions somewhere? :)

Next to that I was wondering: for the version on the Windows desktop playback of .wtv files is supported. Will that be possible in the version for Windows 8.1 RT with the ARM processor as well? Currently I have to convert all of my .wtv files to .mp4 which takes a very long time! To me the support of .wtv files for a Windows 8.1 RT device would really mean a boost for the RT platform!

Thanks!

sideslope
New Cone
New Cone
Posts: 4
Joined: 26 Feb 2012 23:11

Re: Windows 8 Store libVLC development

Postby sideslope » 25 Nov 2013 15:42

Yeah,

It seems like there is very little information on the progress of VLC on to Window's RT. When it was first announced I remember the dev team talking early summer of 2013.

Now, Surface II is going on sale for 199.00 (32GB version) the day after Thanksgiving at Microsoft stores. I think RT is going to start getting a decent sized user base now.

I'd like to pick up a second RT at this price (I use them for home automation control around the house). I just need some VLC so I can watch my videos too! ;)

VLC team, do you have any idea of a tentative release date yet? Would be nice to know if we're talking a few months or next year at this time.

Anyway, thanks for all the hard work on this!

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Windows 8 Store libVLC development

Postby Jean-Baptiste Kempf » 06 Dec 2013 00:41

Yes, all formats supported in one version is supported in the other one.

Can you share with me a .wtv file, for example?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Plantje
New Cone
New Cone
Posts: 8
Joined: 24 Nov 2013 11:24

Re: Windows 8 Store libVLC development

Postby Plantje » 06 Dec 2013 06:40

Hi Jean-Baptiste,

Of course I can. However, they tend to grow large very quickly. Where can I upload the file?

You can find some more information on the format here: http://www.fileinfo.com/extension/wtv

Thanks!
Rudi Hendrix

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Windows 8 Store libVLC development

Postby Jean-Baptiste Kempf » 09 Dec 2013 15:32

Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Plantje
New Cone
New Cone
Posts: 8
Joined: 24 Nov 2013 11:24

Re: Windows 8 Store libVLC development

Postby Plantje » 09 Dec 2013 17:50

I think the upload has finished....but I am not sure. Can you check it? I referred to this thread.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests