Ok, I got more info. And it looks like it is my sound card. But not sure how I should
fix it.   (FYI, I am using mythtv to record and everything works fine
so I know my capture card + sound card can record.   I would like to try
lavrec since I want a record in  mpeg setting).


  INFO: [lavrec] Recording parameters:
  INFO: [lavrec] Output format:      AVI
  INFO: [lavrec] Input Source:       Auto detect
  INFO: [lavrec] Decimation:         4
  INFO: [lavrec] Quality:            80
  INFO: [lavrec] Recording time:     60 sec
  INFO: [lavrec]
  INFO: [lavrec] MJPEG buffer size:  256 KB
  INFO: [lavrec] # of MJPEG buffers: 64
  INFO: [lavrec] Audio disabled
--DEBUG: [lavrec] Maximum size per file will be 1739 MB
  INFO: [lavrec] Auto detecting input and norm ...
--DEBUG: [lavrec] Using current input signal settings for non-MJPEG card
  INFO: [lavrec] Unmuting tuner audio...
  INFO: [lavrec] Error setting tuner audio params: Invalid argument
++ WARN: [lavrec] Not ready for capture (state = 0)!


My capture card has no TV tuner. And I am using my sound card (line-in) to record.

--Vincent



From: "Ronald S. Bultje" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
CC: mjpeg-users@lists.sourceforge.net
Subject: Re: [Mjpeg-users] Strange error -- lavrec saying Not ready for capture
Date: Sun, 24 Jul 2005 10:44:32 +0200

On Sun, 2005-07-24 at 07:06, Vincent Yau wrote:
> lavrec --software-encoding --format=a -in --quality=80
> --geometry=720x480+0+0 --audio-bitsize=0 --time=60  ./test.avi
> ++ WARN: [lavrec] Not ready for capture (state = 0)!

This almost certainly means that you've hit some limitation that we
haven't seen before, since the 'not ready for capture' is basically an
internal assertion. Looking at the code, this implies that lavrec_main()
most likely failed (the return value isn't being checked in
lavrec.c:main()). Can you run with -v2 so we can see all messages and
see how far it goes?

Cheers,
Ronald

--
Ronald S. Bultje <[EMAIL PROTECTED]>





-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to