2013-02-04, 18:36
- Sort input packets ? why would you want to sort the demuxer packets ? This seems very wrong and goes against any video codec design I know of. It is very important to preserve packet order as the encoding can depends on this.
- Use pts or dts from input ? why would you do this ? avi's are the only things with suspect pts and you should be using dts for them. Aside from that, you 'should' be looking for the invalid tag in pts, if found use dts. That's dvdplayer behavior.
- Use output pts or let dvdplayer generate them ? Never let dvdplayer generate them, that's a last case fall back which requires that duration is correct and the duration you find in containers is oh so very wrong in most cases. So to gen a valid duration you have to look at dts/pts and if you are looking at those, you know the pts dvdplayer needs already.
- Use SW renderer : maybe.
- enable/disable XVID/MPEG2/VC1/VPX codecs : XVID is MPEG4 part 2, XVID means nothing. H264 is MPEG4 part 10. All these will depend on having hw codecs available and this should be know by probing.
- Use pts or dts from input ? why would you do this ? avi's are the only things with suspect pts and you should be using dts for them. Aside from that, you 'should' be looking for the invalid tag in pts, if found use dts. That's dvdplayer behavior.
- Use output pts or let dvdplayer generate them ? Never let dvdplayer generate them, that's a last case fall back which requires that duration is correct and the duration you find in containers is oh so very wrong in most cases. So to gen a valid duration you have to look at dts/pts and if you are looking at those, you know the pts dvdplayer needs already.
- Use SW renderer : maybe.
- enable/disable XVID/MPEG2/VC1/VPX codecs : XVID is MPEG4 part 2, XVID means nothing. H264 is MPEG4 part 10. All these will depend on having hw codecs available and this should be know by probing.