Kplayer/gst-streamer & VP9 HW Acceleration

Post Reply
jerrie85
Posts: 3
Joined: Sun Dec 01, 2019 4:16 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Kplayer/gst-streamer & VP9 HW Acceleration

Post by jerrie85 »

I built a buildroot following the instructions here with the intention of trying out HEVC and VP9 4K clips and seeing if I can play them back using command-line tools.

I tried both gst-streamer and kplayer. They were able to play the HEVC 4K clip smoothly and without issue, but the VP9 clip unfortunately didn't play (kplayer crashed)

Is this expected?

Clips:
HEVC: https://drive.google.com/open?id=0BwxFV ... kltckdZZ0k
VP9: https://mega.nz/#!hJdFEIBI!uSOjZtkkjIVY ... f47pCtFvdQ

Both clips are from the Kodi Samples site.

jerrie85
Posts: 3
Joined: Sun Dec 01, 2019 4:16 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Kplayer/gst-streamer & VP9 HW Acceleration

Post by jerrie85 »

To add, I can play back both clips perfectly if I use CoreELEC + Kodi, so I know the SW is capable of decoding VP9 just fine. Am I using the wrong applications to play them back?

User avatar
rooted
Posts: 8116
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 727 times
Been thanked: 270 times
Contact:

Re: Kplayer/gst-streamer & VP9 HW Acceleration

Post by rooted »

Likely an area no one has explored, I've not seen anyone talking about using buildroot.


jerrie85
Posts: 3
Joined: Sun Dec 01, 2019 4:16 pm
languages_spoken: english
ODROIDs: Odroid N2
Has thanked: 0
Been thanked: 0
Contact:

Re: Kplayer/gst-streamer & VP9 HW Acceleration

Post by jerrie85 »

As an update, I was able to get kplayer to play my VP9 MKV file after I converted it to a raw, IVF file.

I used ffmpeg to convert the MKV to a IVF:

Code: Select all

ffmpeg -i original.mkv -vcodec copy original.ivf
It played back perfectly smoothly.

Looking through the Kodi source code, it's clear they have written their own video playback interface plugin to utilize the amcodec library similar to how kplayer does as well. They are not utilizing ffmpeg or gstreamer to do the decoding (which is interesting, since there is a gstreamer plugin for the amcodec).

User avatar
rooted
Posts: 8116
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 727 times
Been thanked: 270 times
Contact:

Re: Kplayer/gst-streamer & VP9 HW Acceleration

Post by rooted »


jerrie85 wrote: Looking through the Kodi source code, it's clear they have written their own video playback interface plugin to utilize the amcodec library similar to how kplayer does as well. They are not utilizing ffmpeg or gstreamer to do the decoding (which is interesting, since there is a gstreamer plugin for the amcodec).
Which Kodi version source did you check? My understanding is they have now moved (moving?) away from the amcodec method to using ffmpeg with hardware extensions enabled. I think CoreELEC still uses amcodec and that's why Kodi runs so well there, but I could be mistaken.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 0 guests