Skip to content

Support pixel format in RawVideo#14

Merged
FelonEkonom merged 8 commits intomasterfrom
support-pixel-format
Nov 27, 2025
Merged

Support pixel format in RawVideo#14
FelonEkonom merged 8 commits intomasterfrom
support-pixel-format

Conversation

@FelonEkonom
Copy link
Member

No description provided.

@FelonEkonom FelonEkonom self-assigned this Nov 24, 2025
@FelonEkonom FelonEkonom moved this to In Progress in Smackore Nov 24, 2025
@FelonEkonom FelonEkonom moved this from In Progress to In Review in Smackore Nov 24, 2025
end

defp maybe_plug_swscale_converter(builder, input_format, output_format) do
# output pixel format is nil when the transcoder outptu format was set to
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# output pixel format is nil when the transcoder outptu format was set to
# output pixel format is nil when the transcoder output format was set to

Comment on lines 40 to 43
if test_case.input_format == RawVideo and
test_case.output_format == {RawVideo, pixel_format: :RGB} do
@tag :xd
end
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something is either missing here or it's a leftover ;D

end

defp pixel_format(%RawVideo{pixel_format: pixel_format}), do: pixel_format
defp pixel_format(_encoded_video), do: :I420
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's quite a strong assumption that encoded video's pixel format of the input is :I420

@FelonEkonom FelonEkonom requested a review from varsill November 25, 2025 10:30
@FelonEkonom FelonEkonom merged commit b5c8caa into master Nov 27, 2025
3 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in Smackore Nov 27, 2025
@FelonEkonom FelonEkonom deleted the support-pixel-format branch November 27, 2025 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants