Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network / HTTP stream support ? #27

Open
shubhank008 opened this issue May 19, 2021 · 7 comments
Open

Network / HTTP stream support ? #27

shubhank008 opened this issue May 19, 2021 · 7 comments

Comments

@shubhank008
Copy link

Hello,
Is there a reason why HTTP / Network stream support is not enabled ? I see there are quite a few checks to detect if a provided string/path is network or HTTP file in FileExtensions.cs but its not made use of in main MediaWrapper class.

I wanted to get mediainfo for remote video url (http/https file) as well but not able to, it just throws MediaInfoNotLoaded.

@yartat
Copy link
Owner

yartat commented May 20, 2021

Hello.
There is only one reason, I do not have a working test environment to validate RTSP, MMS, RTMP and others. I would be glad if anybody helped me with this.

@shubhank008
Copy link
Author

I can help out in it, specially HTTP/HTTPS and RTSP, RTMP streams. Let me know what I can do to help out.

@yartat
Copy link
Owner

yartat commented May 20, 2021

I supposed to use a server rtsp-simple-server + ffmpeg. But I have only one webcam with 1080p@30. Could you prepare some loop samples with other resolution and fps?

@shubhank008
Copy link
Author

I am providing some publicly available RTSP example streams:

rtsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov (240x160 @24fps)

Can you let me know which res/fps or ffmpeg paras do you want to try ? I can create a demo server with rtsp and create some links for you

@yartat
Copy link
Owner

yartat commented May 21, 2021

Thanks a lot for help. I've started investigate issue. The RTSP link that you preseted before, the native MediaInfo library does not processed and was returned handle is NULL. I'll debug this weekend and will try to fix it.

@shubhank008
Copy link
Author

Thanks a lot for help. I've started investigate issue. The RTSP link that you preseted before, the native MediaInfo library does not processed and was returned handle is NULL. I'll debug this weekend and will try to fix it.

Okay and I just wanted to confirm you I deleted the .dll file of MediaInfoWrapper and imported the whole project itself in my project (the github source code) and bypassed the isAVStream check.
I tested around 20-25 HTTP/HTTPS links with MediaInfo and all of them were success

@yartat
Copy link
Owner

yartat commented May 23, 2021

I've prepared new version 21.3.3 with support HTTP and HTTPS. Could you test additional UDP if you have a time of course. Unfortunatelly current version of mediainfo does not support RTSP protocol. Curl_reader is based on outdated version of the libcurl. And I didn't find any reference to support RTMP too. mediaInfo supports MMS with libMMS, but MediaInfo.Native and MediaInfo.Core.Native both are not support libMMS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants