Gentoo Archives: gentoo-user

From: Holly Bostick <motub@××××××.nl>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] 4gb mpeg to 100mb xvid?
Date: Wed, 07 Sep 2005 19:30:42
Message-Id: 431F3D00.3090609@planet.nl
In Reply to: Re: [gentoo-user] 4gb mpeg to 100mb xvid? by Arturo 'Buanzo' Busleiman
1 Arturo 'Buanzo' Busleiman schreef:
2 > Holly Bostick wrote:
3 >
4 >>> Is this 100MB a strict limit on the final file size (if you even
5 >>> can do it, it's going to be the size of a postage stamp, though
6 >>> possibly the most beautiful postage stamp ever seen)? Is all the
7 >>> data in the original file strictly necessary?
8 >
9 >
10 > ID_VIDEO_WIDTH=720 ID_VIDEO_HEIGHT=576 ID_VIDEO_FPS=25.000
11 > ID_VIDEO_ASPECT=1.3333 ID_AUDIO_CODEC=mp3 ID_AUDIO_FORMAT=80
12 > ID_AUDIO_BITRATE=384000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2
13 > ID_LENGTH=3502
14
15 OK, I would say that this is a PAL DVD with mp3 sound, based on the
16 aspect ratio, frame rate, and size. You *could* just use dvdauthor to
17 format the mpg (which is correctly formatted for a PAL DVD) to
18 DVD-compliant files, and then burn it to a standard DVD which would
19 happily play in your DVD player (assuming that said player can play PAL
20 DVDs).
21
22 But if you don't have a DVD burner, or for some other reason need this
23 file to be housed on smaller media, you need to break the file up into
24 its composite parts so that you can get rid of some of them. For
25 example, if there are menus, they need to be ripped out. If there
26 are extras (making-of comments, outtakes, whatever), they need to be
27 ripped out. What I would do is fire up dvdauthor to convert the *.mpg
28 into defined chapters (*.VOB and *.IFO files), then fire up dvd::rip to
29 select just the data chapters (the "movie" itself, in other words, without
30 the menus and extras), and transcode those chapters to an *avi... in the
31 process you could also reduce the sound quality somewhat, which would
32 also reduce the final file size, and of course the image size, which
33 would reduce the file size as well, but it might not look very good.
34
35 Alternatively, if it's a 'mixed' DVD (for example, not a movie, but a
36 music/concert DVD with video footage), using the chapter methodology would
37 enable you to encode each video/song as an individual *.avi rather than one
38 giant one.
39
40 If you tell dvdrip how big you want the resulting transcoded file to be,
41 it will do that, but if all of the data doesn't fit in the size
42 specified (which it likely won't, depending on your settings, which can
43 only do so much), then you'll have two (or four, or six) 100MB files
44 instead of just one.
45
46 That's about the best I can do for you without knowing more about the
47 construction of the file, and what you're trying to do with it.
48
49 Holly
50 --
51 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] 4gb mpeg to 100mb xvid? Arturo 'Buanzo' Busleiman <buanzo@××××××××××.ar>