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 2nd December 2014, 18:08   #1  |  Link
picturebuffer
Registered User
 
Join Date: Dec 2012
Posts: 8
X264 - Howto insert consecutive SPS/PPS

If I see that correctly, a SPS/PPS NAL is written once into a x264 bitstream per default before the first IDR Frame in the Stream. I didn`t find a cli-trigger to have them written before every IDR Frame throughout the stream.

Anybody here know if that is possible without modifying the code?
picturebuffer is offline   Reply With Quote
Old 2nd December 2014, 19:45   #2  |  Link
MasterNobody
Registered User
 
Join Date: Jul 2007
Posts: 546
By default x264 cli insert SPS/PPS NALs before every keyframe (IDR-frame) if you output to raw (Annex B) H.264 elementary stream. If you output to MKV/MP4/FLV than you will have SPS/PPS only ones because this formats mandates global headers.
MasterNobody is offline   Reply With Quote
Old 3rd December 2014, 12:34   #3  |  Link
picturebuffer
Registered User
 
Join Date: Dec 2012
Posts: 8
So true. Thanks!
picturebuffer 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 22:02.


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