Re: about MEDIATYPE_Video and MEDIATYPE_Stream

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



On Jun 21, 3:56 am, fungi8210 <fungi8...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
Hi,
I have a question about the difference between MEDIATYPE_Video and
MEDIATYPE_Stream.
I have a decoder which accepts both type, understandably MEDIATYPE_Video
accepts video data frame by frame.
But I don't understand what kind of data MEDIATYPE_Stream is. Is it just
an arbitrary length of bitstream? How does the decoder determine how much
bitstream to accept at a time?

thanks!

You will find MEDIATYPE_Stream for example when reading a mpeg file.
The parser or decoder either request a specific length of data from
the reader (in pull mode), or just receives whatever the reader pushes
to it. It detects specific byte patterns in the stream to determine
when to begin decoding, GOP, etc....

.



Relevant Pages

  • Re: Next year hdtv law comes into effect
    ... decoder must decode that and then scale it down to SD resolution. ... couldn't interpret the HD bitstream it couldn't output anything. ... All ATSC decoders must be able to accept _ALL_ available ATSC table ... if they did make separate devices "8-VSB demodulator" and "ATSC decoder" ...
    (alt.tv.tech.hdtv)
  • Re: JPEG file internal structure
    ... Decoding resumes at an incorrect position because the decoder ... assuming the bitstream is corrupted at only one spot, ...
    (rec.photo.digital)
  • Worst case H.264 CABAC testing
    ... I want to test a H.264 CABAC decoding engine for the worst-case. ... Is there any bitstream available that I can use for testing the worst ... specific CABAC decoder can achieve required throughput in the worst ...
    (comp.compression)