[Ffmpeg-devel] Ffplay: TS streams take long time to start

Klaas-Pieter Vlieg vlieg
Wed Jul 5 15:38:30 CEST 2006

Luca Abeni wrote:
> I guess you are streaming a simple TS (not DVB) without an SDT, right?
> in libavformat/mpegts.c you can find the following lines:
> 	    /* first do a scaning to get all the services */
>             url_fseek(pb, pos, SEEK_SET);
>             mpegts_scan_sdt(ts);
>             handle_packets(ts, MAX_SCAN_PACKETS);
> Just comment them out, and ffplay should be able to start immediately,
> even without changing MAX_SCAN_PACKETS.
Actually I tried both recorded DVB-S streams and simple TS streams produced by VLC
I will try your suggestion. Would be cool if it works.

Thx, Klaas-Pieter Vlieg

More information about the ffmpeg-devel mailing list