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

Naming and settings fixes #304

Merged
merged 12 commits into from
Mar 15, 2021
Merged

Naming and settings fixes #304

merged 12 commits into from
Mar 15, 2021

Conversation

IanButterworth
Copy link
Member

@galenlynch if we rename container_settings->container_options do we also want to:

change

 container_settings::SettingsT = (;),
 container_private_settings::SettingsT = (;),
 encoder_settings::SettingsT = (;),
 encoder_private_settings::SettingsT = (;),

to

 container_options::OptionsT = (;),
 container_private_options::OptionsT = (;),
 encoder_options::OptionsT = (;),
 encoder_private_options::OptionsT = (;),

Note OptionsT

@galenlynch
Copy link
Collaborator

That seems right to me!

@galenlynch
Copy link
Collaborator

One comment about the documentation: true lossless encoding no longer requires libx264rgb. I haven't tested that's it's completely lossless, but VideoIO now supports YUV444 encoding, not just YUV420, which at least avoids the chroma subsampling.

@IanButterworth
Copy link
Member Author

IanButterworth commented Mar 15, 2021

I kept the renames as individual commits, so let me know if any should be dropped

true lossless encoding no longer requires libx264rgb

This would be good to write up for the docs. Edit: oh right, that was your point.. would you mind writing that up?

@galenlynch
Copy link
Collaborator

Sure!

@codecov
Copy link

codecov bot commented Mar 15, 2021

Codecov Report

Merging #304 (bc24506) into master (5482491) will not change coverage.
The diff coverage is 75.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #304   +/-   ##
=======================================
  Coverage   82.35%   82.35%           
=======================================
  Files          17       17           
  Lines        1196     1196           
=======================================
  Hits          985      985           
  Misses        211      211           
Impacted Files Coverage Δ
src/VideoIO.jl 53.33% <ø> (ø)
src/avio.jl 81.25% <ø> (ø)
src/frame_graph.jl 99.18% <50.00%> (ø)
src/encoding.jl 93.20% <75.00%> (ø)
src/avptr.jl 69.47% <100.00%> (ø)

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 5482491...bc24506. Read the comment docs.

Copy link
Collaborator

@galenlynch galenlynch left a comment

Choose a reason for hiding this comment

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

I made a PR against this branch with my suggestions.

@IanButterworth IanButterworth merged commit 903ba67 into master Mar 15, 2021
@IanButterworth IanButterworth deleted the IB/renames branch March 15, 2021 19:59
@galenlynch
Copy link
Collaborator

One comment about the documentation: true lossless encoding no longer requires libx264rgb. I haven't tested that's it's completely lossless, but VideoIO now supports YUV444 encoding, not just YUV420, which at least avoids the chroma subsampling.

I just tested it and libx264 is not lossless even when crf=0. I don't know this is due to some colorspace problem, or instead something else on our end, but there's lots of off-by-one errors. I could probably also try with actual mpeg-range input, but that's probably beyond the pale for top-level documentation.

@IanButterworth
Copy link
Member Author

Even with color_range=2? That's required for Gray, so might be needed for RGB

@galenlynch
Copy link
Collaborator

galenlynch commented Mar 15, 2021 via email

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