[FFmpeg-devel] [PATCH] Improved analysis of h264 bitstreams with no B frames

Michael Niedermayer michaelni at gmx.at
Sat May 7 21:14:44 CEST 2011


On Sat, May 07, 2011 at 12:03:48PM -0400, Mike Scheutzow wrote:
> The attached patch improves analysis of h264 bitstreams with no B frames.
>
> The SPS constraint_set0_flag indicates that the bitstream is baseline  
> profile,
> which means the stream has no B-pictures.  I verified that this patch  
> fixes trac0088.
>
> Mike Scheutzow
>
>

>  h264.c |    1 +
>  1 file changed, 1 insertion(+)
> 3b0244911038f550c540beeeabbdf2667499c5dd  h264-detect-no-b-v1.patch
> From c8ecc9954893a5e156c5972ee8e14c0a0c358b37 Mon Sep 17 00:00:00 2001
> From: Mike Scheutzow <mjs973 at optonline.net>
> Date: Sat, 7 May 2011 11:43:31 -0400
> Subject: [PATCH] Improved detection of h264 bitstream with no B frames
> 
> The sps.constraint_set0_flag indicates that the bitstream is baseline profile,
> which means the stream has no B-pictures.  This patch fixes trac0088.

sps.constraint_set_flags&1 indicates no B frames
but no B frames does not implicate low_delay=1.

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20110507/4c841a33/attachment.asc>


More information about the ffmpeg-devel mailing list