Author Topic: Project VLC  (Read 12823 times)

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Project VLC
« on: January 31, 2010, 10:35:39 pm »
I have decided to try and write a DCE wrapper for VLC, because in my belief it will fix a number of issues. I am also going to be looking real hard for a solution to asterisk prob.

I tried for many days to get 8.1 rolling during the avenard fiasco, and am still unsuccessful. I will go at that some more later. For now I will be trying to develop for 7.10 and 8.10 concurrently.

So I have set up a dev box and would like to know some info. I have a lot of reading ahead of me, but if someone could help me with a couple of basic "where do i find"s that would be great.

1. I am green to linux. Where do I get avail source code? For instance if I wanted to look at the xine wrapper... where would I find that? Is it even available?

2. I am comfortable in java. I need to learn c++ anyway, have for about 20 years and just never got around to it. Any suggested reading? It is still object oriented... I should be able to get the swing pretty quick.

3. I just found the svn part of the site. How is that managed, I see assignments... but do not know if they are self or admin assigned. Because I am just above useless, should I try and tackle things related to features and not function... as the more experienced guys are more likely to find a quicker solution?

Any rules, tips, suggestions are welcome. I have never developed outside of contract before, so I am new to the community.
I never quit... I just ping out.

sambuca

  • Guru
  • ****
  • Posts: 462
    • View Profile
Re: Project VLC
« Reply #1 on: February 01, 2010, 08:48:50 am »
The source code is available in SVN, You can browse the current 810 code online http://svn.linuxmce.org/trac.cgi/browser/branches/LinuxMCE-0810/src, or you could check it out and view and edit it locally, which you will need to anyway if you're to do any development. There is an article on building 810 in the wiki for more details.

As for developing for 710, imho: let it go! Focus on 810. Your time will be better spent figuring out what prevents 810 from working for you.

1. The xine player specifically is available in http://svn.linuxmce.org/trac.cgi/changeset/22596/branches/LinuxMCE-0810/src/Xine_Player.

2. Not really. I'm sure there is some tutorials online, but maybe you should start looking at some code and take it from there. And remember, google is your friend  ;)

3. The tickets in trac is both self-assigned, and assigned by others (an admin, for instance).

Well, this is the first oss project I have contributed to also, so my suggestion would be to jump in, like I did. Start off with something you are not quite happy with, investigate it, and make up your mind if it is easy enough for you to do.
As we're in beta now, no new features/functionalities are allowed, but I'm sure there are still some bugs/tweaks to be found..

Oh. btw. there are already some code for VLC intergration in SVN, but it was abandoned for some reason. You should check it out.

jthodges

  • Veteran
  • ***
  • Posts: 60
    • View Profile
Re: Project VLC
« Reply #2 on: February 01, 2010, 10:11:04 pm »
I think that having multiple player options would be a very great feature for LMCE.  I just wanted to suggest  following up with niz23's post at http://forum.linuxmce.org/index.php?topic=9257.msg64724#msg64724 before proceeding with wiring in vlc directly.  I'm not sure what his status is, but that approach sounds to me like an excellent way to integrate multiple players (vlc included), if it works out.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Project VLC
« Reply #3 on: February 04, 2010, 09:50:33 am »
I have decided to try and write a DCE wrapper for VLC, because in my belief it will fix a number of issues. I am also going to be looking real hard for a solution to asterisk prob.

I tried for many days to get 8.1 rolling during the avenard fiasco, and am still unsuccessful. I will go at that some more later. For now I will be trying to develop for 7.10 and 8.10 concurrently.

So I have set up a dev box and would like to know some info. I have a lot of reading ahead of me, but if someone could help me with a couple of basic "where do i find"s that would be great.

1. I am green to linux. Where do I get avail source code? For instance if I wanted to look at the xine wrapper... where would I find that? Is it even available?

2. I am comfortable in java. I need to learn c++ anyway, have for about 20 years and just never got around to it. Any suggested reading? It is still object oriented... I should be able to get the swing pretty quick.

3. I just found the svn part of the site. How is that managed, I see assignments... but do not know if they are self or admin assigned. Because I am just above useless, should I try and tackle things related to features and not function... as the more experienced guys are more likely to find a quicker solution?

Any rules, tips, suggestions are welcome. I have never developed outside of contract before, so I am new to the community.

Hi l3mce,

