|
|
Index: Home | What Is Izumi | Linux Tips | OpenBSD Tips | FreeBSD TipsThis page contain several tips for using Linux. I use this mostly as reminders of commands that I found useful. There's generally nothing here one couldn't learn by searching on the net or reading the man pages, which is generally how I got the commands in the first place.
Issue: What to watch a large bunch of DVD episodes on a MythTV; you've got a large disk so why not extract everything from the DVDs onto the disk instead of swapping these DVDs all the time?
The process I use is sort of like this:
avimerge) so instead I actually merge after the down conversion.avimerge to join the split files.Using MediaCoder with these settings:
Which gives us:
# ".\codecs\ffmpeg.exe" -y -i "D:\Ralf\tubby-c-6_3.vob" -f avi -vcodec h264 -b 700000 -r 25 -aspect 4:3 -acodec mp3 -ab 96 -ar 44100 "D:\Ralf\tubby-c-6_3.avi"
And what FFMPEG has to say about it:
Input #0, mpeg, from 'D:\Ralf\tubby-c-6_3.vob': Duration: 00:23:39.8, start: 0.190311, bitrate: 2468 kb/s Stream #0.0[0x80]: Audio: ac3, 48000 Hz, stereo, 256 kb/s Stream #0.1[0x1e0]: Video: mpeg2video, yuv420p, 352x576, 2130 kb/s, 25.00 fps(r) Output #0, avi, to 'D:\Ralf\tubby-c-6_3.avi': Stream #0.0: Video: h264, yuv420p, 352x576, q=2-31, 700 kb/s, 25.00 fps(c) Stream #0.1: Audio: mp3, 44100 Hz, stereo, 96 kb/s Stream mapping: Stream #0.1 -> #0.0 Stream #0.0 -> #0.1 [h264 @ 0095A620]using SAR=24/11 [h264 @ 0095A620]using cpu capabilities MMX MMXEXT SSE SSE2 3DNow!
This converts at about 20 fps on an Athlon 64 3500+ and I get the files down from ~420 MB to ~150 MB. Result works fine with MythTV.
Of course MediaCoder is just a fancy shell over FFMPEG and a lot of over video/audio tools. It is however extremely convenient since the installer brings all these tools as Cygwin executables, whereas it's a pain to compile them oneself (I never myself managed to compile FFMPEG with x264 support under Cygwin, it's just too much pain and it's quite an unnecessary distraction when all I cared was to get some video files right away. YMMV.)
There are two problems with MediaCoder though. The first one is that it's again yet-another Cygwin-based app which installs some Cygwin DLLs (just like the NX Client for example.) So if you happen to already have Cygwin installed both MediaCoder and your Cygwin install will be broken if don't tweak it around (I haven't tried but I think doing the same trick as NX should work, that is locate the new DLLs and trash them before they run and register themselves.) The second issue, which is minor, is that it's a bit of a nagware; each time you run MediaCoder is actually opens a web browser to display its homepage and ask for a donation. I have no problem with freeware asking for donations but I find nagging to be a bit objectionable -- it screams "I make it free but really I want to get paid for it".
Blog Archives:
Most recent posts
2006/12/10 «» SVN partial checkout
2006/09/09 «» Update FFMPEG under Cygwin
2006/09/04 «» SVN for the CVS dummies
2006/08/31 «» Creating a CVS branch after editing
2006/08/24 «» SVN server setup
2006/08/07 «» Google code SVN for the dummies
2006/07/09 «» apt-get update running out of memory
2006/07/01 «» Debian mini install
2006/06/03 «» ext3fs
2006/05/22 «» DVD Authoring
2006/05/14 «» CVS
2006/04/14 «» greylistclean vs. greylisting
2006/03/18 «» SpamAssassin, Razor, Pyzor and DCC
2006/02/03 «» Modules
2005/10/23 «» Autossh
2005/10/15 «» Java 1.5 on Debian
2005/10/09 «» FFmpeg under Cygwin
2005/09/03 «» Understanding a rogue crontab
2005/09/02 «» Exim 4 & Mailman
2005/08/28 «» XEmacs
|
|

This work is licensed by Raphaël Moll under a Creative Commons License.
|
|
| Color Theme: | Gray | Blue | Black | Sand | Khaki | Egg | None |
|
|
|
|