Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] convert wmv to mp4? Michael Mol <mikemol@×××××.com>
Re: [gentoo-user] convert wmv to mp4? Stroller <stroller@××××××××××××××××××.uk>
Re: [gentoo-user] convert wmv to mp4? Helmut Jarausch <jarausch@××××××××××××××××.de>
Re: [gentoo-user] convert wmv to mp4? Eliezer Croitoru <eliezer@×××××××××.il>
Re: [gentoo-user] convert wmv to mp4? Pandu Poluan <pandu@××××××.info>