What your up to with VLC brings back some memories I can tell you. When we first started working with Pluto back in 2005 we worked with Aaron on VLC as the video playback engine...we saw it as a way to get multi-cast streams and also the leverage the incredible abilities of VLC to play almost anything you through at it (and play it well too). However back then we hit a number of issues...only a very early vlc lib was one but the main one that comes to mind is that VLC is a little slack (or was back at least!) in reporting time-code values back from a player. This mad it virtually impossible to jump around in a video files or to have the system return to a specific time-code later.

In the end Aaron felt it was just not going to happen, and we had to agree...but lets hope that your experience is much better than that!

All the best

Andrew
« Last Edit: February 04, 2010, 07:03:08 pm by totallymaxed »
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Project VLC
« Reply #4 on: February 04, 2010, 06:59:01 pm »
that's... 2005, right? ;)

-Thom

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Project VLC
« Reply #5 on: February 04, 2010, 07:03:34 pm »
that's... 2005, right? ;)

-Thom

Yep! Good spot ;-)
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Project VLC
« Reply #6 on: February 04, 2010, 07:05:41 pm »
actually, if you want to do some good work, work on a gstreamer-player DCE device. Literally just make a player that uses gstreamer, but has no UI, and uses DCE for control.

-Thom

bugui

  • Veteran
  • ***
  • Posts: 70
    • View Profile
Re: Project VLC
« Reply #7 on: May 29, 2010, 06:20:42 am »
Hi Andrew,
I found a trick on VLC to get Synchronized VLC Streaming. I found it at http://hackedexistence.com/project-vlc.html.
The trick is to "add the IP Address of the server to the streaming client list, start the stream without playing it locally, launch a new instance of VLC, define the IP Address of the Server in the Network Sync Settings, then open the stream exactly as you would on a client." (Text copied from http://hackedexistence.com/project-vlc.html)

Also there is a Demo video on that page.

Thanks
Hernan

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Project VLC
« Reply #8 on: May 29, 2010, 06:22:30 am »
Why don't you work on a media player which implements this, as a test.

-Thom

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Project VLC
« Reply #9 on: May 29, 2010, 06:34:33 pm »
Hi Andrew,
I found a trick on VLC to get Synchronized VLC Streaming. I found it at http://hackedexistence.com/project-vlc.html.
The trick is to "add the IP Address of the server to the streaming client list, start the stream without playing it locally, launch a new instance of VLC, define the IP Address of the Server in the Network Sync Settings, then open the stream exactly as you would on a client." (Text copied from http://hackedexistence.com/project-vlc.html)

Also there is a Demo video on that page.

Thanks
Hernan

That looks very promising. As Thom says why dont you work on a media player that implements this as a test...it looks like this might be a big breakthrough.

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Project VLC
« Reply #10 on: May 29, 2010, 07:06:23 pm »
You can fuse ideas from the SmartQ Media Plugin/Player and the corresponding Xine Plugin/Player.

-Thom

valent

  • Guru
  • ****
  • Posts: 381
    • View Profile
    • /kernel_reloaded/
Re: Project VLC
« Reply #11 on: May 31, 2010, 04:15:56 pm »
I would love if somobody also did wrapper for XBMC, that project ROCKS!
LinuxMCE - If it was easy, everybody would be doing it!!
My setup - http://wiki.linuxmce.org/index.php/User:Valent

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Project VLC
« Reply #12 on: May 31, 2010, 04:32:31 pm »
I would love if somobody also did wrapper for XBMC, that project ROCKS!

Wrong thread...very off-topic

Andrew
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

bulek

  • Administrator
  • wants to work for LinuxMCE
  • *****
  • Posts: 909
  • Living with LMCE
    • View Profile
Re: Project VLC
« Reply #13 on: June 01, 2010, 07:56:07 am »
Hi,

I'll add idea about vlc usage that I find useful in my house. I use vlc as rtsp server for my IPTV (vlc connects to my iptv on one side and servers streams to other vlcs as clients). Therefore I can watch TV from any PC with vlc in the local network and I find this extremely stable.... This is not LMCE integrated solution, but maybe useful info to someone else too...

Regards,
Bulek.
Thanks in advance,

regards,

Bulek.

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: Project VLC
« Reply #14 on: July 30, 2010, 01:48:55 pm »
I'm also trying to use VLC to watch IPTV. It's possible to integrate it with VDR using IPTV plugin. But there are two problems in my case. The IPTV operator doesn't offers play-lists and it supports VLC version 1.0.0 and higher.  Ubuntu 8.10 includes old version. So, I need somehow build the latest one. Bulek, do you ru VLC on LinuxMCE server? If so, what version do you use?
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru