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

Can't Stream to YouTube Live RTMP #870

Open
chope1 opened this issue Jan 5, 2025 · 1 comment
Open

Can't Stream to YouTube Live RTMP #870

chope1 opened this issue Jan 5, 2025 · 1 comment

Comments

@chope1
Copy link

chope1 commented Jan 5, 2025

Subject of the issue
Can't connect to YouTube Live via RMTP, getting this connection message - Error: [fatal] Error opening output files: I/O error

Your environment
Ubuntu 22.04 LTS, 6 Cores and 8gb Ram on Netcup VPS Hosting.

Using small video file loop with this config -
H.264 (libx264), 2048 kbit/s, 25 FPS, Preset: ultrafast, Profile: auto

Files
{ "about": { "id": "fe74665a-2dca-42a1-9c21-8927dc5df324", "name": "red-wood-2527", "created_at": "2025-01-05T14:29:26.000Z", "version": { "number": "16.16.0", "repository_commit": "6872ba0498f87eb3313d298a9046d2f5637ee136", "repository_branch": "main", "build_date": "2024-06-07T10:01:49Z", "arch": "linux/arm64", "compiler": "go1.22.4" }, "auths": [ "localjwt" ], "app": "datarhei-core", "uptime_seconds": 3912 }, "ffmpeg": { "version": "6.1.1", "compiler": "gcc 13.2.1 (Alpine 13.2.1_git20231014) 20231014", "configuration": "--extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-alsa --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libdav1d --enable-librav1e --disable-ffplay --disable-debug --disable-doc --disable-shared", "libraries": [ { "name": "libavutil", "compiled": "58. 29.100", "linked": "58. 29.100" }, { "name": "libavcodec", "compiled": "60. 31.102", "linked": "60. 31.102" }, { "name": "libavformat", "compiled": "60. 16.100", "linked": "60. 16.100" }, { "name": "libavdevice", "compiled": "60. 3.100", "linked": "60. 3.100" }, { "name": "libavfilter", "compiled": "9. 12.100", "linked": "9. 12.100" }, { "name": "libswscale", "compiled": "7. 5.100", "linked": "7. 5.100" }, { "name": "libswresample", "compiled": "4. 12.100", "linked": "4. 12.100" }, { "name": "libpostproc", "compiled": "57. 3.100", "linked": "57. 3.100" } ], "version_major": 6, "version_minor": 1 }, "config": { "created_at": "2025-01-05T14:29:15.073266787Z", "version": 3, "id": "fe74665a-2dca-42a1-9c21-8927dc5df324", "name": "red-wood-2527", "address": ":8080", "update_check": true, "log": { "level": "info", "topics": [], "max_lines": 1000 }, "db": { "dir": "/core/config" }, "host": { "name": [], "auto": true }, "api": { "read_only": false, "access": { "http": { "allow": [], "block": [] }, "https": { "allow": [], "block": [] } }, "auth": { "enable": true, "disable_localhost": false, "username": "[anonymized]", "password": "[anonymized]", "jwt": { "secret": "[anonymized]" }, "auth0": { "enable": false, "tenants": [] } } }, "tls": { "address": ":8181", "enable": false, "auto": false, "email": "[email protected]", "cert_file": "", "key_file": "" }, "storage": { "disk": { "dir": "/core/data", "max_size_mbytes": 0, "cache": { "enable": true, "max_size_mbytes": 0, "ttl_seconds": 300, "max_file_size_mbytes": 1, "types": { "allow": [], "block": [ ".m3u8", ".mpd" ] } } }, "memory": { "auth": { "enable": true, "username": "[anonymized]", "password": "[anonymized]" }, "max_size_mbytes": 0, "purge": false }, "s3": [], "cors": { "origins": [ "*" ] }, "mimetypes_file": "./mime.types" }, "rtmp": { "enable": true, "enable_tls": false, "address": ":1935", "address_tls": ":1936", "app": "[anonymized]", "token": "[anonymized]" }, "srt": { "enable": false, "address": ":6000", "passphrase": "", "token": "", "log": { "enable": false, "topics": [] } }, "ffmpeg": { "binary": "ffmpeg", "max_processes": 0, "access": { "input": { "allow": [], "block": [] }, "output": { "allow": [], "block": [] } }, "log": { "max_lines": 50, "max_history": 3 } }, "playout": { "enable": false, "min_port": 0, "max_port": 0 }, "debug": { "profiling": false, "force_gc": 0, "memory_limit_mbytes": 0 }, "metrics": { "enable": false, "enable_prometheus": false, "range_sec": 300, "interval_sec": 2 }, "sessions": { "enable": true, "ip_ignorelist": [ "[anonymized]", "[anonymized]" ], "session_timeout_sec": 30, "persist": false, "persist_interval_sec": 300, "max_bitrate_mbit": 0, "max_sessions": 0 }, "service": { "enable": false, "token": "[anonymized]", "url": "https://service.datarhei.com" }, "router": { "blocked_prefixes": [ "/api" ], "routes": {}, "ui_path": "/core/ui" } }, "process": { "id": "restreamer-ui:egress:youtube:a6e46196-1e43-4272-8042-49b678756c7b", "type": "ffmpeg", "reference": "abf13a23-b4d5-4c6c-9b4e-30f09422a6fa", "created_at": 1736090771, "updated_at": 1736090773, "config": { "id": "restreamer-ui:egress:youtube:a6e46196-1e43-4272-8042-49b678756c7b", "type": "ffmpeg", "reference": "abf13a23-b4d5-4c6c-9b4e-30f09422a6fa", "input": [ { "id": "input_0", "address": "{memfs}/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa.m3u8", "options": [ "-re" ] } ], "output": [ { "id": "output_0", "address": "rtmps://[anonymized]", "options": [ "-map", "0:0", "-codec:v", "copy", "-map", "0:1", "-codec:a", "copy", "-f", "flv", "-rtmp_enhanced_codecs", "hvc1,av01" ] } ], "options": [ "-loglevel", "level+info", "-err_detect", "ignore_err" ], "reconnect": true, "reconnect_delay_seconds": 15, "autostart": false, "stale_timeout_seconds": 30, "limits": { "cpu_usage": 0, "memory_mbytes": 0, "waitfor_seconds": 5 } }, "state": { "order": "start", "exec": "failed", "runtime_seconds": 8, "reconnect_seconds": 6, "last_logline": "[fatal] Error opening output files: I/O error", "progress": { "inputs": [], "outputs": [], "frame": 0, "packet": 0, "fps": 0, "q": 0, "size_kb": 0, "time": 0, "bitrate_kbit": 0, "speed": 0, "drop": 0, "dup": 0 }, "memory_bytes": 0, "cpu_usage": 0, "command": [ "-loglevel", "level+info", "-err_detect", "ignore_err", "-re", "-i", "http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa.m3u8", "-map", "0:0", "-codec:v", "copy", "-map", "0:1", "-codec:a", "copy", "-f", "flv", "-rtmp_enhanced_codecs", "hvc1,av01", "rtmps://[anonymized]" ] }, "report": { "created_at": 1736091265, "prelude": [ "[info] ffmpeg version 6.1.1-datarhei Copyright (c) 2000-2023 the FFmpeg developers", "[info] built with gcc 13.2.1 (Alpine 13.2.1_git20231014) 20231014", "[info] configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-alsa --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libdav1d --enable-librav1e --disable-ffplay --disable-debug --disable-doc --disable-shared", "[info] libavutil 58. 29.100 / 58. 29.100", "[info] libavcodec 60. 31.102 / 60. 31.102", "[info] libavformat 60. 16.100 / 60. 16.100", "[info] libavdevice 60. 3.100 / 60. 3.100", "[info] libavfilter 9. 12.100 / 9. 12.100", "[info] libswscale 7. 5.100 / 7. 5.100", "[info] libswresample 4. 12.100 / 4. 12.100", "[info] libpostproc 57. 3.100 / 57. 3.100", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-VERSION:3')", "[hls @ 0xffffb50bd570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0.m3u8' for reading", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-VERSION:3')", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:12.239+0000')", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:14.239+0000')", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:16.239+0000')", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:18.239+0000')", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:20.239+0000')", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:22.239+0000')", "[hls @ 0xffffb50bd570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0486.ts' for reading", "[hls @ 0xffffb50bd570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0487.ts' for reading", "[info] Input #0, hls, from 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa.m3u8':", "[info] Duration: N/A, start: 972.023222, bitrate: N/A", "[info] Program 0 ", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[info] Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1080x1440 [SAR 1:1 DAR 3:4], 25 fps, 25 tbr, 90k tbn", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[info] Stream #0:1(und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[tcp @ 0xffffb239c9b0] [error] Failed to resolve hostname a.rtmp.youtube.com: Try again", "[rtmps @ 0xffffb2cdb880] [error] Cannot open connection tls://[anonymized]", "[out#0/flv @ 0xffffb3354e70] [fatal] Error opening output rtmps://[anonymized] I/O error", "[error] Error opening output file rtmps://[anonymized]", "[fatal] Error opening output files: I/O error" ], "log": [ [ "1736091265", "[info] ffmpeg version 6.1.1-datarhei Copyright (c) 2000-2023 the FFmpeg developers" ], [ "1736091265", "[info] built with gcc 13.2.1 (Alpine 13.2.1_git20231014) 20231014" ], [ "1736091265", "[info] configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-alsa --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libdav1d --enable-librav1e --disable-ffplay --disable-debug --disable-doc --disable-shared" ], [ "1736091265", "[info] libavutil 58. 29.100 / 58. 29.100" ], [ "1736091265", "[info] libavcodec 60. 31.102 / 60. 31.102" ], [ "1736091265", "[info] libavformat 60. 16.100 / 60. 16.100" ], [ "1736091265", "[info] libavdevice 60. 3.100 / 60. 3.100" ], [ "1736091265", "[info] libavfilter 9. 12.100 / 9. 12.100" ], [ "1736091265", "[info] libswscale 7. 5.100 / 7. 5.100" ], [ "1736091265", "[info] libswresample 4. 12.100 / 4. 12.100" ], [ "1736091265", "[info] libpostproc 57. 3.100 / 57. 3.100" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-VERSION:3')" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0.m3u8' for reading" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-VERSION:3')" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:12.239+0000')" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:14.239+0000')" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:16.239+0000')" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:18.239+0000')" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:20.239+0000')" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:22.239+0000')" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0486.ts' for reading" ], [ "1736091265", "[hls @ 0xffffb50bd570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0487.ts' for reading" ], [ "1736091265", "[info] Input #0, hls, from 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa.m3u8':" ], [ "1736091265", "[info] Duration: N/A, start: 972.023222, bitrate: N/A" ], [ "1736091265", "[info] Program 0 " ], [ "1736091265", "[info] Metadata:" ], [ "1736091265", "[info] variant_bitrate : 2255107" ], [ "1736091265", "[info] Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1080x1440 [SAR 1:1 DAR 3:4], 25 fps, 25 tbr, 90k tbn" ], [ "1736091265", "[info] Metadata:" ], [ "1736091265", "[info] variant_bitrate : 2255107" ], [ "1736091265", "[info] Stream #0:1(und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp" ], [ "1736091265", "[info] Metadata:" ], [ "1736091265", "[info] variant_bitrate : 2255107" ], [ "1736091270", "[tcp @ 0xffffb239c9b0] [error] Failed to resolve hostname a.rtmp.youtube.com: Try again" ], [ "1736091270", "[rtmps @ 0xffffb2cdb880] [error] Cannot open connection tls://[anonymized]" ], [ "1736091270", "[out#0/flv @ 0xffffb3354e70] [fatal] Error opening output rtmps://[anonymized] I/O error" ], [ "1736091270", "[error] Error opening output file rtmps://[anonymized]" ], [ "1736091270", "[fatal] Error opening output files: I/O error" ] ], "history": [ { "created_at": 1736091205, "prelude": [ "[info] ffmpeg version 6.1.1-datarhei Copyright (c) 2000-2023 the FFmpeg developers", "[info] built with gcc 13.2.1 (Alpine 13.2.1_git20231014) 20231014", "[info] configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-alsa --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libdav1d --enable-librav1e --disable-ffplay --disable-debug --disable-doc --disable-shared", "[info] libavutil 58. 29.100 / 58. 29.100", "[info] libavcodec 60. 31.102 / 60. 31.102", "[info] libavformat 60. 16.100 / 60. 16.100", "[info] libavdevice 60. 3.100 / 60. 3.100", "[info] libavfilter 9. 12.100 / 9. 12.100", "[info] libswscale 7. 5.100 / 7. 5.100", "[info] libswresample 4. 12.100 / 4. 12.100", "[info] libpostproc 57. 3.100 / 57. 3.100", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-VERSION:3')", "[hls @ 0xffff9c441570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0.m3u8' for reading", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-VERSION:3')", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:12.239+0000')", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:14.239+0000')", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:16.239+0000')", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:18.239+0000')", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:20.239+0000')", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:22.239+0000')", "[hls @ 0xffff9c441570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0456.ts' for reading", "[hls @ 0xffff9c441570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0457.ts' for reading", "[info] Input #0, hls, from 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa.m3u8':", "[info] Duration: N/A, start: 912.023222, bitrate: N/A", "[info] Program 0 ", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[info] Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1080x1440 [SAR 1:1 DAR 3:4], 25 fps, 25 tbr, 90k tbn", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[info] Stream #0:1(und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[tcp @ 0xffff9972a9b0] [error] Failed to resolve hostname a.rtmp.youtube.com: Try again", "[rtmps @ 0xffff9a05f880] [error] Cannot open connection tls://[anonymized]", "[out#0/flv @ 0xffff9a6d8e70] [fatal] Error opening output rtmps://[anonymized] I/O error", "[error] Error opening output file rtmps://[anonymized]", "[fatal] Error opening output files: I/O error" ], "log": [ [ "1736091205", "[info] ffmpeg version 6.1.1-datarhei Copyright (c) 2000-2023 the FFmpeg developers" ], [ "1736091205", "[info] built with gcc 13.2.1 (Alpine 13.2.1_git20231014) 20231014" ], [ "1736091205", "[info] configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-alsa --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libdav1d --enable-librav1e --disable-ffplay --disable-debug --disable-doc --disable-shared" ], [ "1736091205", "[info] libavutil 58. 29.100 / 58. 29.100" ], [ "1736091205", "[info] libavcodec 60. 31.102 / 60. 31.102" ], [ "1736091205", "[info] libavformat 60. 16.100 / 60. 16.100" ], [ "1736091205", "[info] libavdevice 60. 3.100 / 60. 3.100" ], [ "1736091205", "[info] libavfilter 9. 12.100 / 9. 12.100" ], [ "1736091205", "[info] libswscale 7. 5.100 / 7. 5.100" ], [ "1736091205", "[info] libswresample 4. 12.100 / 4. 12.100" ], [ "1736091205", "[info] libpostproc 57. 3.100 / 57. 3.100" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-VERSION:3')" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0.m3u8' for reading" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-VERSION:3')" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:12.239+0000')" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:14.239+0000')" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:16.239+0000')" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:18.239+0000')" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:20.239+0000')" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:22.239+0000')" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0456.ts' for reading" ], [ "1736091205", "[hls @ 0xffff9c441570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0457.ts' for reading" ], [ "1736091205", "[info] Input #0, hls, from 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa.m3u8':" ], [ "1736091205", "[info] Duration: N/A, start: 912.023222, bitrate: N/A" ], [ "1736091205", "[info] Program 0 " ], [ "1736091205", "[info] Metadata:" ], [ "1736091205", "[info] variant_bitrate : 2255107" ], [ "1736091205", "[info] Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1080x1440 [SAR 1:1 DAR 3:4], 25 fps, 25 tbr, 90k tbn" ], [ "1736091205", "[info] Metadata:" ], [ "1736091205", "[info] variant_bitrate : 2255107" ], [ "1736091205", "[info] Stream #0:1(und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp" ], [ "1736091205", "[info] Metadata:" ], [ "1736091205", "[info] variant_bitrate : 2255107" ], [ "1736091210", "[tcp @ 0xffff9972a9b0] [error] Failed to resolve hostname a.rtmp.youtube.com: Try again" ], [ "1736091210", "[rtmps @ 0xffff9a05f880] [error] Cannot open connection tls://[anonymized]" ], [ "1736091210", "[out#0/flv @ 0xffff9a6d8e70] [fatal] Error opening output rtmps://[anonymized] I/O error" ], [ "1736091210", "[error] Error opening output file rtmps://[anonymized]" ], [ "1736091210", "[fatal] Error opening output files: I/O error" ] ] }, { "created_at": 1736091225, "prelude": [ "[info] ffmpeg version 6.1.1-datarhei Copyright (c) 2000-2023 the FFmpeg developers", "[info] built with gcc 13.2.1 (Alpine 13.2.1_git20231014) 20231014", "[info] configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-alsa --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libdav1d --enable-librav1e --disable-ffplay --disable-debug --disable-doc --disable-shared", "[info] libavutil 58. 29.100 / 58. 29.100", "[info] libavcodec 60. 31.102 / 60. 31.102", "[info] libavformat 60. 16.100 / 60. 16.100", "[info] libavdevice 60. 3.100 / 60. 3.100", "[info] libavfilter 9. 12.100 / 9. 12.100", "[info] libswscale 7. 5.100 / 7. 5.100", "[info] libswresample 4. 12.100 / 4. 12.100", "[info] libpostproc 57. 3.100 / 57. 3.100", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-VERSION:3')", "[hls @ 0xffffb3963570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0.m3u8' for reading", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-VERSION:3')", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:32.239+0000')", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:34.239+0000')", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:36.239+0000')", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:38.239+0000')", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:40.239+0000')", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:42.239+0000')", "[hls @ 0xffffb3963570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0466.ts' for reading", "[hls @ 0xffffb3963570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0467.ts' for reading", "[info] Input #0, hls, from 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa.m3u8':", "[info] Duration: N/A, start: 932.023222, bitrate: N/A", "[info] Program 0 ", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[info] Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1080x1440 [SAR 1:1 DAR 3:4], 25 fps, 25 tbr, 90k tbn", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[info] Stream #0:1(und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[tcp @ 0xffffb0c779b0] [error] Failed to resolve hostname a.rtmp.youtube.com: Try again", "[rtmps @ 0xffffb1581690] [error] Cannot open connection tls://[anonymized]", "[out#0/flv @ 0xffffb1bfae70] [fatal] Error opening output rtmps://[anonymized] I/O error", "[error] Error opening output file rtmps://[anonymized]", "[fatal] Error opening output files: I/O error" ], "log": [ [ "1736091225", "[info] ffmpeg version 6.1.1-datarhei Copyright (c) 2000-2023 the FFmpeg developers" ], [ "1736091225", "[info] built with gcc 13.2.1 (Alpine 13.2.1_git20231014) 20231014" ], [ "1736091225", "[info] configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-alsa --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libdav1d --enable-librav1e --disable-ffplay --disable-debug --disable-doc --disable-shared" ], [ "1736091225", "[info] libavutil 58. 29.100 / 58. 29.100" ], [ "1736091225", "[info] libavcodec 60. 31.102 / 60. 31.102" ], [ "1736091225", "[info] libavformat 60. 16.100 / 60. 16.100" ], [ "1736091225", "[info] libavdevice 60. 3.100 / 60. 3.100" ], [ "1736091225", "[info] libavfilter 9. 12.100 / 9. 12.100" ], [ "1736091225", "[info] libswscale 7. 5.100 / 7. 5.100" ], [ "1736091225", "[info] libswresample 4. 12.100 / 4. 12.100" ], [ "1736091225", "[info] libpostproc 57. 3.100 / 57. 3.100" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-VERSION:3')" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0.m3u8' for reading" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-VERSION:3')" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:32.239+0000')" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:34.239+0000')" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:36.239+0000')" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:38.239+0000')" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:40.239+0000')" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:42.239+0000')" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0466.ts' for reading" ], [ "1736091225", "[hls @ 0xffffb3963570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0467.ts' for reading" ], [ "1736091225", "[info] Input #0, hls, from 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa.m3u8':" ], [ "1736091225", "[info] Duration: N/A, start: 932.023222, bitrate: N/A" ], [ "1736091225", "[info] Program 0 " ], [ "1736091225", "[info] Metadata:" ], [ "1736091225", "[info] variant_bitrate : 2255107" ], [ "1736091225", "[info] Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1080x1440 [SAR 1:1 DAR 3:4], 25 fps, 25 tbr, 90k tbn" ], [ "1736091225", "[info] Metadata:" ], [ "1736091225", "[info] variant_bitrate : 2255107" ], [ "1736091225", "[info] Stream #0:1(und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp" ], [ "1736091225", "[info] Metadata:" ], [ "1736091225", "[info] variant_bitrate : 2255107" ], [ "1736091230", "[tcp @ 0xffffb0c779b0] [error] Failed to resolve hostname a.rtmp.youtube.com: Try again" ], [ "1736091230", "[rtmps @ 0xffffb1581690] [error] Cannot open connection tls://[anonymized]" ], [ "1736091230", "[out#0/flv @ 0xffffb1bfae70] [fatal] Error opening output rtmps://[anonymized] I/O error" ], [ "1736091230", "[error] Error opening output file rtmps://[anonymized]" ], [ "1736091230", "[fatal] Error opening output files: I/O error" ] ] }, { "created_at": 1736091245, "prelude": [ "[info] ffmpeg version 6.1.1-datarhei Copyright (c) 2000-2023 the FFmpeg developers", "[info] built with gcc 13.2.1 (Alpine 13.2.1_git20231014) 20231014", "[info] configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-alsa --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libdav1d --enable-librav1e --disable-ffplay --disable-debug --disable-doc --disable-shared", "[info] libavutil 58. 29.100 / 58. 29.100", "[info] libavcodec 60. 31.102 / 60. 31.102", "[info] libavformat 60. 16.100 / 60. 16.100", "[info] libavdevice 60. 3.100 / 60. 3.100", "[info] libavfilter 9. 12.100 / 9. 12.100", "[info] libswscale 7. 5.100 / 7. 5.100", "[info] libswresample 4. 12.100 / 4. 12.100", "[info] libpostproc 57. 3.100 / 57. 3.100", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-VERSION:3')", "[hls @ 0xffff89030570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0.m3u8' for reading", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-VERSION:3')", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:52.239+0000')", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:54.239+0000')", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:56.239+0000')", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:58.239+0000')", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:00.239+0000')", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:02.239+0000')", "[hls @ 0xffff89030570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0476.ts' for reading", "[hls @ 0xffff89030570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0477.ts' for reading", "[info] Input #0, hls, from 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa.m3u8':", "[info] Duration: N/A, start: 952.023222, bitrate: N/A", "[info] Program 0 ", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[info] Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1080x1440 [SAR 1:1 DAR 3:4], 25 fps, 25 tbr, 90k tbn", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[info] Stream #0:1(und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp", "[info] Metadata:", "[info] variant_bitrate : 2255107", "[tcp @ 0xffff8633c920] [error] Failed to resolve hostname a.rtmp.youtube.com: Try again", "[rtmps @ 0xffff86c4e690] [error] Cannot open connection tls://[anonymized]", "[out#0/flv @ 0xffff872c7e70] [fatal] Error opening output rtmps://[anonymized] I/O error", "[error] Error opening output file rtmps://[anonymized]", "[fatal] Error opening output files: I/O error" ], "log": [ [ "1736091245", "[info] ffmpeg version 6.1.1-datarhei Copyright (c) 2000-2023 the FFmpeg developers" ], [ "1736091245", "[info] built with gcc 13.2.1 (Alpine 13.2.1_git20231014) 20231014" ], [ "1736091245", "[info] configuration: --extra-version=datarhei --prefix=/usr --extra-libs='-lpthread -lxml2 -lm -lsupc++ -lstdc++ -lssl -lcrypto -lz -lc -ldl' --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-static --enable-openssl --enable-libxml2 --enable-libv4l2 --enable-v4l2_m2m --enable-libfreetype --enable-alsa --enable-libsrt --enable-libx264 --enable-libx265 --enable-libvpx --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libdav1d --enable-librav1e --disable-ffplay --disable-debug --disable-doc --disable-shared" ], [ "1736091245", "[info] libavutil 58. 29.100 / 58. 29.100" ], [ "1736091245", "[info] libavcodec 60. 31.102 / 60. 31.102" ], [ "1736091245", "[info] libavformat 60. 16.100 / 60. 16.100" ], [ "1736091245", "[info] libavdevice 60. 3.100 / 60. 3.100" ], [ "1736091245", "[info] libavfilter 9. 12.100 / 9. 12.100" ], [ "1736091245", "[info] libswscale 7. 5.100 / 7. 5.100" ], [ "1736091245", "[info] libswresample 4. 12.100 / 4. 12.100" ], [ "1736091245", "[info] libpostproc 57. 3.100 / 57. 3.100" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-VERSION:3')" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0.m3u8' for reading" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-VERSION:3')" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:52.239+0000')" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:54.239+0000')" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:56.239+0000')" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:33:58.239+0000')" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:00.239+0000')" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Skip ('#EXT-X-PROGRAM-DATE-TIME:2025-01-05T15:34:02.239+0000')" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0476.ts' for reading" ], [ "1736091245", "[hls @ 0xffff89030570] [info] Opening 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa_output_0_0477.ts' for reading" ], [ "1736091245", "[info] Input #0, hls, from 'http://***:***@localhost:8080/memfs/abf13a23-b4d5-4c6c-9b4e-30f09422a6fa.m3u8':" ], [ "1736091245", "[info] Duration: N/A, start: 952.023222, bitrate: N/A" ], [ "1736091245", "[info] Program 0 " ], [ "1736091245", "[info] Metadata:" ], [ "1736091245", "[info] variant_bitrate : 2255107" ], [ "1736091245", "[info] Stream #0:0: Video: h264 (Constrained Baseline) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 1080x1440 [SAR 1:1 DAR 3:4], 25 fps, 25 tbr, 90k tbn" ], [ "1736091245", "[info] Metadata:" ], [ "1736091245", "[info] variant_bitrate : 2255107" ], [ "1736091245", "[info] Stream #0:1(und): Audio: aac (LC) ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp" ], [ "1736091245", "[info] Metadata:" ], [ "1736091245", "[info] variant_bitrate : 2255107" ], [ "1736091250", "[tcp @ 0xffff8633c920] [error] Failed to resolve hostname a.rtmp.youtube.com: Try again" ], [ "1736091250", "[rtmps @ 0xffff86c4e690] [error] Cannot open connection tls://[anonymized]" ], [ "1736091250", "[out#0/flv @ 0xffff872c7e70] [fatal] Error opening output rtmps://[anonymized] I/O error" ], [ "1736091250", "[error] Error opening output file rtmps://[anonymized]" ], [ "1736091250", "[fatal] Error opening output files: I/O error" ] ] } ] } } }

Steps to reproduce
TAdd video source via loop, add YouTive through 'Publication'

Expected behavior
For the looping video to connect to YouTube Live

Actual behavior
Didn't connect, saying this -
Error: [fatal] Error opening output files: I/O error

@CharlesVelazquez
Copy link

Hi Chope1,

Can't promise I can help, but I do have a few questions I wanted to ask:

  1. Is this only when trying to play a loop file? Have you tried streaming with your keys in something like OBS and was able to successfully connect to youtube? You can set the stream key in youtube to private and test it out.
  2. Which restreamer are you using? :latest, cuda-latest, etc?
  3. How did you go about giving the docker container that is running reastream access to the folder the video is located? I'm not that experienced messing with docker, less on a linux system. But I do believe these containers are naturally isolated from your system and files, so I imagine you would of had to give it extra mount/bind flags or something to even have it see the video file somewhere. How did you go about it?

I was planning on doing something similar to this with restreamer, so I'm interested in your experience

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