Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] convert wmv to mp4?
Date: Tue, 01 May 2012 23:56:47
Message-Id: CAK2H+edt+7P-OVTSdRqtCXGb2v5pAAy5rd0=55CsbtCiHTsZ+w@mail.gmail.com
In Reply to: Re: [gentoo-user] convert wmv to mp4? by Paul Hartman
1 On Tue, May 1, 2012 at 3:36 PM, Paul Hartman
2 <paul.hartman+gentoo@×××××.com> wrote:
3 > On Tue, May 1, 2012 at 5:14 PM, Mark Knecht <markknecht@×××××.com> wrote:
4 >> On Tue, May 1, 2012 at 2:41 PM, Paul Hartman
5 >> <paul.hartman+gentoo@×××××.com> wrote:
6 >>> On Tue, May 1, 2012 at 3:51 PM, Michael Mol <mikemol@×××××.com> wrote:
7 >>>> On Tue, May 1, 2012 at 4:46 PM, Paul Hartman
8 >>>> <paul.hartman+gentoo@×××××.com> wrote:
9 >>>>> On Tue, May 1, 2012 at 2:56 PM, Neil Bothwick <neil@××××××××××.uk> wrote:
10 >>>>>> On Tue, 1 May 2012 12:30:11 -0700, Mark Knecht wrote:
11 >>>>>>
12 >>>>>>> Notice the (-win32codecs) flag. Seems to me (on this system anyway)
13 >>>>>>> they are hard masked off? I tried adding the flag to package.use but
14 >>>>>>> emerge won't enable the darn thing...
15 >>>>>>
16 >>>>>> You need to unmask the USE flag first, by adding -win32codecs
17 >>>>>> to /etc/portage/profile/use.mask
18 >>>>>
19 >>>>> If he is using amd64 he can't use win32codecs unless he uses a 32-bit
20 >>>>> mplayer/ffmpeg. AFAIK.
21 >>>>
22 >>>> Wouldn't using multilib work around this?
23 >>>
24 >>> I think he would still need to compile a 32-bit mplayer/ffmpeg (in a
25 >>> 32-bit chroot) to be able to make use of them. Multilib would let him
26 >>> run 32-bit mplayer or ffmpeg binaries (which themselves would be able
27 >>> to use the 32-bit DLLs). But I don't think 64-bit mplayer/ffmpeg can
28 >>> call 32-bit DLLs.
29 >>>
30 >>> There is an amd64codecs package containing the 64-bit codecs, but it
31 >>> has been masked and made obsolete by the fact that mplayer/ffmpeg can
32 >>> natively do most (or all?) of those codecs these days.
33 >>>
34 >>
35 >> And presumably for all the same reasons, if I cannot play them I
36 >> cannot convert them.
37 >>
38 >> Ah, a world full of unspecified, proprietary vendor specific file
39 >> formats hidden in old dlls... Ain't it a fine world we live in?
40 >>
41 >> Sort of painful to start maintaining a 32-bit chroot just to handle
42 >> this sort of thing. I suspect there's some freeware for the Windows
43 >> world that might allow me to do the conversion in a VM. I'll start
44 >> looking for that. The web site that advertised conversion didn't work
45 >> as it bombed out after an hour.
46 >
47 > There used to be a 32-bit mplayer-bin package in portage that would
48 > have made it simple, but that disappeared some time ago.
49 >
50 >> Maybe there's some simple binary install I could do - Fedora or
51 >> Ubuntu, etc. - but my concern there is that those binaries might not
52 >> play well inside my 64-bit Gentoo environ...
53 >
54 > If you can find a statically-linked 32-bit mplayer somewhere, and
55 > emerge the win32codecs package on your machine, I think it has a
56 > chance of working.
57 >
58
59 Actually, going back to the title of the thread, I don't need to watch
60 wmv files in 64-bit. I really only need to _convert_ them to mp4 so
61 that I could watch them using xine, etc. or externally on the Kindle.
62
63 Maybe a 32-bit Gentoo chroot that doesn't maintain any desktop or X11,
64 etc. could work? If I could convert the files at the command line
65 using ffmpeg in 32-bit then that would be pretty manageable in terms
66 of Gentoo work, assuming the ffmpeg package can be built as without
67 any GUI stuff?

Replies

Subject Author
Re: [gentoo-user] convert wmv to mp4? Michael Mol <mikemol@×××××.com>