[Ffmpeg-devel] avformat/mpegts reads too much data for low bitrate streams

Kenneth Aafløy kenneth
Thu Jun 9 01:59:19 CEST 2005


Hi,

I've been using libavformat/codec in an application in the works for some time 
now, and one of the quirks I have come across is that the mpegts format 
reader is searching across WAY too many packets (MAX_SCAN_PACKETS)
for a dvb specific service description table. This table is not required in 
the mpeg ts format, and is wrecking havock on my application when trying to 
tune a radio service without this service table. As a temporary workaround 
I've disabled the scan for sdt in mpegts_read_header. Without this 
workaround, the live stream that is to be decoded is delayed anywhere from 
5-10 seconds before packets starts to arrive for decoding..

Kenneth





More information about the ffmpeg-devel mailing list