From owner-freebsd-multimedia@FreeBSD.ORG Fri Jun 11 13:15:29 2010 Return-Path: Delivered-To: freebsd-multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 736CE1065678 for ; Fri, 11 Jun 2010 13:15:29 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id 291088FC19 for ; Fri, 11 Jun 2010 13:15:28 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([unknown] [80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with ESMTP id <0L3U00EW7Q5R7830@thalia-smout.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 11 Jun 2010 15:15:27 +0200 (CEST) Received: from kg-v2.kg4.no ([unknown] [80.203.92.186]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-12.01 64bit (built Oct 15 2009)) with SMTP id <0L3U00EQTQ5R2031@ignis-smin.broadpark.no> for freebsd-multimedia@FreeBSD.org; Fri, 11 Jun 2010 15:15:27 +0200 (CEST) Date: Fri, 11 Jun 2010 15:15:27 +0200 From: Torfinn Ingolfsen To: freebsd-multimedia@FreeBSD.org Message-id: <20100611151527.b8601ccf.torfinn.ingolfsen@broadpark.no> In-reply-to: <20100522145858.fe653d29.torfinn.ingolfsen@broadpark.no> References: <20100520215645.0f506ba7.torfinn.ingolfsen@broadpark.no> <20100521105145.56bcd718.torfinn.ingolfsen@broadpark.no> <20100521165407.5a7da822.torfinn.ingolfsen@broadpark.no> <201005212042.42604.shoesoft@gmx.net> <20100522130442.7dd0c114.torfinn.ingolfsen@broadpark.no> <20100522145858.fe653d29.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 3.0.2 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: usleep's pvrxxx port and FreeBSD 8.0-stable X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 13:15:29 -0000 On Sat, 22 May 2010 14:58:58 +0200 Torfinn Ingolfsen wrote: > Update: > Ok, I have tested the port with mplayer, and it works (at least for > video, for some reason my quick test didn't have any audio. Might be a > problem with mplayer). Update: mplayer works fine with older files recorded with MythTV. However if I now do 'cat /dev/cxm0 > test.mpg' I get a nice file and according to mplayer output it has both video and audio frames, but I can't hear no sound. Output: tingo@kg-fil$ gmplayer test.mpg MPlayer SVN-r30341-snapshot-4.2.1 (C) 2000-2009 MPlayer Team Playing /usr/home/tingo/work/test.mpg. Cache fill: 0.00% (0 bytes) MPEG-PS file format detected. VIDEO: MPEG2 720x576 (aspect 2) 25.000 fps 9520.0 kbps (1190.0 kbyte/s) ========================================================================== Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough Could not find matching colorspace - retrying with -vf scale... Opening video filter: [scale] The selected video_out device is incompatible with this codec. Try appending the scale filter to your filter list, e.g. -vf spp,scale instead of -vf spp. VDecoder init failed :( Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000) Selected audio codec: [ffmp2] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio) ========================================================================== AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Movie-Aspect is 1.33:1 - prescaling to correct movie aspect. VO: [xv] 720x576 => 768x576 Planar YV12 [mpeg2video @ 0xc15940]warning: first frame is no keyframe [VD_FFMPEG] DRI failure. [mpeg2video @ 0xc15940]warning: first frame is no keyframe?,?% 0 0 94% [mp2 @ 0xc15940]incomplete frame: -0.075 1111/1111 12% 2% 0.7% 3 0 0% A: 44.9 V: 44.9 A-V: 0.006 ct: -0.076 1116/1116 12% 2% 0.7% 3 0 0% tingo@kg-fil$ I really don't know how to debug this. I've used pvr250-setchannel -d 0 -t and pvr250-setchannel -d 0 147.25 prior to my testing with mplayer. I have used both plain gmplayer, and gmaplayer -cache 8192, it doesn't make a difference. -- Regards, Torfinn Ingolfsen