membraneframework / membrane_h264_ffmpeg_plugin

Membrane H264 decoder and encoder based on FFmpeg and x264

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allow SPS and PPS data to be passed in at initialization time

ConnorRigby opened this issue · comments

RTSP and raw h264 encoded files send the SPS and PPS data out of band, and they need to be loaded into the ffmpeg env before frames come in.

allowing a optional option during initializing the decoder would allow loading these values:

%Membrane.Element.FFmpeg.H264.Decoder{sps: <<0,0,0,1,......>>, pps: <<0,0,0,1,.....>>>}

CLosed via #7