fragsize of 4088 bytes?

Gerben Wijnja <[email protected]>
Newsgroups gmane.comp.video.mjpeg.devel
Message-ID <1177324035.10304.10.camel@pjurkje>
Hi,

Today I recorded a video and was going to cut it with glav, but...

$ glav ra.eli
++: **ERROR: [lavplay] Error initializing Audio: Audio task died.
Reason: Error Soundcard fragment size unexpected
++: lavtools version 1.9.0

Using -U didn't help, it gives the same error.

So I looked up audiolib.c to find out why I get this error and inserted
a line after line 776 to show me the fragsize and audio_buffer_size:

if (info.fragsize != audio_buffer_size) {
	mjpeg_warn("Fragsize: %d, Audio buffer size: %d", info.fragsize,
audio_buffer_size); // I added this line
	system_error("Soundcard fragment size unexpected",fd,0);
}

The result was:

$ glav ra.eli
++: ++ WARN: [lavplay] Fragsize: 4088, Audio buffer size: 4096
++: **ERROR: [lavplay] Error initializing Audio: Audio task died.
Reason: Error Soundcard fragment size unexpected
++: lavtools version 1.9.0

Where does this size of 4088 bytes come from? Where did the other 8
bytes go? I don't have clue where to go from here. I'm working with a
Creative Labs SB Audigy LS and a Buz card.

Thanks in advance,
Gerben


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.