Kodi Community Forum
Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: Intel VAAPI howto with Leia v18 nightly based on Ubuntu 18.04 server (/showthread.php?tid=231955)



RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-30

So. What counts? Or better said: what can we do to make those work?


RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-30

(2015-08-30, 06:44)fritsch Wrote: So. What counts? Or better said: what can we do to make those work?

Digging in the right place which is not avformat_find_stream_info. Data from video stream is parsed in ParsePacket. What's going wrong there?


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-30

(2015-08-30, 07:33)FernetMenta Wrote:
(2015-08-30, 06:44)fritsch Wrote: So. What counts? Or better said: what can we do to make those work?

Digging in the right place which is not avformat_find_stream_info. Data from video stream is parsed in ParsePacket. What's going wrong there?
Trac 16228 that we just got, might have a similar origin the. From the posted ffplay output, it seemed to me, that just more input data would be needed.


RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-30

16228 is mkv and therefor a different story.


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-30

(2015-08-30, 08:47)FernetMenta Wrote: 16228 is mkv and therefor a different story.

We use ffmpeg in a more or less generic way, some special casing for .ts. But kodi is only a client to ffmpeg, while ffplay, same scenario, succeeds.

I think we do something generic not fully right :-) no matter .ts, .mkv or mp3 audio track dtletection. I cannot proof it, though - just a non proven theory.


RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-30

shrugs. I don't have time to fix it myself but I do know how thing work. Take my guidance and fix it or investigate something else. sooner or later you will come back Smile


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-30

(2015-08-30, 09:19)FernetMenta Wrote: shrugs. I don't have time to fix it myself but I do know how thing work. Take my guidance and fix it or investigate something else. sooner or later you will come back Smile
Nobody told otherwise. One week to go, here.


RE: New Era: VAAPI with EGL interoperation - ix400 - 2015-08-30

(2015-08-27, 16:54)trsqr Wrote:
(2015-08-26, 23:57)FernetMenta Wrote: I have written all the EGL code and I did not port it back to 15.x. There is a good chance that errors happened on this task. If you can reproduce with my master, I will look into it but I don't waste time on 15.x. Just an offer.

I've tried before using the ppas here and did see the same. Also fritsch confirmed he saw the same decrease in memory after seek in post #326 though obviously I don't know which version he was running at the time. I will reproduce this asap early next week using the ppas in post #1 and link the logs here.

... is there an openelec kodi v16 testbuild with EGL-implementation available?Huh


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-30

No.


RE: New Era: VAAPI with EGL interoperation - ix400 - 2015-08-30

Too bad.


RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-30

(2015-08-30, 09:24)fritsch Wrote:
(2015-08-30, 09:19)FernetMenta Wrote: shrugs. I don't have time to fix it myself but I do know how thing work. Take my guidance and fix it or investigate something else. sooner or later you will come back Smile
Nobody told otherwise. One week to go, here.

Enjoy your holidays. I am busy with some other exiting work Smile

Image


RE: New Era: VAAPI with EGL interoperation - fritsch - 2015-08-30

"Die Axt im Haus ersetzt den Zimmermann" - good luck with it.


RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-08-30

(2015-08-30, 11:32)ix400 Wrote: Too bad.


I'm not able but why you don't compile it ?

on oe forum there is an how to

just curiosity.why do you need v16 that is an alpha state ?


RE: New Era: VAAPI with EGL interoperation - Roby77 - 2015-08-30

(2015-08-30, 11:51)FernetMenta Wrote:
(2015-08-30, 09:24)fritsch Wrote:
(2015-08-30, 09:19)FernetMenta Wrote: shrugs. I don't have time to fix it myself but I do know how thing work. Take my guidance and fix it or investigate something else. sooner or later you will come back Smile
Nobody told otherwise. One week to go, here.

Enjoy your holidays. I am busy with some other exiting work Smile

Image

are you cleaning low level code of ffmpeg ?Big Grin


RE: New Era: VAAPI with EGL interoperation - FernetMenta - 2015-08-30

(2015-08-30, 14:13)Roby77 Wrote: are you cleaning low level code of ffmpeg ?Big Grin

In deed Smile and there is the ts issue buried: https://github.com/FFmpeg/FFmpeg/blob/b3a56e60be30a7bcad203b52ee43cd4c698b4bd9/libavcodec/hevc_parser.c#L302
This assumption is wrong.