Sorry if this is double posted, I got
a reply ststing it hadn't
I have tried multiple things to get
the recording feature working. Here is an example of what I'm getting
in the log file:
"...2004/03/28 20:00 EST [*RecordServer*] popen
./runtime/runapp /usr/bin/mencoder tv:// -tv
driver=v4l:input=0:norm=NTSC:channel=8:chanli
=1200:keyint=30 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -endpos 1788 -o /video/Recorded/03-28_20:00_The_Simpsons_-_Wand
2004/03/28 20:00 EST [*RecordServer*] Record_Thread::run: past wait()!!
2004/03/28 20:00 EST [*RecordServer*] RECORDSERVER GOT EVENT NOTICE
2004/03/28 20:00 EST [*RecordServer*] RECORDSERVER GOT EVENT NOTICE
2004/03/28 20:00 EST [*RecordServer*] RECORDSERVER HANDLING EVENT
2004/03/28 20:00 EST [*RecordServer*] killing pid 6865 with sig 15
2004/03/28 20:00 EST [*RecordServer*] recorderver: After wait()
2004/03/28 20:00 EST [*RecordServer*] RECORDSERVER HANDLING EVENT
2004/03/28 20:00 EST [*RecordServer*] waiting on pid 6865
2004/03/28 20:00 EST [*RecordServer*] Record_Thread::run: mode=idle..."
=1200:keyint=30 -oac mp3lame -lameopts br=128:cbr:mode=3 -ffourcc divx -endpos 1788 -o /video/Recorded/03-28_20:00_The_Simpsons_-_Wand
2004/03/28 20:00 EST [*RecordServer*] Record_Thread::run: past wait()!!
2004/03/28 20:00 EST [*RecordServer*] RECORDSERVER GOT EVENT NOTICE
2004/03/28 20:00 EST [*RecordServer*] RECORDSERVER GOT EVENT NOTICE
2004/03/28 20:00 EST [*RecordServer*] RECORDSERVER HANDLING EVENT
2004/03/28 20:00 EST [*RecordServer*] killing pid 6865 with sig 15
2004/03/28 20:00 EST [*RecordServer*] recorderver: After wait()
2004/03/28 20:00 EST [*RecordServer*] RECORDSERVER HANDLING EVENT
2004/03/28 20:00 EST [*RecordServer*] waiting on pid 6865
2004/03/28 20:00 EST [*RecordServer*] Record_Thread::run: mode=idle..."
If I try to paste the string from a command prompt
I get the following error:
".../usr/bin/mencoder tv:// -tv
driver=v4l:input=0:norm=NTSC:channel=
8:chanlist=us-cable:width=320:height=240:outfmt=yuy2:device=/dev/video0:adevice=
/dev/dsp0:audiorate=44100:forceaudio:forcechan=1:buffersize=128 -ovc lavc -lavco
pts vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame -lameopts br=128:cbr:mode=
3 -ffourcc divx -endpos 1788 -o /video/Recorded/03-28_20:00_The_Simpsons_-_Wande
ring_Juvie.avi ; aumix -1 90;
MEncoder 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team
8:chanlist=us-cable:width=320:height=240:outfmt=yuy2:device=/dev/video0:adevice=
/dev/dsp0:audiorate=44100:forceaudio:forcechan=1:buffersize=128 -ovc lavc -lavco
pts vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame -lameopts br=128:cbr:mode=
3 -ffourcc divx -endpos 1788 -o /video/Recorded/03-28_20:00_The_Simpsons_-_Wande
ring_Juvie.avi ; aumix -1 90;
MEncoder 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP
Palomino 1050 MHz (Family: 6,
Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading /root/.mplayer/codecs.conf: 61 audio & 169 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
Option tv: Unknown suboption adevice
Exiting... (error parsing cmdline)..."
Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading /root/.mplayer/codecs.conf: 61 audio & 169 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
Option tv: Unknown suboption adevice
Exiting... (error parsing cmdline)..."
If I remove -tv from the config file it creates the
avi file and starts counting frames, but the file comes out at about 3k with
nothing in it. Below is the output:
".../usr/bin/mencoder
tv://driver=v4l:input=0:norm=NTSC:channel=8:chanlist=us-cable:width=320:height=240:outfmt=yuy2:device=/dev/video0:adevice=/dev/dsp0:audiorate=44100:forceaudio:forcechan=1:buffersize=128
-ovc lavc -lavcopts vcodec=mpeg4:vbitrate=1200:keyint=30 -oac mp3lame -lameopts
br=128:cbr:mode=3 -ffourcc divx -endpos 1788 -o /video/Recorded/test.avi ; aumix
-1 90;
MEncoder 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team
MEncoder 1.0pre3-3.3.2 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 /Athlon MP/XP
Palomino 1050 MHz (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading /root/.mplayer/codecs.conf: 61 audio & 169 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 9 data: 0x0 - 0x0
TV detected! ;-)
Selected driver: dummy
name: NULL-TV
author: alex
Selected input hasn't got a tuner!
[V] filefmt:9 fourcc:0x32315659 size:320x200 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 200 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (320x200 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Forcing output fourcc to 78766964 [divx]
Writing AVI header...
Forcing audio preload to 0, max pts correction to 0
Pos: 0.0s 60533f ( 0%) 1726fps Trem: 0min 0mb A-V:0.000 [0:0]
Writing AVI index...
Fixing AVI header...
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection.
Reading /root/.mplayer/codecs.conf: 61 audio & 169 video codecs
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /root/.mplayer/mencoder: No such file or directory
font: can't open file: /root/.mplayer/font/font.desc
Font /usr/share/mplayer/font/font.desc loaded successfully! (206 chars)
success: format: 9 data: 0x0 - 0x0
TV detected! ;-)
Selected driver: dummy
name: NULL-TV
author: alex
Selected input hasn't got a tuner!
[V] filefmt:9 fourcc:0x32315659 size:320x200 fps:25.00 ftime:=0.0400
Opening video filter: [expand osd=1]
Expand: -1 x -1, -1 ; -1 (-1=autodetect) osd: 1
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 320 x 200 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
videocodec: libavcodec (320x200 fourcc=58564944 [DIVX])
Selected video codec: [rawyv12] vfm:raw (RAW YV12)
==========================================================================
Forcing output fourcc to 78766964 [divx]
Writing AVI header...
Forcing audio preload to 0, max pts correction to 0
Pos: 0.0s 60533f ( 0%) 1726fps Trem: 0min 0mb A-V:0.000 [0:0]
Writing AVI index...
Fixing AVI header...
Video stream: nan
kbit/s (-2147483648 bps) size: 0 bytes 0.000 secs
605..."
I am sure this is something simple I have
overlooked, but haven't been able to find anything in the resources. Any
assistence would be greatly appreciated.
Thanks in advance,
Joe