From: James Courtier-D. <Ja...@su...> - 2002-03-21 12:22:57
|
I don't know too much about asf format, but I assume it will be similar to mpeg2 in some respects. In mpeg2 the fps or frame_duration is found out at the decoder stages, and not the input or demuxer stages. Cheers James > -----Original Message----- > From: xin...@li... > [mailto:xin...@li...]On Behalf Of Andrei Lahun > Sent: 21 March 2002 10:57 > To: xin...@li... > Subject: [xine-devel] PATCH, to use fps from ffmpeg > > > Hello. > As you know thereis a problems to find fps from asf stream. > I have investigated asf header byte per byte and did not find anything. > Even MS doc did not say anything. > Now we assume that all asf have video encoded with fps=30. > So this is just a idea , may be dead :) > because most of video content in asf - mpeg4 and we use ffmpeg to > decode this. > Instead of using decode_info[1] delivered by demuxer i just try > to use fps found by ffmpeg. > > Stupid, simply but seem to work. A lot of stream in internet have > fps=10,15 and when we assume that fps=30 > to watch such films just a pain. > > P.S. It is patch just to discuss idea not for inclusion > > Andrei |