[Ffmpeg-devel] rtp - mpeg ts open problem

Anders Moden ffmpeg
Wed Oct 25 13:31:29 CEST 2006


---------- Original Message ----------------------------------
From: Nico Sabbi <nsabbi at email.it>
Reply-To: FFmpeg development discussions and patches <ffmpeg-devel at mplayerhq.hu>
Date:  Wed, 25 Oct 2006 13:20:34 +0200

>Anders Moden wrote:
>
>>What about setting some kind of var to tell the system how much to probe for. What is the s->probesize used for ?
>>
>>/Anders 
>>  
>>
>
>number it packets to scan at init


Where do I set it. My code looks like this...

AVInputFormat *fmt=av_find_input_format("mpegts");

//fmt->flags=0;

if(av_open_input_file(&m_pFormatCtx, filename, fmt, 0, NULL)!=0)
{
    GZTRACE("Error in open");
    return;
}

if(av_find_stream_info(m_pFormatCtx)<0)
{
    GZTRACE("Error in info find");
    return;
}


/Anders
 




More information about the ffmpeg-devel mailing list