On Mon, 2010-10-18 at 16:28 +0800, James wrote: > Guys I'm trying to record a v4l source with say 1G/hour storage. > Here is my try: > > #!/bin/sh > /usr/bin/transcode -q 2 \ > -x v4l2 \ > -g 640x480 \ > -i /dev/video0 \ > -p /dev/dsp \ > -N 0x1 \ > -Q 1 \ > -w 1000 \ > -y ffmpeg,tcaud \ > -F mjpeg \ > -J smartyuv,pv \ > -o /home/dvr/recording.avi > > This makes about 6G / hour files. > I've read the wiki and docs but there seems to be no authorative guide. > Can anyone guide me? Many thanks
You can - compress the audio (-N 0x55 for mp3, or anything else) - reduce the video bitrate - use a more efficient codec like -F mpeg4 but be careful that using a codec like mpeg4 will make any further editing more difficult with respect to MJPEG. -- Francesco Romani