Discussion:
[libdvdcss-devel] PowerPC (Ubuntu)
Israel
2014-05-12 16:22:21 UTC
Permalink
Hi,

I am unable to watch DVDs on PowerPC.
There is no version of Libdvdcss for PPC, and Fluendo doesn't make a
version of their DVD player for PPC.
So, I have taken to compiling PPC from source.
I have compiled it (though I needed to comment out a line for it to
configure).
I have also made an Ubuntu package to install it (using pbuilder) on
the newest Lubuntu 14.04 I can get all the way to a DVD menu, which
consequently freezes VLC until I xkill it.

On 12.04 I simply get the DVD title in the window's title bar, and VLC
will not play it.


I really appreciate your software and your help in this issue.
Diego Biurrun
2014-05-12 22:25:20 UTC
Permalink
Post by Israel
So, I have taken to compiling PPC from source.
I have compiled it (though I needed to comment out a line for it to
configure).
What did you (have to) change?

Diego
Israel
2014-05-13 02:37:40 UTC
Permalink
I think it was line 12 in configure.ac
LT_INIT([win32-dll])
Post by Diego Biurrun
Post by Israel
So, I have taken to compiling PPC from source.
I have compiled it (though I needed to comment out a line for it to
configure).
What did you (have to) change?
Diego
_______________________________________________
libdvdcss-devel mailing list
https://mailman.videolan.org/listinfo/libdvdcss-devel
Diego Biurrun
2014-05-13 13:36:56 UTC
Permalink
Please don't top-post.
Post by Israel
Post by Diego Biurrun
Post by Israel
So, I have taken to compiling PPC from source.
I have compiled it (though I needed to comment out a line for it to
configure).
What did you (have to) change?
I think it was line 12 in configure.ac
LT_INIT([win32-dll])
How did you change that line and what was the problem you were trying to fix?

That line is a pretty standard libtool init call, so I very much wonder
how anything could go wrong there...

Diego
Israel
2014-05-14 01:11:02 UTC
Permalink
Post by Diego Biurrun
Please don't top-post.
Post by Israel
Post by Diego Biurrun
Post by Israel
So, I have taken to compiling PPC from source.
I have compiled it (though I needed to comment out a line for it to
configure).
What did you (have to) change?
I think it was line 12 in configure.ac
LT_INIT([win32-dll])
How did you change that line and what was the problem you were trying to fix?
That line is a pretty standard libtool init call, so I very much wonder
how anything could go wrong there...
Diego
_______________________________________________
libdvdcss-devel mailing list
https://mailman.videolan.org/listinfo/libdvdcss-devel
I am not entirely sure... it may have been another line. But I
commented out a line (i.e. I added # at the beginning) It wouldn't
compile and said that there was an error on that line. I am not using
windows, so I just assumed it was having trouble since there are no
windows libraries on that computer. I commented it out, and configure
went fine, as well as 'sudo make install'
The libraries installed, but didn't work.
Is there something I need to add (somewhere) for powerPC. As I said
initially I am on GNU/Linux (specifically Lubuntu 14.04).
I also tried making a debian package using the debian stuff from one of
videolan's old pacakges, and using the 2.13 source. It built the
package fine (I used bzr and pbuilder), and installed fine, but did not
work well. I also tried building one for Ubuntu 12.04 (power PC) and
that did not work either. After installing it, the video couldn't get
past the menu. I did try more than one DVD (of course) to ensure the
DVD wasn't scratched or something.
If you want me to recompile it, and post the terminal output from a
fresh (non tampered) version I can.
Diego Biurrun
2014-05-14 10:34:48 UTC
Permalink
Post by Israel
Post by Diego Biurrun
Post by Israel
Post by Diego Biurrun
Post by Israel
So, I have taken to compiling PPC from source.
I have compiled it (though I needed to comment out a line for it to
configure).
What did you (have to) change?
I think it was line 12 in configure.ac
LT_INIT([win32-dll])
How did you change that line and what was the problem you were trying to fix?
That line is a pretty standard libtool init call, so I very much wonder
how anything could go wrong there...
Diego
_______________________________________________
libdvdcss-devel mailing list
https://mailman.videolan.org/listinfo/libdvdcss-devel
Thanks for not top-posting. Next up: trimming your quotes.
Post by Israel
I am not entirely sure... it may have been another line. But I
commented out a line (i.e. I added # at the beginning) It wouldn't
compile and said that there was an error on that line. I am not using
windows, so I just assumed it was having trouble since there are no
windows libraries on that computer. I commented it out, and configure
went fine, as well as 'sudo make install'
The libraries installed, but didn't work.
Small wonder, you commented out the libtool init call, which is
responsible for building working shared libraries.
Post by Israel
Is there something I need to add (somewhere) for powerPC. As I said
initially I am on GNU/Linux (specifically Lubuntu 14.04).
If you want me to recompile it, and post the terminal output from a
fresh (non tampered) version I can.
We need exact error messages, not your vague recollection, so yes.

Diego
Israel
2014-05-15 02:12:55 UTC
Permalink
Post by Diego Biurrun
Small wonder, you commented out the libtool init call, which is
responsible for building working shared libraries.
Hope this is better :)
We need exact error messages, not your vague recollection, so yes.
Diego
_______________________________________________
libdvdcss-devel mailing list
https://mailman.videolan.org/listinfo/libdvdcss-devel
First... I tried recompiling, then I remembered I did something that
fixed the error from the .configure scripts. I installed libstdc++5 and
then the configure process went as planned.
However make throws some errors:

pastebin.ubuntu.com/7465751/

I only ran make (not make install)


This is with sudo make install
pastebin.ubuntu.com/7465770

Thanks for your patience with me, and for your invaluable assistance!
Diego Biurrun
2014-05-15 08:26:18 UTC
Permalink
Post by Israel
Post by Diego Biurrun
Small wonder, you commented out the libtool init call, which is
responsible for building working shared libraries.
Hope this is better :)
We need exact error messages, not your vague recollection, so yes.
Diego
_______________________________________________
libdvdcss-devel mailing list
https://mailman.videolan.org/listinfo/libdvdcss-devel
Please trim such mailing list footers.
Post by Israel
pastebin.ubuntu.com/7465751/
I only ran make (not make install)
This is with sudo make install
pastebin.ubuntu.com/7465770
This is not IRC, please don't use pastebin. Those pastes will go away
and nobody will be able to follow the discussion in the future. It's
also annoying to have to switch to a browser window to be able to reply
to this email and then I would have to copy some text from your paste
into this email, etc. ...

