-
Notifications
You must be signed in to change notification settings - Fork 12
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 transcoding to AV1 to default set #155
base: master
Are you sure you want to change the base?
Add transcoding to AV1 to default set #155
Conversation
2b9dbab
to
0b21001
Compare
For this to work in production, a new fileformat 'av1' must be added. Fixes Frikanalen#127
0b21001
to
2712ba8
Compare
The travis test fail with "Unknown encoder 'libaom-av1'" because ffmpeg on the test machine is too old. I suspect the same is the case on the transcoding host, so we need to upgrade both before we put this change into production. |
I also guess this will be slow as molasses. Maybe add a special field to the Video that decides whether it should do this or not? Well, actually, we don't really have a lot of traffic, just NUUG and P7, so it can probably use a lot of time to churn on that. But this might be something we have to ax or throttle if we start getting more people running. I've wanted to split move_and_process responsibilities to also have a But the nice thing is that we don't really have to do it, yet, since we're not seeing these problems yet. But it's good to have in the back of our minds so our designs doesn't shut the possibility out later. |
I guess the daemon should be able to run several transcoders in the background and in parallell, to avoid blocking completely while a slow transcoder is running. It would reduce the impact on horribly slow transcoders as the av1 one. |
My loose plan is just to run several instances of the same program. We can
easily nice it and also say a program should do --only-mime video/ogv or
some such.
The moving part should then be split out of course, and the way it picks
jobs is a bit different.
Whay do you think?
|
I suspect it is best to have one controller for all transcoding, to reduce the chance of overloading the machine with too many parallell processes. Perhaps it is better to extend the 'period' system(#159) to run background processes, and do av1 transcoding when there is little else to do? |
Not overloading the machine is the kernel's job. :) We'll just have a niceness on all the processes. It shouldn't be a big problem to always have some jobs running - the scheduler of the OS will make sure important things gets done timely enough. But it's possible to do it during idle as well. We'll just do whatever is simplest and iterate when we get to the point. 🤷♂️ |
c7c2555
to
07e723c
Compare
119e859
to
7be51bb
Compare
f5a0372
to
be4abc6
Compare
5722888
to
383e2d4
Compare
For this to work in production, a new fileformat 'av1' must be
added.
Fixes #127