On Fri, 2005-08-19 at 09:04 +0100, Ian Armstrong wrote: > On Friday 19 Aug 2005 04:50, Jesse D. Guardiani wrote: > > On Wed, 2005-08-17 at 15:14 -0400, Boleslaw Ciesielski wrote: > > > > A while back I was playing with something like this: > > > > > > mencoder -quiet -ovc copy -oac lavc -lavcopts acodec=mp2:abitrate=128 > > > -af volume=20 -of mpeg -aid 128 -o /dev/video16 dvd://1 > > > > Yeah, that works. 10% CPU utilization. Very nice. Only quirk is that I > > can't get the aspect ratio correct. My DVD is this: > > <snip> > > > I tried using `-vf expand=0:-240`, but it doesn't work with `-ovc copy`: > > http://itdp.fh-biergarten.de/mplayer-users/2002-07/msg01295.html > > > > Does anyone know of a tool that does the above, but also allows adding > > black bars at top and bottom to correct aspect ratio, and is faster than > > `mencoder -ovc lavc`? > > > > Alternatively, is it possible to get the PVR 350 to add the black bars > > in hardware? > > To get the PVR350 to resize the video, try the ivtvfbctl command. Using the > -window option allows you to resize the playback window. > > I think these numbers are correct, but you may need to change /dev/fb0 to > point to the correct device for the PVR350. > > To letterbox 16:9 material for 4:3 playback > PAL: ivtvfbctl /dev/fb0 -window 0 72 720 432 > NTSC: ivtvfbctl /dev/fb0 -window 0 60 720 360
Yeah. That looks awesome and only chews up 10% CPU on my 733mhz P3! So, for NTSC, (using KnoppMyth) the command order is this: ivtvfbctl /dev/fb0 -globalalpha ivtvfbctl /dev/fb0 -alpha 0 mencoder -quiet -ovc copy -oac lavc -lavcopts acodec=mp2:abitrate=256 \ -af volume=10 -of mpeg -aid 128 -o /dev/video16 dvd://1 ivtvfbctl /dev/fb0 -window 0 60 720 360 ivtvfbctl /dev/fb0 -noglobalalpha Now, if we can just wrap that in a player that is capable of displaying an OSD with volume control, seeking, pause, and DVD menus, I'll be done. :) Advantages? Hardware based DVD playback with excellent quality and low CPU utilization. Perfect for a low power, low heat HTPC. Disadvantages? No AC3 sound support. Stereo output only through PVR 350. My sound is looped back into my soundcard, and I don't have a fancy speaker system, so this is fine for me. If I want fancy sound, then I'll most definitely need a more powerful CPU and will need to use XV support. > To watch 4:3 fullscreen > PAL: ivtvfbctl /dev/fb0 -window 0 0 720 576 > NTSC: ivtvfbctl /dev/fb0 -window 0 0 720 480 -- Jesse Guardiani Programmer/Sys Admin [EMAIL PROTECTED] ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ ivtv-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/ivtv-devel