www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - pure D mpeg2 decoder

reply Ruslan Mullakhmetov <tiabaldu gmail.com> writes:
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.
Jun 24 2016
next sibling parent reply ketmar <ketmar ketmar.no-ip.org> writes:
"pure D ffmpeg" dream is one step closer now. ;-)
Jun 24 2016
parent Ruslan Mullakhmetov <tiabaldu gmail.com> writes:
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.
Jun 24 2016
prev sibling next sibling parent Karabuta <aberbalawrence gmail.com> writes:
On Friday, 24 June 2016 at 07:35:51 UTC, Ruslan Mullakhmetov 
wrote:
 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.
Video decoder and encoder will be really helpful to me :)
Jun 25 2016
prev sibling parent Karabuta <aberbalawrence gmail.com> writes:
On Friday, 24 June 2016 at 07:35:51 UTC, Ruslan Mullakhmetov 
wrote:
 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.
Does it or do you plan to super decoding and and encoding programmatically (using built-in APIs)?
Jun 25 2016