Re: Fw: Fw: libxvidcore decompression
reno reballos <[email protected]>
| Newsgroups | gmane.comp.video.xvid.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Master Stephan Assmus, <You did not commented on my point that you might have to call xvid_decore() <*multiple* times until you can use a frame in the output buffer. See my <other mail i have tried this method but, still i got no output data from the xvid_dec_frame.output.plane[0], i have follow closely the decoding process and assigns values in it like what xvid_decraw did and also the link that you've given me.... <Are you calling xvid_decore() multiple times in a loop and <feeding it new data, checking the decoder stats after each time to see if <you have decoded the first frame successfully? yes, i tried this method too and i got no data too, i check the xvid_dec_stats.data.vol.height and xvid_dec_stats.data.vol.width, yes, it does give me the width and the height corresponding to the width and height that the input file that i have, which means decoder was able to determine the video resolution which means too that i have input data but in return does not gave me an input isn't that i have to call XVID_GBL_INIT, XVID_DEC_CREATE and XVID_DEC_DECODE every time i decode or i have to call XVID_GBL_INIT, XVID_DEC_CREATE once and XVID_DEC_DECODE whenever i have frame to decode and XVID_DEC_DESTROY when i do finish the decode, right now in my application i call XVID_GBL_INIT, XVID_DEC_CREATE and XVID_DEC_DECODE whenever i decode a frame.. <I thought you wanted to calculate the uncompressed frames requirements. <For the compressed stream, it is a function of how you setup the xvid <encoder. is there a formula or basis to this that i can calculate in advance how much data i will have whenever i compress a frame and also in the decoding, how can i know that i have decode 1 single frame? thank you..looking forward to hear from you... regards, reno ----- Original Message ---- From: Stephan Assmus <[email protected]> To: [email protected] Sent: Thursday, April 24, 2008 6:27:25 PM Subject: Re: [XviD-devel] Fw: Fw: libxvidcore decompression reno reballos wrote: > Hi Master Stephan Assmus, > > thank you for the very comprehensive reply... thank you for the effort > you put up in replying to my email... > > <I am not sure what you mean by "output stream" > ---"output stream", what i mean is the output stream of this structure > xvid_dec_frame.output.plane[0] = output_stream_buffer<---- decompression > output, in here i got no value but "IIIIIIIIIIIIII", one thing that i > noticed in here is that when i include the xvid_dec_stats_t structure i > dont have an output.. why it's happening this? You did not commented on my point that you might have to call xvid_decore() *multiple* times until you can use a frame in the output buffer. See my other mail. Are you calling xvid_decore() multiple times in a loop and feeding it new data, checking the decoder stats after each time to see if you have decoded the first frame successfully? > unlike the encoder , when i execute the encoding i got an output from > this structure frame.bitstream = output_stream;<----compression output, > in here i got an output ____________________________________________________________________________________ Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