membraneframework / membrane_core

The core of the Membrane Framework, multimedia processing framework written in Elixir
https://membrane.stream
Apache License 2.0
1.31k stars 39 forks source link

Refactor stream format error message #874

Closed FelonEkonom closed 3 weeks ago

FelonEkonom commented 1 month ago

Refactor Stream format error message, so the list of accepted formats won't look like in the error below

%Membrane.StreamFormatError{message: "Stream format: %Membrane.H265{width: 480, height: 270, profile: nil, alignment: :au, nalu_in_metadata?: false, framerate: nil, stream_structure: {:hev1, <<1, 1, 96, 0, 0, 0, 144, 0, 0, 0, 0, 0, 63, 240, 0, 252, 253, 248, 248, 0, 0, 15, 4, 32, 0, 1, 0, 24, 64, 1, 12, 1, 255, 255, 1, 96, 0, 0, 3, 0, 144, ...>>}} is not matching accepted format pattern "RawVideoH264VP8" in def_input_pad\nfor pad :input in Boombox.Transcoders.Video\n"}

(... pattern "RawVideoH264VP8" in def_input_pad ...)