title: how to combine/merge slices into one slice per video frame (h.264)
body: <p>I need to find a way or code that can combine multiple slices (NAL units) into a single slice per video frame</p>
  
  <p>I have some clips. Most of their frames are encoded with multiple slices per frame using H.264 but it triggers some problems on our decoders, which we can't change or modify but the decoder works fine if it's a single slice per frame. I tried FFmpeg to combine multiple slices into one but I hadn't found any way to do that. </p>
  
  <p>Can anybody suggest something to do that? It would be best if there are some code that can do that, like open sources. </p>
  
  <p>Thanks</p>