Kodi Community Forum
HEVC (also known as h.265) - Review - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222)
+--- Forum: Kodi related discussions (https://forum.kodi.tv/forumdisplay.php?fid=6)
+--- Thread: HEVC (also known as h.265) - Review (/showthread.php?tid=170084)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28


RE: HEVC (also known as h.265) - Review - fritsch - 2014-09-29

Name some advantages..


RE: HEVC (also known as h.265) - Review - un1versal - 2014-09-29

(2014-09-29, 09:31)nickr Wrote: Don't worry, it is often hard to understand uNi's posts LOL.

I think he is suggesting that you become a ffmpeg developer, backport all of openhevc into ffmpeg, and eventually the code will make it's way into xbmc/kodi.

So sometime in about 3 years...

Sometimes the reluctance of XBMC to take patches that aren't put into core ffmpeg can be frustrating, but the dev team is not really in a position to cherry pick patches from openhevc, libav and a score of other specialised ffmpeg offshoots. Shame, because the best of all projects would be a wonder, but it's not really XBMC's mission, or within it's ability to do.

Only if it takes 3 years for those changes to go into ffmpeg, In kodi V14 ffmpeg has been bumped 3 times (at very least) and is now at ffmpeg v 2.4 that's 3 times within a few months. Your 3 years comment would have been true at around pre-gotham, now its almost been trivialized.


Re: RE: HEVC (also known as h.265) - Review - nickr - 2014-09-29

(2014-09-29, 11:37)uNiversal Wrote:
(2014-09-29, 09:31)nickr Wrote: Don't worry, it is often hard to understand uNi's posts LOL.

I think he is suggesting that you become a ffmpeg developer, backport all of openhevc into ffmpeg, and eventually the code will make it's way into xbmc/kodi.

So sometime in about 3 years...

Sometimes the reluctance of XBMC to take patches that aren't put into core ffmpeg can be frustrating, but the dev team is not really in a position to cherry pick patches from openhevc, libav and a score of other specialised ffmpeg offshoots. Shame, because the best of all projects would be a wonder, but it's not really XBMC's mission, or within it's ability to do.

Only if it takes 3 years for those changes to go into ffmpeg, In kodi V14 ffmpeg has been bumped 3 times (at very least) and is now at ffmpeg v 2.4 that's 3 times within a few months. Your 3 years comment would have been true at around pre-gotham, now its almost been trivialized.

Some of that was based around the time it would take a lone developer to get the patches from openhevc into ffmpeg. Some was poetic license. Some was reality.

I wasn't aware that xbmc was resyncing ffmpeg that often these days. Kudos.


RE: HEVC (also known as h.265) - Review - un1versal - 2014-09-29

Im still pretty sure its a cry for no reason, I'll just imagine that same way the current hevc support turned up in ffmpeg so in time will the remainder, so there at least there must be one or more individuals working on that, add another I think already would be a less terse and elongated process. (assuming some competence and cooperation)

Within less than a year of announcement and HEVC is already by enlarge supported in Kodi... Nothing short of staggering and amazing. Discussions not going to make that faster imo.

The idea/suggestion that somehow would be better for openhevc -> ffmpeg development to take place in a fork rather than upstream is hardly going to do anything but start eroding on effort and energy that could already be channelled into correct way of doing things.

(2014-09-29, 09:26)fritsch Wrote: It's quite easy. fork ffmpeg to github, make a prerelease. Change FFMPEG-VERSION within xbmc source tree -> done.

That sounds simple even to me, and Im not a developer.


RE: HEVC (also known as h.265) - Review - zag - 2014-09-29

Yep we are on a very recent version of ffmpeg now.


RE: HEVC (also known as h.265) - Review - fritsch - 2014-09-29

That's not a cry for no reason. He has clearly proved that openhevc branch is 1.6 times faster which will make a difference of course. But I also tried to explain why we cannot care for 100K lines of code from a branch that is miles away of official ffmpeg otherwise.


RE: HEVC (also known as h.265) - Review - un1versal - 2014-09-29

(2014-09-29, 12:43)fritsch Wrote: That's not a cry for no reason. He has clearly proved that openhevc branch is 1.6 times faster which will make a difference of course. But I also tried to explain why we cannot care for 100K lines of code from a branch that is miles away of official ffmpeg otherwise.

One more reason he should then join efforts with the person/people doing the port openhevc to ffmpeg upstream.


RE: HEVC (also known as h.265) - Review - giaur - 2014-09-29

(2014-09-29, 12:43)fritsch Wrote: That's not a cry for no reason. He has clearly proved that openhevc branch is 1.6 times faster which will make a difference of course.
Indeed. On my hardware it's even 2x faster. Actually, there is no any big problem with hevc 23/25 fps (if you have at least core i5 CPU). But 60 fps progressive and also 10-bit color depth will kill xbmc current hevc decoder used in Kodi, even on newest core i7. So far, it's future but 2... 3 years and we will have hevc 60 fps eveywhere. Newest smartphones, digital tv (4k/hevc - 60 fps progressive).

I don't mean to force devs to apply that patches to xbmc immediately, I just provided some things to consider. Regarding to hevc support. With test/benchmarks etc.


RE: HEVC (also known as h.265) - Review - Hedda - 2014-09-29

Can someone here compile and provide a build of latest Kodi master for Android with the patches from pull request #5374 merged in?

https://github.com/xbmc/xbmc/pull/5374

This is suppose to add initial HEVC / H.265 HW decode support for StageFright and MediaCodec so would be nice to test it too.

http://forum.xbmc.org/showthread.php?tid=175626&pid=1803826#pid1803826
(2014-09-29, 13:41)Hedda Wrote:
(2014-09-15, 09:18)Hedda Wrote: It appers that the a first initial patch for Rockchip RK3288 hardware HEVC/H265 decoding on Android (StageFright and MediaCodec API) have now been submitted as a pull request for merger into Kodi/XBMC here on GitHub

https://github.com/xbmc/xbmc/pull/5374

Many people are waiting for this before purchasing these new boxes, and I would guess that Android development help is wanted for this code to get it working properly

@devs, what is the status of pull request #5374 with its initial HEVC support for StageFright and MediaCodec?

Will it be merged into Kodi master as-is soonish? Any ETA on merger into mainline?

And do you think this initial HEVC hardware acceleration support will also make it into version 14 Helix?
More and more new relatively cheap Android based media player are coming out with HEVC / H.265 HW decode support now.


RE: HEVC (also known as h.265) - Review - da-anda - 2014-09-29

@Hedda I just triggered a testbuild. Should be ready for download in max 1h from now on http://mirrors.xbmc.org/test-builds/android/arm/
If the download doesn't show up something went wrong during compilation. Related jenkins build job: http://jenkins.kodi.tv/job/Android-ARM/1991/


RE: HEVC (also known as h.265) - Review - Hedda - 2014-09-29

(2014-09-29, 14:33)da-anda Wrote: @Hedda I just triggered a testbuild. Should be ready for download in max 1h from now on http://mirrors.xbmc.org/test-builds/android/arm/
If the download doesn't show up something went wrong during compilation. Related jenkins build job: http://jenkins.kodi.tv/job/Android-ARM/1991/
@da-anda, thanks!

Test build of XBMC with the patch from pull request #5374 is now available at

http://mirrors.xbmc.org/test-builds/android/arm/

xbmc-20140915-9ad0ac9-hevc-hw-accel-armeabi-v7a.apk

Direct download link: http://mirrors.xbmc.org/test-builds/android/arm/xbmc-20140915-9ad0ac9-hevc-hw-accel-armeabi-v7a.apk


RE: HEVC (also known as h.265) - Review - wsnipex - 2014-09-29

(2014-09-29, 10:28)giaur Wrote: It is one of big disadvantages of using internal ffmpeg. We are unable to use external ffmpeg installed system wide. I know reasons why internal ffmpeg is forced to use, but there are also disadvantages of that.

not true. You can still easily compile with external ffmpeg.


RE: HEVC (also known as h.265) - Review - MrMC - 2014-09-29

1.6 times faster won't make much of a difference on the boxes that can actually support sw decode. If you are already have marginal ponies, another 1.6 will not help you much...


RE: HEVC (also known as h.265) - Review - fritsch - 2014-09-29

It will. Think of a 24p movie. When you get now 16 fps - that 16 * 1.6 = 25.6

It's a factor after all :-)


RE: HEVC (also known as h.265) - Review - DJ_Izumi - 2014-09-29

(2014-09-29, 21:14)MeatGrinder Wrote: 1.6 times faster won't make much of a difference on the boxes that can actually support sw decode. If you are already have marginal ponies, another 1.6 will not help you much...

On the other hand, my A8-3870K only gets about 18-20fps on a 4K HEVC Sintel encode I've been testing, 1.6x faster would solve that.