PDA

View Full Version : Potential for MPEG-4 support?


Zarxrax
3rd December 2006, 01:48
Is MPEG-4 support something that may be considered in future versions of DGIndex? I'm not aware of any methods of turning AVC files into a format that can be worked with, aside from running them through directshow, so I think there is a great need to be able to have a program like this that can index them.

Is this something that might be considered as a possibility, or no?

neuron2
3rd December 2006, 02:35
Is DirectShowSource() deficient in some important way for these files?

Zarxrax
3rd December 2006, 04:11
I would say that it is deficient for mpeg-4 files in the same way that it is deficient for mpeg-2 files. The main thing is that you can't do accurate seeking.

neuron2
3rd December 2006, 12:26
If there is a decent open source decoder that we could borrow from, then it is feasible. What would you suggest in that regard?

Zarxrax
3rd December 2006, 18:03
To the best of my knowledge, libavcodec is the best (or only?) open source decoder. I think mp4box has code for accessing the raw stream from the container.

bond
3rd December 2006, 18:04
i dont think that there is the need to externally index mp4 files, as they have an index already (similar to avi, but more advanced as also supporting b-frames and vfr)

the problem you talk about seems to be caused by directshowsource, not by the container itself

that said an own mp4source in avisynth would be great (or an useable directshowsource ;) )

neuron2
3rd December 2006, 20:05
that said an own mp4source in avisynth would be great Sounds like some fun. What open source decoder would you recommend, bond?

bond
3rd December 2006, 20:37
i would use libavcodec too for both asp and avc video decoding

Zarxrax
3rd December 2006, 21:29
Hmmm, yea, an MPEG4Source with no indexing step would be even better, I suppose :)