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