Diego
Jean-Baptiste Kempf
2014-05-15 09:46:25 UTC
Permalink
Post by Israel
Post by Diego Biurrun
Small wonder, you commented out the libtool init call, which is
responsible for building working shared libraries.
Hope this is better :)
We need exact error messages, not your vague recollection, so yes.
Diego
_______________________________________________
libdvdcss-devel mailing list
https://mailman.videolan.org/listinfo/libdvdcss-devel
First... I tried recompiling, then I remembered I did something that
fixed the error from the .configure scripts. I installed libstdc++5 and
then the configure process went as planned.
pastebin.ubuntu.com/7465751/
Those are warnings, not errors.
Post by Israel
I only ran make (not make install)
This is with sudo make install
pastebin.ubuntu.com/7465770
All is fine.

With my kindest regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
Israel
2014-05-15 13:05:48 UTC
Permalink
Post by Jean-Baptiste Kempf
All is fine.
With my kindest regards,
Hi,
This is great!! So why doesn't it work?? I have tried using the simple
make install method.
I have also tried making a debian package, and installing it that way,
but neither allow me to play the DVD. VLC gets stuck at the menu, and
doesn't even play the sound (for the menu).
I have tested 3 or so DVDs with the same result. Is it something else I
am missing?

@Diego (I'll only include one to keep it succinct for you)

make all-am
make[1]: Entering directory `/home/landers/libdvdcss-1.2.13'
CC src/libdvdcss.lo
src/libdvdcss.c: In function 'dvdcss_open':
src/libdvdcss.c:419:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write( i_fd, psz_tag, strlen(psz_tag) );
^
CC src/device.lo
CC src/css.lo
src/css.c: In function '_dvdcss_title':
src/css.c:275:18: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
write( i_fd, psz_key, KEY_SIZE * 3 + 1 );
^
CC src/ioctl.lo
CC src/error.lo
CCLD libdvdcss.la
make[1]: Leaving directory `/home/landers/libdvdcss-1.2.13'
Israel
2014-05-16 20:42:09 UTC
Permalink
Post by Israel
Hi,
This is great!! So why doesn't it work?? I have tried using the simple
make install method.
I have also tried making a debian package, and installing it that way,
but neither allow me to play the DVD. VLC gets stuck at the menu, and
doesn't even play the sound (for the menu).
I have tested 3 or so DVDs with the same result. Is it something else I
am missing?
Hi,
Does anyone know what I am missing? Should I compile something else
from source?
Am I missing any dependencies, or libraries, or....????
I installed the ubuntu-restricted-extras package so I have libdvdread4...
Why doesn't this work? I have 2 powerPC computers to test this on. One
is Lubuntu 12.04 and the other 14.04...

I am very determined to get this to work. Any further insight is much
appreciated and I appreciate the help you all have given thus far.
Ben Livengood
2014-05-16 21:08:58 UTC
Permalink
Post by Israel
Hi,
Does anyone know what I am missing? Should I compile something else
from source?
Am I missing any dependencies, or libraries, or....????
I installed the ubuntu-restricted-extras package so I have libdvdread4...
Why doesn't this work? I have 2 powerPC computers to test this on. One
is Lubuntu 12.04 and the other 14.04...
I recommend testing libdvdcss with other software like mplayer, vlc,
mencoder, ffmpeg, or similar. If libdvdcss is the problem then
mplayer/mencoder at least can give you debugging information on
stdout/stderr about what part of the stream is causing problems or if
libdvdcss can't find a particular key, etc. 'mplayer -dumpstream' could
also be used to compare the decrypted output from the PowerPC system to the
decrypted output from a working system.

Ben
Israel
2014-05-19 12:49:38 UTC
Permalink
Post by Ben Livengood
Post by Israel
Hi,
Does anyone know what I am missing? Should I compile something else
from source?
I recommend testing libdvdcss with other software like mplayer, vlc,
mencoder, ffmpeg, or similar. If libdvdcss is the problem then
mplayer/mencoder at least can give you debugging information on
stdout/stderr about what part of the stream is causing problems or if
libdvdcss can't find a particular key, etc. 'mplayer -dumpstream'
could also be used to compare the decrypted output from the PowerPC
system to the decrypted output from a working system.
Ben
Hi! Thanks for the reply!

VLC is the problem!! For some reason smplayer can play the DVD just fine!
It may be related to the menus, as smplayer doesn't include the menus.
So... I guess libdvdcss wasn't the issue, I had made my package just
fine the first time!!
I appreciate your help!

Loading...