I have a problem with FFMPEG Consumer and new release of CasparCG 2.2.0.
I have this config (working with v2.1.0)
Code: Select all
<channels>
<channel>
<video-mode>720p2500</video-mode>
<channel-layout>stereo</channel-layout>
<consumers>
<ffmpeg>
<path>rtmp://host.tld:1935/app/stream</path>
<args>-c:v libx264 -preset veryfast -g 50 -vf format=yuv420p -video_size 1280x720 -maxrate 1500k -bufsize 3000k -c:a aac -b:a 128k -ar 48000 -ac 2 -strict experimental -f flv</args>
</ffmpeg>
</consumers>
</channel>
</channels>
I read that FFMPEG Consumer is almost rewritten from scratch, could somebody help me to try to fix it with the new CasparCG?
The error I got in the log file is:
Code: Select all
[2018-03-08 02:28:50.307] [info] Initializing OpenGL Device.
[2018-03-08 02:28:50.322] [info] Successfully initialized OpenGL
[2018-03-08 02:28:51.370] [info] Initialized OpenGL Accelerated GPU Image Mixer for channel 1
[2018-03-08 02:28:51.371] [info] video_channel[1|720p2500] Successfully Initialized.
[2018-03-08 02:28:51.373] [info] ffmpeg[rtmp://host.tld:1935/app/stream] Initialized.
[2018-03-08 02:28:51.373] [info] Initialized channels.
[2018-03-08 02:28:51.374] [info] Initialized controllers.
[2018-03-08 02:28:51.374] [info] Initialized osc.
[2018-03-08 02:28:51.375] [error] [ffmpeg] [NULL @ 00000246A94223C0] Unable to find a suitable output format for 'rtmp://live3.ivoplay.it:1935/ivotv?doPublish=playout_2017/ivotv1'
[2018-03-08 02:28:51.375] [error]
[2018-03-08 02:28:51.376] [error] [ffmpeg] [NULL @ 00000246A94223C0] Unable to find a suitable output format for 'rtmp://live3.ivoplay.it:1935/ivotv?doPublish=playout_2017/ivotv1'
[2018-03-08 02:28:51.376] [error]
[2018-03-08 02:28:51.422] [error] C:\Program Files (x86)\Jenkins\workspace\casparcg-server\master\src\modules\ffmpeg\consumer\ffmpeg_consumer.cpp(468): Throw in function auto __cdecl caspar::ffmpeg::ffmpeg_consumer::initialize::<lambda_28279d2b049c1510d5b87c89898ce938>::operator ()(void) const
[2018-03-08 02:28:51.422] [error] Dynamic exception type: class boost::exception_detail::clone_impl<struct caspar::ffmpeg::ffmpeg_error_t>
[2018-03-08 02:28:51.422] [error] [struct boost::errinfo_api_function_ * __ptr64] = avformat_alloc_output_context2( &oc, nullptr, !format.empty() ? format.c_str() : nullptr, path_.c_str())
[2018-03-08 02:28:51.422] [error] [struct boost::errinfo_errno_ * __ptr64] = 22, "Invalid argument"
[2018-03-08 02:28:51.422] [error] [struct caspar::tag_stacktrace_info * __ptr64] = 0# 0x00007FF760CE8A8E in casparcg
[2018-03-08 02:28:51.422] [error] 1# 0x00007FF760D16F50 in casparcg
[2018-03-08 02:28:51.422] [error] 2# 0x00007FF760EB0EB7 in casparcg
[2018-03-08 02:28:51.422] [error] 3# 0x00007FF760EB3390 in casparcg
[2018-03-08 02:28:51.422] [error] 4# 0x00007FF760CE3949 in casparcg
[2018-03-08 02:28:51.422] [error] 5# iswascii in ucrtbase
[2018-03-08 02:28:51.422] [error] 6# BaseThreadInitThunk in KERNEL32
[2018-03-08 02:28:51.422] [error] 7# RtlUserThreadStart in ntdll
[2018-03-08 02:28:51.422] [error]
[2018-03-08 02:28:51.422] [error]
Thank you very much.
Lapo