[MEncoder-users] No idea what I am doing...

Greg Heywood gheywood at gmail.com
Sat Sep 22 00:49:36 CEST 2007


On 21/09/2007, James Hastings-Trew <jimht at shaw.ca> wrote:
>
> Greg Heywood wrote:
> > [ivtv]
> > tv=normid=10:norm=pal:device=/dev/video0:width=720:height=480
> >
> pvr=abitrate=192:vbitrate=2200000:vpeak=2600000:fmt=dvd:aspect=2:arate=32000
> > of=mpeg=1
> > mpegopts=format=dvd
> > ofps=30000/1001
> > ovc=copy=1
> > oac=copy=1
> > vf=harddup=1
> >
> >
> > The command line I used was:
> > mencoder pvr:// -profile ivtv -o encode.mpg -endpos 20
> >
> > This seems to work OK, although the video that is captured is very
> grainy,
> > and mostly black and white static.
> >
> > I guess the first method is closest to working, but it seems to be using
> > NTSC still, not PAL. I also used "v4l2-ctl -s pal" to set it to PAL (I
> > think), but mencoder still reports NTSC-M.
> >
> > Any more tips on how to ensure that it records in PAL (if indeed that is
> the
> > problem)?
> >
> > Thanks




If you want PAL, why do you have -ofps 30000/1001 in the profile? -ofps
> 25 is what you want. And you need to specify a container format, that's
> why you are getting all the errors about AVI format.



Thanks.  Didn't spot that. Changed it, and also changed the width to 720 to
height 576.

In terms of the container format, I have the of=mpeg=1. I thought that would
do it.

[ivtv]
tv=normid=10:norm=pal:device=/dev/video0:width=720:height=576
pvr=abitrate=192:vbitrate=2200000:vpeak=2600000:fmt=dvd:aspect=2:arate=32000
of=mpeg=1
mpegopts=format=dvd
ofps=25
ovc=copy=1
oac=copy=1
vf=harddup=1

Is it a conflict with the fmt=dvd setting in the pvr line?

Cheers



More information about the MEncoder-users mailing list