Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to specify FFmpeg encoding parameters #114

Merged
merged 5 commits into from
Sep 18, 2024

Conversation

varsill
Copy link
Contributor

@varsill varsill commented Aug 22, 2024

No description provided.

@varsill varsill requested a review from mat-hek August 22, 2024 10:43
c_src/membrane_h264_ffmpeg_plugin/encoder.c Outdated Show resolved Hide resolved
Comment on lines 126 to 129
for(unsigned int i=0; i<ffmpeg_options_length; i++)
{
av_dict_set(&params, ffmpeg_options[i].key, ffmpeg_options[i].value, 0);
}
Copy link
Member

Choose a reason for hiding this comment

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

make sure that these options override the other options

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It indeed does ;)

lib/membrane_h264_ffmpeg/encoder.ex Outdated Show resolved Hide resolved
@varsill varsill requested a review from mat-hek August 23, 2024 13:24
lib/membrane_h264_ffmpeg/encoder.ex Outdated Show resolved Hide resolved
@varsill varsill merged commit f13fc93 into master Sep 18, 2024
3 checks passed
@varsill varsill deleted the add_ffmpeg_options branch September 18, 2024 08:58
@varsill varsill restored the add_ffmpeg_options branch September 18, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants