Improving bitrate & framerate #281
-
Hey guys, I just used Tesla Android today for the first time and it works well (unfortunately due to being in Australia, the browser cannot be used except while in park - but not relevant to the question). I noticed that the frame rate is not as smooth as possible (slightly choppy, guessing somewhere between 10-20fps) and there is visible color banding or blocking artifacts around certain text, indicative of perhaps low bitrate? I'm just wondering if this is some sort of hardware limitation or if there is still further optimisations/tweaking that can be done? I'm running a Pi 4B 4GB inside a Argon One V2 case so thermal throttling shouldn't be a factor. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
This has to do with the video in drive bypass, it affects performance since I cannot use the video tag. With the responsive display being finished I can get something better with h264 for those using Tesla Android in park/fullscreen. Like always, there are always improvements that I can do, I am on this train for over 18 months now 😄 |
Beta Was this translation helpful? Give feedback.
-
It won’t be hardware accelerated so it makes 0 sense. I have a h264 based solution baked into the OS now but it was worse in terms of performance than mjpeg. Tesla has enabled acceleration for this in chrome and that is the only reason why it runs well
Wysyłane z aplikacji Outlook dla systemu iOS<https://aka.ms/o0ukef>
…________________________________
Od: DVRTech ***@***.***>
Wysłane: Saturday, August 26, 2023 10:46:48 PM
Do: tesla-android/issue-tracker ***@***.***>
DW: Michał Gapiński ***@***.***>; Comment ***@***.***>
Temat: Re: [tesla-android/issue-tracker] Improving bitrate & framerate (Discussion #281)
I was playing with ideas for just video playback, have you considered MPEG1 instead? I was exploring https://jsmpeg.co/
—
Reply to this email directly, view it on GitHub<#281 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAHDCBZA6N4E57ZL2WGARA3XXJODRANCNFSM6AAAAAAZT2CW5I>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
The next performance breakthrough is on the pi side in the gpu drivers and their virtual display implementation. It won’t gain much more fps- we are reaching a limit of what you can do without the video tag and that is the only thing that works in motion. I tested every possible combination in the last two years 😅
Wysyłane z aplikacji Outlook dla systemu iOS<https://aka.ms/o0ukef>
…________________________________
Od: Michał Gapiński ***@***.***>
Wysłane: Saturday, August 26, 2023 10:48:39 PM
Do: tesla-android/issue-tracker ***@***.***>; tesla-android/issue-tracker ***@***.***>
DW: Michał Gapiński ***@***.***>; Comment ***@***.***>
Temat: Re: [tesla-android/issue-tracker] Improving bitrate & framerate (Discussion #281)
It won’t be hardware accelerated so it makes 0 sense. I have a h264 based solution baked into the OS now but it was worse in terms of performance than mjpeg. Tesla has enabled acceleration for this in chrome and that is the only reason why it runs well
Wysyłane z aplikacji Outlook dla systemu iOS<https://aka.ms/o0ukef>
________________________________
Od: DVRTech ***@***.***>
Wysłane: Saturday, August 26, 2023 10:46:48 PM
Do: tesla-android/issue-tracker ***@***.***>
DW: Michał Gapiński ***@***.***>; Comment ***@***.***>
Temat: Re: [tesla-android/issue-tracker] Improving bitrate & framerate (Discussion #281)
I was playing with ideas for just video playback, have you considered MPEG1 instead? I was exploring https://jsmpeg.co/
—
Reply to this email directly, view it on GitHub<#281 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAHDCBZA6N4E57ZL2WGARA3XXJODRANCNFSM6AAAAAAZT2CW5I>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
This has to do with the video in drive bypass, it affects performance since I cannot use the video tag. With the responsive display being finished I can get something better with h264 for those using Tesla Android in park/fullscreen.
Like always, there are always improvements that I can do, I am on this train for over 18 months now 😄