From: Julian S. <ju...@ju...> - 2006-11-28 10:19:16
|
Attached is a patch which adds support for using the av_parser_parse-function from libffmpeg, to be able to play mpegts-streams (ie h264/ts or mpeg2ts) with xine/libffmpeg. The behaviour on streams, which provide extradata (ie all movs, etc) is unchanged, only in case no extradata is given the parser is initialized and used instead of xines own buffering. This patch works basically fine for me, but lacks support of frame duration calculation. Maybe someone knows how to do this? - Without the calculation I experienced many streams to stutter, if I manually set a duration this is problem disappears. Maybe someone has an idea about this? Actually I feel like xine produces much overhead when using libffmpeg, cpu load is much higher as it is with mplayer. Anyway I'd be glad to get some feedback to this patch. -Julian |