On Thu, Mar 03, 2005 at 06:31:42PM +0100, Jan Rottschaefer wrote:
> hi Richard,
> 
> so its is normal that 
> 
> lav2yuv +p testy.avi | mpeg2enc -f8 -b4000 -o testy.m1v
> 
> does not work with avi's larger than 2Gig and you can not do
> anything about that??

Yes.  At present it is a limitation of the particular version of the
.avi file format that the mjpegtools utilizes.

> I do not need to use streamer to do the recording. While browsing
> through the FAQ of mjpeg i found that the lavrec tool supports the
> splitting of avi files. Is this the right way to approach it??

Yes.  That is the mjpegtools way to work around the .avi 2G
limitation.  However, if you really want a single large file, you can
record to quicktime and everything will work (assuming you have
quicktime support compiled into your tools).  However, be warned that
if you do, and something glitches half way through, you'll have an
unusable file.  With multiple .avi's, you'll have at least the part
that was stored into all but the last .avi file.  And a little
trickery with dd can fix that last avi file enough to make it usable.

> I already tried that as a workaround but have a problem with lavrec
> recognizing the audio device:
> 
> |[EMAIL PROTECTED]:~/temp$ lavrec -w -f a -i t record%02d.avi
> **ERROR: [lavrec] Error initializing Audio: Audio task died. Reason: Error 
> mapping audio buffer - Input/output error

That sounds like the result when your soundcard/chipset does not
support mmap.  Try the --use-read switch.

> ( i am using the alsa mixer for an onboard SIS Ac97 soundcard).

No mmap support as of yet for that chipset.  So you need the
"--use-read" switch to lavrec.

> If i could get lavrec working i can skip streamer...but I do not
> know what is the problem with " |Error initializing Audio: Audio
> task died"

Try it with --use-read and it will likely work just fine.



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mjpeg-users mailing list
Mjpeg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mjpeg-users

Reply via email to