I think I might have bumped into a problem with the latest stable mjpegtools. I compiled (emerged, actually) mjpegtools with SDL support, and SDL has support for both OSS and ALSA. My box uses ALSA.


When I try capturing video, or playing captured video, I observe the following:

* I start lavrec/lavplay
* application hangs for about 15 seconds
* application exits with error message:

**ERROR: [lavrec] Error initializing Audio: Timeout waiting for audio initialization
++ WARN: [lavrec] Not ready for capture (state = 0)!


When I try playing with the U option of lavrec, the error message is sometimes replaced with another error message saying that the image dimensions are wrong (not a multiple of ...), while reporting a rediculously small image size (no, I don't do decimation).

Other audio software (including SDL ones) work just fine. Capturing with MEncoder also works perfectly. So, it appears that mjpegtools is to blame here. Lavrec/play do not *always* fail, sometimes they repeatedly run perfectly a few times and suddenly they start failing again. It's a bit random.

Now I re-compiled libDSL without OSS support, and re-compiled mjpegtools as well. It looks like that solved the problem.

Still, I think mjpegtools has a bug somewhere...

Cheers!

Dik


------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ Mjpeg-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to