Home

Keebler/Blog

« Rebecca Jarvis on The Apprentice
Learning Auto-Complete Fields »

Writing Video Files to PVR-350 Video-Out

As you may have noticed, I wasn’t having much luck installing Mythtv on my Ubuntu linux installation. While I work on those problems, I ran across the idea of writing video files directly to the TV-out on the Happauge WinTV-PVR-350 card that I just bought. I’ve never had great quality coming from the TV-out on my ATI Radeon 9600 Pro video card, so I thought I’d give it a shot.

First step was getting IVTV set up again. My Ubuntu upgrade wiped out all my modules, of course :-)

Next, I got IVTV configured using this great guide I found (just read this one page). It gets you to a point where you have a working /dev/video16 device which corresponds to the video-out on the PVR-350.

Now comes the fun part, playing your first video. If you’re playing any type of MPEG file, it’s as easy as one command:

dd if=YOURFILE.mpg of=/dev/video16 bs=64k

Check out your CPU load when you’re doing this. It’s so low it doesn’t even register. Piping data is fun :D

“But, hey my sexy fellow, how do I play my AVIs if you can only pipe MPEGs to the video device?” For that, you can use your good friend (who always passes out at your place with a lampshade on his head. “YAH, I’M TALKING ABOUT YOU!” :D ) FFMPEG. FFMPEG can pipe its encoding output directly to the video-out device:

ffmpeg -target ntsc-dvd /dev/video16 -i YOURVIDEO.avi

In this example, FFMPEG is piping a DVD MPEG2 directly to the device. If your CPU can’t handle that much encoding, you can always bump the -target down to “ntsc-svcd” or even “ntsc-vcd” (if you’re really desperate).

Now obviously, this isn’t ideal. FFMPEG takes some serious CPU to encode MPEG2 on-the-fly, and forget about things like pause or letterboxing. But you’ll be amazed how excellent and smooth those videos look when written directly to the device ;-)

I know what you’re all thinking: why doesn’t he just use a framebuffer and MPlayer to play those videos, complete with pause and no need for encoding? Well, if you can get the fbdev framebuffer working in MPlayer, pleeeeeeeease tell me how :D Here’s a hint, the syntax is something like:

mplayer -vo fbdev:/dev/fb1 YOURFILE.AVI

I just get errors ;-)

Wow this post was stupid, rambling, and not too useful. Oh well, so are most of my friends! :D

Related Posts

  • Nice to see the NFB video play…
  • VIDEO: New Image Uploading Features
  • My First (Horrible) Video

This entry was posted on Saturday, October 15th, 2005 at 11:54 pm and is filed under Software. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.

  • Blog Home

  • Tags

    90210 alessandra ambrosio animals asp.net audrina patridge battlestar galactica bikini bunny bush C# canada canada election ctv ctvglobemedia development Election Entertainment/Celebrity facebook Gordon Ramsay gorilla gossip girl hayden panettiere iphone last.fm liveblog liveblogging mesh08 muchmusic Music obama palin rachel bilson scribblelive shenae grimes subway telemarketers the hills the killers the office toronto ttc toronto tv us election video yeah yeah yeahs

    WP Cumulus Flash tag cloud by Roy Tanck requires Flash Player 9 or better.

  • Recent Posts

    • Sandy update: doing much bette…
    • Diagnostic cockapoo medicine c…
    • The Bachelor just sent a virgi…
    • RT @theiphoneblog: Major props…
    • Another Apple Event Sends Traffic Soaring on ScribbleLive
  • Categories

    • Election
    • Entertainment/Celebrity
    • Fake News
    • Featured
    • Funny
    • Keebler/Show
    • Music
    • My Releases
    • On-the-Road
    • RedDot
    • Reviews
    • Science/Technology
    • ScribbleLive
    • Security
    • Software
    • Torrent Live Stats
    • Tweets
    • Uncategorized
    • Web Development
  • Blogroll

    • Kitten-Monkey’s Cell
    • :: kattekylling ::
    • Adam Finley
    • blog-j
    • fuzzz.gaulin.ca
    • Idiot Banter
    • mad.greyarea.com
    • ob.blog
    • PollyPrissyPants
    • RedDot CMS Users Google Group
    • ScribbleLive Official Blog
  • My Sites

    • Flickr2Facebook
    • RedDot CMS
    • ScribbleLive
    • Where are my f(acebook)ing friends?
    • WhyYouShould