Re: [gentoo-user] DVD-mp4 - handbrake vs something else
On Thu, Oct 27, 2011 at 16:09, Mark Knecht markkne...@gmail.com wrote: I'm getting a Kindle Fire in a few days. While I didn't get it specifically to watch movies looking at the specs it does apparently handle mp4 as a video format and they state online that you can watch streaming movies TV shows from Amazon's servers. I do a lot of blood donations - roughly 20-25 times/year - that take 2-3 hours each so either being able to read or watch a movie would be a pleasant way to pass the time. Being able to hold it comfortably in one hand is important to me. I started looking around in Google for something to encode a few DVDs so that I could see how well it works. A program called handbrake was showing up in a lot of links, but it requires an overlay. While I have no problem adding yet another overlay (which on is best?) I wondered what might be in the normal portage database that others here use for this purpose? I use vobcopy to rip each title to a vob (instead of VTS_${TITLE}_$n) then 2-pass ffmpeg the vob to transcode to mkv. Makes batch transcoding rather fast and painless.
Re: [gentoo-user] DVD-mp4 - handbrake vs something else
On Sun, Oct 30, 2011 at 4:39 AM, Andrey Moshbear andrey@gmail.com wrote: On Thu, Oct 27, 2011 at 16:09, Mark Knecht markkne...@gmail.com wrote: I'm getting a Kindle Fire in a few days. While I didn't get it specifically to watch movies looking at the specs it does apparently handle mp4 as a video format and they state online that you can watch streaming movies TV shows from Amazon's servers. I do a lot of blood donations - roughly 20-25 times/year - that take 2-3 hours each so either being able to read or watch a movie would be a pleasant way to pass the time. Being able to hold it comfortably in one hand is important to me. I started looking around in Google for something to encode a few DVDs so that I could see how well it works. A program called handbrake was showing up in a lot of links, but it requires an overlay. While I have no problem adding yet another overlay (which on is best?) I wondered what might be in the normal portage database that others here use for this purpose? I use vobcopy to rip each title to a vob (instead of VTS_${TITLE}_$n) then 2-pass ffmpeg the vob to transcode to mkv. Makes batch transcoding rather fast and painless. Thanks. Here's my progress so far using a Casablanca DVD as a test case. Again, my goal by the middle of next month is to run videos on the Kindle Fire. The spec sheets for the Fire says it's supports mp4. I don't see any other obvious video formats. 1) I tried vobcopy. I got 6GB of files. I assumed ffmpeg was the next step but didn't easily Google how to run it in this specific case so I set it aside for the moment. 2) Tried dvd::rip because it was in portage. It got through the rip portion of the job but then apparently couldn't find it's own files to do the encoding. I tried joining the dvd:rip email list but I'm still waiting for the moderator to accept me 3 days later so there's no where appropriate for me to ask questions on using dvd::rip. 3) I tried handbrake which requires using an overlay. 3a) Tried the sabayon overlay but it wants to change too many files on my system so I dropped that. 3b) Tried the multimedia overlay because it had the most up to date version of handbrake. Unfortunately that didn't build 3c) Tried the init6 overlay with provided handbrake-0.9.5 which built correctly and runs fine. Handbrake goes directly from DVD to a reasonably sized (1.3GB) m4v file. That file plays fine in xine and looks very good. Being that the Kindle Fire only has about 6GB available for user content that gives me 4 movies at a time which is fine for me but I suspect I can do better. My issue now (I think) is to learn to use ffmpeg to convert from m4v to mp4. I'd like to see about reducing the file size a bit if possible. At the same time the native resolution of the Fire is 1024x600 so I'm wondering about whether I can make the movies look better by making the mp4 file somehow know about that size. Anyway, I'v made reasonable progress for a few days of sporadic effort. Hopefully I'll be able to make more by Nov. 15th. Cheers, Mark
Re: [gentoo-user] DVD-mp4 - handbrake vs something else
On Sun, Oct 30, 2011 at 8:28 AM, Mark Knecht markkne...@gmail.com wrote: SNIP Handbrake goes directly from DVD to a reasonably sized (1.3GB) m4v file. That file plays fine in xine and looks very good. Being that the Kindle Fire only has about 6GB available for user content that gives me 4 movies at a time which is fine for me but I suspect I can do better. Handbrake had some settings that allowed me to target different file sizes. I tried both 700MB and 300MB. Both worked. The 300MB version was noticeably splotchy on backgrounds when displayed full screen on a 1920x1280 monitor, but not so much when sized to about the size of the Kindle Fire. - Mark
Re: [gentoo-user] DVD-mp4 - handbrake vs something else
On Sun, Oct 30, 2011 at 9:39 AM, Mark Knecht markkne...@gmail.com wrote: On Sun, Oct 30, 2011 at 8:28 AM, Mark Knecht markkne...@gmail.com wrote: SNIP Handbrake goes directly from DVD to a reasonably sized (1.3GB) m4v file. That file plays fine in xine and looks very good. Being that the Kindle Fire only has about 6GB available for user content that gives me 4 movies at a time which is fine for me but I suspect I can do better. Handbrake had some settings that allowed me to target different file sizes. I tried both 700MB and 300MB. Both worked. The 300MB version was noticeably splotchy on backgrounds when displayed full screen on a 1920x1280 monitor, but not so much when sized to about the size of the Kindle Fire. - Mark And the m4v vs mp4 item is like a non-issue for me. From the Handbrake manual: [quote] MP4 vs M4v They are the exact same file, the only difference is the extension. MP4 vs M4v. For MP4 files, HandBrake will automatically use the extension M4V when you pass-through audio (AC3), use SRT subtitles or have chapter markers enabled. You can simply change the file extension between .mp4 and .m4v as the file is exactly the same. There are no differences in the content or container itself. You can disable the option to automatically set this in HandBrakes preferences. [/quote]
Re: [gentoo-user] DVD-mp4 - handbrake vs something else
On Sun, Oct 30, 2011 at 11:28, Mark Knecht markkne...@gmail.com wrote: On Sun, Oct 30, 2011 at 4:39 AM, Andrey Moshbear andrey@gmail.com wrote: On Thu, Oct 27, 2011 at 16:09, Mark Knecht markkne...@gmail.com wrote: I'm getting a Kindle Fire in a few days. While I didn't get it specifically to watch movies looking at the specs it does apparently handle mp4 as a video format and they state online that you can watch streaming movies TV shows from Amazon's servers. I do a lot of blood donations - roughly 20-25 times/year - that take 2-3 hours each so either being able to read or watch a movie would be a pleasant way to pass the time. Being able to hold it comfortably in one hand is important to me. I started looking around in Google for something to encode a few DVDs so that I could see how well it works. A program called handbrake was showing up in a lot of links, but it requires an overlay. While I have no problem adding yet another overlay (which on is best?) I wondered what might be in the normal portage database that others here use for this purpose? I use vobcopy to rip each title to a vob (instead of VTS_${TITLE}_$n) then 2-pass ffmpeg the vob to transcode to mkv. Makes batch transcoding rather fast and painless. Thanks. Here's my progress so far using a Casablanca DVD as a test case. Again, my goal by the middle of next month is to run videos on the Kindle Fire. The spec sheets for the Fire says it's supports mp4. I don't see any other obvious video formats. 1) I tried vobcopy. I got 6GB of files. I assumed ffmpeg was the next step but didn't easily Google how to run it in this specific case so I set it aside for the moment. Was your vobcopy line $vobcopy -i /path/to/mountpoint -n ${TITLE_NO} -l -O ${MOVIE}_${TITLENO}.vob ? My ffmpeg lines for dvd to mkv: 2.0 audio: for a in 1 2; do schedtool -B -e nice ffmpeg -threads 4 -i $file.vob -pass $a -vcodec libx264 -b 800k -deinterlace -acodec libfaac -ac 2 -ab 192k -y $file.mkv ;done 5.1: for a in 1 2; do schedtool -B -e nice ffmpeg -threads 4 -i $1.vob -pass $a -vcodec libx264 -x264opts preset=slower -b 800k -deinterlace -acodec libfaac -ac 6 -ab 440k -y $1.mkv ;done I use schedtool and nice to keep ffmpeg from hogging the cpu. My issue now (I think) is to learn to use ffmpeg to convert from m4v to mp4. I'd like to see about reducing the file size a bit if possible. At the same time the native resolution of the Fire is 1024x600 so I'm wondering about whether I can make the movies look better by making the mp4 file somehow know about that size. Downscale hd to 480p and de-interlace DVDs and other 480i content. 720x480 will look pretty good on a 1024x600 (WSVGA) screen.
[gentoo-user] DVD-mp4 - handbrake vs something else
I'm getting a Kindle Fire in a few days. While I didn't get it specifically to watch movies looking at the specs it does apparently handle mp4 as a video format and they state online that you can watch streaming movies TV shows from Amazon's servers. I do a lot of blood donations - roughly 20-25 times/year - that take 2-3 hours each so either being able to read or watch a movie would be a pleasant way to pass the time. Being able to hold it comfortably in one hand is important to me. I started looking around in Google for something to encode a few DVDs so that I could see how well it works. A program called handbrake was showing up in a lot of links, but it requires an overlay. While I have no problem adding yet another overlay (which on is best?) I wondered what might be in the normal portage database that others here use for this purpose? Thanks, Mark c2stable ~ # eix handbrake * media-video/handbrake Available versions: 0.9.3!f[7] ~0.9.4[9] ~0.9.5[2] ~0.9.5[3] ~0.9.5[4] ~0.9.5_p4039[6] ~0.9.5_p4039[8] ~0.9.5_p4210[6] ~999-r3890[5] ~[1] ~[2] ~[4] ~[5] {(+)css doc (-)gtk -qt4} Homepage:http://handbrake.fr/ Description: Open-source DVD to MPEG-4 converter. [1] dottout layman/dottout [2] flora layman/flora [3] foo-overlay layman/foo-overlay [4] init6 layman/init6 [5] je_fro layman/je_fro [6] multimedia layman/multimedia [7] rubenqba layman/rubenqba [8] sabayon layman/sabayon [9] wish layman/wish c2stable ~ #
Re: [gentoo-user] DVD-mp4 - handbrake vs something else
On Thu, 27 Oct 2011 13:09:24 -0700, Mark Knecht wrote: I'm getting a Kindle Fire in a few days. While I didn't get it specifically to watch movies looking at the specs it does apparently handle mp4 as a video format and they state online that you can watch streaming movies TV shows from Amazon's servers. You may not need to bother with transcoding. I looked at this for my Asus Transformer and spent time with mencoder settings etc trying to get the right format for the Android supported video formats. Then I discovered Moboplayer in the android market, that uses software decoding to play just about anything, so I just rip the DVD titles as MPEG2, no transcoding needed at all. If the Fire's CPU can handle software decoding, this is a much simpler, and higher quality, solution. -- Neil Bothwick Q: Why do PCs - even modern ones - have reset buttons on the front? A: Because they come with Microsoft operating systems. signature.asc Description: PGP signature
Re: [gentoo-user] DVD-mp4 - handbrake vs something else
On Thu, Oct 27, 2011 at 3:09 PM, Mark Knecht markkne...@gmail.com wrote: I started looking around in Google for something to encode a few DVDs so that I could see how well it works. A program called handbrake was showing up in a lot of links, but it requires an overlay. While I have no problem adding yet another overlay (which on is best?) I wondered what might be in the normal portage database that others here use for this purpose? I use dvd::rip (media-video/dvdrip) to rip DVDs in general. You can use MP4box (media-video/gpac) to convert other container formats to MP4 if the audio and video are already in the proper format. For transcoding files, ffmpeg can probably do everything.
Re: [gentoo-user] DVD-mp4 - handbrake vs something else
On Thu, Oct 27, 2011 at 1:17 PM, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 27 Oct 2011 13:09:24 -0700, Mark Knecht wrote: I'm getting a Kindle Fire in a few days. While I didn't get it specifically to watch movies looking at the specs it does apparently handle mp4 as a video format and they state online that you can watch streaming movies TV shows from Amazon's servers. You may not need to bother with transcoding. I looked at this for my Asus Transformer and spent time with mencoder settings etc trying to get the right format for the Android supported video formats. Then I discovered Moboplayer in the android market, that uses software decoding to play just about anything, so I just rip the DVD titles as MPEG2, no transcoding needed at all. If the Fire's CPU can handle software decoding, this is a much simpler, and higher quality, solution. -- Neil Bothwick Thanks for the ideas Neil. I'll keep it in mind. I'm not the least bit clear whether there will be the equivalent of the Android market for the Fire, at least early on. Long term I suspect there might be, but at this point I don't know how open Amazon intends to make the device. What do you use to rip DVDs to MPEG2? dvdrip? Some command line app? Thanks, Mark
Re: [gentoo-user] DVD-mp4 - handbrake vs something else
On Thu, Oct 27, 2011 at 4:48 PM, Mark Knecht markkne...@gmail.com wrote: On Thu, Oct 27, 2011 at 1:17 PM, Neil Bothwick n...@digimed.co.uk wrote: On Thu, 27 Oct 2011 13:09:24 -0700, Mark Knecht wrote: I'm getting a Kindle Fire in a few days. While I didn't get it specifically to watch movies looking at the specs it does apparently handle mp4 as a video format and they state online that you can watch streaming movies TV shows from Amazon's servers. You may not need to bother with transcoding. I looked at this for my Asus Transformer and spent time with mencoder settings etc trying to get the right format for the Android supported video formats. Then I discovered Moboplayer in the android market, that uses software decoding to play just about anything, so I just rip the DVD titles as MPEG2, no transcoding needed at all. If the Fire's CPU can handle software decoding, this is a much simpler, and higher quality, solution. -- Neil Bothwick Thanks for the ideas Neil. I'll keep it in mind. I'm not the least bit clear whether there will be the equivalent of the Android market for the Fire, at least early on. Long term I suspect there might be, but at this point I don't know how open Amazon intends to make the device. What do you use to rip DVDs to MPEG2? dvdrip? Some command line app? On Ubuntu, I used the dvdrip package, as I could run it under screen and churn through five DVD-ROM drives, one to an instance. I don't know where that sits on Gentoo, though. -- :wq
Re: [gentoo-user] DVD-mp4 - handbrake vs something else
On Thu, 27 Oct 2011 13:48:02 -0700, Mark Knecht wrote: Thanks for the ideas Neil. I'll keep it in mind. I'm not the least bit clear whether there will be the equivalent of the Android market for the Fire, at least early on. Long term I suspect there might be, but at this point I don't know how open Amazon intends to make the device. What do you use to rip DVDs to MPEG2? dvdrip? Some command line app? Not DVD::Rip. because that also transcodes. DVD titles are already in MPEG2 format, so vobcopy does the job quickly and simply, as the only processing it needs to do is removing the lightweight encryption. -- Neil Bothwick RAM DISK is NOT an installation procedure! signature.asc Description: PGP signature