aizvorski / h264bitstream

A complete set of functions to read and write H.264 video bitstreams, in particular to examine or modify headers.
GNU Lesser General Public License v2.1
713 stars 237 forks source link

h265bitstream support #21

Open leslie-wang opened 7 years ago

leslie-wang commented 7 years ago

:-) this is a good job. hope it can support h.265 too.

aizvorski commented 7 years ago

@leslie-wang How much code would be shared between the two? I'm not familiar enough with the H.265 spec to tell. It may be a whole new library :) although of course a lot of the structure/style can be copied over.

leslie-wang commented 7 years ago

yes, I like your perl script a lot. The whole structure is extremely useful, and should be common for all codecs, such as 264, 265, VC9, coming AC1. :-). I think it is better to share the same structure, and different codecs just have different .in file. Even further, ideally, :-), each codec probably just provide syntax syntax tabular form, and one script can auto-generate all codes as you have done.

leslie-wang commented 7 years ago

@aizvorski Apples starts to support HEVC in IOS from this year WWDC. It is time to work on this feature now. I'll do some work, and send a pull review

paulboschert commented 7 years ago

@leslie-wang I just started to do some research on this, may I work with you?

leslie-wang commented 7 years ago

@paulboschert Welcome collaboration definitely. Are you familiar with CABAC, which probably need most help there? :-)

leslie-wang commented 7 years ago

@aizvorski I have committed HEVC support in this repo https://github.com/leslie-wang/hevcbitstream. I realized most syntax (even some const variable, such as slice_type) has been changed. so it is a little bit difficult to merge into existing h264bitstream project. I'm wondering if we need a new repo to combine this 2 and also leave extensibility for future video codec. What do you think?