Open kpfa opened 2 years ago
Thanks for this report. I don't think SRT has been tested a lot on windows, will have a look as soon as possible
I wonder if this is an upstream issue with either libsrt
or ffmpeg
on windows? 🤷
The windows build of ffmpeg version 5.0.1-full_build-www.gyan.dev
also silently fails by producing no output nor connection to our SRT listener.
.\ffmpeg.exe -f dshow -i audio="WNIP Input 3 (Wheatstone Netwo" -codec copy -f wav srt://192.168.10.199:9000
ffmpeg version 5.0.1-full_build-www.gyan.dev Copyright (c) 2000-2022 the FFmpeg developers
built with gcc 11.2.0 (Rev7, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enablemediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 57. 17.100 / 57. 17.100
libavcodec 59. 18.100 / 59. 18.100
libavformat 59. 16.100 / 59. 16.100
libavdevice 59. 4.100 / 59. 4.100
libavfilter 8. 24.100 / 8. 24.100
libswscale 6. 4.100 / 6. 4.100
libswresample 4. 3.100 / 4. 3.100
libpostproc 56. 3.100 / 56. 3.100
.... hits Ctrl+C ....
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, dshow, from 'audio=WNIP Input 3 (Wheatstone Netwo':
Duration: N/A, bitrate: N/A
Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
[srt @ 00000000003af1c0] Connection to srt://192.168.10.199:9000 failed: Immediate exit requested
srt://192.168.10.199:9000: Immediate exit requested
Thanks for checking on that, that's interesting. How did you get the ffmpeg build?
Are you running any firewall on your system? Any specific network configuration?
The ffmpeg homepage has two external links for windows builds:
The Windows firewall is completely turned off. That was my first thought too!
There are a bit of network specifics here.
Seems like https://github.com/savonet/liquidsoap/pull/2563 might fix this too?
Hmm not sure. This PR enhances SRT support but I don't think it changes much. My guess would be to first get something minimal to work, maybe using ffmpeg
or even better using libsrt
examples binaries. Then, once we can confirm that it's supposed to work we can circle back here and see if the problem comes from something in the build.
Describe the bug Running
output.srt()
on Windows exits with no log output, no audio sent.To Reproduce caller.liq:
Runtime log:
Expected behavior
output.srt
to send audio to SRT receiver script running on remote host. Or error with a message.Version details
Install method Binary from unzipped 2.0.5 release