Date: Fri, 25 Jun 2010 10:42:43 -0700 (PDT) From: "Mr. Darren" <darren780@yahoo.com> To: freebsd-multimedia@freebsd.org Subject: pvr-350 and mplayer Message-ID: <967081.70179.qm@web112016.mail.gq1.yahoo.com>
next in thread | raw e-mail | index | archive | help
Maybe time to reconsider this. Not everyone who needs to use cxm0 can use = it with mplayer. keep zoneminder and motion in mind. =0A=0A=0ARe: PVR-350= and mplayer =0Aby Greg Lehey Dec 09, 2006; 04:17pm ::=0ARate this Messag= e: - Use ratings to moderate (?) =0AReply | Print | View Threaded | Show= Only this Message =0AOn Saturday, 9 December 2006 at 23:31:59 +0100, Ande= rs Troback wrote: =0A> Hi, =0A> =0A> I'm running a PVR-350 on my FBSD 6.2 s= ystem. =0A> =0A> If I do "mplayer /dev/cxm0" mplayer are showing "slow" pic= utre with =0A> good sound at first and after a few secs good picture and cr= appy =0A> sound. =0A=0AYes, I've seen this, and I'm working on it. You sho= uld also be seeing =0Athis kind of message in /var/log/messages: =0A=0A No= v 3 17:04:58 afa0001 kernel: cxm0: encoder dma not enough buffer space fre= e =0A=0ATry this patch: =0A=0A--- /usr/ports/multimedia/pvr250/work/dev/cxm= /cxm.h Sat Dec 9 13:28:01 2006 =0A+++ /usr/ports/multimedia/pvr250/wor= k-in-progress/dev/cxm/cxm.h Thu Nov 30 18:30:15 2006 =0A@@ -64,7 +64,7 @@ = =0A enum cxm_byte_order byte_order; =0A }; =0A=0A-#define CXM_SG_BUF= FERS 50 =0A+#define CXM_SG_BUFFERS 500 =0A=0A struct cxm_buffer_pool { =0A = bus_dma_tag_t dmat; =0A=0AThen rebuild the module, unload = the old module and install the new =0Aone. Please let me know how it goes,= whether or not it works. I'm =0Acurrently in the process of importing thi= s driver into the source =0Atree, and this is one of the things I'm plannin= g to make a tuneable. =0A=0AGreg =0A-- =0ASee complete headers for address = and phone numbers. =0A=0A=0A=0A attachment0 (194 bytes) Download Attachment= =0A=0A Re: PVR-350 and mplayer =0Aby Anders Troback Dec 12, 2006; 04:15= am ::=0ARate this Message: - Use ratings to moderate (?) =0AReply | Prin= t | View Threaded | Show Only this Message =0AOn Sun, 10 Dec 2006 09:47:27 = +1030 =0AGreg 'groggy' Lehey <grog@...> wrote: =0A=0A=0A> On Saturday, 9 D= ecember 2006 at 23:31:59 +0100, Anders Troback wrote: =0A> > Hi, =0A> > =0A= > > I'm running a PVR-350 on my FBSD 6.2 system. =0A> > =0A> > If I do "mpl= ayer /dev/cxm0" mplayer are showing "slow" picutre with =0A> > good sound a= t first and after a few secs good picture and crappy =0A> > sound. =0A> =0A= > Yes, I've seen this, and I'm working on it. You should also be seeing = =0A> this kind of message in /var/log/messages: =0A> =0A> Nov 3 17:04:58= afa0001 kernel: cxm0: encoder dma not enough buffer =0A> space free =0A> = =0A> Try this patch: =0A> =0A> --- /usr/ports/multimedia/pvr250/work/dev/cx= m/cxm.h Sat Dec 9 =0A> 13:28:01 2006 =0A> +++ /usr/ports/multimedia/pv= r250/work-in-progress/dev/cxm/cxm.h Thu =0A> Nov 30 18:30:15 2006 @@ -64,7 = +64,7 @@ enum cxm_byte_order byte_order; =0A> }; =0A> =0A> -#define CXM_SG= _BUFFERS 50 =0A> +#define CXM_SG_BUFFERS 500 =0A> =0A> struct cxm_buffer_p= ool { =0A> bus_dma_tag_t dmat; =0A> =0A> Then rebuild the= module, unload the old module and install the new =0A> one. Please let me= know how it goes, whether or not it works. I'm =0A> currently in the proc= ess of importing this driver into the source =0A> tree, and this is one of = the things I'm planning to make a tuneable. =0A> =0A... [show rest of quote= ]=0ANo same thing (besides that I didn't see the dma stuff =0Ain /var/log/m= essages anymore):-( =0A=0AI did try to run xine instead (cat /dev/cxm0 | xi= ne stdin://) and that =0Aworks! It don't change anything but I just want to= let you know:-) =0A=0A=0A=0A-- =0AAnders Trob=E4ck =0Ahttp://www.troback.c= om/=0A=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =0AWindows:= "Where do you want to go today?" =0ALinux: "Where do you want to go tomorr= ow?" =0AFreeBSD: "Are you guys coming, or what?" =0A-----------------------= --------------------- =0A_______________________________________________ = =0Afreebsd-multimedia@... mailing list =0Ahttp://lists.freebsd.org/mailman/= listinfo/freebsd-multimedia=0ATo unsubscribe, send any mail to "freebsd-mul= timedia-unsubscribe@..." =0A =0A=0A Re: PVR-350 and mplayer =0Aby usleep= less Dec 12, 2006; 04:44am ::=0ARate this Message: - Use ratings to mode= rate (?) =0AReply | Print | View Threaded | Show Only this Message =0AHi An= ders, =0A=0Ai am dutch, your name means "different" here. =0A=0AOn 12/9/06,= Anders Troback <freebsd@...> wrote: =0A=0A> Hi, =0A> =0A> I'm running a PV= R-350 on my FBSD 6.2 system. =0A> =0A> If I do "mplayer /dev/cxm0" mplayer = are showing "slow" picutre with =0A> good sound at first and after a few se= cs good picture and crappy sound. =0A> =0A> Mplayer repeats an error: =0A> = =0A> Broken frame at =0A> 0xB62E0 A: 15.9 V: 8.9 A-V: 6.984 ct: 0.584 = 205/205 11% 1% 152.2% =0A> 29 0 Too many video packets in the buffer: (409= 6 in 8103092 bytes). =0A> Maybe you are playing a non-interleaved stream/fi= le or the codec failed? =0A> For AVI files, try to force non-interleaved mo= de with the -ni option. =0A> =0A> Too many video packets in the buffer: (40= 96 in 8103092 bytes). =0A> Maybe you are playing a non-interleaved stream/f= ile or the codec failed? =0A> For AVI files, try to force non-interleaved m= ode with the -ni option. =0A> A: 16.0 V: 9.0 A-V: 7.035 ct: 0.588 206/= 206 12% 1% 151.5% 29 0 =0A> =0A> If I do "cat /dev/cxm0 > tv.mpg" and then= "mplayer tv.mpg" everything =0A> are just fine! =0A> =0A> Any ideas out th= ere!?! =0A> =0A> Thanks!!! =0A... [show rest of quote]=0A=0Atry mplayer -ca= che 4000 /dev/cxm0 =0A=0Aregards, =0A=0Ausleep =0A_________________________= ______________________ =0Afreebsd-multimedia@... mailing list =0Ahttp://lis= ts.freebsd.org/mailman/listinfo/freebsd-multimedia=0ATo unsubscribe, send a= ny mail to "freebsd-multimedia-unsubscribe@..." =0A =0A=0A Re: PVR-350 and= mplayer =0Aby Anders Troback Dec 12, 2006; 04:55am ::=0ARate this Messag= e: - Use ratings to moderate (?) =0AReply | Print | View Threaded | Show= Only this Message =0AOn Tue, 12 Dec 2006 12:44:49 +0100 =0Ausleepless@... = wrote: =0A=0A=0A> Hi Anders, =0A> =0A> i am dutch, your name means ":" here= . =0A> =0A> On 12/9/06, Anders Troback <freebsd@...> wrote: =0A> > Hi, =0A>= > =0A> > I'm running a PVR-350 on my FBSD 6.2 system. =0A> > =0A> > If I d= o "mplayer /dev/cxm0" mplayer are showing "slow" picutre with =0A> > good s= ound at first and after a few secs good picture and crappy =0A> > sound. = =0A> > =0A> > Mplayer repeats an error: =0A> > =0A> > Broken frame at =0A> = > 0xB62E0 A: 15.9 V: 8.9 A-V: 6.984 ct: 0.584 205/205 11% 1% =0A> > 1= 52.2% 29 0 Too many video packets in the buffer: (4096 in 8103092 =0A> > by= tes). Maybe you are playing a non-interleaved stream/file or the =0A> > cod= ec failed? For AVI files, try to force non-interleaved mode with =0A> > the= -ni option. =0A> > =0A> > Too many video packets in the buffer: (4096 in 8= 103092 bytes). =0A> > Maybe you are playing a non-interleaved stream/file o= r the codec =0A> > failed? For AVI files, try to force non-interleaved mode= with the =0A> > -ni option. A: 16.0 V: 9.0 A-V: 7.035 ct: 0.588 206/2= 06 12% =0A> > 1% 151.5% 29 0 =0A> > =0A> > If I do "cat /dev/cxm0 > tv.mpg"= and then "mplayer tv.mpg" =0A> > everything are just fine! =0A> > =0A> > A= ny ideas out there!?! =0A> > =0A> > Thanks!!! =0A> =0A> =0A> try mplayer -c= ache 4000 /dev/cxm0 =0A> =0A> regards, =0A> =0A> usleep =0A... [show rest o= f quote]=0AThat did the trick (with that patch on, will try without it late= r) ! =0A=0AThanks!!! =0A=0AAnd yes, I'm different:-) =0A=0A=0A\\anders =0A= =0A-- =0AAnders Trob=E4ck =0Ahttp://www.troback.com/=0A=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =0AWindows: "Where do you want to g= o today?" =0ALinux: "Where do you want to go tomorrow?" =0AFreeBSD: "Are yo= u guys coming, or what?" =0A-------------------------------------------- = =0A_______________________________________________ =0Afreebsd-multimedia@..= . mailing list =0Ahttp://lists.freebsd.org/mailman/listinfo/freebsd-multime= dia=0ATo unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@..."= =0A Free embeddable forum powered by Nabble=0A=0A Darren Johnston=0A=0A= =0A
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?967081.70179.qm>