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

Fix audio encoding on FFmpeg 4+ #698

Merged
merged 1 commit into from Jul 7, 2021
Merged

Conversation

jonoomph
Copy link
Member

@jonoomph jonoomph commented Jul 7, 2021

AVFrame was missing a few properties that need to be set in newer versions of FFmpeg. This is also compatible with FFmpeg 3+, based on my testing.

Closes: #676

…s that need to be set in newer versions of FFmpeg. This is also compatible with FFmpeg 3+.
@codecov
Copy link

codecov bot commented Jul 7, 2021

Codecov Report

Merging #698 (db7f0fb) into develop (dd85900) will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #698      +/-   ##
===========================================
+ Coverage    50.40%   50.41%   +0.01%     
===========================================
  Files          155      155              
  Lines        13291    13294       +3     
===========================================
+ Hits          6699     6702       +3     
  Misses        6592     6592              
Impacted Files Coverage Δ
src/FFmpegWriter.cpp 59.82% <100.00%> (+0.11%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd85900...db7f0fb. Read the comment docs.

@jonoomph jonoomph merged commit 95651fb into develop Jul 7, 2021
@jonoomph jonoomph deleted the fix-ffmpeg4-audio-encode branch July 7, 2021 18:28
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.

FFmpegReader test fails, the output file has no audio
2 participants