Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 17th October 2013, 02:04   #61  |  Link
Marchand
Registered User
 
Marchand's Avatar
 
Join Date: Jan 2013
Location: Brazil
Posts: 14
Strongene Android HEVC/H.265 Decoder
Version: V2013.10.15 Release Date: 2013/10/15 Size: 6.24MB

Release Notes:
1. A demo version; 2. Adopting ffmpeg as audio-video framework, offering amended patches for ffmpeg; 3. Supporting .flv file with HEVC/H.265 stream; 4. Supporting .hevc, .hm10, .hm91, .bin and .bit format HEVC/H.265 streams; 5. The default thread setting is 1 and can be changed via application menu
Configuration:
Resolution: 480x320 pixels or above; Supporting ARMv7 CPU Architecture and NEON Multimedia Instruction Set; Supporting Android 2.3 or higher

http://xhevc.com/resouce/Strongene_L...2013_10_15.rar

Strongene iOS HEVC/H.265 Decoder
Version: V2013.10.15 Release: 2013/10/15 Size: 1.53MB

Release Notes:
1. A demo version; 2. Adopting ffmpeg as audio-video framework, offering amended patches for ffmpeg; 3. Supporting .flv file with HEVC/H.265 stream; 4. Supporting .hevc, .hm10, .hm91, .bin and .bit format HEVC/H.265 streams; 5. The default thread setting is 1 and can be changed via application menu
Configuration:
Compatible with iphone and ipad; Supporting iOS 6.0 or higher

http://xhevc.com/resouce/Strongene_L...2013_10_15.rar
Marchand is offline   Reply With Quote
Old 17th October 2013, 12:34   #62  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,184
Since yesterday, the current FFmpeg branch now supports HEVC decoder/demuxer streams...
Kurtnoise is offline   Reply With Quote
Old 17th October 2013, 13:57   #63  |  Link
VFR maniac
Spinner of yarns
 
VFR maniac's Avatar
 
Join Date: May 2009
Posts: 164
What way is used to encapsulate HEVC into FLV?
As far as I know, the specification is not published by Adobe.
I'll add the support of HEVC-in-FLV into ffmpeg/libav if available.
__________________
僕と契約して、L-SMASH developerになってよ!
L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software
VFR maniac is offline   Reply With Quote
Old 17th October 2013, 16:59   #64  |  Link
JEEB
もこたんインしたお!
 
JEEB's Avatar
 
Join Date: Jan 2008
Location: Finland / Japan
Posts: 514
The HEVC-in-FLV hack (or actually, hacks) is/are completely unrelated to Adobe in any way or form, and as we now have at least somewhat official ways of putting HEVC into containers, I would most definitely recommend people to refrain from using or implementing this hacked up mapping for public consumption. FLV is simple to hack things into, yes. But using possible values that Adobe might use in the future sounds like a big pot of problems.

