Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 22nd March 2011, 00:29   #1  |  Link
videophool
Registered User
 
Join Date: Nov 2008
Posts: 91
Problems parsing AVC SEI Message

The SEI data bytes are as follows:

0000000106001180009B4500000300000300009B450000030000403FFFFFFFC000309080080000030008800000000165

I have interpreted the bytes as follows:

0000000106
NAL Start code for SEI Message

00 11 80009B4500000300000300009B45000003000040
The first SEI message: Type = 00 (Buffering payload) size == 0x11 bytes (17 bytes).

3F FFFFFFC0 0030908008000003000880
This is presumably the second SEI message. The type is 3F , which is not a defined SEI message. From the spec, I understand that this should be parsed as a ‘reserved_sei_message’. However, note the size bytes of the SEI FFFFFFC0. This means that the SEI payload size is 3x255 + C0, or 957 bytes (0x3BD). However, you can see that there are only 11 bytes, followed by the Slice NAL start code (00 00 00 01 65).

My first thought was that this was a stream corruption (a 3rd party analyzer is also complaining about the SEI). However, I have two different streams (out of tens of thousands of encodes) that have the exact same data bytes following the buffering period SEI. The problem is not random corruption. Seems to be a problem with the encoder.

Any thoughts or help would be greatly appreciated.

Last edited by videophool; 22nd March 2011 at 00:45.
videophool is offline   Reply With Quote
Old 22nd March 2011, 02:45   #2  |  Link
kieranrk
Registered User
 
Join Date: Jun 2009
Location: London, United Kingdom
Posts: 707
Upload a sample.
kieranrk is offline   Reply With Quote
Old 22nd March 2011, 07:42   #3  |  Link
videophool
Registered User
 
Join Date: Nov 2008
Posts: 91
The sample bytes are in my original message. I don't see the need to upload any more data. Other than the troublesome bytes in the SEI, the stream is intact. Pretty sure that this is an encoder bug.
videophool is offline   Reply With Quote
Old 22nd March 2011, 08:25   #4  |  Link
kieranrk
Registered User
 
Join Date: Jun 2009
Location: London, United Kingdom
Posts: 707
Well it means i can stick it in a program that can do all the parsing and spit out where the problem is.
kieranrk is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:10.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.