Re: [FFmpeg-devel] [PATCH] Check for not synchronized packets (very small feed file, very slow client connection)

2015-04-14 Thread Michael Niedermayer
On Tue, Apr 14, 2015 at 12:36:37PM +0200, Milan Matejec wrote: > Hi, > > sorry but that doesn't make sense. FFM is internal exchange format and > temporary feed file in this format is created every time ffserver is > started so why keep backward compatibility? Also adding checks for it would > cre

Re: [FFmpeg-devel] [PATCH] Check for not synchronized packets (very small feed file, very slow client connection)

2015-04-14 Thread Milan Matejec
Hi, sorry but that doesn't make sense. FFM is internal exchange format and temporary feed file in this format is created every time ffserver is started so why keep backward compatibility? Also adding checks for it would create needless amount of code in it. Thanks. M. 2015-04-14 1:10 GMT+02:00

Re: [FFmpeg-devel] [PATCH] Check for not synchronized packets (very small feed file, very slow client connection)

2015-04-13 Thread Michael Niedermayer
On Sun, Apr 12, 2015 at 11:30:32PM +0200, Milan Matejec wrote: > Hi, > > attached is patch for encoding/decoding .ffm format. When you set a maximum > size of feed file to too small number (I tried 20k) and try to connect to > ffserver from very slow connection (simulated by reading 8k chunks and

[FFmpeg-devel] [PATCH] Check for not synchronized packets (very small feed file, very slow client connection)

2015-04-12 Thread Milan Matejec
Hi, attached is patch for encoding/decoding .ffm format. When you set a maximum size of feed file to too small number (I tried 20k) and try to connect to ffserver from very slow connection (simulated by reading 8k chunks and then wait 3 seconds) .ffm decoder will after a few seconds (10 maybe more