[EMAIL PROTECTED] wrote: > This might be a stupid question, but, does this patch > work as well as the xv/yuv driver? I.e. can you play > arbitrary videos smoothly at 30 fps (for NTSC, for > example)?
I can, in mythtv, on my P4/3GHz... YMMV of course... Without the patch it looks more like 10-15fps. Jelle. > (The reason I ask is I get stuttering with the xv/yuv > drivers when I have both the encoder and the xv output > going on my PVR 350 at the same time. A dropped frame > or two every second or two. Doesn't happen when using > the mpeg decoder.) > > > --- Jelle Foks <[EMAIL PROTECTED]> wrote: > > >>John Harvey wrote: >> >>>What version of ivtv are you using? >> >>That patch is good for any version since the Chris >>Kennedy day's, the >>patch is for trunk svn. I use either an older >>version (one of the latest >>ones before the v4l merge, and I recently tried svn >>trunk, and 0.4.1, >>and 0.5.1 unsuccessfully (see below)). >> >> >>>When you say you get smoother playback I guess >> >>this is recordings/livetv >> >>>using the 350 decoder? >> >>Watching any type of video (live, recorded, mplayer) >>using the 350 as >>framebuffer device (not using the mpeg2 decoder). >> >> >>>This shouldn't affect that other than possibly >> >>when the epg is up since this >> >>>code shouldn't be used for playback unless you are >> >>not using the 350 decoder >> >>>and you also don't have Xv working. >>>So I'm a bit confused. I understand why if you are >> >>using mplayer/xine etc >> >>>and not using Xv this will make a difference but >> >>you should be using Xv in >> >>>which case it won't. >> >>In the older days, with 0.3.xx drivers and older >>0.4.x ones (before the >>svn days), xv didn't work for me. That's when I made >>that patch, because >>I did want to transcode my recordings. I've been >>using it ever since. >> >>I saw it wasn't in the svn tree, so I posted it here >>for others to enjoy >>(I think I also posted it back when I made the >>patch). >> >>I'm actually not really using any 0.4.x or 0.5.x >>because none of those >>can tune my pvr350, I only get snow, also with 'cat >>/dev/video0' and >>ivtv-tune has no effect (tried only on 2.6.15-rc4 >>plus v4l-dvb svn). >> >>Jelle. >> >> >>>John >>> >>> >>> >>>>-----Original Message----- >>>>From: [EMAIL PROTECTED] >> >>[mailto:ivtv-devel- >> >>>>[EMAIL PROTECTED] On Behalf Of Jelle >>>>Sent: 07 December 2005 06:14 >>>>To: [email protected] >>>>Subject: [ivtv-devel] PATCH:ivtv_fb: xdriver >> >>smoother playback >> >>>>Hi, >>>> >>>>FYI, >>>> >>>>I get much smoother mythtv playback on ivtv_fb >> >>with the following patch >> >>>>to xdriver. >>>> >>>>Jelle. >>>> >>>>--- ivtvhw.c (revision 3019) >>>>+++ ivtvhw.c (working copy) >>>>@@ -772,14 +772,19 @@ >>>> >>>> unsigned long totalData = endOffset - >> >>startOffset; >> >>>>+#if 0 >>>> if (totalData > 64 * 1024 * 4) { >>>> /* This is a bigger lump so send >> >>in 2 bits */ >> >>>> totalData /= 2; >>>> totalData = (totalData + 65535) & >> >>~65535; >> >>>> secondOffset = endOffset - >> >>totalData; >> >>>> } else >>>>+#endif >>>> { >>>>- totalData = (totalData + 65535) & >> >>~65535; >> >>>>+ if (totalData <= 64 *1024 *21) /* >> >>otherwise we get >> >>>>"Count 1441792 Offset -59392 is greater than >> >>buffer" */ >> >>>>+ { >>>>+ totalData = (totalData + >> >>65535) & ~65535; >> >>>>+ } >>>> >>>> if ((startOffset + totalData) > >> >>totalScreenSize) { >> >>>> startOffset -= >>>> >>>> >>>> >>>> >>>>_______________________________________________ >>>>ivtv-devel mailing list >>>>[email protected] >>>>http://ivtvdriver.org/mailman/listinfo/ivtv-devel >>> >>> >>> >>>_______________________________________________ >>>ivtv-devel mailing list >>>[email protected] >>>http://ivtvdriver.org/mailman/listinfo/ivtv-devel >>> >> >> >>_______________________________________________ >>ivtv-devel mailing list >>[email protected] >>http://ivtvdriver.org/mailman/listinfo/ivtv-devel >> > > > > _______________________________________________ > ivtv-devel mailing list > [email protected] > http://ivtvdriver.org/mailman/listinfo/ivtv-devel > _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
