From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1ED5d3-0006Hw-OW for garchives@archives.gentoo.org; Wed, 07 Sep 2005 19:30:42 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j87JPNPi017405; Wed, 7 Sep 2005 19:25:23 GMT Received: from smtp16.wxs.nl (smtp16.wxs.nl [195.121.6.39]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j87JF3cZ007983 for ; Wed, 7 Sep 2005 19:15:03 GMT Received: from [10.0.0.150] (ip3e83ab52.speed.planet.nl [62.131.171.82]) by smtp16.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0IMG004EEOAY7S@smtp16.wxs.nl> for gentoo-user@lists.gentoo.org; Wed, 07 Sep 2005 21:18:36 +0200 (CEST) Date: Wed, 07 Sep 2005 21:18:24 +0200 From: Holly Bostick Subject: Re: [gentoo-user] 4gb mpeg to 100mb xvid? In-reply-to: <431F34E1.20902@buanzo.com.ar> To: gentoo-user@lists.gentoo.org Message-id: <431F3D00.3090609@planet.nl> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: 7BIT X-Accept-Language: nl-NL, nl, en User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050803) X-Enigmail-Version: 0.92.0.0 References: <431F2F1D.9030308@buanzo.com.ar> <431F32BC.8040909@planet.nl> <431F34E1.20902@buanzo.com.ar> X-Archives-Salt: 0f8f58cb-1ccf-4a6e-8702-50f1de3aa209 X-Archives-Hash: 5a4443fb2670d3ed7fdc72e4735331f8 Arturo 'Buanzo' Busleiman schreef: > Holly Bostick wrote: > >>> Is this 100MB a strict limit on the final file size (if you even >>> can do it, it's going to be the size of a postage stamp, though >>> possibly the most beautiful postage stamp ever seen)? Is all the >>> data in the original file strictly necessary? > > > ID_VIDEO_WIDTH=720 ID_VIDEO_HEIGHT=576 ID_VIDEO_FPS=25.000 > ID_VIDEO_ASPECT=1.3333 ID_AUDIO_CODEC=mp3 ID_AUDIO_FORMAT=80 > ID_AUDIO_BITRATE=384000 ID_AUDIO_RATE=48000 ID_AUDIO_NCH=2 > ID_LENGTH=3502 OK, I would say that this is a PAL DVD with mp3 sound, based on the aspect ratio, frame rate, and size. You *could* just use dvdauthor to format the mpg (which is correctly formatted for a PAL DVD) to DVD-compliant files, and then burn it to a standard DVD which would happily play in your DVD player (assuming that said player can play PAL DVDs). But if you don't have a DVD burner, or for some other reason need this file to be housed on smaller media, you need to break the file up into its composite parts so that you can get rid of some of them. For example, if there are menus, they need to be ripped out. If there are extras (making-of comments, outtakes, whatever), they need to be ripped out. What I would do is fire up dvdauthor to convert the *.mpg into defined chapters (*.VOB and *.IFO files), then fire up dvd::rip to select just the data chapters (the "movie" itself, in other words, without the menus and extras), and transcode those chapters to an *avi... in the process you could also reduce the sound quality somewhat, which would also reduce the final file size, and of course the image size, which would reduce the file size as well, but it might not look very good. Alternatively, if it's a 'mixed' DVD (for example, not a movie, but a music/concert DVD with video footage), using the chapter methodology would enable you to encode each video/song as an individual *.avi rather than one giant one. If you tell dvdrip how big you want the resulting transcoded file to be, it will do that, but if all of the data doesn't fit in the size specified (which it likely won't, depending on your settings, which can only do so much), then you'll have two (or four, or six) 100MB files instead of just one. That's about the best I can do for you without knowing more about the construction of the file, and what you're trying to do with it. Holly -- gentoo-user@gentoo.org mailing list