PDA

View Full Version : Faster DGMPGDec?


Blue_MiSfit
26th October 2009, 20:00
Hey all,

DGMPGDec is quite slow for high bitrate sources - i.e. 50-80mbps.

Any chance for a multithreaded version? ;)

FFMS2-MT seems to work well, but isn't as reliable with wonky program / transport streams.

DirectShow usually works, but I can't seem to find a good freeware decoder that's A) fast, and B) compatible with 4:2:2

~MiSfit

Dark Shikari
26th October 2009, 20:04
I'm pretty sure libavcodec does 4:2:2 just fine (and fast). It sounds like you need a better demuxer, not a better decoder.

Blue_MiSfit
26th October 2009, 20:16
isn't libavcodec inherently single threaded, though?

I don't know much about ffmpeg :p

~MiSfit

Dark Shikari
26th October 2009, 20:21
isn't libavcodec inherently single threaded, though?No, it supports slice-based threading, and every row of MPEG-2 is its own slice.

neuron2
26th October 2009, 20:30
DGMPGDec does not use libavcodec. It uses its own decoder.

I have no plans to do any major work on it.

It's open source, though, so feel free to submit optimizations.

Blue_MiSfit
26th October 2009, 20:51
No, it supports slice-based threading, and every row of MPEG-2 is its own slice.

.wow.

I was not aware :D

Indeed I may just need a more robust program / transport stream splitter than the built-in / Haali. Any suggestions?

@neuron2:
Indeed, I'm aware DGMPGDec is it's own decoder. If I was a programmer, I'd maybe try to speed things up :) Sadly - I'm not!

I don't mean to whine. Your tools are indispensable - I was just curious!

~MiSfit