(I still do wish that ISO/IEC would finally do their ballot and make 14496-15, 3rd edition, official -- the draft specification hasn't had changes done to it for months by now)
__________________
[I'm human, no debug]
JEEB is offline   Reply With Quote
Old 17th October 2013, 18:26   #65  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,184
A hack like this ?

Yeah, sadly...
Kurtnoise is offline   Reply With Quote
Old 17th October 2013, 18:38   #66  |  Link
VFR maniac
Spinner of yarns
 
VFR maniac's Avatar
 
Join Date: May 2009
Posts: 164
So, The Flash Player can't play them at all but they are called FLV? Retarded!

Quote:
Originally Posted by Kurtnoise View Post
A hack like this ?

Yeah, sadly...
I don't think it works well unless the extradata encoded as concatenations of parameter sets with start codes and the stream is encapsulated as Annex B format.
As far as I read the change in MPC-HC BE, Strongene imitates the AVCDecoderConfigurationRecord not a draft of HEVCDecoderConfigurationRecord.
The ffmpeg/libav's HEVC decoder works only when extradata is encoded as HEVCDecoderConfigurationRecord (14496-15 format) or concatenations of parameter sets with start codes (Annex B format).
__________________
僕と契約して、L-SMASH developerになってよ!
L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software

Last edited by VFR maniac; 17th October 2013 at 18:41.
VFR maniac is offline   Reply With Quote
Old 17th October 2013, 21:04   #67  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,343
Quote:
Originally Posted by VFR maniac View Post
So, The Flash Player can't play them at all but they are called FLV?
Wow, FLV is the last format I'd think anyone would adopt on purpose for a new technology unrelated to Flash!
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 20th October 2013, 02:43   #68  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,052
Can someone please say if the AVIs and VfW-based MKVs created through Graphstudio from the Strongene HEVC source filter
are or are not standard-compliant?

{ for the uninformed: sample file(s) @ http://optavisse.com/2013/07/11/hevc-in-avi-why-not/ }

Last edited by filler56789; 20th October 2013 at 04:05. Reason: add link
filler56789 is offline   Reply With Quote
Old 20th October 2013, 08:10   #69  |  Link
VFR maniac
Spinner of yarns
 
VFR maniac's Avatar
 
Join Date: May 2009
Posts: 164
There is no official specification of HEVC-in-AVI and VfW-based HEVC as there is no official specification of AVC-in-AVC and VfW-based AVC.

VfW is problematic for B-frames without hacks because of 1-frame-in-1-frame-out.
AVI is problematic for seek when any B-frame is present because AVI has no concept of presentation and/or composition timestamp.
__________________
僕と契約して、L-SMASH developerになってよ!
L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software

Last edited by VFR maniac; 20th October 2013 at 08:15.
VFR maniac is offline   Reply With Quote
Old 20th October 2013, 08:31   #70  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,052
Quote:
Originally Posted by VFR maniac View Post
There is no official specification of HEVC-in-AVI and VfW-based HEVC as there is no official specification of AVC-in-AVC and VfW-based AVC.
Thanks for the clarification.

Quote:
VfW is problematic for B-frames without hacks because of 1-frame-in-1-frame-out.
AVI is problematic for seek when any B-frame is present because AVI has no concept of presentation and/or composition timestamp.
I thought that B-frames were a problem only for the VfW API, not for the AVI and ASF containers themselves
At least according to http://guru.multimedia.cx/avi-and-b-frames/,

Quote:
So one could now argue AVI doesnt support b frames as it doesnt store PTS and would if the application needs to know PTS (simpler players dont need to know the PTS…) to calculate the PTS based upon frame type and DTS, but that argument against AVI+b frames has a critical flaw, MPEG-PS and MPEG-TS dont store PTS for every frame either but only require it to be stored every 0.5 seconds or so. Which means that the same complicated calculate the PTS from DTS + frame types code is needed for the official MPEG format too

Last edited by filler56789; 20th October 2013 at 08:34. Reason: spelling
filler56789 is offline   Reply With Quote
Old 20th October 2013, 08:45   #71  |  Link
VFR maniac
Spinner of yarns
 
VFR maniac's Avatar
 
Join Date: May 2009
Posts: 164
The point is that handling of AVI with frame/picture-reordering for presentation is CODEC specific.
It is out of ranges of container.
This is already problematic from a viewpoint of container.

Also, presentation/output order of AVC and HEVC depends on POC not frame/picture types unlike the MPEG-1/2 Video and VC-1.
For instance, IDR-picture is output after subsequent P-pictures in coded order when those P-pictures have negative POC.
__________________
僕と契約して、L-SMASH developerになってよ!
L-SMASH | L-SMASH Works | Opus-in-ISOBMFF specification and reference software

Last edited by VFR maniac; 20th October 2013 at 09:02.
VFR maniac is offline   Reply With Quote
Old 20th October 2013, 10:19   #72  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,052
^ Again, thanks for answering.

I had to ask, because the most recent version of the DirectShow filter "MPCVideoDec.ax" doesn't understand HEVC-in-AVI:

http://forum.doom9.org/showthread.ph...29#post1648629
filler56789 is offline   Reply With Quote
Old 21st October 2013, 00:33   #73  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,343
Quote:
Originally Posted by filler56789 View Post
I thought that B-frames were a problem only for the VfW API, not for the AVI and ASF containers themselves
At least according to http://guru.multimedia.cx/avi-and-b-frames/,
Out of order frames were kind of a hack in ASF as well, with some weird tricks being done with timestamps in the headers that need to get ignored by the decoders.

It worked okay for VC-1, but I was one of the advocates against using ASF for Smooth streaming with H.264 because the worst-case mismatches given a 2-second GOP and up to 16 B-frames were crazy.

I think trying to stuff HEVC into old file formats would mainly be opting into pain. And what would the point even be again?
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Old 21st October 2013, 00:52   #74  |  Link
filler56789
SuperVirus
 
filler56789's Avatar
 
Join Date: Jun 2012
Location: Antarctic Japan
Posts: 1,052
Quote:
Originally Posted by benwaggoner View Post
Out of order frames were kind of a hack in ASF as well, with some weird tricks being done with timestamps in the headers that need to get ignored by the decoders.

It worked okay for VC-1, but I was one of the advocates against using ASF for Smooth streaming with H.264 because the worst-case mismatches given a 2-second GOP and up to 16 B-frames were crazy.
I wasn't aware of that ,

thanks for the information

Quote:
I think trying to stuff HEVC into old file formats would mainly be opting into pain. And what would the point even be again?
Hmmm, the "trick that works for VC-1", is it the same thing as storing VC-1 in Matroska by using the "VfW-compatible" mode (which is what mkvmerge does)?

Last edited by filler56789; 21st October 2013 at 00:55. Reason: typo
filler56789 is offline   Reply With Quote
Old 21st October 2013, 22:11   #75  |  Link
benwaggoner
Moderator
 
Join Date: Jan 2006
Location: Portland, OR
Posts: 3,343
Quote:
Originally Posted by filler56789 View Post
Hmmm, the "trick that works for VC-1", is it the same thing as storing VC-1 in Matroska by using the "VfW-compatible" mode (which is what mkvmerge does)?
Could be. I've actually never made a MVK file in my life. But there are only so many ways to deal with out-of-order decode in file formats not designed for it.
__________________
Ben Waggoner
Principal Video Specialist, Amazon Prime Video

My Compression Book
benwaggoner is offline   Reply With Quote
Reply

Tags
decoder, encoder, h.265, hevc, open-source

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:54.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.