thanks a lot, Mike.

can you tell whey h264 doesnt support this option? as far as i know it was
supported in the past (e.g. 2007), i wonder why it's changed.

another question is can i use MPEG4 decoder for that purpose?

Doron

On Thu, Nov 18, 2010 at 2:02 AM, Mike Scheutzow <[email protected]>wrote:

> doron jacoby wrote:
>
>> Hi,
>>
>> I am trying to view video stream which was generated using x264, with
>> multislice enabled. for some reason, i fail to watch the stream using my a
>> viewer which is based on FFMPEG.
>>
>> On the client side i got lots of errors: [h264 @ 0xaaa05c00] concealing
>> 1536
>> DC, 1536 AC, 1536 MV errors
>>
>> Looking in my client software, i saw that during decoder initialization i
>> check if it support CODEC_CAP_TRUNCATED, and it doesn't.
>>
>> When i used older FFMPEG lib, everything works fine; CODEC_CAP_TRUNCATED
>> was
>> supported, and multislice works fine.
>>
>> i am using latest x264 and FFMPEG code, compile and run them on Windows,
>> using Msys for compilation.
>>
>> Can anyone think of a reason why it's not working? can anyone explain what
>> is CODEC_CAP_TRUNCATED
>>
>
> For a decoder, CODEC_CAP_TRUNCATED means that it can accept partial
> compressed data (i.e. not aligned with picture start/end.) So you can feed
> it short little packets if that is convenient. However, if this bit is not
> set, you must feed the decoder one single complete compressed picture at a
> time.
>
> In the case of H264, you should now use the H264 parser to pre-process the
> incoming stream. The H264 parser knows how to gather multiple short packets
> to create a complete NALU, which your code can then give to the H264
> decoder.
>
> Mike Scheutzow
>
>
> _______________________________________________
> libav-user mailing list
> [email protected]
> https://lists.mplayerhq.hu/mailman/listinfo/libav-user
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to