<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"><span style="font-size: 12pt;">> As far as I know there's nothing against the spec about that -- that</span><br></div><div style="font-family: 'times new roman', 'new york', times, serif;"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;">> happens all the time, like in the case of resolution changes and<br>> aspect ratio changes in broadcast television.  It *would* be a problem<br>> muxing to mp4, but (at least in those example cases), there's<br>> certainly nothing x264 could do about that!</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" class="yui_3_7_2_15_1356352895484_57"><br></div><div style="font-family: 'times new roman', 'new york',
 times, serif; font-size: 12pt;" class="yui_3_7_2_15_1356352895484_57">It's mentioned in the spec but it appears to be optional and I've never seen any other encoders do it.</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;" class="yui_3_7_2_15_1356352895484_57"><br></div><div class="yui_3_7_2_15_1356352895484_57"><div class="yui_3_7_2_15_1356352895484_57">"NOTE 2 – When feasible, encoders should use distinct values of seq_parameter_set_id when the values of other sequence </div><div class="yui_3_7_2_15_1356352895484_57">parameter set syntax elements differ rather than changing the values of the syntax elements associated with a specific value of</div><div class="yui_3_7_2_15_1356352895484_57">seq_parameter_set_id. "</div><div class="yui_3_7_2_15_1356352895484_57"><br></div><div class="yui_3_7_2_15_1356352895484_57">I think the convention in mp4 is just to write an SPS/PPS with the frame and continue. I
 suppose the mux could also make space in the header for</div><div class="yui_3_7_2_15_1356352895484_57">a second SPS/PPS and bump the id as Mashiat mentions.</div><br> </div> </div>  </div></body></html>