I have two questions that I suppose belong more in the mencoder list than
here, but my question is more specific to captures with the Hauppauge card.

First of all, I'm using the PVR 150.

Normally what I do is a: cat /dev/video > movie.mpg

But, I know that I can have mencoder actually do the capture.

I have two questions in that regard:

I convert all my captures to mpeg-4 .avis in a 2 pass encoding. The first
pass runs about 47 FPS. So my first question is, could I do the first pass
as I'm capturing? That would be really nice, if I could.

My second question is in regards to quality. My encoding quality is decent
enough and I'm happy with it, but I'm curious what others use for encoding
into mpeg 4. I'm just wondering if maybe I can do better.

As I said, I do a 2-pass encoding and I use a script. The script is roughly:

mencoder "$1" -oac copy -o /dev/null -vf pp=md -ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1200:mbd=2:vpass=1:vqmin=2:vqmax=31:keyint=30:turbo
-ffourcc DIVX 
mencoder "$1" -oac mp3lame -lameopts cbr:br=128 -o newfile.avi -vf pp=md
-ovc lavc -lavcopts
vcodec=mpeg4:vbitrate=1200:mbd=2:vpass=2:vqmin=2:vqmax=31:keyint=30 -ffourcc
DIVX

I chose pp=md because I saw a web site that did frame-by-frame comparisons
of different deinterlacing techniques in mencoder and pp=md looked best.

I set the keyframe to at least every 30 frames because I use a D-Link DSM
320 and for fast-forward, fast-reverse, it's much nicer to have the key
frames a bit closer together than the default which can be several seconds.

I tried doing trell, but I didn't see a noticeable difference and it cost me
a bit in speed. I've tried a few other options without much noticeable
difference and ended up removing them. Anyway, if others have parameters
that they really like, I'd be interested in hearing about them.

Pete





-------------------------------------------------------
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
ivtv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to