[XviD-devel] xvid encoding bug?
pross@xvid.org
pross at xvid.org
Wed May 7 13:47:49 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, May 06, 2008 at 06:14:01AM -0700, reno reballos wrote:
> I just wanna share this with you, i am encoding video stream directly from my web cam and i can encode the stream into file already and i even can play back the file encoded using xvid CODEC, but now one thing that i noticed in the encoding process is that, when i reached the 150 frames of encoding, the play back of the encoded file becomes crazy, in effect the playback is like fast forward, i mean lots of dropped frames, thus many frames were not written into file... is this a bug? or i am just having mis management of the buffers, but i release the buffer every loop that i have, therefore my process of encoding and writing to file would be like this...
> 1. grab data then store it to buffer
> 2. encode the data from buffer using xvid
> 3. write the encoded data
> 4. finally empty the buffers.
> 5. then back to process #1 till #5, looping through so long as i wanted to encode from my web cam
>
> i wonder why it behaves this way... isn't it that the encoder is being overflowed by the rushing of data? or something else which i dont know as a beginner?
>
> please if anyone has got idea please share..i would gladly appreciate it...
> have a good day ahead...
Please check to ensure that the output bitstream buffer is sufficiently large.
(this buffer is allocated by your program/application).
It is difficult to diagnose your problem without further information.
e.g.
- - input resolution and rate frate
- - which rate control mechanism
- - target bit rate
- -- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIIZblZ2B5xaxA3WsRAvKNAJ0Vk/fUMcw3kRByb68Qb9E7/yOjfgCgxUgV
tYq7maxrvLdEYHMUspd9NIQ=
=NSeI
-----END PGP SIGNATURE-----
More information about the XviD-devel
mailing list