[MPlayer-users] [BUG] Annoying problem running v4l2

darkshadow at shaw.ca darkshadow at shaw.ca
Fri Jan 23 10:33:45 CET 2004


On Thu, 22 Jan 2004 21:13:15 +0100
"Stevan C." <cest at ptt.yu> wrote:

> What about appendint this few commands to your init-scripts?
> 
> At least for your final (i guess init 5) runlevel?
> 
> I'm not an expert, but it seems that your problem is rather OS-related than 
> caused by mplayer's behavior.
> 
> cest
> 
> On Thursday 22 January 2004 01:16 pm, darkshadow at shaw.ca wrote:
> > There are actually no errors that show up but after a reboot if I try
> > playing or recording using v4l2 from my tv card (pinnacle pctv pro) i get a
> > screwed up picture. To fix this I have to run the same command but change
> > it to v4l then after that v4l2 works perfectly.
> >
> > I usually forget about this since I only reboot for kernel upgrades
> > (currently 2.6.0) or hardware upgrades and may last months on one kernel.
> > But now I want this fixed since just yesterday I missed a important show I
> > wanted to see since I rebooted 2 days ago for a new case fan.
> >
> > The command I use to record shows is
> >
> > mencoder\
> >  tv:// -tv driver=v4l2:norm=ntsc:fps=29.97:input=2:width=640:height=480\
> >
> > :alsa:adevice=hw.0,0:audiorate=48000:amode=1\
> >
> >  -oac lavc -ovc copy\
> >  -lavcopts acodec=ac3:abitrate=192\
> >  -o $1.avi\
> >  -endpos 64:00
> >
> > How can I change this so that when run after a reboot my picture is not
> > totally screwed up
> >

Thanks, Not sure why I didn't think of the init scripts so I added a quick command to view the tv and so it ended quickly I used "-frames 1" and will test it next time I reboot




More information about the MPlayer-users mailing list