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

preview-mp4 encoding profile discards channel layout (which the waveform operation then can't handle) #5666

Open
JulianKniephoff opened this issue Mar 6, 2024 · 0 comments
Labels

Comments

@JulianKniephoff
Copy link
Member

JulianKniephoff commented Mar 6, 2024

Chucking this MKV with 5.1 sound (which is properly recognized by ffprobe) into Opencast generates an MP4 with unknown channel layout from the preview-mp4 encoding profile. (ffprobe just shows "6 channels")

This is weird in and of itself, but it also in turn trips up the waveform operation, which apparently can't handle files with unknown channel layouts.

An easy workaround would be to just downmux the preview video to stereo or something like that. We can of course do that in our default config (for the waveform service and/or the encoding profiles), but to provide a generic solution I think we would have to teach encoding profile and the waveform service about audio channels ... 🤔

Or we fix ffmpeg bc I think both of those behaviors (discarding the layout and needing it for showwavepic) are weird. 👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant