Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Blu-Ray (on gentoo) how-to [solved with MakeMKV, WIP]
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
beandog
Developer
Developer


Joined: 04 May 2003
Posts: 2007
Location: /usa/utah

PostPosted: Wed Jun 09, 2010 4:01 pm    Post subject: Reply with quote

Okay guys, just a heads up, I put an ebuild (which was contributed by users, thanks!) for MakeMKV-1.5.6 in the Multimedia overlay, available here:

http://gitorious.org/gentoo-multimedia/gentoo-multimedia

Have fun. :)

Edit: Just added tsmuxer as well.
_________________
If it ain't broke, tweak it. packages | dvds | blurays | blog | home
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2454
Location: Silver City, NM

PostPosted: Sun Jun 13, 2010 10:13 pm    Post subject: Suggestions on which Blu-Ray drive to get? Reply with quote

Looking over on NewEgg they had a couple of drives for as low as $64 (if you include shipping). I was wondering "what's wrong with these drives" so I started doing a little digging. It seems that the ASUS requires you to run a .exe program in order to update the firmware. Other drives that cost more, such as the Samsung, allow you to update the firmware by simply burning a cd-rom and then putting it in the drive which is totally OS agnostic.

It might be possible via FreeDOS or Wine to run the darned exe file but ISTM I would be better off supporting companies who are trying to make life a little easier for Linux users.
Back to top
View user's profile Send private message
Tariella
Guru
Guru


Joined: 10 Dec 2005
Posts: 377
Location: Europe/Austria

PostPosted: Mon Jun 14, 2010 9:12 am    Post subject: Reply with quote

I had my LG drive patched by a friend with win system, but there are reports that it works with wine too.
Patching the firmware is not necessary with MakeMKV, afaik.
Back to top
View user's profile Send private message
1clue
Veteran
Veteran


Joined: 05 Feb 2006
Posts: 1376

PostPosted: Mon Jun 14, 2010 4:24 pm    Post subject: Reply with quote

I learned a long time ago to never buy the cheapest example of any hardware. Usually the same thing goes for the most expensive example (especially with video cards and such), they tend to be bleeding edge and therefore buggy.

Look at the scattering of prices for a certain capacity, chop off the bottom clutter and possibly the top cluster, and then pick something from what's left based on your needs.
Back to top
View user's profile Send private message
Tariella
Guru
Guru


Joined: 10 Dec 2005
Posts: 377
Location: Europe/Austria

PostPosted: Tue Jun 15, 2010 5:55 pm    Post subject: Reply with quote

Some "new" software popped up at doom9 forums:
lxBDPlayer http://lxbdplayer.sourceforge.net/english.html
Seems that it needs a aacskeys plugin for playing protected discs.

More info here: http://forum.doom9.org/showthread.php?t=155110
Back to top
View user's profile Send private message
PraetorZero
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 239
Location: /home

PostPosted: Thu Jun 17, 2010 1:48 pm    Post subject: Reply with quote

Tariella wrote:
Some "new" software popped up at doom9 forums:
lxBDPlayer http://lxbdplayer.sourceforge.net/english.html
Seems that it needs a aacskeys plugin for playing protected discs.

More info here: http://forum.doom9.org/showthread.php?t=155110


Have you tried this yet? Is it a full featured player? ie, menus, etc? Or does it just pull up the main title, decrypt and playback?
_________________
What's the worst that can happen?
Back to top
View user's profile Send private message
Tariella
Guru
Guru


Joined: 10 Dec 2005
Posts: 377
Location: Europe/Austria

PostPosted: Wed Jun 23, 2010 5:13 pm    Post subject: Reply with quote

I'm going to test it next week. Right now I have to prepare for an exam. :(
If I get something to work I'll let you know.
Back to top
View user's profile Send private message
antonlacon
Apprentice
Apprentice


Joined: 27 Jun 2004
Posts: 230

PostPosted: Tue Jul 06, 2010 12:29 am    Post subject: Reply with quote

beandog wrote:
I just added media-video/aacskeys to the portage tree. Lemme know if you guys have any problems building it.


If you change the java depend to virtual/jdk:1.6, it would allow it to build and run on ppc + ppc64. It built for me just fine on a ps3 using IBM's jdk, but it looks like the hypervisor is keeping access of one of the keys from me. Haven't checked out how that change would affect other arches.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2454
Location: Silver City, NM

PostPosted: Fri Aug 20, 2010 8:04 pm    Post subject: Reply with quote

Just watched the Avatar Blu-ray. Installed an ASUS BR-04B2T Blu-ray drive ($50 + free shipping from NewEgg). Used MakeMKV-1.5.8. Updated an older ebuild. Had to remove "_beta" in four places. I couldn't stream from the command-line version, makemkvcon, probably because I haven't bought it and am on the 30-day free trial. Was easy to setup streaming via the GUI.

