How to convert mismatching H264 formats

Hey,

I’ve had challenges converting between H264 formats. My understanding is that Membrane.H264.Parser can help solve this.

In this specific case I’m trying to solve, I believe the mismatch is in the stream_structure key - %Membrane.H264{stream_structure: {:avc3, <<...>>}} vs %Membrane.H264{stream_structure: :annexb}

Membrane.H264.Parser has no stream_structure key I can set so I’m not sure how to proceed

Is there a general (or specific) way to go about tackling this challenge?

Thanks!

PS: For context, I’m trying to pipe video input from an rtmp source into live compositor

Hi, there’s output_stream_structure option in the parser :wink: