CasparCG / server

CasparCG Server is a Windows and Linux software used to play out professional graphics, audio and video to multiple outputs. It has been in 24/7 broadcast production since 2006. Ready-to-use downloads are available under the Releases tab https://casparcg.com.
GNU General Public License v3.0
902 stars 269 forks source link

CasparCG Server Linux + RTMP streaming bug #534

Closed c769214 closed 7 years ago

c769214 commented 7 years ago

I would like to make casparcg into rtmp broadcast and I found the following problem (Or maybe something I did wrong?)

Maybe I need some fine tunes or anything else ?

add 1 stream rtmp://stream.connectcast.tv/live/<> -vcodec libx264 -x264opts keyint=45 -tune zerolatency -preset ultrafast -bufsize 1146k -maxrate 2500k -acodec libmp3lame -ar 22050 -ab 48k -f flv [2017-01-15 14:47:59.382] [140638071912192] [info] Received message from Console: add 1 stream rtmp://stream.connectcast.tv/live/<> -vcodec libx264 -x264opts keyint=45 -tune zerolatency -preset ultrafast -bufsize 1146k -maxrate 2500k -acodec libmp3lame -ar 22050 -ab 48k -f flv\r\n [2017-01-15 14:47:59.386] [140638080304896] [info] [2017-01-15 14:47:59.386] [140638080304896] [info] +------------------------+ [2017-01-15 14:47:59.386] [140638080304896] [info] | ffmpeg_consumer_buffer |default--[1280x720 1:1 bgra]--auto-inserted scaler 0:default [2017-01-15 14:47:59.386] [140638080304896] [info] | (buffer) | [2017-01-15 14:47:59.386] [140638080304896] [info] +------------------------+ [2017-01-15 14:47:59.386] [140638080304896] [info] [2017-01-15 14:47:59.386] [140638080304896] [info] +----------------------------+ [2017-01-15 14:47:59.386] [140638080304896] [info] auto-inserted scaler 0:default--[1280x720 1:1 yuv420p]--default| ffmpeg_consumer_buffersink | [2017-01-15 14:47:59.386] [140638080304896] [info] | (buffersink) | [2017-01-15 14:47:59.386] [140638080304896] [info] +----------------------------+ [2017-01-15 14:47:59.386] [140638080304896] [info] [2017-01-15 14:47:59.386] [140638080304896] [info] +------------------------+ [2017-01-15 14:47:59.386] [140638080304896] [info] ffmpeg_consumer_buffer:default--[1280x720 1:1 bgra]--default| auto-inserted scaler 0 |default--[1280x720 1:1 yuv420p]--ffmpeg_consumer_buffersink:default [2017-01-15 14:47:59.386] [140638080304896] [info] | (scale) | [2017-01-15 14:47:59.386] [140638080304896] [info] +------------------------+ [2017-01-15 14:47:59.386] [140638080304896] [info] [2017-01-15 14:47:59.386] [140638080304896] [info] [2017-01-15 14:48:01.291] [140638080304896] [warning] [ffmpeg] [flv @ 0x16231bfd2e00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [2017-01-15 14:48:01.291] [140638080304896] [warning] [ffmpeg] [flv @ 0x16231bfd2e00] Using AVStream.codec.time_base as a timebase hint to the muxer is deprecated. Set AVStream.time_base instead. [2017-01-15 14:48:01.291] [140638080304896] [info] [ffmpeg] Output #0, flv, to 'rtmp://stream.connectcast.tv/live/<>': [2017-01-15 14:48:01.291] [140638080304896] [info] [ffmpeg] Metadata: [2017-01-15 14:48:01.291] [140638080304896] [info] [ffmpeg] encoder : [2017-01-15 14:48:01.291] [140638080304896] [info] [ffmpeg] Lavf56.36.10 [2017-01-15 14:48:01.291] [140638080304896] [info] [ffmpeg] [2017-01-15 14:48:01.291] [140638080304896] [info] [ffmpeg] Stream #0: [2017-01-15 14:48:01.291] [140638080304896] [info] [ffmpeg] : Video: flv1 (flv) ([2][0][0][0] / 0x0002), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=2-31, 48 kb/ [2017-01-15 14:48:01.292] [140638080304896] [info] [ffmpeg] , [2017-01-15 14:48:01.292] [140638080304896] [info] [ffmpeg] 1k tbn, [2017-01-15 14:48:01.292] [140638080304896] [info] [ffmpeg] 29.97 tb [2017-01-15 14:48:01.292] [140638080304896] [info] [ffmpeg] [2017-01-15 14:48:01.292] [140638080304896] [info] [ffmpeg] Stream #0: [2017-01-15 14:48:01.292] [140638080304896] [info] [ffmpeg] : Audio: mp3 (libmp3lame) ([2][0][0][0] / 0x0002), 22050 Hz, stereo, s32p, 48 kb/ [2017-01-15 14:48:01.292] [140638080304896] [info] [ffmpeg] [2017-01-15 14:48:01.292] [140638080304896] [warning] Invalid option: -52874 -vcodec [2017-01-15 14:48:01.292] [140638080304896] [warning] Invalid option: -59A0 [2017-01-15 14:48:01.292] [140638080304896] [warning] Invalid option: -6FA0DD31F782 [2017-01-15 14:48:01.292] [140638080304896] [warning] Invalid option: -8C063D62 [2017-01-15 14:48:01.293] [140638080304896] [warning] Invalid option: -9464 [2017-01-15 14:48:01.293] [140638080304896] [warning] Invalid option: -D89E [2017-01-15 14:48:01.293] [140638080304896] [warning] Invalid option: -preset ultrafast [2017-01-15 14:48:01.293] [140638080304896] [warning] Invalid option: -tune zerolatency [2017-01-1#202 ADD OK 5 14:48:01.293] [140638080304896] [warning] Invalid option: -x264opts keyint=45 [2017-01-15 14:48:01.293] [140638080304896] [info] ffmpeg_consumer[rtmp://stream.connectcast.tv/live/<>] Initialized.

thanks.

HellGore commented 7 years ago

Regenerate your stream key for security reasons. You accidentally published it here

HellGore commented 7 years ago

Please try the lastest build and report back.

c769214 commented 7 years ago

thanks