-
Notifications
You must be signed in to change notification settings - Fork 371
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
Update FFmpeg presets for Rockchip boards #1203
base: master
Are you sure you want to change the base?
Conversation
@AlexxIT I know you are not able to test these changes. Is there some way we can still implement them? |
I'm busy for the next two weeks |
Hello all,
Even with this I didnt note any inprovement on decoding or encoding on hw for go2rtc...but frigate is using rkrga without problems.
Is there any way to force Go2RTC to use HW for decoding and encoding ? How can I debug it? Another comment: Best regards, |
Hey @bugui2007, do you have a section like:
You are just defining some presets. Do you use them when defining your streams? Do you see any video from go2rtc? If you do this correctly, you force go2rtc to use hw accel. It won't fallback to software. Either it works and uses hardware or it will crash. You can use
Btw. you can use the exec command to start ffmpeg with custom commands. You don't need to mess with the presets:
|
see #979
./ffmpeg ...
. No need to install any libraries or dependencies. You need to run linux with up to date kernel drivers though. I recommend ubuntu-rockchip if your board is supported.:force_original_aspect_ratio=0
to the scale command to allow rescaling. No other preset does this afaik, but I know that some frigate users want to change their aspect ratio