Log in

View Full Version : Facing issues with mpeg decoders


laminar
26th June 2007, 10:45
Hi all,

I tried to decode various mpeg1/2 ES streams (frame, field and field/frame encoded) with avisynth scripts.
I didn't succeed to decode all of them properly. I use a CLI to manage a huge list of streams automatically

I tried the following decoders :
- libavcodec and libmpeg2
- MPEGSource (MPEGDecoder.dll)
- MPEG2Source (DGDecode.dll)

Im facing the following problems :
- libavcodec and libmpeg2 : don't start all the time from the first frame, seems linked to an open GOP problem...
- libavcodec and libmpeg2 : The number of decoded frames is sometimes different to the number of frames encoded in the stream
- libavcodec and libmpeg2 : The last frame is sometimes repeated once or even more
- MPEGSource --> very bad behavior
- MPEG2Source --> required to generate .d2v files through an intermediate GUI (so I can't use it in my case)

Are you aware of this kind of issue ?
Is there any other mpeg decoder that I can use ?
Thanks for your help

foxyshadis
26th June 2007, 13:46
DGDecode is probably by far the best behaved and most bug-free. DGIndex can be driven entirely by command-line switches, as shown in the docs, to automate it.

Also, you could try the new ffmpegsource.

laminar
26th June 2007, 15:12
DGDecode is probably by far the best behaved and most bug-free. DGIndex can be driven entirely by command-line switches, as shown in the docs, to automate it.

Also, you could try the new ffmpegsource.

Thanks foxyshadis for this useful information
I didn't really try DGDecode due to the DGIndex GUI pre-processing step !
I wasn't aware that I could use a CLI.
I'm gonna try ffmpegsource also.
:thanks: