From owner-freebsd-multimedia@FreeBSD.ORG Sun May 25 03:34:42 2008 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 9E071106567B for ; Sun, 25 May 2008 03:34:42 +0000 (UTC) (envelope-from yongjhen@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.171]) by mx1.freebsd.org (Postfix) with ESMTP id 7C39F8FC1A for ; Sun, 25 May 2008 03:34:42 +0000 (UTC) (envelope-from yongjhen@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so1104794wfg.7 for ; Sat, 24 May 2008 20:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; bh=q1KisMAhQEXpOgnUuDLkLPDfqdtwkaH1H+JbuKAzL94=; b=pTYFu/bttlM0LlhDqFfdpIdTaYyXui6rHBEUwSY77rXIaiWrQeXwFehCQyavTdysUQt7nOSAx1DESclZMxzsQgAxgD5A3KMlEkbjQcMZP8lcTp6fDDnk0URNPkrh30OVgoNWRynoVdQB6nZCAAB+mYsv2e8llskVEJbz1YwV/Xs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=L5Wm8JBh/8LJy9AqQQ+H7fAcodehmr0XZBUBKEHWLnQEin8OHm1cOskAxzpU1A9RHGCNwJtiXAK1LPly/ECFpI9UsXcH0r6G/cOgNabwAbCjy2HY8PbtKNkMm239QsfJ8ijDlH8fQlYsdQ/fVeUEBWQdKC4VkHMQhZl3LpUgGsI= Received: by 10.142.212.19 with SMTP id k19mr492999wfg.13.1211686481911; Sat, 24 May 2008 20:34:41 -0700 (PDT) Received: from ?10.0.0.8? ( [219.84.64.174]) by mx.google.com with ESMTPS id 30sm14103462wfd.1.2008.05.24.20.34.35 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 May 2008 20:34:40 -0700 (PDT) Message-ID: <4838DE48.3040106@gmail.com> Date: Sun, 25 May 2008 11:34:32 +0800 From: Yong-Jhen Hong User-Agent: Thunderbird 2.0.0.14 (X11/20080511) MIME-Version: 1.0 To: Luigi Rizzo References: <48367933.8030600@gmail.com> <20080523085045.GB77439@onelab2.iet.unipi.it> In-Reply-To: <20080523085045.GB77439@onelab2.iet.unipi.it> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org Subject: Re: Webcam and linux-gspca-kmod 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: Sun, 25 May 2008 03:34:42 -0000 Luigi Rizzo wrote: > > ok thanks for the patch, i will try to fix this in the next release. > Thank you for this and your work on the emulation layer! > > in order to test the driver, the best option is to use > the 'pwcview' program in the linux-kmod-compat directory. Unfortunately, pwcview yields the same error as Cheese: 40406394 [1081] video_devdata: not complete but ok for now spca5xx_set_light_freq: [spca5xx_set_light_freq:1920] Sensor currently not support light frequency banding filters. gspca_set_isoc_ep: [gspca_set_isoc_ep:936] ISO EndPoint found 0x82 AlternateSet 7 40406914 [ 876] usb_submit_urb: openpipe error 4 init isoc: usb_submit_urb(0) ret -440406914 [ 959] usb_kill_urb: not complete but try something 40406914 [ 959] usb_kill_urb: not complete but try something 40406914 [ 959] usb_kill_urb: not complete but try something 40406914 [ 959] usb_kill_urb: not complete but try something spca5xx_open: [spca5xx_open:1987] DEALLOC error on init_Isoc > > Re. other applications, one thing to remember is that the freebsd > port of gspca does not support mmap, which seems to be the preferred > access method for Linux apps. So you need to rewrite a small piece > of the client using read() to a locally allocated buffer to access > the video. > > A patch of this kind for linphone is at > > http://info.iet.unipi.it/~luigi/patch-msv4l.c > > see if you can do something similar with your program. > > cheers > luigi Thanks, I will try the patch and the idea later. Cheers, yongjhen From owner-freebsd-multimedia@FreeBSD.ORG Mon May 26 07:15:09 2008 Return-Path: Delivered-To: multimedia@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA0641065672 for ; Mon, 26 May 2008 07:15:09 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.freebsd.org (Postfix) with ESMTP id 88A628FC1E for ; Mon, 26 May 2008 07:15:08 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 43A272C50D17 for ; Mon, 26 May 2008 10:15:05 +0300 (EEST) Date: Mon, 26 May 2008 10:14:50 +0300 From: Ion-Mihai Tetcu To: multimedia@FreeBSD.org Message-ID: <20080526101450.2c2513d2@it.buh.tecnik93.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/GTCP7gubX4yk3dhoXJG.L8f"; protocol="application/pgp-signature"; micalg=PGP-SHA1 Cc: Subject: audio/denemo: bad plist 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: Mon, 26 May 2008 07:15:11 -0000 --Sig_/GTCP7gubX4yk3dhoXJG.L8f Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, Bad plist (on 7-STABLE-amd64) with export FORCE_PACKAGE=3Dyes export NOPORTDOCS=3Dyes export NOPORTEXAMPLES=3Dyes export NOPORTDATA=3Dyes =3D=3D=3D> Building package for denemo-0.7.6_1 Creating package /tmp/packages/All/denemo-0.7.6_1.tbz Registering depends: gtk-2.12.9_3 atk-1.22.0 pango-1.20.3 shared-mime-info-= 0.30 gio-fam-backend-2.16.3 gamin-0.1.9_1 glib-2.16.3 gettext-0.16.1_3 libx= ml2-2.6.32 libiconv-1.11_1 pcre-7.7 cairo-1.4.14,1 pixman-0.9.6 xorg-fonts-= truetype-7.3 font-misc-ethiopic-1.0.0 font-misc-meltho-1.0.0_1 font-bh-ttf-= 1.0.0 mkfontdir-1.0.3_1 mkfontscale-1.0.3 libfontenc-1.0.4 libXft-2.1.12 li= bXrandr-1.2.2_1 libXcursor-1.1.9_1 libXrender-0.9.4_1 libXinerama-1.0.2,1 l= ibXi-1.1.3,1 libXext-1.0.3,1 libXdamage-1.1.1 libXfixes-4.0.3_1 libX11-1.1.= 3_1,1 libXau-1.0.3_2 libXdmcp-1.0.2_1 xproto-7.0.10_1 bitstream-vera-1.10_4= fontconfig-2.5.0,1 freetype2-2.3.5 pkg-config-0.23_1 tiff-3.8.2_1 jpeg-6b_= 4 png-1.2.28 perl-5.8.8_1 python25-2.5.2_2 hicolor-icon-theme-0.10_2 expat-= 2.0.1 encodings-1.0.2,1 font-util-1.0.1 damageproto-1.1.0_2 fixesproto-4.0 = inputproto-1.4.2.1 kbproto-1.0.3 randrproto-1.2.1 renderproto-0.9.3 xextpro= to-7.0.2 xineramaproto-1.1.2. Creating bzip'd tar ball in '/tmp/packages/All/denemo-0.7.6_1.tbz' Deleting denemo-0.7.6_1 =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=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D Checking filesystem state list of extra files and directories in / (not present before this port was = installed but present after it was deinstalled) 7256315 4 drwxr-xr-x 2 root wheel 512= May 25 16:55 usr/local/share/doc/denemo =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=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D build of /usr/ports/audio/denemo ended at Sun May 25 16:55:45 UTC 2008 Thanks for your work on making FreeBSD better, --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/GTCP7gubX4yk3dhoXJG.L8f Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkg6Y3QACgkQJ7GIuiH/oeXfiwCgrrWyI2Og/4m31uusAdQqHWeA ILEAnR1Oj8pZofr9dkuChsf04gw4Ag25 =Nmud -----END PGP SIGNATURE----- --Sig_/GTCP7gubX4yk3dhoXJG.L8f-- From owner-freebsd-multimedia@FreeBSD.ORG Mon May 26 11:06:52 2008 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 328061065681 for ; Mon, 26 May 2008 11:06:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5E58FC12 for ; Mon, 26 May 2008 11:06:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4QB6q1b064968 for ; Mon, 26 May 2008 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4QB6pdr064964 for freebsd-multimedia@FreeBSD.org; Mon, 26 May 2008 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 May 2008 11:06:51 GMT Message-Id: <200805261106.m4QB6pdr064964@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-multimedia@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-multimedia@FreeBSD.org 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: Mon, 26 May 2008 11:06:52 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/63204 multimedia [sound] /dev/mixer broken with ESS Maestro-2E (still o o kern/79905 multimedia [sound] sis7018 sound module problem o kern/79912 multimedia [sound] sound broken for 2 VIA chipsets: interrupt sto o kern/81146 multimedia [sound] Sound isn't working AT ALL for Sis7012 onboard o kern/82043 multimedia [sound] snd_emu10k1 - mixer does not work. o kern/94279 multimedia [snd_neomagic] snd_neomagic crashes on FreeBSD 5.4 and o kern/96538 multimedia [sound] emu10k1-driver inverts channels o kern/97535 multimedia [snd_mss] doesn't work in 6.0-RELEASE and above for Cr o kern/98167 multimedia [sound] [es137x] [patch] ES1370 mixer volumes incorrec o kern/98752 multimedia [sound] Intel ich6 82801 FB - on Packard Bell A8810 la o kern/104626 multimedia [sound] FreeBSD 6.2 does not support SoundBlaster Audi o kern/104874 multimedia [snd_emu10k1] kldload snd_emu10k1 hangs system o kern/107051 multimedia [sound] only 2 channels output works for the ALC850 (o o kern/107516 multimedia [snd_emu10k1] - skips, clicks and lag after a day of h o kern/114760 multimedia [snd_cmi] snd_cmi driver causing sporadic system hangs o kern/115666 multimedia [sound] Microphone does not work o kern/119181 multimedia [snd_hda] snd_hda needs doesn't recognise headphones o o kern/119759 multimedia [snd_emu10k1] Can not record anything with emu10k1 on o kern/120144 multimedia [snd_hda] snd_hda plays sound on all outputs o kern/121156 multimedia [sound]: [PATCH] Turn on inverted external amplifier s o kern/122086 multimedia [sound] maestro sound driver is working, but mixer ini o ports/122305 multimedia multimedia/gstreame - gst-inspect-0.10 hangs when chec o ports/123327 multimedia Port fix: graphics/libcaca - CONFIGURE_ENV incorrectly 23 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/23546 multimedia [snd_csa] [patch] csa DMA-interrupt problem o kern/37600 multimedia [sound] [partial patch] t4dwave drive doesn't record. s kern/60599 multimedia [bktr] [partial patch] No sound for ATI TV Wonder (ste o kern/60677 multimedia [sound] [patch] No reaction of volume controy key on I o kern/72995 multimedia [sound] Intel ICH2 (82801BA) - sound nearly inaudible o kern/79678 multimedia [sound] sound works except recording from any source o kern/80632 multimedia [sound] pcm driver missing support for CMI8738 auxilla s kern/83697 multimedia [snd_mss] [patch] support, docs added for full-duplex, o kern/87782 multimedia [sound] snd_t4dwave and pcm0:record:0: record interrup o kern/92512 multimedia [sound] distorted mono output with emu10k1 o kern/93986 multimedia [sound] Acer TravelMate 4652LMi pcm0 channel dead o kern/95086 multimedia [sound] uaudio line in problem with sbdm lx o kern/97609 multimedia [sound] Load Sound Module - VIA8233 - fails o kern/98496 multimedia [snd_ich] some functions don't work in my sound kernel o kern/98504 multimedia [sound] Sound is distorted with SB Live 5.1 o kern/100859 multimedia [snd_ich] snd_ich broken on GIGABYTE 915 system o kern/101417 multimedia [sound] 4-speakers output not possible on Asus A8V-Del o kern/111767 multimedia [sound] ATI SB450 High Definition Audio Controller sou s kern/113950 multimedia [sound] [patch] [request] add per-vchan mixer support o kern/115300 multimedia [snd_hda] snd_hda(4) fails to attach on -CURRENT [regr o kern/117599 multimedia [sound] Audio routing problem NVIDIA MCP51 HDA o kern/117729 multimedia [snd_hda] microphone is not working with snd_hda on Fr o ports/118168 multimedia [patch] multimedia/transcode - Add WITHOUT_X11 and WIT o ports/118237 multimedia Ports: multimedia/ffmpeg fix configure option and add o ports/118289 multimedia port of multimedia/tovid only semi works on 6.2 Releas o kern/119671 multimedia [snd_hda] line is mic and mic is line on Fujitsu Sieme o kern/119931 multimedia [sound] No sound card detected on ASUS "K8V-X SE R2.00 o kern/119973 multimedia [snd_maestro] snd_maestro only works after reload [reg o kern/120780 multimedia [snd_hda] snd_hda doesn't work on Dell Latitutude D530 o kern/120857 multimedia [snd_emu10k1] snd_emu10k1 driver issues a warning on u o ports/121662 multimedia graphics/libcaca - not bumped after imlib2 upgrade o ports/122899 multimedia [PATCH] audio/liba52: powerpc build requires -fPIC o ports/122922 multimedia [ patch ] multimedia/ffmpeg text output is mangled o ports/122967 multimedia Port fix: multimedia/y4mscaler - Define missing symbol o ports/122984 multimedia Port fix: multimedia/dirac-reference - Fix pkg-plist o ports/123409 multimedia [Patch] ports:multimedia/ffmpeg fix WITH_OPTIMIZED_CFL o ports/123684 multimedia [PATCH] audio/nas: update to 1.9.1 37 problems total. From owner-freebsd-multimedia@FreeBSD.ORG Tue May 27 09:21:12 2008 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 BD22E1065679 for ; Tue, 27 May 2008 09:21:12 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.177]) by mx1.freebsd.org (Postfix) with ESMTP id 48E228FC0A for ; Tue, 27 May 2008 09:21:11 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ik-out-1112.google.com with SMTP id c30so1336156ika.3 for ; Tue, 27 May 2008 02:21:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=RuExARWaU19JPI70+Hhbcuhr99iD2MYFYdQ2ms18UFQ=; b=jqnFoWrYEvs39hskwwywl5InZhoId1hYoFAbd4y158dSjUoxnmt5g14iz4SAZbYhy2V/JxNpCYEsLS+x/0er7E3ZghivMZrsBvhJZVrMODn/1/ahpG1xCwrQBK5gtBZFKUwOAJlutocpniGjFNxs9X/+nGM66LpzzTTc9384Bws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=pih2X7ShHDoSjnYzIYBT05R9IUzs0TVycpxn2mUcn4u9KzZCKFMZ61q/IOudMH2oDRrCCj+tKFceBNo/hEoaKFeBG8NhqhiFISkXEr8GrgTVVR0vW4z1yBub/HIy0yNUZRLLhy//hur9Y0VEigDsrlEIQupJ8rPmkMhiemn2/lU= Received: by 10.86.73.3 with SMTP id v3mr5531213fga.68.1211880070935; Tue, 27 May 2008 02:21:10 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.80]) by mx.google.com with ESMTPS id 13sm23787540fks.12.2008.05.27.02.21.08 (version=SSLv3 cipher=RC4-MD5); Tue, 27 May 2008 02:21:09 -0700 (PDT) From: Tom Evans To: Fritz Katz In-Reply-To: <142121.24995.qm@web63013.mail.re1.yahoo.com> References: <142121.24995.qm@web63013.mail.re1.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-mAaugod+gDLJo4cOjchc" Date: Tue, 27 May 2008 10:21:07 +0100 Message-Id: <1211880067.10665.36.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Cc: freebsd-multimedia@freebsd.org Subject: Re: TV-Tuner cards ( NTSC / PAL / SECAM ) - which works best? 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: Tue, 27 May 2008 09:21:12 -0000 --=-mAaugod+gDLJo4cOjchc Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2008-05-23 at 16:53 -0700, Fritz Katz wrote: > --- Fritz Katz [Thu, 22 May 2008 13:31:07 -0700 (PDT) .. > My task is to put together a system that can ship > world-wide, be able to display any TV signal, and have > all the capabilites that FreeBSD can provide > (internet, graphics, games). Potential applications > are huge. For example, running JAVA the system could > be used to build a low-cost Cable (OCAP in the US or > DVB in Europe) or satellite (DirecTV, DISH, etc) > Set-top box. >=20 > We just need to find which of these manufacturers can > deliver a robust "Combo / Hybrid" tuner under FreeBSD: >=20 > http://en.wikipedia.org/wiki/TV_tuner#Manufacturers >=20 I doubt you will find a 'one size fits all' box. Just in the UK, you can receive DVB-T, DVB-S, DVB-S2, DVB-C and (coming soon!) DVB-C2. DVB-{T,S,S2} can also be used for 'pay TV' using a CAM. I know of one card (without even Linux drivers) that does DVB-C and DVB-S. The only DVB-S2 cards I know only support DVB-S/S2. There are some DVB-T cards that support either DVB-C or DVB-S, but none that support DVB-S2. Hi-def in the UK is available over DVB-S and DVB-S2 (and presumably over DVB-C as well, unsure), and is usually very high bitrate MPEG 4 AVC MBAFF, which is EXTREMELY hard to decode in real time for a general purpose computer. This either means you need a very fast (expensive) computer, or you don't have hi-def support. This makes it very unappealing - cheap and crap or expensive and not-quite-so-crap. For the US market, it is much easier (I believe), as most of their HD content is delivered as MPEG-2, which is much easier to decode. Tom --=-mAaugod+gDLJo4cOjchc Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkg70n4ACgkQlcRvFfyds/fbhACcDo/zF9EJ1qzSNe+kv9c9e7Hr l9gAnjZkWVd6UIsEKWYW28tPDBatPTPr =OIcd -----END PGP SIGNATURE----- --=-mAaugod+gDLJo4cOjchc-- From owner-freebsd-multimedia@FreeBSD.ORG Tue May 27 15:50:57 2008 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 6BF291065671 for ; Tue, 27 May 2008 15:50:57 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 97FB38FC1C for ; Tue, 27 May 2008 15:50:55 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m4RFosu05835 for freebsd-multimedia@freebsd.org; Tue, 27 May 2008 08:50:54 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id PAA00704; Tue, 27 May 2008 15:48:16 GMT Message-Id: <200805271548.PAA00704@sopwith.solgatos.com> To: freebsd-multimedia@freebsd.org In-reply-to: Your message of "Tue, 27 May 2008 10:21:07 BST." <1211880067.10665.36.camel@localhost> Date: Tue, 27 May 2008 08:48:16 +0100 From: Dieter Subject: Re: TV-Tuner cards ( NTSC / PAL / SECAM ) - which works best? 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: Tue, 27 May 2008 15:50:57 -0000 > Hi-def in the UK is available over DVB-S and DVB-S2 (and presumably over > DVB-C as well, unsure), and is usually very high bitrate MPEG 4 AVC > MBAFF, which is EXTREMELY hard to decode in real time for a general > purpose computer. This either means you need a very fast (expensive) > computer, or you don't have hi-def support. This makes it very > unappealing - cheap and crap or expensive and not-quite-so-crap. Do you have a number for this "very high bitrate MPEG 4" ? > For the US market, it is much easier (I believe), as most of their HD > content is delivered as MPEG-2, which is much easier to decode. US OTA is MPEG 2. Max bitrate is approx 19.3 Mbps. I've read that some cable and sat is converting to MPEG 4. I don't have bitrate numbers for those. Some content is only available in HD. If you can't decode HD in real time you have to record it, transcode it down to SD, then watch the SD. Not a great solution. Word is that scaling is expensive, so a display that is at least 1920x1080 would be helpful in reducing CPU requirements. You can get decoder chips, for example: Broadcom BCM70010 and BCM70012 claim to decode HD. Mpeg2 up to 125 Mbps, H.264 up to 40 Mbps. Available as chips, or on PCIe, PCIe mini, and ExpressCard 34 cards. Under $40. Product brief: http://www.broadcom.com/collateral/pb/70010_70012-PB00.pdf A BSD device driver would need to be written. And you need a free slot. (Free slot? What's that?) ATI has documented some of their graphics chips. The penguins have them offloading some of the video decode work. Is anyone working on getting this working with BSD? The 780G is supposed to be able to decode HD H.264, but I don't know if they've documented that chip or not. From owner-freebsd-multimedia@FreeBSD.ORG Tue May 27 22:34:39 2008 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 9E06F1065675 for ; Tue, 27 May 2008 22:34:39 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq1.groni1.gr.home.nl (smtpq1.groni1.gr.home.nl [213.51.130.200]) by mx1.freebsd.org (Postfix) with ESMTP id 331B18FC17 for ; Tue, 27 May 2008 22:34:39 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.130.189] (port=54427 helo=smtp2.groni1.gr.home.nl) by smtpq1.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1K17kb-0000qM-Hi for freebsd-multimedia@freebsd.org; Wed, 28 May 2008 00:34:37 +0200 Received: from cp1228410-a.dbsch1.nb.home.nl ([84.27.119.97]:58592 helo=desktop.homenet) by smtp2.groni1.gr.home.nl with smtp (Exim 4.60) (envelope-from ) id 1K17kb-0002kK-61 for freebsd-multimedia@freebsd.org; Wed, 28 May 2008 00:34:37 +0200 Received: by desktop.homenet (sSMTP sendmail emulation); Wed, 28 May 2008 00:34:34 +0200 From: "Danny Pansters" To: freebsd-multimedia@freebsd.org Date: Wed, 28 May 2008 00:34:33 +0200 User-Agent: KMail/1.9.7 References: <142121.24995.qm@web63013.mail.re1.yahoo.com> In-Reply-To: <142121.24995.qm@web63013.mail.re1.yahoo.com> X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=, v":S7, (=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805280034.34063.danny@ricin.com> X-Spam-Score: 0.0 (/) Subject: Re: TV-Tuner cards ( NTSC / PAL / SECAM ) - which works best? 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: Tue, 27 May 2008 22:34:39 -0000 On Saturday 24 May 2008 01:53:07 Fritz Katz wrote: > My task is to put together a system that can ship > world-wide, be able to display any TV signal, and have > all the capabilites that FreeBSD can provide > (internet, graphics, games). Potential applications > are huge. For example, running JAVA the system could > be used to build a low-cost Cable (OCAP in the US or > DVB in Europe) or satellite (DirecTV, DISH, etc) > Set-top box. I don't think there are any "can" tuner solutions that do both pal/secam and ntsc, and for any digital TV you pretty much have to turn to silicon tuners I think. I also think that is where you can find solutions that can do both traditional pal/secam and ntsc and maybe also both dvb-* and *tsc. Video decoder-wise there are many solutions that can do all three standards. Microtune and others make chips for several of these and QAM-geared and even for mechanical systems purposes (factory/lab/servo equipment) but no everything-in-one AFAIK. It's possible that everything-in-one just can't be done technically or economically, but the fact that they can be designed/manufactured almost equivalent and still have such a broad area of application clearly show their merit. Not to mention that they're already being used all over the place in, well, TVs for example. Other chipmakers are xceive, fujitsu, TI (they also make a prominent video decoder chip TVP for which there are extensive datasheets on the net), probably also philips/LG, ... [google] ( AFAIU it's a double (serial) PLL system so that the dividers/multipliers can effectively both be set rather than merely a few fixed combinations -- anybody more "skilled in the art" as the patent language goes, feel free to comment ) I'm only relaying from my own research and I have no ties anywhere in this industry, but I think you're going to need to have a significant budget and talk to -- for example -- TI and fujitsu if you want some universal card/USB stick to be put together. You'd also need drivers :) Hauppauge's stuff (or elgato) might be already extensive enough for the multi support you want. But there too, you'd also need drivers :) HTH, Dan From owner-freebsd-multimedia@FreeBSD.ORG Tue May 27 22:40:29 2008 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 7D5D0106564A for ; Tue, 27 May 2008 22:40:29 +0000 (UTC) (envelope-from danny@ricin.com) Received: from smtpq2.groni1.gr.home.nl (smtpq2.groni1.gr.home.nl [213.51.130.201]) by mx1.freebsd.org (Postfix) with ESMTP id 13A318FC1D for ; Tue, 27 May 2008 22:40:28 +0000 (UTC) (envelope-from danny@ricin.com) Received: from [213.51.130.188] (port=51991 helo=smtp3.groni1.gr.home.nl) by smtpq2.groni1.gr.home.nl with esmtp (Exim 4.60) (envelope-from ) id 1K17qF-0006KK-GH for freebsd-multimedia@freebsd.org; Wed, 28 May 2008 00:40:27 +0200 Received: from cp1228410-a.dbsch1.nb.home.nl ([84.27.119.97]:56650 helo=desktop.homenet) by smtp3.groni1.gr.home.nl with smtp (Exim 4.60) (envelope-from ) id 1K17qF-0006GK-5E for freebsd-multimedia@freebsd.org; Wed, 28 May 2008 00:40:27 +0200 Received: by desktop.homenet (sSMTP sendmail emulation); Wed, 28 May 2008 00:40:24 +0200 From: "Danny Pansters" To: freebsd-multimedia@freebsd.org Date: Wed, 28 May 2008 00:40:23 +0200 User-Agent: KMail/1.9.7 References: <142121.24995.qm@web63013.mail.re1.yahoo.com> <200805280034.34063.danny@ricin.com> In-Reply-To: <200805280034.34063.danny@ricin.com> X-Face: (Zs+'ncTcchkOX|~t6{?Iii=O!G#WEK!+OD0|-F=i%1pvP5V_Sz4PaJC8o)=?utf-8?q?MiSnH/JMJFy=0A=09oBN-My?=, v":S7, (=?utf-8?q?mmkPm=27U=7BMgT+eM=2EBd=5Cp/P!dr=5DhOTXqpse21O!=25Ct=60SE=2EOodq?= =?utf-8?q?=5Dry=5E=23kU=5E=0A=09-?=GT.[8D}i$6P>=" =?utf-8?q?=23=0A=09*J+4d=7E?= MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200805280040.24038.danny@ricin.com> X-Spam-Score: 0.0 (/) Subject: Re: TV-Tuner cards ( NTSC / PAL / SECAM ) - which works best? 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: Tue, 27 May 2008 22:40:29 -0000 On Wednesday 28 May 2008 00:34:33 Danny Pansters wrote: > On Saturday 24 May 2008 01:53:07 Fritz Katz wrote: > > My task is to put together a system that can ship > > world-wide, be able to display any TV signal, and have > > all the capabilites that FreeBSD can provide > > (internet, graphics, games). Potential applications > > are huge. For example, running JAVA the system could > > be used to build a low-cost Cable (OCAP in the US or > > DVB in Europe) or satellite (DirecTV, DISH, etc) > > Set-top box. > > I don't think there are any "can" tuner solutions that do both > pal/secam and ntsc, and for any digital TV you pretty much have > to turn to silicon tuners I think. I also think that is where you > can find solutions that can do both traditional pal/secam and ntsc > and maybe also both dvb-* and *tsc. > > Video decoder-wise there are many solutions that can do all three > standards. Sorry bad editing: the next is about tuner chips, not the av decoding chips in the former sentence. > Microtune and others make chips for several of these and QAM-geared > and even for mechanical systems purposes (factory/lab/servo equipment) > but no everything-in-one AFAIK. It's possible that everything-in-one just > can't be done technically or economically, but the fact that they can be > designed/manufactured almost equivalent and still have such a broad area of > application clearly show their merit. Not to mention that they're already > being used all over the place in, well, TVs for example. Other chipmakers > are xceive, fujitsu, TI (they also make a prominent video decoder chip TVP > for which there are extensive datasheets on the net), probably also > philips/LG, ... [google] > > ( AFAIU it's a double (serial) PLL system so that the dividers/multipliers > can effectively both be set rather than merely a few fixed combinations -- > anybody more "skilled in the art" as the patent language goes, feel free to > comment ) > > I'm only relaying from my own research and I have no ties anywhere in this > industry, but I think you're going to need to have a significant budget and > talk to -- for example -- TI and fujitsu if you want some universal > card/USB stick to be put together. You'd also need drivers :) > > Hauppauge's stuff (or elgato) might be already extensive enough for the > multi support you want. But there too, you'd also need drivers :) > > HTH, > > Dan > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to > "freebsd-multimedia-unsubscribe@freebsd.org" From owner-freebsd-multimedia@FreeBSD.ORG Wed May 28 08:38:03 2008 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 C408B106567C for ; Wed, 28 May 2008 08:38:03 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id 400078FC3C for ; Wed, 28 May 2008 08:38:03 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ug-out-1314.google.com with SMTP id q2so79688uge.37 for ; Wed, 28 May 2008 01:38:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=wyhSbH7mpYLwD2XIDxwCsZ/E30c+jd+S7S3lPmAqNZY=; b=bfOBGwqfUTa3dwh2QOom5V5dFs35QvApmdhX5n7KGSqlReiLE+de0Hhp00KRl1CwGyr4YJbdnLdWbOcx4PSqcFwXLQVl8vG2h1NRwr83ki1b70IghBZKSPCRinrTQfI6HcIUQVwuKbtAoBUSt3UoqAOJZ6KeK72xe8hPPKD/0W0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=tao2/ivrbmGB3ZPOtCKBe4rRy0eSE8VIE2U9ZTMueJ6TgMsLnxSFc8Ggj3h5T+fnnbwR6BLOMrp2JnXRFqtdGCo9nd4Nn4qSCHXKcD1Jmg81VxjvpCpszYik1Nnyk1ERJHyyhxOgibga31nTIQU1hbRfCNvbonSH7dbmibpmUSs= Received: by 10.66.252.18 with SMTP id z18mr5237182ugh.20.1211963882051; Wed, 28 May 2008 01:38:02 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.80]) by mx.google.com with ESMTPS id m5sm937353gve.3.2008.05.28.01.37.59 (version=SSLv3 cipher=RC4-MD5); Wed, 28 May 2008 01:38:00 -0700 (PDT) From: Tom Evans To: Dieter In-Reply-To: <200805271548.PAA00704@sopwith.solgatos.com> References: <200805271548.PAA00704@sopwith.solgatos.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Ea3HqBmVVch1Pfjlmejx" Date: Wed, 28 May 2008 09:37:57 +0100 Message-Id: <1211963877.10665.48.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Cc: freebsd-multimedia@freebsd.org Subject: Re: TV-Tuner cards ( NTSC / PAL / SECAM ) - which works best? 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: Wed, 28 May 2008 08:38:03 -0000 --=-Ea3HqBmVVch1Pfjlmejx Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2008-05-27 at 08:48 +0100, Dieter wrote: > > Hi-def in the UK is available over DVB-S and DVB-S2 (and presumably ove= r > > DVB-C as well, unsure), and is usually very high bitrate MPEG 4 AVC > > MBAFF, which is EXTREMELY hard to decode in real time for a general > > purpose computer. This either means you need a very fast (expensive) > > computer, or you don't have hi-def support. This makes it very > > unappealing - cheap and crap or expensive and not-quite-so-crap. >=20 > Do you have a number for this "very high bitrate MPEG 4" ? 16-20 Mbps MPEG 4 AVC MBAFF [1] I can't find an explicit reference to the bitrate - iirc it is in the ballpark of 20 Mbps. Here is a reference to the difficulties of decoding it [2] under linux and windows. >=20 > > For the US market, it is much easier (I believe), as most of their HD > > content is delivered as MPEG-2, which is much easier to decode. >=20 > US OTA is MPEG 2. Max bitrate is approx 19.3 Mbps. > I've read that some cable and sat is converting to MPEG 4. > I don't have bitrate numbers for those. >=20 > Some content is only available in HD. If you can't decode HD in > real time you have to record it, transcode it down to SD, then watch > the SD. Not a great solution. Word is that scaling is expensive, > so a display that is at least 1920x1080 would be helpful in reducing > CPU requirements. >=20 > You can get decoder chips, for example: >=20 > Broadcom BCM70010 and BCM70012 claim to decode HD. > Mpeg2 up to 125 Mbps, H.264 up to 40 Mbps. >=20 > Available as chips, or on PCIe, PCIe mini, and ExpressCard 34 cards. >=20 > Under $40. >=20 > Product brief: > http://www.broadcom.com/collateral/pb/70010_70012-PB00.pdf >=20 > A BSD device driver would need to be written. And you need > a free slot. (Free slot? What's that?) That sounds freakin awesome. Wonder if they can handle MBAFF encoding. >=20 > ATI has documented some of their graphics chips. The penguins > have them offloading some of the video decode work. Is anyone > working on getting this working with BSD? >=20 > The 780G is supposed to be able to decode HD H.264, but I don't know > if they've documented that chip or not. All Nvidia chips from 6600 (ish) up can accelerate H264, and all Ati with 'avivo' (1xxx series) can also do it. The problem is, they can only accelerate within windows. Theres no open API that would allow apps + drivers to accelerate video decoding. There is a started project at freedesktop working on video acceleration apis [3], but it isn't exactly making stellar progress :) Cheers Tom [1] http://www.digitalradiotech.co.uk/uk_satellite_bit_rates.php [2] http://www.mythtv.org/pipermail/mythtv-users/2006-November/156604.html [3] http://www.freedesktop.org/wiki/Software/vaapi --=-Ea3HqBmVVch1Pfjlmejx Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkg9Gd4ACgkQlcRvFfyds/cFTwCgqHX7RY9Ndw74XXrqEiSBDcY5 mn4AnimhQG6lexwL8vGsOg/EOrYLHrtr =j/R8 -----END PGP SIGNATURE----- --=-Ea3HqBmVVch1Pfjlmejx-- From owner-freebsd-multimedia@FreeBSD.ORG Wed May 28 16:18:24 2008 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 9D56D1065672 for ; Wed, 28 May 2008 16:18:24 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2C4E88FC22 for ; Wed, 28 May 2008 16:18:23 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m4SGIM908476 for freebsd-multimedia@freebsd.org; Wed, 28 May 2008 09:18:22 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id QAA16740; Wed, 28 May 2008 16:15:58 GMT Message-Id: <200805281615.QAA16740@sopwith.solgatos.com> To: freebsd-multimedia@freebsd.org In-reply-to: Your message of "Wed, 28 May 2008 09:37:57 BST." <1211963877.10665.48.camel@localhost> Date: Wed, 28 May 2008 09:15:58 +0100 From: Dieter Subject: Re: TV-Tuner cards ( NTSC / PAL / SECAM ) - which works best? 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: Wed, 28 May 2008 16:18:24 -0000 > > You can get decoder chips, for example: > >=20 > > Broadcom BCM70010 and BCM70012 claim to decode HD. > > Mpeg2 up to 125 Mbps, H.264 up to 40 Mbps. > >=20 > > Available as chips, or on PCIe, PCIe mini, and ExpressCard 34 cards. > >=20 > > Under $40. > >=20 > > Product brief: > > http://www.broadcom.com/collateral/pb/70010_70012-PB00.pdf > >=20 > > A BSD device driver would need to be written. And you need > > a free slot. (Free slot? What's that?) > > That sounds freakin awesome. Wonder if they can handle MBAFF encoding. I don't know. We need a data sheet for the chip. That is one problem with decoder chips, they may not work with new codecs. Some of them are said to not work well with freeze frame, slow/fast motion, reverse, etc, anything but normal forward 1x play. Another method is a DSP chip. Less expensive and less power/heat than a CPU. And you can program it to handle new codecs. The problem is finding one that is fast enough. > > ATI has documented some of their graphics chips. The penguins > > have them offloading some of the video decode work. Is anyone > > working on getting this working with BSD? > >=20 > > The 780G is supposed to be able to decode HD H.264, but I don't know > > if they've documented that chip or not. > > All Nvidia chips from 6600 (ish) up can accelerate H264, and all Ati > with 'avivo' (1xxx series) can also do it. The problem is, they can only > accelerate within windows. Theres no open API that would allow apps + > drivers to accelerate video decoding. There is a started project at > freedesktop working on video acceleration apis [3], but it isn't exactly > making stellar progress :) I was thinking Xv and XvMC. IIUC the penguins have at least Xv working with some ATI chips. From owner-freebsd-multimedia@FreeBSD.ORG Thu May 29 11:02:48 2008 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 CC803106564A for ; Thu, 29 May 2008 11:02:48 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.181]) by mx1.freebsd.org (Postfix) with ESMTP id 993758FC1E for ; Thu, 29 May 2008 11:02:48 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by wa-out-1112.google.com with SMTP id j4so3243508wah.3 for ; Thu, 29 May 2008 04:02:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=F+kJApIWpqZeaKO5nfib1l0ffN/uSSfAeaLLK/OXhOU=; b=k3O009OJhReSE0FxDkrQ5VTPBwahjuK76WiwFnJMylmCtQ4BYE5kB49KNoJBDeEpn4Tvf8WAaRa02IF+Z8TrUexeusgeVtVzM5H8CRH5lp3LbRzE5n5VANcWA8hIh4CqKLiWlLoOl2wCsAfnadimM7zriqkX0LgWTLles5u+nBQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Lnt7fqiusdHYjNkFXrUVpuGWi0Ygi357BdNPvwzMChXGObTvdFjAfA9YLHTRek4jof+1dOmE9m4NgZa9NOD2Nr8EFPc9xAWj7A5f5mSwXjOWu3dWFkT7RoR1UBzhiCpDZt7JF3rNBGviz9MJjS7zLuPywFW0gtd2yZjWDFpptdA= Received: by 10.114.151.13 with SMTP id y13mr4019401wad.145.1212058968081; Thu, 29 May 2008 04:02:48 -0700 (PDT) Received: by 10.114.150.14 with HTTP; Thu, 29 May 2008 04:02:48 -0700 (PDT) Message-ID: <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com> Date: Thu, 29 May 2008 07:02:48 -0400 From: "Jim Stapleton" To: freebsd-multimedia@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: pvrxxx recording 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: Thu, 29 May 2008 11:02:48 -0000 OK, I got my pvrxxx problems fixed (I apparantly had my ffmpeg line wrong). I'm having trouble getting a decent recording though. The uncompressed stream is too large for comfort. I've tried: $ cat /dev/cxm0 | ffmpeg -i - -vcodec $v -acoded $a -f $f out.mpeg $ ffmpeg -i /dev/cxm0 -vcodec $v -acoded $a -f $f out.mpeg for various values of $a/$v/$f. So far I can can get mpeg2video/mp2/mpeg, wmv1/wmav1/avi, and wmv2/wmav2/avi to work. However, this formats end up being really pixelated. libtheora/vorbis/ogg wouldn't play in anything (I know ffplay wouldn't get it) I think I got one of the mpeg4 options working, but likewise, it looked like blocky crap whenever there was any motion. Any suggestions? If the video format is fairly low loss, I think I'd be fine using 360x240 (1/2x1/2 max), otherwise, I'd like to use something closer to full resolution. Note: 'cat /dev/cxm0 > out.mpeg' works fine, and looks great - it's just huge (3-4GB/hr). Does anyone know of a format that should work well? The computer is a Optron 185 (dual core, 2.4Ghz), with 3GB memory, and a 7200RPM hard drive. At the end, I have the formats that my install of FFMPEG recognizes with both encode/decode. Thanks, -Jim Stapleton [sjss@elrond ~]$ ffmpeg -version FFmpeg version SVN-r10657, Copyright (c) 2000-2007 Fabrice Bellard, et al. configuration: --cc=cc --prefix=/usr/local --make=gmake --disable-debug --enable-memalign-hack --enable-shared --enable-pp --extra-cflags=-I/usr/local/include/vorbis -I/usr/local/include --extra-ldflags=-L/usr/local/lib -la52 --extra-libs=-pthread --enable-gpl --enable-pthreads --mandir=/usr/local/man --enable-liba52 --enable-liba52bin --enable-libfaac --enable-libfaad --enable-libfaadbin --disable-libamr-nb --disable-libamr-wb --disable-mmx --enable-libgsm --enable-libmp3lame --enable-libogg --disable-swscaler --enable-libtheora --enable-libvorbis --enable-libx264 --enable-freetype2 --enable-imlib2 --enable-vhook --enable-libxvid libavutil version: 49.5.0 libavcodec version: 51.44.0 libavformat version: 51.14.0 built on May 26 2008 13:28:06, gcc: 4.2.1 20070719 [FreeBSD] FFmpeg SVN-r10657 libavutil 3212544 libavcodec 3353600 libavformat 3345920 [sjss@elrond ~]$ ffmpeg -formats | grep ' DE ' DE RoQ Id RoQ format DE ac3 raw ac3 DE aiff Audio IFF DE alaw pcm A law format DE amr 3gpp amr file format DE asf asf format DE au SUN AU Format DE avi avi format DE dv DV video format DE ffm ffm format DE flac raw flac DE flv flv format DE gif GIF Animation DE gxf GXF format DE h261 raw h261 DE h263 raw h263 DE h264 raw H264 video format DE image2 image2 sequence DE image2pipe piped image2 sequence DE m4v raw MPEG4 video format DE matroska Matroska File Format DE mjpeg MJPEG video DE mmf mmf format DE mp3 MPEG audio layer 3 DE mpeg MPEG1 System format DE mpegts MPEG2 transport stream format DE mulaw pcm mu law format DE nut nut format DE ogg Ogg format DE oss audio grab and output DE rawvideo raw video format DE rm rm format DE s16be pcm signed 16 bit big endian format DE s16le pcm signed 16 bit little endian format DE s8 pcm signed 8 bit format DE swf Flash format DE u16be pcm unsigned 16 bit big endian format DE u16le pcm unsigned 16 bit little endian format DE u8 pcm unsigned 8 bit format DE voc Creative Voice File format DE wav wav format DE yuv4mpegpipe YUV4MPEG pipe format [sjss@elrond ~]$ ffmpeg -formats | grep -e 'DE[AV]' DEA adpcm_4xm DEA adpcm_adx DEA adpcm_ct DEA adpcm_ea DEA adpcm_ima_dk3 DEA adpcm_ima_dk4 DEA adpcm_ima_qt DEA adpcm_ima_smjpeg DEA adpcm_ima_wav DEA adpcm_ima_ws DEA adpcm_ms DEA adpcm_sbpro_2 DEA adpcm_sbpro_3 DEA adpcm_sbpro_4 DEA adpcm_swf DEA adpcm_xa DEA adpcm_yamaha DEV D asv1 DEV D asv2 DEV bmp DEV D dvvideo DEV D ffv1 DEVSD ffvhuff DEA flac DEV D flashsv DEVSD flv DEA g726 DEV gif DEV D h261 DEVSDT h263 DEVSD huffyuv DEV D jpegls DEA libgsm DEA libgsm_ms DEV D mjpeg DEA mp2 DEVSDT mpeg1video DEVSDT mpeg2video DEVSDT mpeg4 DEVSD msmpeg4 DEVSD msmpeg4v1 DEVSD msmpeg4v2 DEV pam DEV pbm DEA pcm_alaw DEA pcm_mulaw DEA pcm_s16be DEA pcm_s16le DEA pcm_s24be DEA pcm_s24daud DEA pcm_s24le DEA pcm_s32be DEA pcm_s32le DEA pcm_s8 DEA pcm_u16be DEA pcm_u16le DEA pcm_u24be DEA pcm_u24le DEA pcm_u32be DEA pcm_u32le DEA pcm_u8 DEA pcm_zork DEV pgm DEV pgmyuv DEV png DEV ppm DEV D qtrle DEV rawvideo DEA roq_dpcm DEV D roqvideo DEV D rv10 DEV D rv20 DEV sgi DEV snow DEA sonic DEV D svq1 DEV targa DEV tiff DEA vorbis DEA wmav1 DEA wmav2 DEVSD wmv1 DEVSD wmv2 DEV D zlib DEV zmbv From owner-freebsd-multimedia@FreeBSD.ORG Thu May 29 13:38:50 2008 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 46E321065674 for ; Thu, 29 May 2008 13:38:50 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.freebsd.org (Postfix) with ESMTP id A988A8FC21 for ; Thu, 29 May 2008 13:38:49 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by nf-out-0910.google.com with SMTP id h3so1733395nfh.33 for ; Thu, 29 May 2008 06:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=++q48hipYyoB6TNVlmc3wuRBPd3cvoX9QPr6D8ZbDMI=; b=sn17VDTSq37PgeoTV5OHri3MMkmyjJAhu+ZNe6gwrOIYBJeRbxaxwngfCf2Z+0pyqb/Me4hCnF7C/lBqzNhTgNcVkP56zEXRS6zdTSQmCc/Nqy1Q+T3EQoogpVvBZU0D3GfzkSExgFq+bGhpWRTE8nHerPXbnnggmFDTffeiOtE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=C1gJSuqZBR5zwrK3uDxhQOC96loxS3ITt85xW27BcbZGo+MTv39Q5JJDAhRBex4RDQsHXrS5bELpWpu2RZg3FtOkVAs/HxhzHbQpejcdAv2CbAWuVvYQ/0aAZABRVOT7qcJIr+DZAifDNTOhaD7/NoZwJ8fivrkIPQYhoHYs3i0= Received: by 10.210.73.12 with SMTP id v12mr2960803eba.101.1212068328397; Thu, 29 May 2008 06:38:48 -0700 (PDT) Received: from ?127.0.0.1? ( [217.206.187.80]) by mx.google.com with ESMTPS id j8sm1369516gvb.1.2008.05.29.06.38.46 (version=SSLv3 cipher=RC4-MD5); Thu, 29 May 2008 06:38:46 -0700 (PDT) From: Tom Evans To: Dieter In-Reply-To: <200805281615.QAA16740@sopwith.solgatos.com> References: <200805281615.QAA16740@sopwith.solgatos.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Wx3VE74FchNJV0b/uXk3" Date: Thu, 29 May 2008 14:38:44 +0100 Message-Id: <1212068324.10665.59.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 FreeBSD GNOME Team Port Cc: freebsd-multimedia@freebsd.org Subject: Re: TV-Tuner cards ( NTSC / PAL / SECAM ) - which works best? 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: Thu, 29 May 2008 13:38:50 -0000 --=-Wx3VE74FchNJV0b/uXk3 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2008-05-28 at 09:15 +0100, Dieter wrote: > > > You can get decoder chips, for example: > > >=3D20 > > > Broadcom BCM70010 and BCM70012 claim to decode HD. > > > Mpeg2 up to 125 Mbps, H.264 up to 40 Mbps. > > >=3D20 > > > Available as chips, or on PCIe, PCIe mini, and ExpressCard 34 cards= . > > >=3D20 > > > Under $40. > > >=3D20 > > > Product brief: > > > http://www.broadcom.com/collateral/pb/70010_70012-PB00.pdf > > >=3D20 > > > A BSD device driver would need to be written. And you need > > > a free slot. (Free slot? What's that?) > >=20 > > That sounds freakin awesome. Wonder if they can handle MBAFF encoding. >=20 > I don't know. We need a data sheet for the chip. >=20 > That is one problem with decoder chips, they may not work with new codecs= . > Some of them are said to not work well with freeze frame, slow/fast motio= n, > reverse, etc, anything but normal forward 1x play. >=20 > Another method is a DSP chip. Less expensive and less power/heat than > a CPU. And you can program it to handle new codecs. The problem is > finding one that is fast enough. >=20 > > > ATI has documented some of their graphics chips. The penguins > > > have them offloading some of the video decode work. Is anyone > > > working on getting this working with BSD? > > >=3D20 > > > The 780G is supposed to be able to decode HD H.264, but I don't know > > > if they've documented that chip or not. > >=20 > > All Nvidia chips from 6600 (ish) up can accelerate H264, and all Ati > > with 'avivo' (1xxx series) can also do it. The problem is, they can onl= y > > accelerate within windows. Theres no open API that would allow apps + > > drivers to accelerate video decoding. There is a started project at > > freedesktop working on video acceleration apis [3], but it isn't exactl= y > > making stellar progress :) >=20 > I was thinking Xv and XvMC. IIUC the penguins have at least Xv working > with some ATI chips. Xv and Xvideo work well with both the beasty and the penguin, at least for intel, nvidia (closed source). Xv/Xvideo are good for displaying video (its a good overlay api), not so good for accelerating codecs. XvMC works on nvidia, intel and via unichrome - I expect the new open source ati drivers will support it as well, sooner rather than later, but that does no good for anything other than MPEG-2, and from what I've read, is virtually no use for H264.=20 My best results for H264 come using the 'gl2 (multiple texture)' driver in mplayer, as opposed to rather than xv or xvmc. XvMC reduces CPU usage when viewing MPEG-2 content, but I only have access to 480i/p MPEG-2 (standard def DVB-T transmissions and DVDs), so the net effect is reducing CPU usage from 10% to 5%. If you are fortunate enough though to get HD content in MPEG-2 format, XvMC is the meal-ticket. According to the myth wiki[1], even crappy CPUs/platforms can handle 1080i MPEG-2 content with XvMC. I'm picking up a DVB-S card for my mythtv linux box this weekend, I'll grab some sample HD content to examine.. Cheers Tom [1] http://www.mythtv.org/wiki/index.php/XvMC --=-Wx3VE74FchNJV0b/uXk3 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEABECAAYFAkg+seEACgkQlcRvFfyds/dR0QCgu93VqxhClO2Ljgc6KbzeHubv YgYAnionFy/xElX5wzdUcZ9a7zb0x6sj =IMes -----END PGP SIGNATURE----- --=-Wx3VE74FchNJV0b/uXk3-- From owner-freebsd-multimedia@FreeBSD.ORG Thu May 29 16:32:21 2008 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 F3210106566C for ; Thu, 29 May 2008 16:32:21 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 3BC638FC22 for ; Thu, 29 May 2008 16:32:20 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m4TGWI511086 for freebsd-multimedia@freebsd.org; Thu, 29 May 2008 09:32:18 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id QAA02675; Thu, 29 May 2008 16:30:33 GMT Message-Id: <200805291630.QAA02675@sopwith.solgatos.com> To: freebsd-multimedia@freebsd.org In-reply-to: Your message of "Thu, 29 May 2008 14:38:44 BST." <1212068324.10665.59.camel@localhost> Date: Thu, 29 May 2008 09:30:33 +0100 From: Dieter Subject: Re: TV-Tuner cards ( NTSC / PAL / SECAM ) - which works best? 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: Thu, 29 May 2008 16:32:22 -0000 > > I was thinking Xv and XvMC. IIUC the penguins have at least Xv working > > with some ATI chips. > > Xv and Xvideo work well with both the beasty and the penguin, at least > for intel, nvidia (closed source). Xv/Xvideo are good for displaying > video (its a good overlay api), not so good for accelerating codecs. According to http://en.wikipedia.org/wiki/X_video_extension Xv does scaling and color space conversions in hardware. Doesn't help with codec decoding. On the other hand, it should work with any codec. > XvMC works on nvidia, intel and via unichrome - I expect the new open > source ati drivers will support it as well, sooner rather than later, > but that does no good for anything other than MPEG-2, and from what I've > read, is virtually no use for H264.=20 A lot of material is in mpeg2. All US OTA DTV is mpeg2. IIRC most DVDs and some HD-DVD & Blu-Ray are mpeg2. IIRC most cable and sat are mpeg2 though that may change over time. > If you are fortunate enough though to > get HD content in MPEG-2 format, XvMC is the meal-ticket. I hope you are right about open source ATI drivers supporting XvMC soon. The sooner the better. In a few months our analog broadcasts go dark, so TVs and VCRs stop working. They are selling converter boxes, but everything I've read about them indicates that they are wintel quality crap that crash. :-( Most don't have s-video out. And they don't timeshift. The best solution seems to be building a BSD DVR. Recording DTV takes very little CPU (disk space is another matter) but decoding takes a lot. From owner-freebsd-multimedia@FreeBSD.ORG Thu May 29 17:35:40 2008 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 735B1106566B for ; Thu, 29 May 2008 17:35:40 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 030278FC18 for ; Thu, 29 May 2008 17:35:39 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 71800 invoked by uid 2001); 29 May 2008 17:08:58 -0000 Date: Thu, 29 May 2008 12:08:58 -0500 From: "Rick C. Petty" To: Jim Stapleton Message-ID: <20080529170858.GA70632@keira.kiwi-computer.com> References: <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-multimedia@freebsd.org Subject: Re: pvrxxx recording X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 17:35:40 -0000 On Thu, May 29, 2008 at 07:02:48AM -0400, Jim Stapleton wrote: > OK, I got my pvrxxx problems fixed (I apparantly had my ffmpeg line wrong). > > I'm having trouble getting a decent recording though. The uncompressed > stream is too large for comfort. Uncompressed, it should be. > $ cat /dev/cxm0 | ffmpeg -i - -vcodec $v -acoded $a -f $f out.mpeg > $ ffmpeg -i /dev/cxm0 -vcodec $v -acoded $a -f $f out.mpeg So you're fine with a multi-step process? BTW, you might get better performance if your first command is: ffmpeg -i /dev/cxm0 -vcodec $v ... > Note: 'cat /dev/cxm0 > out.mpeg' works fine, and looks great - it's > just huge (3-4GB/hr). That's not that huge. > Does anyone know of a format that should work well? The computer is a > Optron 185 (dual core, 2.4Ghz), with 3GB memory, and a 7200RPM hard > drive. Your computer is too slow to do a live decode/encode of an MPEG2 stream. Since you don't mind a multi-step process, why don't you record at the standard bitrate and do a post-process step? That's what I do. I actually have my own cxm_record program which calls the setchannel command and then performs a cat(1) equivalent. After the recording is finished, I use multimedia/avidemux to select cut/edit points and a custom script to convert the avidemux project to a multimedia/dvbcut project. I've found dvbcut does a better job of cutting the MPEG2 streams and does a minimum recoding process (only at the edit points). From there I run a custom script to furthur compress the MPEG2 stream and turn it into a DVD VOB. This script may be of interest to you and your issue, so I'll describe it here. I demultiplex the audio & video streams separately using multimedxa/mpgtx: mpgdemux -b $TMP_PREFIX $OUTPUT_FROM_DVBCUT Then, in parallel, I convert & compress the audio and video streams. For the audio, I make a named pipe and decode using audio/lame: mkfifo $TMP_PREFIX.wav lame --decode $TMP_PREFIX.mp2 $TMP_PREFIX.wav then encode into AC3 using multimedia/ffmpeg: ffmpeg -i $TMP_PREFIX.wav -y -vn -ab 192000 -acodec ac3 -ar 48000 -ac 2 \ $TMP_PREFIX.ac3 For the video, I requantize the video by a factor of 3:2 using multimedia/transcode: tcrequant -f 1.5 < $TMP_PREFIX-0.m2v > $TMP_PREFIX-1.m2v After both are finished, I multiplex the streams together into a dvdauthor-ready VOB using multimedia/mjpegtools: mplex -v 0 -V -M -f 8 -o $OUTPUT.vob $TMP_PREFIX.ac3 $TMP_PREFIX-1.m2v The end result is a file that's just over half the size of the original without appreciable loss of quality. -- Rick C. Petty From owner-freebsd-multimedia@FreeBSD.ORG Thu May 29 17:38:44 2008 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 1699A1065671 for ; Thu, 29 May 2008 17:38:44 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: from kiwi-computer.com (keira.kiwi-computer.com [63.224.10.3]) by mx1.freebsd.org (Postfix) with SMTP id 873038FC1C for ; Thu, 29 May 2008 17:38:43 +0000 (UTC) (envelope-from rick@kiwi-computer.com) Received: (qmail 71869 invoked by uid 2001); 29 May 2008 17:12:02 -0000 Date: Thu, 29 May 2008 12:12:02 -0500 From: "Rick C. Petty" To: Dieter Message-ID: <20080529171202.GB70632@keira.kiwi-computer.com> References: <1212068324.10665.59.camel@localhost> <200805291630.QAA02675@sopwith.solgatos.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200805291630.QAA02675@sopwith.solgatos.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-multimedia@freebsd.org Subject: Re: TV-Tuner cards ( NTSC / PAL / SECAM ) - which works best? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rick-freebsd@kiwi-computer.com List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2008 17:38:44 -0000 On Thu, May 29, 2008 at 09:30:33AM +0100, Dieter wrote: > > A lot of material is in mpeg2. All US OTA DTV is mpeg2. IIRC most DVDs > and some HD-DVD & Blu-Ray are mpeg2. IIRC most cable and sat are mpeg2 > though that may change over time. Just for clarification, all DVDs playable in DVD players are required to be MPEG2. HD-DVD/Blu-Ray can be MPEG2 or MPEG4. -- Rick C. Petty From owner-freebsd-multimedia@FreeBSD.ORG Thu May 29 19:41:32 2008 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 CAF801065742 for ; Thu, 29 May 2008 19:41:32 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from parsely.rain.com (parsely.rain.com [199.26.172.196]) by mx1.freebsd.org (Postfix) with ESMTP id 34BAA8FC21 for ; Thu, 29 May 2008 19:41:32 +0000 (UTC) (envelope-from freebsd@sopwith.solgatos.com) Received: from sopwith.solgatos.com (uucp@localhost) by parsely.rain.com (8.11.4/8.11.4) with UUCP id m4TJfVW11371 for freebsd-multimedia@freebsd.org; Thu, 29 May 2008 12:41:31 -0700 (PDT) (envelope-from freebsd@sopwith.solgatos.com) Received: from localhost by sopwith.solgatos.com (8.8.8/6.24) id TAA02371; Thu, 29 May 2008 19:37:58 GMT Message-Id: <200805291937.TAA02371@sopwith.solgatos.com> To: freebsd-multimedia@freebsd.org In-reply-to: Your message of "Thu, 29 May 2008 07:02:48 EDT." <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com> Date: Thu, 29 May 2008 12:37:58 +0100 From: Dieter Subject: Re: pvrxxx recording 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: Thu, 29 May 2008 19:41:32 -0000 > Note: 'cat /dev/cxm0 > out.mpeg' works fine, and looks great - it's > just huge (3-4GB/hr). Yes, video is huge. :-( Decent quality HD runs 7-8 GB/hour, so 3-4 GB/hr is probably (*) about right for decent quality SD. (*) None of my local stations transmit decent quality SD, it's all way overcompressed due to too many subchannels. :-( From owner-freebsd-multimedia@FreeBSD.ORG Thu May 29 20:07:01 2008 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 2CFD51065671 for ; Thu, 29 May 2008 20:07:01 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8B5888FC16 for ; Thu, 29 May 2008 20:07:00 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so2004487ika.3 for ; Thu, 29 May 2008 13:06:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=fG9uNfkFDaj4LOueA86ARvL5uNAl7XzT6seXULUAyww=; b=fcwOwwprU7T67N1cRfBKu0mL2EE2NTT+YxSjimwfMzSKpZfYtcNXlt95D9g6BpcKRmkrPlZci6BaDw5YJd6Y3FKKCorIT4IjBOPVcpRR+x4KxNavPQG7jJvupUQEURXosQnWG4wzCz9wDP39vBR9EdpMJWKTomgU5cAzmbYRDbE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=kgvox6c6TNIQh9hO6YkzuKcmNUQhbMheW+Z4I2UibiHS9X/8MYe5mB/XyDipmIMyZtpWhkvVz+z2CEFKdfpLF2u5E02B+6OEi4x3goESJlqbFeQYUyanZDilSJLQr7QkFsgKVK+0KM9wgVSV5jV2WNz9d7YcHlNQmroO45qg9r4= Received: by 10.142.242.11 with SMTP id p11mr1757089wfh.135.1212089941387; Thu, 29 May 2008 12:39:01 -0700 (PDT) Received: by 10.142.174.7 with HTTP; Thu, 29 May 2008 12:39:01 -0700 (PDT) Message-ID: Date: Thu, 29 May 2008 21:39:01 +0200 From: usleepless@gmail.com To: rick-freebsd@kiwi-computer.com In-Reply-To: <20080529170858.GA70632@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com> <20080529170858.GA70632@keira.kiwi-computer.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: pvrxxx recording 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: Thu, 29 May 2008 20:07:01 -0000 Rick, Jim, List, On Thu, May 29, 2008 at 7:08 PM, Rick C. Petty wrote: > On Thu, May 29, 2008 at 07:02:48AM -0400, Jim Stapleton wrote: >> OK, I got my pvrxxx problems fixed (I apparantly had my ffmpeg line wrong). >> >> I'm having trouble getting a decent recording though. The uncompressed >> stream is too large for comfort. > > Uncompressed, it should be. > >> $ cat /dev/cxm0 | ffmpeg -i - -vcodec $v -acoded $a -f $f out.mpeg >> $ ffmpeg -i /dev/cxm0 -vcodec $v -acoded $a -f $f out.mpeg > > So you're fine with a multi-step process? BTW, you might get better > performance if your first command is: > > ffmpeg -i /dev/cxm0 -vcodec $v ... > >> Note: 'cat /dev/cxm0 > out.mpeg' works fine, and looks great - it's >> just huge (3-4GB/hr). > > That's not that huge. > >> Does anyone know of a format that should work well? The computer is a >> Optron 185 (dual core, 2.4Ghz), with 3GB memory, and a 7200RPM hard >> drive. > > Your computer is too slow to do a live decode/encode of an MPEG2 stream. > Since you don't mind a multi-step process, why don't you record at the > standard bitrate and do a post-process step? That's what I do. I actually > have my own cxm_record program which calls the setchannel command and then > performs a cat(1) equivalent. After the recording is finished, I use > multimedia/avidemux to select cut/edit points and a custom script to > convert the avidemux project to a multimedia/dvbcut project. I've found > dvbcut does a better job of cutting the MPEG2 streams and does a minimum > recoding process (only at the edit points). From there I run a custom > script to furthur compress the MPEG2 stream and turn it into a DVD VOB. > This script may be of interest to you and your issue, so I'll describe it > here. > > I demultiplex the audio & video streams separately using multimedxa/mpgtx: > > mpgdemux -b $TMP_PREFIX $OUTPUT_FROM_DVBCUT > > Then, in parallel, I convert & compress the audio and video streams. For > the audio, I make a named pipe and decode using audio/lame: > > mkfifo $TMP_PREFIX.wav > lame --decode $TMP_PREFIX.mp2 $TMP_PREFIX.wav > > then encode into AC3 using multimedia/ffmpeg: > > ffmpeg -i $TMP_PREFIX.wav -y -vn -ab 192000 -acodec ac3 -ar 48000 -ac 2 \ > $TMP_PREFIX.ac3 > > For the video, I requantize the video by a factor of 3:2 using > multimedia/transcode: > > tcrequant -f 1.5 < $TMP_PREFIX-0.m2v > $TMP_PREFIX-1.m2v > > After both are finished, I multiplex the streams together into a > dvdauthor-ready VOB using multimedia/mjpegtools: > > mplex -v 0 -V -M -f 8 -o $OUTPUT.vob $TMP_PREFIX.ac3 $TMP_PREFIX-1.m2v > > The end result is a file that's just over half the size of the original > without appreciable loss of quality. Rick, thanks for outlining your procedure. I had no idea that people were postprocessing their recordings. I recently adjusted the bitrate for my profile from ~10Mbit to ~5MBit. I hardly notice a difference except for fast moving sports such as tennis and motorsports. Unfortunatly you need to edit the source of the driver and rebuild it. The relevant parameters are at the top of cxm.c. You need to edit the "dvd_full_d1_(pal|ntsc)_profile": /* 9.52 Mb/s peak limit to keep bbdmux followed by mplex -f 8 happy */ #ifdef _original_ { 0, 9000000, 9520000 }, /* 1 hour on 4.7 GB media */ #else { 0, 4000000, 4520000 }, /* 4 hours on 8.54 GB media */ #endif regards, usleep From owner-freebsd-multimedia@FreeBSD.ORG Thu May 29 21:17:03 2008 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C5571065673 for ; Thu, 29 May 2008 21:17:03 +0000 (UTC) (envelope-from hopet@ics.muni.cz) Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by mx1.freebsd.org (Postfix) with ESMTP id AAC728FC22 for ; Thu, 29 May 2008 21:17:02 +0000 (UTC) (envelope-from hopet@ics.muni.cz) Received: from KLOBOUCEK (holub.ics.muni.cz [147.251.23.83]) (authenticated user=hopet@ICS.MUNI.CZ bits=0) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id m4TKg54T016139 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 29 May 2008 22:42:06 +0200 From: "Petr Holub" To: Date: Thu, 29 May 2008 22:42:00 +0200 Message-ID: <010801c8c1cc$75a44c50$60ece4f0$@muni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 thread-index: AcjBzG7VD667khTiTr+nUjnDFlpuiQ== Content-Language: cs X-Muni-Spam-TestIP: 147.251.23.83 X-Muni-Envelope-From: hopet@ics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Thu, 29 May 2008 22:42:06 +0200 (CEST) Cc: Subject: snd_envy24ht and ESI Juli@ 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: Thu, 29 May 2008 21:17:03 -0000 Hi, I'm wondering if anybody got reasonable recording using ESI Juli@ card with snd_envy24ht module? Playback sounds fine with this card, but it looks like I wasn't able to get any single bit (Audacity, krec). Thanks, Petr ================================================================ Petr Holub CESNET z.s.p.o. Supercomputing Center Brno Zikova 4 Institute of Compt. Science 162 00 Praha 6, CZ Masaryk University Czech Republic Botanicka 68a, 60200 Brno, CZ e-mail: Petr.Holub@cesnet.cz phone: +420-549493944 fax: +420-541212747 e-mail: hopet@ics.muni.cz From owner-freebsd-multimedia@FreeBSD.ORG Fri May 30 14:51:39 2008 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 90F681065672 for ; Fri, 30 May 2008 14:51:39 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 54B788FC16 for ; Fri, 30 May 2008 14:51:39 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A5751E.dip.t-dialin.net [84.165.117.30]) by redbull.bpaserver.net (Postfix) with ESMTP id E0B4C2E0A4; Fri, 30 May 2008 16:34:00 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id 419681140A1; Fri, 30 May 2008 16:33:58 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m4UEXvks092587; Fri, 30 May 2008 16:33:57 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Fri, 30 May 2008 16:33:56 +0200 Message-ID: <20080530163356.196549a87jpa2gys@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Fri, 30 May 2008 16:33:56 +0200 From: Alexander Leidinger To: rick-freebsd@kiwi-computer.com References: <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com> <20080529170858.GA70632@keira.kiwi-computer.com> In-Reply-To: <20080529170858.GA70632@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.669, required 6, BAYES_00 -15.00, RDNS_DYNAMIC 0.10, TW_MK 0.08, TW_RX 0.08, TW_VR 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: freebsd-multimedia@freebsd.org Subject: Re: pvrxxx recording 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, 30 May 2008 14:51:39 -0000 Quoting "Rick C. Petty" (from Thu, 29 May 2008 12:08:58 -0500): > Then, in parallel, I convert & compress the audio and video streams. For > the audio, I make a named pipe and decode using audio/lame: > > mkfifo $TMP_PREFIX.wav > lame --decode $TMP_PREFIX.mp2 $TMP_PREFIX.wav As one of the lame developers: lame is not a decoder, it is a encoder. You are better off by using an decoder to decode this. I would use madplay. > then encode into AC3 using multimedia/ffmpeg: > > ffmpeg -i $TMP_PREFIX.wav -y -vn -ab 192000 -acodec ac3 -ar 48000 -ac 2 \ > $TMP_PREFIX.ac3 ffmpeg does not understand mp2 inputs? Bye, Alexander. -- We are what we pretend to be. -- Kurt Vonnegut, Jr. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-multimedia@FreeBSD.ORG Fri May 30 15:49:39 2008 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 CF72E1065682 for ; Fri, 30 May 2008 15:49:39 +0000 (UTC) (envelope-from doug@bitnix.ca) Received: from fep5.cogeco.net (smtp.cogeco.net [216.221.81.25]) by mx1.freebsd.org (Postfix) with ESMTP id BB68C8FC66 for ; Fri, 30 May 2008 15:49:39 +0000 (UTC) (envelope-from doug@bitnix.ca) Received: from srv.cnd.dundas.on.ca (d141-68-27.home.cgocable.net [24.141.68.27]) by fep5.cogeco.net (Postfix) with ESMTP id DEA6FFC4; Fri, 30 May 2008 11:11:20 -0400 (EDT) Received: from monk.cnd.dundas.on.ca (monk.cnd.dundas.on.ca [10.87.0.20]) by srv.cnd.dundas.on.ca (8.14.2/8.14.2) with ESMTP id m4UFBKhI049532; Fri, 30 May 2008 11:11:20 -0400 (EDT) (envelope-from doug@bitnix.ca) Received: from monk.cnd.dundas.on.ca (localhost [127.0.0.1]) by monk.cnd.dundas.on.ca (8.14.2/8.14.2) with ESMTP id m4UFBIwb033032; Fri, 30 May 2008 11:11:18 -0400 (EDT) (envelope-from doug@monk.cnd.dundas.on.ca) Message-Id: <200805301511.m4UFBIwb033032@monk.cnd.dundas.on.ca> To: usleepless@gmail.com In-reply-to: Your message of "Thu, 29 May 2008 21:39:01 +0200." From: "Douglas Berry" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 30 May 2008 11:11:18 -0400 Sender: doug@bitnix.ca Cc: freebsd-multimedia@freebsd.org, rick-freebsd@kiwi-computer.com Subject: Re: pvrxxx recording X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Douglas Berry List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2008 15:49:39 -0000 On Thu, 29 May 2008 21:39:01 +0200, usleepless@gmail.com wrote: > I recently adjusted the bitrate for my profile from ~10Mbit to > ~5MBit. I hardly notice a difference except for fast moving sports > such as tennis and motorsports. Thanks for that. Before I try reducing the bitrate, is there a way to turn off interlacing in the driver? On panning shots, I'm distracted by the "comb effect" on edges. Thanks for your work on this driver. cheers, doug From owner-freebsd-multimedia@FreeBSD.ORG Fri May 30 22:48:37 2008 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 7B69C1065687 for ; Fri, 30 May 2008 22:48:37 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.182]) by mx1.freebsd.org (Postfix) with ESMTP id 51F998FC15 for ; Fri, 30 May 2008 22:48:37 +0000 (UTC) (envelope-from stapleton.41@gmail.com) Received: by py-out-1112.google.com with SMTP id p76so93188pyb.10 for ; Fri, 30 May 2008 15:48:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6RWU+mej5V65wNSz/IoDDpFCRS/BPUOfuOYRWpUuxbU=; b=d0DXNhNcLQnv6pWLYWdHDzeEcQ0fIrx7WMlB2viXqkaTfc/mV9kZfEdY0pkCbj8bnspPkrqUwPjuSKKWnpX9jmOsI7ultryAjGpyvP5WxLQLuqeL3w0LCAfpIVLpHfqsamSZlEzkKDj+wPun6MdKQlgiROQPNwKlt49PSx5HKI8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jG0ii0azN+LNhdR/U5M9CzKPKGgvF1tFJqzsQ7iw3VzyLU0+Vswm30Cyy6MwNG8X2NmZh4EWLlSjXQUmuveZZTeOZyYYlaghRk8dTadQOjfdYNLNy1vgmmVwvqGRSKITWyg7kzW1kpJJij9YyqPOnOMqEgIzuWkWejwNXkq6gI4= Received: by 10.114.195.19 with SMTP id s19mr6975574waf.58.1212187716172; Fri, 30 May 2008 15:48:36 -0700 (PDT) Received: by 10.114.150.14 with HTTP; Fri, 30 May 2008 15:48:35 -0700 (PDT) Message-ID: <80f4f2b20805301548x2e5e55d2g32267504797ffcdb@mail.gmail.com> Date: Fri, 30 May 2008 18:48:36 -0400 From: "Jim Stapleton" To: rick-freebsd@kiwi-computer.com In-Reply-To: <20080529170858.GA70632@keira.kiwi-computer.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com> <20080529170858.GA70632@keira.kiwi-computer.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: pvrxxx recording 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, 30 May 2008 22:48:37 -0000 On Thu, May 29, 2008 at 1:08 PM, Rick C. Petty wrote: > On Thu, May 29, 2008 at 07:02:48AM -0400, Jim Stapleton wrote: >> OK, I got my pvrxxx problems fixed (I apparantly had my ffmpeg line wrong). >> >> I'm having trouble getting a decent recording though. The uncompressed >> stream is too large for comfort. > > Uncompressed, it should be. > >> $ cat /dev/cxm0 | ffmpeg -i - -vcodec $v -acoded $a -f $f out.mpeg >> $ ffmpeg -i /dev/cxm0 -vcodec $v -acoded $a -f $f out.mpeg > > So you're fine with a multi-step process? BTW, you might get better > performance if your first command is: > > ffmpeg -i /dev/cxm0 -vcodec $v ... > >> Note: 'cat /dev/cxm0 > out.mpeg' works fine, and looks great - it's >> just huge (3-4GB/hr). > > That's not that huge. > >> Does anyone know of a format that should work well? The computer is a >> Optron 185 (dual core, 2.4Ghz), with 3GB memory, and a 7200RPM hard >> drive. > > Your computer is too slow to do a live decode/encode of an MPEG2 stream. > Since you don't mind a multi-step process, why don't you record at the > standard bitrate and do a post-process step? That's what I do. I actually > have my own cxm_record program which calls the setchannel command and then > performs a cat(1) equivalent. After the recording is finished, I use > multimedia/avidemux to select cut/edit points and a custom script to > convert the avidemux project to a multimedia/dvbcut project. I've found > dvbcut does a better job of cutting the MPEG2 streams and does a minimum > recoding process (only at the edit points). From there I run a custom > script to furthur compress the MPEG2 stream and turn it into a DVD VOB. > This script may be of interest to you and your issue, so I'll describe it > here. I never said or insinuated that the stepwise process is functional (or not minded) on my computer. I simply said cat'ing the device to the drive causes a video that looks acceptable (actually good). The stepwise process is not feasable with my current setup/situation due to drive space, and the length of some of the recordings I want to do. Also, having tested it out, the coversion is actually worse in the stepwise process. the 720x488 image looks fairly decent for the most part doing on-the-fly encoding. The problem is, if there is much motion, the portions of the screen with motion tend to look like they are are appropriate for the image being in 72x49 resolution, rather than 720x488. The remain sections of the screen look like I would expect from, say, 360x244 (1/2 x 1/2), scaled to the player's size. When I have a stepped process (I cat my sample video to a file, then ffmpeg the file), I end up with something that looks like it's appropriate for a 180x122 (1/4 x 1/4 image), throughout the picture, but motion degredation is barely noticable. it's still too low for my comfort. The original file appears to be full quality. Also, in the stepped process * all the conversions took about 4-5 seconds for a 20 second video * my CPU was at fairly low utilization 45-65%. * At the time of the conversion/recording, my disk IO was being hogged by a compile and backup process. Is there extra overhead to compressing something straight out of the tuner? Using a similarly performing algorithm, (2x on each axis, 4x the power, right?) should be possible real-time with the same 45-65% CPU utilization. From owner-freebsd-multimedia@FreeBSD.ORG Sat May 31 00:03:19 2008 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95CA81065673 for ; Sat, 31 May 2008 00:03:19 +0000 (UTC) (envelope-from pj@smo.de) Received: from ilk.de (mx-out14.ilk.de [194.121.104.14]) by mx1.freebsd.org (Postfix) with ESMTP id 276878FC13 for ; Sat, 31 May 2008 00:03:18 +0000 (UTC) (envelope-from pj@smo.de) Received: from bologna.intern.smo.de (pool34.ka.ilk.net [212.86.194.34]) by ilk.de (8.13.4/8.13.4/ilk-relay) with ESMTP id m4UFraRl002117; Fri, 30 May 2008 17:53:36 +0200 Received: from smo.de (pj@krafla.intern.smo.de [192.168.153.210]) by bologna.intern.smo.de (8.13.8+Sun/8.13.8) with ESMTP id m4UFlU3r002193; Fri, 30 May 2008 17:47:30 +0200 (CEST) Message-ID: <48402246.9030109@smo.de> Date: Fri, 30 May 2008 17:50:30 +0200 From: Philipp Ost User-Agent: Mozilla/5.0 (X11; U; HP-UX 9000/785; en-US; rv:1.4) Gecko/20031022 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: Petr Holub References: <010801c8c1cc$75a44c50$60ece4f0$@muni.cz> In-Reply-To: <010801c8c1cc$75a44c50$60ece4f0$@muni.cz> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: multimedia@freebsd.org Subject: Re: snd_envy24ht and ESI Juli@ 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: Sat, 31 May 2008 00:03:19 -0000 Petr Holub wrote: >Hi, > >I'm wondering if anybody got reasonable recording using ESI Juli@ >card with snd_envy24ht module? Playback sounds fine with this card, >but it looks like I wasn't able to get any single bit (Audacity, >krec). > As of now the driver doesn't support recording. Last time I asked Konstantin about this issue, he didn't know when he will have the time to fix it. Greetings, Philipp From owner-freebsd-multimedia@FreeBSD.ORG Sat May 31 19:09:42 2008 Return-Path: Delivered-To: multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F17E106566B for ; Sat, 31 May 2008 19:09:42 +0000 (UTC) (envelope-from hopet@ics.muni.cz) Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.40]) by mx1.freebsd.org (Postfix) with ESMTP id 833E38FC1A for ; Sat, 31 May 2008 19:09:41 +0000 (UTC) (envelope-from hopet@ics.muni.cz) Received: from KLOBOUCEK (holub.ics.muni.cz [147.251.23.83]) (authenticated user=hopet@ICS.MUNI.CZ bits=0) by minas.ics.muni.cz (8.13.8/8.13.8/SuSE Linux 0.8) with ESMTP id m4VJ9cUK016957 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Sat, 31 May 2008 21:09:38 +0200 From: "Petr Holub" To: References: <010801c8c1cc$75a44c50$60ece4f0$@muni.cz> <48402246.9030109@smo.de> In-Reply-To: <48402246.9030109@smo.de> Date: Sat, 31 May 2008 21:09:34 +0200 Message-ID: <001e01c8c351$e02b98e0$a082caa0$@muni.cz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcjCbVaWqD1mJn/gT0Gmy6D6edS9RwA4+cyw Content-Language: cs X-Muni-Spam-TestIP: 147.251.23.83 X-Muni-Envelope-From: hopet@ics.muni.cz X-Muni-Virus-Test: Clean X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (minas.ics.muni.cz [147.251.4.35]); Sat, 31 May 2008 21:09:39 +0200 (CEST) Cc: multimedia@freebsd.org Subject: RE: snd_envy24ht and ESI Juli@ 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: Sat, 31 May 2008 19:09:42 -0000 Dear Konstantin, > As of now the driver doesn't support recording. Last time I asked > Konstantin about this issue, he didn't know when he will have the time > to fix it. is there any chance you will have time to finish also the recording part of snd_envy24ht? We're hitting this probem more and more urgently as we need some higher-grade card for both playback and recording (e.g., full-duplex operation for videoconferencing) and both ESI Juli@ and Audiophile 192 are very affordable alternatives. Thanks a lot in advance, Petr