Open ChristopheBrown opened 5 years ago
The "invalid argument" error can be resolved by changing
"ffmpeg -i 'udp://10.5.5.100:8554' -fflags nobuffer -f:v mpegts -probesize 8192 "
to
'ffmpeg -i "udp://10.5.5.100:8554" -fflags nobuffer -f:v mpegts -probesize 8192 '
Using GoPro Hero6. I pulled the repo earlier today, all I changed was the SAVE flag (I want to record and save to my Windows 10 PC, not stream), and the save destination. The rest of the code is consistent with the repo. I'm a novice so my apoligies ig the answer is obvious. The streaming works with SAVEing turned off strangely enough. Here's my output:
branch HD4 HERO6 Black HD6.01.02.01.00 UDP target IP: 10.5.5.9 UDP target port: 8554 message: GPHD:0:0:2:0.000000
Recording on camera: False Recording locally: True Recording stored in: C:/Users/USER/Videos/GoPro/goprofeed3.ts Note: Preview is not available when saving the stream. Press ctrl+C to quit this application.
ffmpeg version N-94576-g1965161ef6 Copyright (c) 2000-2019 the FFmpeg developers built with gcc 9.1.1 (GCC) 20190807 configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt libavutil 56. 33.100 / 56. 33.100 libavcodec 58. 55.100 / 58. 55.100 libavformat 58. 31.101 / 58. 31.101 libavdevice 58. 9.100 / 58. 9.100 libavfilter 7. 58.100 / 7. 58.100 libswscale 5. 6.100 / 5. 6.100 libswresample 3. 6.100 / 3. 6.100 libpostproc 55. 6.100 / 55. 6.100 'udp://10.5.5.100:8554': Invalid argument