• 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 28
HEVC (also known as h.265) - Review
No - no plans. We are in the last Alpha window. Afterwards the beta begins.

If you want to code the relevant bits, don't feel stopped by us, though :-)
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Ok, let's try real exampleWink

https://www.dropbox.com/s/6rbqlrrhhvbz79...HD.ts?dl=0

Fffmpeg version I linked above plays it (almost) fine on core i7 - cpu load is ~60% max. Debian avplay plays is veryyy bad - cpu load is ~80%. XBMC - playback hangs with no sound - cpu load is similar. It's 50 fps hevc, 10-bit color depth, uhd, ts from dvb-s, Astra test stream. Strange. XBMC (recent Kodi) is worst in this case.

Note that cpu load is not max and playback hangs. This format probably will be used for 4k broadcasting for digital tv in the future
Reply
Could you post a non broken sample? Even ffmpeg on the command line fails to transcode it. References missing.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
10 bit hevc in 4K and 50 progressive frames - yeah what a nice video format - if you want such samples to kill decoders I can help you producing even more.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
(2014-09-27, 18:02)fritsch Wrote: 10 bit hevc in 4K and 50 progressive frames - yeah what a nice video format - if you want such samples to kill decoders I can help you producing even more.

* un1versal puts on the sarcastic hat

That is the next, next, next generation anime BS releases right there no? I have a name for that new codec HPCE (high performance clueless encoder or h.299265 out in 20 years) watch this space.

* un1versal takes off sarcastic hat.
Reply
It's raw ts stream untouched as it was broadcasted from Astra. So... I posted my results with different decoders. Still that custom ffmpeg seems to work best.
Reply
I cannot even transform that sample into another container cause ffmpeg bails out.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
I'm not sure what's your problem, but here you have the same file transformed into mp4 container:

https://mega.co.nz/#!AVYzxS4S!4BRuFWD6gj...eyFT2DZWC8

I used ffmpeg to convert. From some reason I was unable to put it into mkv, maybe mkv doesn't support streams like this.
Reply
Thx. Last Video Have missing refs and ffmpeg 2.4.1 did not Luke changing container.

Will try tomorrow.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
(2014-09-27, 20:23)giaur Wrote: I'm not sure what's your problem, but here you have the same file transformed into mp4 container:

https://mega.co.nz/#!AVYzxS4S!4BRuFWD6gj...eyFT2DZWC8

I used ffmpeg to convert. From some reason I was unable to put it into mkv, maybe mkv doesn't support streams like this.

Handbrake makes mince of that, but none of the usual players plays that as is around here
Reply
Compile this ffmpeg: https://github.com/OpenHEVC/FFmpeg/ and use ffplay to play. Or (on windows) you can use lav codecs. Kodi on Linux also plays this but it hangs
Reply
Your original sample from yesterday:
Quote:[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] PPS id out of range: 0
Last message repeated 1 times
[hevc @ 0x3db68e0] Error parsing NAL unit #1.
[hevc @ 0x3db68e0] Could not find ref with POC 24
[hevc @ 0x3db68e0] Could not find ref with POC 20
[hevc @ 0x3db68e0] Could not find ref with POC 16
Input #0, mpegts, from 'Astra UHD.ts':
Duration: 00:01:01.71, start: 76815.029922, bitrate: 17538 kb/s
Program 1
Program 2
Stream #0:0[0xd2]: Video: hevc (Main 10) ([36][0][0][0] / 0x0024), yuv420p10le(tv), 3840x2160, 50 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0xdc]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 62 kb/s
Output #0, matroska, to 'Astra UHD2.mkv':
Metadata:
encoder : Lavf56.4.101
Stream #0:0: Video: hevc ([36][0][0][0] / 0x0024), yuv420p10le, 3840x2160, q=2-31, 50 fps, 1k tbn, 90k tbc
Stream #0:1: Audio: aac ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, 62 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input

Will retry the new one now.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
The new file you posted is "working" :-) 11 fps on my core i5 4200U. And you say that with the above linked ffmpeg version I will get 50? I don't think so.

It's just not worth it to include and maintain some thousand lines of non upstream code to playback a 50p sample at let's say 1.2 * (frames_without_that_patch). Cause 14 fps won't help anything.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
Note that orignal sample was raw ts. Ts is always problematic, becaues it can be cutted incorrectly etc... I transformed it to mp4 using OpenHevc ffmpeg without any problems.

So let's do some benchmarks. First OpenHevc ffmpeg:

Code:
ffmpeg -benchmark -i astra_uhd.mp4 -f null -map 0:0 -

Result:

Code:
frame= 3018 fps= 76 q=0.0 Lsize=N/A time=00:01:01.70 bitrate=N/A    
video:283kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
bench: utime=229.417s
bench: maxrss=956716kB

Summary: 76 fps - enough to play smoothly (video is 50 fps). Max was 83 fps.

Debian avconvert, so actually ffmpeg without OpenHEVC patches:

Code:
avconv -benchmark -i astra_uhd.mp4 -f null -map 0:0 -

Result:

Code:
frame= 3018 fps= 37 q=0.0 Lsize=       0kB time=10000000000.00 bitrate=   0.0kbits/s    
video:283kB audio:0kB other streams:0kB global headers:0kB muxing overhead: unknown
bench: utime=507.225s maxrss=909676kB

Average result is 37 fps, very poor Wink Impossible to play smoothly that file. Because we need 50 fps to play it smoothly.

All tests on core i7 3770k, Linux (Debian Sid).

Summary: 76 fps vs 37 fps. Decoding with OpenHEVC is approx. 2x faster. Actually I don't have latest OpenHEVC ffmpeg, possibly result can be even better today (as I can see, this product is actively developed).

What can I say - we need to test on samples from real world. My sample was taken from real broadcasting (Astra dvb-s). OpenHEVC is far better, right? Wink We should expect errors in stream, but it's good for test how good is decoder and how it handles errors like this.

P.S. - one more sample to test: https://www.dropbox.com/s/9c52ievc545wlr...%B3%A2A.ts
It was captured from test broadcasting of Japan 4k HEVC tv. I didn't test it yet, but I'm expecting similar results: xbmc, official ffmpeg: impossible to play smoothly, OpenHEVC - no problems.

Did you test anything on your i5? Don't just say "I don't think so", test it and consider your results Wink I have no idea if i5 is enough to play it smoothly, but you should expect far better result on OpenHEVC.

P.S. Are you on Windows? From some reason, windows ffmpeg binary doesn't work at all on this file.
Reply
We need 50fps decoded(!) and 50fps rendered, displayed and scaled.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Reply
  • 1
  • 19
  • 20
  • 21(current)
  • 22
  • 23
  • 28

Logout Mark Read Team Forum Stats Members Help
HEVC (also known as h.265) - Review0