[Ffmpeg-devel] codecs problem

Nico Sabbi nsabbi
Fri May 20 16:27:58 CEST 2005


Luca Abeni wrote:

>  
>
>>I gave a quick look at the code, and I noticed that the demuxer seems to 
>>hang when parsing
>>the SDT.
>>    
>>
>Are you sure that it is really hanging? I mean: if you open the DVB card
>filters for only 2 PIDs (the audio PID and the video PID), libavformat
>will wait for a lot of time before beginning to play the stream...
>Something like the attached stupid patch fixes this problem for me (but
>I do not think this is the proper solution :)
>
>
>  
>

it waited so long that I assumed it was hung,

>				Luca
>  
>
>------------------------------------------------------------------------
>
>Index: libavformat/mpegts.c
>===================================================================
>RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/mpegts.c,v
>retrieving revision 1.26
>diff -r1.26 mpegts.c
>27c27
>< #define MAX_SCAN_PACKETS 32000
>---
>  
>
>>#define MAX_SCAN_PACKETS 32
>>
>0
>  
>

I'll try it, thanks
 
 
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 
 Sponsor:
 Audio, Video, HI-FI...oltre 2.000 prodotti di alta qualit? a prezzi da sogno solo su Visualdream.it 
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2956&d=20-5





More information about the ffmpeg-devel mailing list