Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2008 07:02:48 -0400
From:      "Jim Stapleton" <stapleton.41@gmail.com>
To:        freebsd-multimedia@freebsd.org
Subject:   pvrxxx recording
Message-ID:  <80f4f2b20805290402w84c3f4k3f302385396b6b1c@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?80f4f2b20805290402w84c3f4k3f302385396b6b1c>