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

MPV cannot open SRT streams #9733

Closed
tvadi opened this issue Jan 20, 2022 · 1 comment
Closed

MPV cannot open SRT streams #9733

tvadi opened this issue Jan 20, 2022 · 1 comment
Labels

Comments

@tvadi
Copy link

tvadi commented Jan 20, 2022

On Ubuntu 20.04

Tried MPV version from sudo apt install mpv
And a MPV version I compiled from https://github.com/mpv-player/mpv using meson build

Just trying to open the SRT stream from OBS
mpv srt://127.0.0.1:10000

This is working on Windows MPV player fine but not on Linux. On Linux, I can open srt://127.0.0.1:10000 successfully in VLC.. From apt install mpv, getting:

No protocol handler found to open URL srt://127.0.0.1:10000 The protocol is either unsupported, or was disabled at compile-time.

From git compile, getting:
[ffmpeg] Protocol not found. Make sure ffmpeg/Libav is compiled with networking support. Failed to open srt://127.0.0.1:10000.

This is my ffmpeg:
ffmpeg version 4.4 Copyright (c) 2000-2021 the FFmpeg developers built with gcc 9 (Ubuntu 9.3.0-17ubuntu1~20.04) configuration: --prefix=/home/matt/ffmpeg_build --pkg-config-flags=--static --extra-cflags='-I/home/matt/ffmpeg_build/include -I/home/matt/ffmpeg_sources/BMD_SDK/include' --extra-ldflags=-L/home/matt/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/matt/bin --disable-debug --disable-shared --disable-doc --disable-ffplay --disable-sdl2 --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libsvtav1 --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-version3 --enable-runtime-cpudetect --enable-avfilter --enable-fontconfig --enable-libfribidi --enable-libsoxr --enable-libsrt --enable-libtwolame --enable-libvpx --enable-openssl --enable-zlib --enable-pic --enable-libzmq --enable-libklvanc --enable-decklink libavutil 56. 70.100 / 56. 70.100 libavcodec 58.134.100 / 58.134.100 libavformat 58. 76.100 / 58. 76.100 libavdevice 58. 13.100 / 58. 13.100 libavfilter 7.110.100 / 7.110.100 libswscale 5. 9.100 / 5. 9.100 libswresample 3. 9.100 / 3. 9.100 libpostproc 55. 9.100 / 55. 9.100

Thanks!

@tvadi tvadi added the os:linux label Jan 20, 2022
@tvadi
Copy link
Author

tvadi commented Feb 2, 2022

Needs ubuntu 21.10

@tvadi tvadi closed this as completed Feb 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant