It is currently 29 Mar 2017, 00:27



CasparCG Server 2.0.7 released

Answers to frequently asked questions and useful tips and tricks. Read here first!

Moderators: Macey, Jonas Hummelstrand, didikunz

Re: CasparCG Server 2.0.7 released

Postby JoseCristo » 09 Oct 2015, 09:47

Hi everybody (please forgive my bad english)

I am new in CasparCG and i have been testing the version 2.0.7 with the stream command to generate udp streams.

I have one issue (or maybe a bad configuration in my command) when i check the stream with ffprobe

this is the command that i am ussing
ADD 2 STREAM udp://127.0.0.1:5010 -vcodec libx264 -acodec ac3 -b:v 10M -minrate:v 6M -maxrate:v 11M -bufsize:v 2M -muxrate 8M -b:a 256k -vf "format=yuv420p" -preset medium -f mpegts -g 12 -bf 2 -x264opts keyint=20 -mpegts_original_network_id 0x1122 -mpegts_transport_stream_id 0x3344 -mpegts_service_id 0x5566 -mpegts_pmt_start_pid 0x1500 -mpegts_start_pid 0x150 -metadata service_provider="Provedor001" -metadata service_name="MyFirstService"


In the CaspacarCG console log i can see that the parameter metadada has a warning of invalid logged in a warning of invalid option.
Code: Select all
[2015-10-09 03:25:38.089] [7516]  [info]    Received message from 127.0.0.1: ADD 2 STREAM udp://127.0.0.1:5010 -vcodec libx264 -acodec ac3 -b:v 10M -minrate:v 6M -maxrate:v 11M -bufsize:v 2M -muxrate 8M -b:a 256k -vf "format=yuv420p" -preset medium -f mpegts -g 12 -bf 2 -x264opts keyint=20 -mpegts_original_network_id 0x1122 -mpegts_transport_stream_id 0x3344 -mpegts_service_id 0x5566 -mpegts_pmt_start_pid 0x1500 -mpegts_start_pid 0x150  -metadata service_provider="Provedor001" -metadata service_name="MyFirstService"\r\n
[2015-10-09 03:25:38.331] [9240]  [debug]   Executed command: RemoveCommand
[2015-10-09 03:25:38.373] [9240]  [info]    Sent message to 127.0.0.1: 202 REMOVE OK\r\n
[2015-10-09 03:25:38.723] [9240]  [debug]   Executed command: RemoveCommand
[2015-10-09 03:25:38.849] [9240]  [info]    Sent message to 127.0.0.1: 202 REMOVE OK\r\n
[2015-10-09 03:25:39.033] [9240]  [info]
+------------------------+
| ffmpeg_consumer_buffer |default--[1280x720 1:1 bgra]--auto-inserted scaler 0:default
|        (buffer)        |
+------------------------+

                                                        +----------------------------+
Parsed_format_0:default--[1280x720 1:1 yuv420p]--default| ffmpeg_consumer_buffersink |
                                                        |        (buffersink)        |
                                                        +----------------------------+

                                                               +-----------------+
auto-inserted scaler 0:default--[1280x720 1:1 yuv420p]--default| Parsed_format_0 |default--[1280x720 1:1 yuv420p]--ffmpeg_consumer_buffersink:default
                                                               |    (format)     |
                                                               +-----------------+

                                                            +------------------------+
ffmpeg_consumer_buffer:default--[1280x720 1:1 bgra]--default| auto-inserted scaler 0 |default--[1280x720 1:1 yuv420p]--Parsed_format_0:default
                                                            |        (scale)         |
                                                            +------------------------+


[2015-10-09 03:25:41.677] [9240]  [warning] [ffmpeg] [ffmpeg_consumer_abuffersink @ 0858E920] Conflicting all_channel_counts and list in options
[2015-10-09 03:25:41.703] [9240]  [info]
+-------------------------+
| ffmpeg_consumer_abuffer |default--[48000Hz s32:stereo]--auto-inserted resampler 0:default
|        (abuffer)        |
+-------------------------+

                                                                 +-----------------------------+
auto-inserted resampler 0:default--[48000Hz fltp:stereo]--default| ffmpeg_consumer_abuffersink |
                                                                 |        (abuffersink)        |
                                                                 +-----------------------------+

                                                              +---------------------------+
ffmpeg_consumer_abuffer:default--[48000Hz s32:stereo]--default| auto-inserted resampler 0 |default--[48000Hz fltp:stereo]--ffmpeg_consumer_abuffersink:default
                                                              |        (aresample)        |
                                                              +---------------------------+


[2015-10-09 03:25:41.960] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] using SAR=1/1
[2015-10-09 03:25:41.980] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
[2015-10-09 03:25:42.046] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] profile High, level 3.2
[2015-10-09 03:25:42.090] [9240]  [info]    [ffmpeg] Output #0, mpegts, to 'udp://127.0.0.1:5010':
[2015-10-09 03:25:42.126] [9240]  [info]    [ffmpeg]   Metadata:
[2015-10-09 03:25:42.152] [9240]  [info]    [ffmpeg]     encoder         :
[2015-10-09 03:25:42.164] [9240]  [info]    [ffmpeg] Lavf55.33.10
[2015-10-09 03:25:42.176] [9240]  [info]    [ffmpeg]
[2015-10-09 03:25:42.183] [9240]  [info]    [ffmpeg]     Stream #0:
[2015-10-09 03:25:42.190] [9240]  [info]    [ffmpeg] : Video: h264 (libx264), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], q=-1--1, 10000 kb/
[2015-10-09 03:25:42.208] [9240]  [info]    [ffmpeg] , 90k tb
[2015-10-09 03:25:42.213] [9240]  [info]    [ffmpeg] , 60 tb
[2015-10-09 03:25:42.217] [9240]  [info]    [ffmpeg]
[2015-10-09 03:25:42.223] [9240]  [info]    [ffmpeg]     Stream #0:
[2015-10-09 03:25:42.230] [9240]  [info]    [ffmpeg] : Audio: ac3, 48000 Hz, stereo, fltp, 256 kb/
[2015-10-09 03:25:42.242] [9240]  [info]    [ffmpeg]
[2015-10-09 03:25:42.247] [9240]  [warning] Invalid option: -metadata service_name=CanalIP001
[2015-10-09 03:25:42.258] [10236] [info]    output[2] streaming_consumer[udp://127.0.0.1:5010] Added.
[2015-10-09 03:25:42.269] [9240]  [debug]   Executed command: AddCommand
[2015-10-09 03:25:42.277] [9240]  [info]    Sent message to 127.0.0.1: 202 ADD OK\r\n
[2015-10-09 03:25:42.283] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:42.294] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:42.308] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:42.330] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:42.819] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:43.434] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:44.016] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:44.681] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:44.998] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:45.314] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:45.971] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:46.593] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:47.201] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:47.814] [11032] [warning] [ffmpeg] [mpegts @ 1A1BB160] dts < pcr, TS is invalid
[2015-10-09 03:25:48.032] [7516]  [info]    Received message from 127.0.0.1: REMOVE 2 STREAM udp://127.0.0.1:5010\r\n
[2015-10-09 03:25:48.362] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] frame I:14    Avg QP: 0.43  size:   309
[2015-10-09 03:25:48.464] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] frame P:93    Avg QP: 0.15  size:    46
[2015-10-09 03:25:48.588] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] frame B:160   Avg QP: 0.36  size:    38
[2015-10-09 03:25:48.647] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] consecutive B-frames: 10.1%  0.0% 89.9%
[2015-10-09 03:25:48.683] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] mb I  I16..4: 100.0%  0.0%  0.0%
[2015-10-09 03:25:48.775] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.0%  0.0%  0.0%  0.0%  0.0%    skip:100.0%
[2015-10-09 03:25:48.885] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.0%  0.0%  0.0%  direct: 0.0%  skip:100.0%
[2015-10-09 03:25:48.928] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] 8x8 transform intra:0.0%
[2015-10-09 03:25:48.976] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] coded y,uvDC,uvAC intra: 0.0% 0.0% 0.0% inter: 0.0% 0.0% 0.0%
[2015-10-09 03:25:49.050] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] i16 v,h,dc,p: 98%  0%  2%  0%
[2015-10-09 03:25:49.072] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] i8c dc,h,v,p: 100%  0%  0%  0%
[2015-10-09 03:25:49.154] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] Weighted P-Frames: Y:0.0% UV:0.0%
[2015-10-09 03:25:49.190] [9240]  [info]    [ffmpeg] [libx264 @ 085A0480] kb/s:26.52
[2015-10-09 03:25:49.206] [9240]  [info]    output[2] streaming_consumer[udp://127.0.0.1:5010] Removed.
[2015-10-09 03:25:49.221] [9240]  [debug]   Executed command: RemoveCommand
[2015-10-09 03:25:49.253] [9240]  [info]    Sent message to 127.0.0.1: 202 REMOVE OK\r\n


Also when i check the stream with ffprobe the metadata service_provider and service_name of the stream is with de default parameters.
¿Its posible to set these parameters in the command send to CasparCG?
¿Exist some work around to this situation?
Code: Select all
>ffprobe  udp://127.0.0.1:5010
ffprobe version N-75841-g5911eeb Copyright (c) 2007-2015 the FFmpeg developers
  built with gcc 5.2.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
  libavutil      55.  2.100 / 55.  2.100
  libavcodec     57.  4.100 / 57.  4.100
  libavformat    57.  3.100 / 57.  3.100
  libavdevice    57.  0.100 / 57.  0.100
  libavfilter     6. 10.100 /  6. 10.100
  libswscale      4.  0.100 /  4.  0.100
  libswresample   2.  0.100 /  2.  0.100
  libpostproc    54.  0.100 / 54.  0.100
[h264 @ 0000008a50568aa0] non-existing PPS 0 referenced
    Last message repeated 1 times
[h264 @ 0000008a50568aa0] decode_slice_header error
[h264 @ 0000008a50568aa0] no frame!
Input #0, mpegts, from 'udp://127.0.0.1:5010':
  Duration: N/A, start: 9.308000, bitrate: N/A
  Program 21862
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x150]: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 60 fps, 60 tbr, 90k tbn, 120 tbc
    Stream #0:1[0x151]: Audio: ac3 ([129][0][0][0] / 0x0081), 48000 Hz, stereo, fltp, 256 kb/s
JoseCristo
 
Posts: 1
Joined: 09 Oct 2015, 09:07

Re: CasparCG Server 2.0.7 released

Postby nagalinga154 » 22 Jun 2016, 06:29

Peter Karlsson wrote:Changes since 2.0.6 Stable

General
  • Added support for using a different configuration file at startup than the default casparcg.config by simply adding the name of the file to use as the first command line argument to casparcg.exe.
  • FFmpeg: Upgraded to latest stable and adapted CasparCG to FFmpeg API changes (Robert Nagy sponsored by SVT)
  • FFmpeg: Fixed problem with frame count calculation (Thomas Kaltz III)
  • Created build script.
  • Upgraded Decklink SDK to 10.1.4, bringing new 2K and 4K DCI video modes. New template hosts also availble for those modes.
  • General bug fixes (mostly memory and resource leaks, some serious).
  • Updated Boost to version 1.57
  • Added sending of OSC messages for channel_grid channel in addition to regular channels.
  • Frontend no longer maintained and therefore not included in the release.

Mixer
  • Added support for rotation.
  • Added support for changing the anchor point around which fill_translation, fill_scale and rotation will be done from.
  • Added support for perspective correct corner pinning.
  • Added support for mipmapped textures with anisotropic filtering for increased downscaling quality. Whether to enable by default can be configured in casparcg.config.
  • Added support for cropping a layer. Not the same as clipping.

AMCP
  • Added RESUME command to complement PAUSE. (Peter Keuter)
  • MIXER commands to support the new mixer features has been added.
  • Added INFO QUEUES command for debugging AMCP command queues.
  • Added GL command. Provides information about GL resources, and possibility to garbage collect pooled but unused resources.
  • Added INFO THREADS command listing the known threads and their descriptive names. Can be matched against the thread id column of log entries.
  • Added support in ADD and REMOVE for a placeholder <CLIENT_IP_ADDRESS> which will resolve to the connected AMCP client's IPV4 address.
  • Fixed bug where AMCP commands split into multiple TCP packets where not correctly parsed (http://casparcg.com/forum/viewtopic.php?f=3&t=2480)

Producers
  • FFmpeg: Reports correct nb_frames() when using SEEK (Thomas Kaltz III)
  • Flash: Fixed bug where CG PLAY, CG INVOKE did not work.
  • Fixed bug where both layer_producer and channel_producer display:s and empty/late first frame when the producer is called before the consumer in the other end has received the first frame.
  • Added rudimentary support for audio for layer_producer and channel_producer.

Consumers
  • Removed blocking_decklink_consumer. It was more like an experiment at best and its usefulness was questionable.
  • Added a 10 second time-out for consumer sends, to detect/recover from blocked consumers.
  • Some consumers which are usually added and removed during playout (for example ffmpeg_consumer, streaming_consumer and channel_consumer) no longer affect the presentation time on other consumers. Previously a lag on the SDI output could be seen when adding such consumers.
  • channel_consumer: Added support for more than one channel_consumer per channel.
  • decklink_consumer: Added support for a single instance of the consumer to manage a separate key output for use with decklink duo/quad cards.
  • synchronizing_consumer: Removed in favour of a single decklink_consumer managing both fill and key device.
  • streaming_consumer: A new implementation of ffmpeg_consumer with added support for streaming and other PTS dependent protocols. (Robert Nagy sponsored by Ericsson Broadcasting Services)
  • newtek_ivga_consumer: Added support for iVGA consumer to not provide channel sync even though connected.

HTML producer
  • Implemented using CEF3, enabling use of WebGL and more. CEF3 is actively maintained. (Robert Nagy sponsored by Small Town Heroes, Dreamhack and Netvarpio)
  • Don't try to play all files with a . in their name. (Georgi Chorbadzhiyski)
  • Implemented a custom version of window.requestAnimationFrame which will follow the pace of the channel, for perfectly smooth animations.

CasparCG Server 2.0.7 is now available from the official CasparCG Download page.
nagalinga154
 
Posts: 1
Joined: 17 Jun 2016, 18:27

Re: CasparCG Server 2.0.7 released

Postby didikunz » 22 Jun 2016, 08:30

nagalinga154 what do you want to tell us by simply copying something without writing anything?
Didi Kunz
CasparCG Client-Programmer, Template Maker & Live CG-Operator
Media Support, CH-5722 Gränichen, Switzerland http://mediasupport.ch/
Problems? Guide to posting Bug reports & Feature requests
User avatar
didikunz
 
Posts: 3401
Joined: 10 May 2010, 09:08
Location: Aarau, Switzerland

Re: CasparCG Server 2.0.7 released

Postby sonny_xny » 24 Oct 2016, 09:29

Just little bit fixed about "casparcg_frontend.exe.config" file,

Code: Select all
<setting name="ServerPath" serializeAs="String">
<value>casparcg.exe</value>
</setting>


Make sure you aways include full path folder name of your CasparCG Server, for example fullpath folder name of your
CasparCG Server :

Code: Select all
D:\CasparCG\Server


so the correct value of ServerPath will look like this :

Code: Select all
<setting name="ServerPath" serializeAs="String">
<value>D:\CasparCG\Server\casparcg.exe</value>
</setting>


This setting makes CasparCG Frontend "Save" menu choose work as expected,
changing file "casparcg.config" in the CasparCG Server folder,
not in the root folder of the drive :)

NB : I've found this bug when running CasparCG Server & Frontend in Windows 8.1 64bit :)

Cheers,
Sonny
User avatar
sonny_xny
 
Posts: 106
Joined: 06 Jul 2015, 08:59

Previous

Return to FAQ - Frequently Asked Questions

Who is online

Users browsing this forum: No registered users and 1 guest