Re: [FFmpeg-user] avformat_open_input - "Port missing in uri."

2015-08-31 Thread Chandan Nataraj
Hi Moritz,

Sorry for misspelling your name in previous mail.

Regards,
Chandna

On Mon, Aug 31, 2015 at 6:21 PM, Chandan Nataraj 
wrote:

> Hi Mortiz,
>
> Thanks for quick response. Here is the code...
>
> AVFormatContext* pFormatContext = NULL;
> int err = avformat_open_input(&pFormatContext, uri, NULL, NULL);
>
> uri is in the form of
> "http://.../Preview/548.mp4";
>
> I have called av_register_all and avformat_network_init in other thread
> and I'm sure that it is getting called before avformat_open_input.
>
> Regards,
> Chandan
>
>
>
>
> On Mon, Aug 31, 2015 at 5:57 PM, Moritz Barsnick  wrote:
>
>> Hi Chandan,
>>
>> On Mon, Aug 31, 2015 at 17:23:33 +0530, Chandan Nataraj wrote:
>> > I'm trying to open a mp4 file from http. When I call
>> avformat_open_input it
>> > fails with following log.
>>
>> This list is about ffmpeg, the command line tool(s). If you need help
>> with using the libraries, please refer to the libav-user list:
>> https://ffmpeg.org/mailman/listinfo/libav-user
>>
>> > The url does not contain any port number. So it should be using default
>> > port (80).
>> > Same url and code works from another thread where I have initialized my
>> > libavformat.
>> >
>> > Any suggestions  are highly appreciated.
>>
>> Let me suggest that when you ask for such assistance, please show the
>> code you are using to call avformat_open_input(), and the parameters
>> you are passing.
>>
>> Moritz
>> ___
>> ffmpeg-user mailing list
>> ffmpeg-user@ffmpeg.org
>> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>>
>
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] avformat_open_input - "Port missing in uri."

2015-08-31 Thread Chandan Nataraj
Hi Mortiz,

Thanks for quick response. Here is the code...

AVFormatContext* pFormatContext = NULL;
int err = avformat_open_input(&pFormatContext, uri, NULL, NULL);

uri is in the form of
"http://.../Preview/548.mp4";

I have called av_register_all and avformat_network_init in other thread and
I'm sure that it is getting called before avformat_open_input.

Regards,
Chandan




On Mon, Aug 31, 2015 at 5:57 PM, Moritz Barsnick  wrote:

> Hi Chandan,
>
> On Mon, Aug 31, 2015 at 17:23:33 +0530, Chandan Nataraj wrote:
> > I'm trying to open a mp4 file from http. When I call avformat_open_input
> it
> > fails with following log.
>
> This list is about ffmpeg, the command line tool(s). If you need help
> with using the libraries, please refer to the libav-user list:
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> > The url does not contain any port number. So it should be using default
> > port (80).
> > Same url and code works from another thread where I have initialized my
> > libavformat.
> >
> > Any suggestions  are highly appreciated.
>
> Let me suggest that when you ask for such assistance, please show the
> code you are using to call avformat_open_input(), and the parameters
> you are passing.
>
> Moritz
> ___
> ffmpeg-user mailing list
> ffmpeg-user@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


Re: [FFmpeg-user] avformat_open_input - "Port missing in uri."

2015-08-31 Thread Moritz Barsnick
Hi Chandan,

On Mon, Aug 31, 2015 at 17:23:33 +0530, Chandan Nataraj wrote:
> I'm trying to open a mp4 file from http. When I call avformat_open_input it
> fails with following log.

This list is about ffmpeg, the command line tool(s). If you need help
with using the libraries, please refer to the libav-user list:
https://ffmpeg.org/mailman/listinfo/libav-user

> The url does not contain any port number. So it should be using default
> port (80).
> Same url and code works from another thread where I have initialized my
> libavformat.
> 
> Any suggestions  are highly appreciated.

Let me suggest that when you ask for such assistance, please show the
code you are using to call avformat_open_input(), and the parameters
you are passing.

Moritz
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user


[FFmpeg-user] avformat_open_input - "Port missing in uri."

2015-08-31 Thread Chandan Nataraj
Hi,

I'm trying to open a mp4 file from http. When I call avformat_open_input it
fails with following log.

"Port missing in uri."

The url does not contain any port number. So it should be using default
port (80).
Same url and code works from another thread where I have initialized my
libavformat.

Any suggestions  are highly appreciated.

Regards,
Chandan
___
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user