HEADER_SEARCH_SIZE too small in demux_nsv.c ?
Hi List, I realized that most of my .nsv streams just don't work... I increased the HEADER_SEARCH_SIZE and printed out the index i when NSV{s,f} was found and it often was >65k... sometimes even >200k ... so to be on the safe side I put #define HEADER_SEARCH_SIZE 1920000 in the file... however sth. like 256k might be enough, not sure what the specs say. Can anyone comment on this and fix this in cvs ? Soeren
On Wed, 05 Apr 2006 09:00:33 +0200, Soeren Sonnenburg wrote:
Hi List,
I realized that most of my .nsv streams just don't work... I increased the HEADER_SEARCH_SIZE and printed out the index i when NSV{s,f} was found and it often was >65k... sometimes even >200k ... so to be on the safe side I put
#define HEADER_SEARCH_SIZE 1920000
in the file... however sth. like 256k might be enough, not sure what the specs say.
Can anyone comment on this and fix this in cvs ?
Could someone - with cvs access - please increase the #define HEADER_SEARCH_SIZE 65000 to e.g. #define HEADER_SEARCH_SIZE 256000 or even #define HEADER_SEARCH_SIZE 1920000 Else nsv online stream are non functional in most of the cases. Soeren.
On Thu, 06 Apr 2006 07:43:42 +0200 Soeren Sonnenburg <mplayer-ml@nn7.de> wrote:
Else nsv online stream are non functional in most of the cases.
Source? The majority of NSV streams have played just fine for me.
On Thu, 06 Apr 2006 08:41:28 +0000, RC wrote:
On Thu, 06 Apr 2006 07:43:42 +0200 Soeren Sonnenburg <mplayer-ml@nn7.de> wrote:
Else nsv online stream are non functional in most of the cases.
Source? The majority of NSV streams have played just fine for me.
demoscene.tv: http://213.186.36.129:8000 Soeren
On Thu, 06 Apr 2006 11:29:49 +0200 Soeren Sonnenburg <mplayer-ml@nn7.de> wrote:
demoscene.tv: http://213.186.36.129:8000
Yes, CVS will only play that 1/3rd of the time or so. Odd that the CVS demuxer is actually worse than the one in 1.0pre7. You've got a better chance of getting something comitted if you send a diff -u of the change.
On Fri, Apr 07, 2006 at 04:14:23AM -0700, RC wrote:
On Thu, 06 Apr 2006 11:29:49 +0200 Soeren Sonnenburg <mplayer-ml@nn7.de> wrote:
demoscene.tv: http://213.186.36.129:8000
Yes, CVS will only play that 1/3rd of the time or so. Odd that the CVS demuxer is actually worse than the one in 1.0pre7.
You've got a better chance of getting something comitted if you send a diff -u of the change.
I can confirm that this stream worked better in pre7 and increasing HEADER_SEARCH_SIZE fixes the problem. This is a regression, we should fix it before the release. Diego
On Mon, Apr 24, 2006 at 01:39:50AM +0200, Diego Biurrun wrote:
On Fri, Apr 07, 2006 at 04:14:23AM -0700, RC wrote:
On Thu, 06 Apr 2006 11:29:49 +0200 Soeren Sonnenburg <mplayer-ml@nn7.de> wrote:
demoscene.tv: http://213.186.36.129:8000
Yes, CVS will only play that 1/3rd of the time or so. Odd that the CVS demuxer is actually worse than the one in 1.0pre7.
You've got a better chance of getting something comitted if you send a diff -u of the change.
I can confirm that this stream worked better in pre7 and increasing HEADER_SEARCH_SIZE fixes the problem.
This is a regression, we should fix it before the release.
Just checked, revision 1.11 of demux_nsv.c already exhibits the problem. pre7 had rev 1.9, but rev 1.9 and 1.10 fail to link with current CVS. Diego
On Mon, Apr 24, 2006 at 01:39:50AM +0200, Diego Biurrun wrote:
On Fri, Apr 07, 2006 at 04:14:23AM -0700, RC wrote:
On Thu, 06 Apr 2006 11:29:49 +0200 Soeren Sonnenburg <mplayer-ml@nn7.de> wrote:
demoscene.tv: http://213.186.36.129:8000
Yes, CVS will only play that 1/3rd of the time or so. Odd that the CVS demuxer is actually worse than the one in 1.0pre7.
You've got a better chance of getting something comitted if you send a diff -u of the change.
I can confirm that this stream worked better in pre7 and increasing HEADER_SEARCH_SIZE fixes the problem.
This is a regression, we should fix it before the release.
Change applied with Roberto's blessing. Diego
participants (3)
-
Diego Biurrun -
RC -
Soeren Sonnenburg