Do something like this:

MENCODER="nice -n 19 mencoder"
$MENCODER -oac copy -ovc copy /dev/video0 -endpos $2 -o avi/"$1".mpeg
$MENCODER -ovc frameno -o frameno.avi -oac mp3lame -lameopts cbr:br=128 
avi/"$1".mpeg
$MENCODER -oac mp3lame -lameopts cbr:br=128 -o /dev/null -ovc lavc -lavcopts 
vcodec=msmpeg4:vbitrate=1000:vhq:vpass=1 -vop scale=720:480 avi/"$1".mpeg
$MENCODER -oac mp3lame -lameopts cbr:br=128 -o avi/"$1".avi -ovc 
lavc -lavcopts vcodec=msmpeg4:vbitrate=1000:vhq:vpass=2 -vop scale=720:480 
avi/"$1".mpeg


no guarantees!!

----- Original Message ----- 
From: "Tim" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, June 09, 2006 12:29 PM
Subject: [ivtv-users] PVR-150 Compression


> Greets!
>
> first off, to be quite honest, i'm not real sure what i'm doing at this
> point, so apologies in advance if this question is lame and/or should be
> directed somewhere else.  hopefully, if any of the above is true, someone
> will be kind enough to point me in the right direction. :)  oh yeah, ivtv
> rocks and has made me very happy to date (an entire week)!!
>
> i recently purchased a WinTV-PVR-150 because:
> 1)Linux/ivtv will happily use it
> 2)built-in hardware MPEG-2 encoder
> 3)priced right ($100/US)
>
> i've been looking around here and there trying to find the best way to get
> the video from some DV's i recorded last year to my linux box for
> converting to DVDs via Composite 1 (i have yet to use S-Vid), and the best
> that i've come up with so far is something like the following in a script:
>
> mencoder -vf scale=720:480 -vfm ffmpeg -oac mp3lame -of avi \
> -ovc copy /dev/video0 -endpos $2 -o avi/"$1".avi
> (i don't know if i should use -oac copy instead, or if it even matters?)
>
> this seems to work well, but then i have to turn around and issue this:
>
> mencoder -ovc copy "$1".avi -forceidx -oac copy \
> -o "$1"copy.avi
>
> then i do any cutting that's necessary in case i've recorded too much
> "blue screen" at the end of the tape.
>
> for an hour's worth of video, this results in a file 3GB+
> i'm guessing i'd get the same results if i just issued a:
> cat /dev/video0 >output.mpg ???
>
> i successfully have Myth set up and actually recorded one of my DV's and
> it was a bit smaller, i think about 2.3G and i'm pretty sure it was at
> least an hour.  the problem i see with using Myth to do this, is that i'd
> rather not sit there and wait to cue up the DV when Myth starts recording.
> :)  unfortunately, i don't have any idea what Myth is doing to the file to
> make it smaller in size than what i'm doing in my script.
>
> are the file size(s) i'm seeing normal?  is there something i should be
> setting via ivtvctl?
>
> i have a feeling that i'm off topic here which is not my intent, but i'm
> just not sure where else to go for PVR-150 issues/questions which in the
> end quite possibly is *not* my question, but in fact is an encoder
> question??
>
> Best Regards,
> -=tim
>
> _______________________________________________
> ivtv-users mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-users 



_______________________________________________
ivtv-users mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-users

Reply via email to