Streamed to SMplayer with VDPAU enabled. Used an Nvidia 8400 graphics card and a 1920x1200 24" monitor. Running amd64 with an Athlon x2 5200+ processor. The CPU was running at about 30% with the clock scaled back (via OnDemand governor) to 1.0 GHz down from a max of 2.7 GHz.

Of course the picture quality was marvelous but there were a lot of annoying video artifacts. Every few minutes there would be a pixelated horizontal strip across the video for a split second where it looked like the decompression failed. I don't know what part of the processing chain was failing. It usually happened when there was a lot going on in the screen and when the entire scene was supposed to change.

I went to the Nvidia support forums and got rid of the video artifacts by following their advice and running mplayer directly via:
Code:
$ mplayer -vo vdpau -vc ffh264vdpau -demuxer lavf 'http://localhost:51000/stream/title0.ts' 

Probably some of that is not needed, but I'm very glad to have it working now without all the artifacts.

There were no subtitles in the stream. Does anyone know how to enable subtitles either by streaming or by ripping? Streaming would be preferred.
Back to top
View user's profile Send private message
whig
l33t
l33t


Joined: 27 Nov 2004
Posts: 970
Location: New Zealand

PostPosted: Fri Aug 20, 2010 8:48 pm    Post subject: Reply with quote

Recent mplayer-9999 does do bluray subtitles but not perfectly.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2454
Location: Silver City, NM

PostPosted: Sat Aug 21, 2010 7:49 am    Post subject: Reply with quote

I've found an easy to stream blu-rays with your choice of subtitles and languages using makemkv and xbmc:
Code:
$ makemkvcon stream disc:0
$ xbmc 'http://localhost:51000/stream/title0.m2ts'

I'm using xbmc-9.11-r4 with the vdpau USE flag enabled. XBMC gives you access to all the languages and subtitles!

I had been giving makemkvcon "/dev/sr1" instead of "disc:0" which is why it wasn't working before. It was PEBKAC, and nothing to do with paying or not paying. But I think you might have to use the GUI version the first time in order to turn on your 30-day free trial.

There is a blu-ray plugin for XBMC that runs makemkvcon for you automatically, but I (of course) had problems with it and XBMC locked up. When you run makemkvcon as above, make sure to read the final two lines of output, which for me said:
Code:
Streaming server started, web server address is http://192.168.1.33:51000 or http://localhost:51000
UPnP server enabled on address 192.168.1.33

If you are mucking about, it might use a different port number. You also might want to browse to the URL given to find out which title contains the actual movie. It might not always be title0.

Update:The Blu-ray plugin for XBMC (version 9.11) is working great now. No need to use the command line fu above. You can have it automatically play the longest title on a disc or browse a disc to play any or all of the titles. The titles don't have names but you are given the order and the length of each title. You still need to install makemkv but the UI is all through the XMBC GUI.
Back to top
View user's profile Send private message
johnny99
Apprentice
Apprentice


Joined: 24 Oct 2005
Posts: 232
Location: Berkeley, California

PostPosted: Thu Dec 23, 2010 5:05 pm    Post subject: Reply with quote

Are ebuilds for this stuff yet?
Seems like popular candidates.
As my system updates, I end up breaking dependencies (makemkvcon was built against libcrypto.so.0.9.8).
I don't see any bugs file in http://bugs.gentoo.org
Can this stuff get into portage?
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2454
Location: Silver City, NM

PostPosted: Thu Dec 23, 2010 5:48 pm    Post subject: Reply with quote

Here is the ebuild I've been using for makemkv:
Code:
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit multilib eutils

MY_P="makemkv_v${PV}_oss"
MY_PB="makemkv_v${PV}_bin"

DESCRIPTION="Tool for converting Blu-Ray, HD-DVD and DVD videos to matroska."
HOMEPAGE="http://www.makemkv.com"
SRC_URI="http://www.makemkv.com/download/makemkv_v${PV}_oss.tar.gz
   http://www.makemkv.com/download/makemkv_v${PV}_bin.tar.gz"

LICENSE="makemkv-EULA"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="x11-libs/qt-gui:4
   dev-libs/openssl
   media-libs/mesa"

src_compile() {
   cd "${MY_P}"
   emake GCC="$(tc-getCC) ${CFLAGS} ${LDFLAGS}" -f makefile.linux || die "make failed"
}

src_install() {
   # install oss package
   cd "${MY_P}"
   dolib.so out/libdriveio.so.0
   dolib.so out/libmakemkv.so.1
   dosym libdriveio.so.0 /usr/$(get_libdir)/libdriveio.so.0.${PV}
   dosym libmakemkv.so.1 /usr/$(get_libdir)/libmakemkv.so.1.${PV}
   into /usr
   dobin out/makemkv

   newicon makemkvgui/src/img/128/mkv_icon.png ${PN}.png
   make_desktop_entry ${PN} "MakeMKV" ${PN} "Qt;AudioVideo;Video"

   # install bin package
   cd "../${MY_PB}/bin"
   if use x86; then
      dobin i386/makemkvcon
   elif use amd64; then
      dobin amd64/makemkvcon
   fi
}

