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 processing of odd video width #1269

Merged
merged 1 commit into from
Dec 6, 2019
Merged

Conversation

lkiesow
Copy link
Member

@lkiesow lkiesow commented Dec 3, 2019

Due to the selected chroma subsampling in combination with the libx264
video encoder, processing wideos using the fast test workflow fails if
the video has an odd resolution (e.g. 2560x1337).

This patch fixes the issue by cropping to the nearest even resolution is
these cases.

Your pull request should…

  • have a concise title
  • close an accompanying issue if one exists
  • be against the correct branch (features can only go into develop)
  • include migration scripts and documentation, if appropriate
  • pass automated testing
  • have a clean commit history
  • have proper commit messages (title and body) for all commits
  • have appropriate tags applied

Due to the selected chroma subsampling in combination with the libx264
video encoder, processing wideos using the fast test workflow fails if
the video has an odd resolution (e.g. 2560x1337).

This patch fixes the issue by cropping to the nearest even resolution is
these cases.
@lkiesow lkiesow added bug elan e.V. Pull requests originating from elan e.V. labels Dec 3, 2019
@lkiesow lkiesow changed the title Fix processing of odd video with Fix processing of odd video width Dec 3, 2019
@gregorydlogan
Copy link
Member

@lkiesow Can you link some demo media to tests against?

@lkiesow
Copy link
Member Author

lkiesow commented Dec 4, 2019

Sorry. Totally forgot about this.
This should probably fail right now but not with the patch applied:
https://data.lkiesow.io/opencast/3840x2161.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug elan e.V. Pull requests originating from elan e.V.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants