I need to find a way or code that can combine multiple slices (NAL units) into a single slice per video frame
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.
Can anybody suggest something to do that? It would be best if there are some code that can do that, like open sources.
Thanks