[Libav-user] avformat_open_input() Bind Fail Error
mr N
mohamednmn28105 at gmail.com
Thu Mar 9 18:32:31 EET 2023
Glad to hear that changing the port to 1234 has resolved the issue for
you! It's possible that there was some other process or service using the
port 5004 on your machine, which could explain why you were getting a bind
error when trying to use that port in your code.
On Thu, Mar 9, 2023 at 5:12 PM Scott Arbuthnot <sarbuthnot at cogsimtech.com>
wrote:
> Thanks, I seem to have found at least a work around if not a solution. I
> changed the port I was using 5004 to 1234 and it magically works again!
> This seems very strange however as I can still use port 5004 to open via
> VLC Media Player however it gives the bind error from within my code. The
> new port works fine on both, so scratching my head a little on this as the
> original port worked previously and still works for other software.
>
> On Thu, Mar 9, 2023 at 11:06 AM mr N <mohamednmn28105 at gmail.com> wrote:
>
>> One possible solution to the issue you're facing could be to explicitly
>> specify the network interface to use when opening the stream in ffmpeg. You
>> can do this by adding the "-i" option followed by the network interface
>> name and the stream URL.
>>
>> On Thu, Mar 9, 2023 at 3:15 PM Scott Arbuthnot <sarbuthnot at cogsimtech.com>
>> wrote:
>>
>>> I've updated my version of ffmpeg (libs) and now I get an I/O Error
>>> whenever I try to open any url that is either UDP or RTP and this used to
>>> work without issue. The low level error is saying it's a bind fail error
>>> and I have no idea why this has started happening. VLC still opens these
>>> streams fine.
>>>
>>>
>>> On Thu, Mar 9, 2023 at 8:13 AM mr N <mohamednmn28105 at gmail.com> wrote:
>>>
>>>> there is no issue
>>>>
>>>> On Thu, Mar 9, 2023 at 9:15 AM hamza ouldji <houldji at gmail.com> wrote:
>>>>
>>>>> What's wrong? What's your problem exactly?!
>>>>>
>>>>> On Wed, Mar 8, 2023, 22:27 Scott Arbuthnot <sarbuthnot at cogsimtech.com>
>>>>> wrote:
>>>>>
>>>>>> Only on rtp urls, any idea? This used to work without issue
>>>>>>
>>>>>> --
>>>>>> Scott Arbuthnot
>>>>>> Senior Manager, Simulation Engineering and Technical Services
>>>>>> CogSim Technologies Inc.
>>>>>> 116 Albert Street, Suite 300
>>>>>> Ottawa, Ontario
>>>>>> Canada K1P 5G3
>>>>>> sarbuthnot at cogsimtech.com
>>>>>> Tel 613-795-6850
>>>>>> Fax 613-249-7109
>>>>>>
>>>>>> _______________________________________________
>>>>>> Libav-user mailing list
>>>>>> Libav-user at ffmpeg.org
>>>>>> https://ffmpeg.org/mailman/listinfo/libav-user
>>>>>>
>>>>>> To unsubscribe, visit link above, or email
>>>>>> libav-user-request at ffmpeg.org with subject "unsubscribe".
>>>>>>
>>>>> _______________________________________________
>>>>> Libav-user mailing list
>>>>> Libav-user at ffmpeg.org
>>>>> https://ffmpeg.org/mailman/listinfo/libav-user
>>>>>
>>>>> To unsubscribe, visit link above, or email
>>>>> libav-user-request at ffmpeg.org with subject "unsubscribe".
>>>>>
>>>> _______________________________________________
>>>> Libav-user mailing list
>>>> Libav-user at ffmpeg.org
>>>> https://ffmpeg.org/mailman/listinfo/libav-user
>>>>
>>>> To unsubscribe, visit link above, or email
>>>> libav-user-request at ffmpeg.org with subject "unsubscribe".
>>>>
>>>
>>>
>>> --
>>> Scott Arbuthnot
>>> Senior Manager, Simulation Engineering and Technical Services
>>> CogSim Technologies Inc.
>>> 116 Albert Street, Suite 300
>>> Ottawa, Ontario
>>> Canada K1P 5G3
>>> sarbuthnot at cogsimtech.com
>>> Tel 613-795-6850
>>> Fax 613-249-7109
>>>
>>> _______________________________________________
>>> Libav-user mailing list
>>> Libav-user at ffmpeg.org
>>> https://ffmpeg.org/mailman/listinfo/libav-user
>>>
>>> To unsubscribe, visit link above, or email
>>> libav-user-request at ffmpeg.org with subject "unsubscribe".
>>>
>> _______________________________________________
>> Libav-user mailing list
>> Libav-user at ffmpeg.org
>> https://ffmpeg.org/mailman/listinfo/libav-user
>>
>> To unsubscribe, visit link above, or email
>> libav-user-request at ffmpeg.org with subject "unsubscribe".
>>
>
>
> --
> Scott Arbuthnot
> Senior Manager, Simulation Engineering and Technical Services
> CogSim Technologies Inc.
> 116 Albert Street, Suite 300
> Ottawa, Ontario
> Canada K1P 5G3
> sarbuthnot at cogsimtech.com
> Tel 613-795-6850
> Fax 613-249-7109
>
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/libav-user
>
> To unsubscribe, visit link above, or email
> libav-user-request at ffmpeg.org with subject "unsubscribe".
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20230309/9833ed1a/attachment.htm>
More information about the Libav-user
mailing list