datarhei / restreamer

The Restreamer is a complete streaming server solution for self-hosting. It has a visually appealing user interface and no ongoing license costs. Upload your live stream to YouTube, Twitch, Facebook, Vimeo, or other streaming solutions like Wowza. Receive video data from OBS and publish it with the RTMP and SRT server.
https://docs.datarhei.com/restreamer/
Apache License 2.0
3.79k stars 438 forks source link

RTMP Nstream.to Error #509

Open Inzombie opened 1 year ago

Inzombie commented 1 year ago

Hello, i have an error when i try to use nstream.to rtmp.

Example rtmp://origin.nstream.to/cast?publishsign=aWQ9NTA3MSZzaWduPUQvNXpvVFNMcUxwSEJqb3NiQ29nZFE9PQ==/IDofrestream

Captura de Pantalla 2023-02-11 a la(s) 9 36 11 Captura de Pantalla 2023-02-11 a la(s) 9 37 16

I used this on simple ffmpeg and works well. Any suggestion?

jstabenow commented 1 year ago

Hey @Inzombie Please attach the process report. Thanks.

Inzombie commented 1 year ago

Hey @Inzombie Please attach the process report. Thanks.

@1677039562 libavutil 57. 28.100 / 57. 28.100 @1677039562 libavcodec 59. 37.100 / 59. 37.100 @1677039562 libavformat 59. 27.100 / 59. 27.100 @1677039562 libavdevice 59. 7.100 / 59. 7.100 @1677039562 libavfilter 8. 44.100 / 8. 44.100 @1677039562 libswscale 6. 7.100 / 6. 7.100 @1677039562 libswresample 4. 7.100 / 4. 7.100 @1677039562 libpostproc 56. 6.100 / 56. 6.100 @1677039562 [hls ] Skip ('#EXT-X-VERSION:3') @1677039562 [hls ] Opening 'http://admin:VhfT1wbtPqaTciwSjf@localhost:8080/memfs/a388a22e-cb5e-4fe0-abbf-cbfd2b0fc9ae_output_0.m3u8' for reading @1677039562 [hls ] Skip ('#EXT-X-VERSION:3') @1677039562 [hls ] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-02-22T04:19:08.933+0000') @1677039562 [hls ] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-02-22T04:19:10.935+0000') @1677039562 [hls ] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-02-22T04:19:12.937+0000') @1677039562 [hls ] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-02-22T04:19:14.939+0000') @1677039562 [hls ] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-02-22T04:19:16.941+0000') @1677039562 [hls ] Skip ('#EXT-X-PROGRAM-DATE-TIME:2023-02-22T04:19:18.943+0000') @1677039562 [hls ] Opening 'http://admin:VhfT1wbtPqaTciwSjf@localhost:8080/memfs/a388a22e-cb5e-4fe0-abbf-cbfd2b0fc9ae_output_0_35999.ts' for reading @1677039562 [hls ] Opening 'http://admin:VhfT1wbtPqaTciwSjf@localhost:8080/memfs/a388a22e-cb5e-4fe0-abbf-cbfd2b0fc9ae_output_0_36000.ts' for reading @1677039562 Input #0, hls, from 'http://admin:VhfT1wbtPqaTciwSjf@localhost:8080/memfs/a388a22e-cb5e-4fe0-abbf-cbfd2b0fc9ae.m3u8': @1677039562 Duration: N/A, start: 15693.094700, bitrate: N/A @1677039562 Program 0 @1677039562 Metadata: @1677039562 variant_bitrate : 211229 @1677039562 Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709), 960x540 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn @1677039562 Metadata: @1677039562 variant_bitrate : 211229 @1677039562 Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp @1677039562 Metadata: @1677039562 variant_bitrate : 211229 @1677039563 Output #0, flv, to 'rtmp://origin.nstream.to/cast?publishsign=aWQ9NTA3MSZzaWduPXdhbGl4MG5vUUVsRUprU29KanVMR2c9PQ==/21rw4sb1mi5': @1677039563 Metadata: @1677039563 encoder : Lavf59.27.100 @1677039563 Stream #0:0: Video: h264 (Main) ([7][0][0][0] / 0x0007), yuv420p(tv, bt709), 960x540 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 1k tbn @1677039563 Metadata: @1677039563 variant_bitrate : 211229 @1677039563 Stream #0:1: Audio: aac (LC) ([10][0][0][0] / 0x000A), 48000 Hz, stereo, fltp @1677039563 Metadata: @1677039563 variant_bitrate : 211229 @1677039563 ffmpeg.mapping:{"graphs":[],"mapping":[{"input":{"index":0,"stream":0},"output":{"index":0,"stream":0},"copy":true},{"input":{"index":0,"stream":1},"output":{"index":0,"stream":1},"copy":true}]} @1677039563 Stream mapping: @1677039563 Stream #0:0 -> #0:0 (copy) @1677039563 Stream #0:1 -> #0:1 (copy) @1677039563 Press [q] to stop, [?] for help @1677039563 av_interleaved_write_frame(): Broken pipe @1677039563 [flv ] Failed to update header with correct duration. @1677039563 [flv ] Failed to update header with correct filesize. @1677039563 Error writing trailer of rtmp://origin.nstream.to/cast?publishsign=aWQ9NTA3MSZzaWduPXdhbGl4MG5vUUVsRUprU29KanVMR2c9PQ==/21rw4sb1mi5: Broken pipe @1677039563 Error closing file rtmp://origin.nstream.to/cast?publishsign=aWQ9NTA3MSZzaWduPXdhbGl4MG5vUUVsRUprU29KanVMR2c9PQ==/21rw4sb1mi5: Broken pipe @1677039563 Conversion failed!

in the old version works very well without any issue

jstabenow commented 1 year ago

Please attach the process report of your incoming stream (main channel) and publishing service (main-channel to rtmp).

Then we can look at the differences between the versions.

The old settings: https://github.com/datarhei/restreamer/blob/0.x/conf/live.json

ZeeMoon69 commented 1 year ago

pls help me. why im cant embed nstream.to to my blogspot