Jump to content


Photo

How to build only movieplayer for E1


  • Please log in to reply
8 replies to this topic

#1 notofate

  • Member
  • 5 posts

0
Neutral

Posted 8 September 2012 - 22:58

Hi there,
I'm really new to linux development and interested by modifying a little piece of code from the Openpli movieplayer plugin.
But the matter is that i don't really know how to build movieplayer without building the whole openpli image as i already setup the environment under ubuntu.
thanx for help

Re: How to build only movieplayer for E1 #2 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 9 September 2012 - 10:08

Welcome on our forum.

First you need to build the whole OpenPLi image because the movieplayer depends on that.
After that add the path to the cross compiler tools to your PATH. In my case the tools are in /home/david/PLi/OpenPLi/dm7000/trunk/cdk/root/cdk/bin. Your directory will be more or less the same (except for the /home/david/PLi/OpenPLi/dm7000).

To add it to PATH: export PATH=$PATH:/home/david/PLi/OpenPLi/dm7000/trunk/cdk/root

After that you can just do "make" in the directory cdk/apps/tuxbox/plugins/enigma/movieplayer. In the hidden directory .libs you will find movieplayer.so which only needs to be stripped to make it smaller: powerpc-tuxbox-linux-gnu-strip movieplayer.so
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: How to build only movieplayer for E1 #3 notofate

  • Member
  • 5 posts

0
Neutral

Posted 9 September 2012 - 15:55

thanks a lot dAF2000 for your reply,
I've done as your mentionned, but when i run "make" inside "/trunk/cdk/apps/tuxbox/plugins/enigma/movieplayer/", i've got this message:

"../../libtool: line 984: powerpc-tuxbox-linux-gnu-g++: command not found
make: *** [movieplayer_la-movieplayer.lo] Error 1"

I googled for it but nothing relevant.
Thanx for your help.

Re: How to build only movieplayer for E1 #4 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 9 September 2012 - 16:02

Did you first compile the whole image? If you compile it, you will get powerpc-tuxbox-linux-gnu-g++ in /trunk/cdk/root/cdk/bin.
And I made a typo. The path /trunk/cdk/root/cdk/bin (or whatever directory you have) should be added to PATH. In my previous post I forget the "/cdk/bin" part.
Many answers to your question can be found in our wiki: http://openpli.org/wiki

Re: How to build only movieplayer for E1 #5 notofate

  • Member
  • 5 posts

0
Neutral

Posted 9 September 2012 - 16:26

Everything went ok i think for building image using :

./prepare dm500
make dreamboximage_root
./build-image

I've changed the PATH as you mentionned and it seems to works like a charm! :)))

thanx a lot for your support
Best Regards

Re: How to build only movieplayer for E1 #6 ims

  • PLi® Core member
  • 13,625 posts

+212
Excellent

Posted 10 September 2012 - 06:42

what you want change in E1 movieplayer plugin ?
Kdo nic nedělá, nic nezkazí!

Re: How to build only movieplayer for E1 #7 notofate

  • Member
  • 5 posts

0
Neutral

Posted 11 September 2012 - 21:53

In fact this is not a real change, the whole matter is that i want to initiate my students to some oe programming!
and i thought that could be encouraging for them to play with their DM500 (most popular receiver). We want to make a little plugin that can play streams directly from a pc running VLC.
So they can get their own "IPTV" system running from school to their homes over the net.
And I think that i'm a little bit in trouble as i can't isolate the code that launches reading the incoming stream from the pc (i mean without sending commands to VLC as it is supposed to be already launched and transcoding the stream) :/
If you can help me I would be very grateful
Thanx

Edited by notofate, 11 September 2012 - 21:54.


Re: How to build only movieplayer for E1 #8 notofate

  • Member
  • 5 posts

0
Neutral

Posted 11 September 2012 - 22:38

Hehe
I just made it right now :)
this seems the good night for me!! :)
I spent really long time searching through the thousands lines but that seem to be ok!

Thanx again for your support guys
Best Regards

Re: How to build only movieplayer for E1 #9 dAF2000

  • PLi® Ex-Leden
  • 14,151 posts

+52
Good

Posted 12 September 2012 - 09:15

In fact this is not a real change, the whole matter is that i want to initiate my students to some oe programming!

A small detail: the DM500 doesn't use oe (open embedded). The DM600 or DM7020 for example has the same code base and that build process is really based on oe.
Nothing wrong about teaching students some programming, but keep in mind the cdk build tree (DM500, DM5620, DM7000 etc.) has quite a lot of history and is a bit "messy" sometimes ;)
Many answers to your question can be found in our wiki: http://openpli.org/wiki


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users