Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] convert wmv to mp4? Mark Knecht <markknecht@×××××.com>