Usually you just have to bump the version number when a new version is released. Currently I'm at makemkv-1.6.3.ebuild.
Back to top
View user's profile Send private message
johnny99
Apprentice
Apprentice


Joined: 24 Oct 2005
Posts: 232
Location: Berkeley, California

PostPosted: Thu Dec 23, 2010 6:03 pm    Post subject: Reply with quote

Great! I found the bug for makemkv:
http://bugs.gentoo.org/show_bug.cgi?id=280347

What is the eclasses for makemkv (media-lib, media-tv, media-video)?
It provides libs and an executable, so I'm not sure.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2454
Location: Silver City, NM

PostPosted: Thu Dec 23, 2010 6:24 pm    Post subject: Reply with quote

I use media-video. BTW: the ebuild in the bug report is much better than the one I posted.
Back to top
View user's profile Send private message
PraetorZero
Apprentice
Apprentice


Joined: 11 Dec 2004
Posts: 239
Location: /home

PostPosted: Thu Dec 23, 2010 6:52 pm    Post subject: Reply with quote

johnny99 wrote:
Are ebuilds for this stuff yet?
Seems like popular candidates.
As my system updates, I end up breaking dependencies (makemkvcon was built against libcrypto.so.0.9.8).
I don't see any bugs file in http://bugs.gentoo.org
Can this stuff get into portage?


MakeMKV exists in the multimedia overlay, FYI.
_________________
What's the worst that can happen?
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2454
Location: Silver City, NM

PostPosted: Thu Dec 23, 2010 7:16 pm    Post subject: Reply with quote

The latest version I see in my multimedia overlay is 1.5.8. The latest release is version 1.6.3.
Back to top
View user's profile Send private message
Chr0nos
Apprentice
Apprentice


Joined: 26 Feb 2010
Posts: 188

PostPosted: Thu Dec 30, 2010 11:29 am    Post subject: Reply with quote

yup, and the overlay fail:
Code:
>>> Emerging (1 of 1) media-video/makemkv-1.5.8 from multimedia
>>> Downloading 'http://www.makemkv.com/download/makemkv_v1.5.8_oss.tar.gz'
--2010-12-30 12:26:43--  http://www.makemkv.com/download/makemkv_v1.5.8_oss.tar.gz
Résolution de www.makemkv.com... 195.248.234.93
Connexion vers www.makemkv.com|195.248.234.93|:80...connecté.
requête HTTP transmise, en attente de la réponse...404 Not Found
2010-12-30 12:26:43 ERREUR 404: Not Found.
Back to top
View user's profile Send private message
BitJam
Advocate
Advocate


Joined: 12 Aug 2003
Posts: 2454
Location: Silver City, NM

PostPosted: Thu Dec 30, 2010 11:38 am    Post subject: Reply with quote

It failed because the source/binaries for the older version are no longer available. Try copying the ebuild to your local overlay and just bump the version number to 1.6.3. If that doesn't work, you can use the ebuild I posted which has been working fine.
Back to top
View user's profile Send private message
gkmac
Guru
Guru


Joined: 19 Jan 2003
Posts: 323
Location: West Sussex, UK

PostPosted: Sun Sep 18, 2011 6:16 pm    Post subject: Reply with quote

Tariella wrote:
The processing keys for discs with MKB V9 ans MKB V10 are found. I can't link them but have a look at the doom9 forums to get them.

Two and a half years later, the processing keys up to MKB v25 are now out in the wild. Again, the doom9 forums are the place to begin looking.
_________________
If ~amd64 ebuilds are cutting edge, then git-9999 ebuilds are chainsaws.
"Not everyone can ride a unicycle, does that mean we should put another wheel on it?" - Lokheed
Back to top
View user's profile Send private message
cord
Apprentice
Apprentice


Joined: 28 Apr 2007
Posts: 204

PostPosted: Tue Dec 27, 2011 7:03 pm    Post subject: Re: Blu-Ray (on gentoo) how-to [solved with MakeMKV, WIP] Reply with quote

First post:
Tariella wrote:

ad2. Note that tsMuxeR is not in portage.
You can use the windows-version with wine

It already is.
You don't need wine anymore.
Back to top
View user's profile Send private message
Tariella
Guru
Guru


Joined: 10 Dec 2005
Posts: 377
Location: Europe/Austria

PostPosted: Wed Jan 18, 2012 10:04 am    Post subject: Reply with quote

Thanks for the info.
Posting updated.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8
Page 8 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum