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