[Live-devel] MPEG4 Questions?

alexkid.live55 at gmail.com alexkid.live555 at gmail.com
Fri Jan 6 10:01:37 PST 2006


Hi Ross,

Happy new year.

For my project, I need to stream on demande some AVI Files with MPEG4 
and no sound. For this I have used the testOnDemandRTSPServer has a 
model. So I used a MPEG4VideoFileServerMediaSubsession for streaming a 
file. The streaming work but the file his playing too quick 30 fps 
instead of 12.5 :

    * Did this behaviour is due because I'm trying to stream a MPEG4 AVI
      File instead a pur MPEG4 File?
    * To resolve this must I implement an AVI Demuxer for having some
      real Elementary Stream, and deduce the real frame rate? Like your
      MPEG1Or2DemuxedElementaryStream class!

I realy need to seek in this Avi file. I know it's not yet implement for 
the MPEG4, but I have a question concerning the MPEG4 structure:

    * Have we got one frame between two VOP_START_CODE?
    * If true, if I know the frame rate of the Video and if I know how
      time I need to seek, To seek I deduce how frames I need to pass
      since the beginning of the file! is this assertion it correct?

Best regards

Alex


More information about the live-devel mailing list