Re: pure D mpeg2 decoder

2016-06-24 Thread Ruslan Mullakhmetov via Digitalmars-d-announce

On Friday, 24 June 2016 at 19:22:54 UTC, ketmar wrote:

"pure D ffmpeg" dream is one step closer now. ;-)


I already wrote it a couple of years ago with current but 
currently only transmuxing is supported  with small set of 
containers: mpeg-ts and isom (mp4) =)


I only need to publish it, but have to sort out some licensing  
problems.


pure D mpeg2 decoder

2016-06-24 Thread Ruslan Mullakhmetov via Digitalmars-d-announce

Hi all!

I saw pure jpeg decoder was announced recently and I decided to 
publish pure D mpeg2 decoder that I wrote just for myself, with 
study aims.


I didn't test it exhaustively, so don't judge me for bugs)

Currently it supports only progressive sequences with no B frames.

As for performance, it's 5 times slower than ffmpeg 
implementation, optimizations are required.


link: https://github.com/theambient/mpeg2

Does someone want to write pure D AVC or HEVC decoder/encoder?  =)

P.S. It sometimes has some artifacts, I didn't try to fix them.