It is currently 29 Mar 2017, 23:49



CasparCG Server 2.0.7 released

Help to specific problems with your setup, or discussing CasparCG bugs

Moderators: Macey, Jonas Hummelstrand, didikunz

CasparCG Server 2.0.7 released

Postby Peter Karlsson » 11 Dec 2014, 16:50

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 (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.
Former CasparCG Client Lead Developer
Feel free to contact me if you need any CasparCG related support, development or other consulting.
Peter Karlsson
 
Posts: 305
Joined: 05 Nov 2010, 09:35
Location: Sweden

Re: CasparCG Server 2.0.7 released

Postby mcdikki » 11 Dec 2014, 17:12

Thanks to everyone worked on that.

The release notes are very promising ;-)

cheers
mcdikki
sublan.tv - Wir teilen Begeisterung
User avatar
mcdikki
 
Posts: 1051
Joined: 11 Dec 2012, 15:48
Location: Germany

Re: CasparCG Server 2.0.7 released

Postby Jesper Stærkær » 11 Dec 2014, 19:18

Thank you! Transformation functions' gonna be awesome.
Jesper Stærkær
Independent Consultant at SuperFly.tv
User avatar
Jesper Stærkær
 
Posts: 835
Joined: 13 Apr 2010, 18:06
Location: Trondheim, Norway

Re: CasparCG Server 2.0.7 released

Postby Jesper Stærkær » 11 Dec 2014, 19:48

So

1) Frontend excluded from build? Any plans of putting it back? Needs update?
2) How about anti aliasing? I have some serious zig-zag broders when rotating and transforming corners.
3) How does mipmaping work, and should I enable this by default in my configs?

More questions to come! So much to try out now :D
Jesper Stærkær
Independent Consultant at SuperFly.tv
User avatar
Jesper Stærkær
 
Posts: 835
Joined: 13 Apr 2010, 18:06
Location: Trondheim, Norway

Re: CasparCG Server 2.0.7 released

Postby didikunz » 11 Dec 2014, 19:56

Very promissing and very cool!!!

But kicking out the config front end is not good news, because supporting beginners is much easier with the front end, than to get them edit a XML file. We should find somebody willing to maintain it...
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 Peter Karlsson » 11 Dec 2014, 20:38

didikunz wrote:We should find somebody willing to maintain it...

It would be great!
Former CasparCG Client Lead Developer
Feel free to contact me if you need any CasparCG related support, development or other consulting.
Peter Karlsson
 
Posts: 305
Joined: 05 Nov 2010, 09:35
Location: Sweden

Re: CasparCG Server 2.0.7 released

Postby Peter Karlsson » 11 Dec 2014, 20:43

jespers wrote:should I enable this by default in my configs?

The golden rule is to use mipmapping if you scale down 50% or more.
Former CasparCG Client Lead Developer
Feel free to contact me if you need any CasparCG related support, development or other consulting.
Peter Karlsson
 
Posts: 305
Joined: 05 Nov 2010, 09:35
Location: Sweden

Re: CasparCG Server 2.0.7 released

Postby Jesper Stærkær » 11 Dec 2014, 22:53

How about anti aliasing then? Should I just feather the edges by applying a gradient key signal?
Jesper Stærkær
Independent Consultant at SuperFly.tv
User avatar
Jesper Stærkær
 
Posts: 835
Joined: 13 Apr 2010, 18:06
Location: Trondheim, Norway

Re: CasparCG Server 2.0.7 released

Postby duron23 » 12 Dec 2014, 19:18

Hi,

" 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) "



Does this mean, we finally have GPU renders graphics ??
Regards,
Duron23
duron23
 
Posts: 33
Joined: 22 Apr 2013, 22:29
Location: Bangalore, India

Re: CasparCG Server 2.0.7 released

Postby blur494 » 15 Dec 2014, 23:43

Will I mess anything up if I use the launcher with the front end in Beta 2 in the final version?
blur494
 
Posts: 30
Joined: 31 Oct 2013, 16:46

Re: CasparCG Server 2.0.7 released

Postby elanvrt » 16 Dec 2014, 18:05

Today first look at the 2.0.7 Tested mainly all the new mixer commands. Looks great. Thanks guys!
Chris Van den Bossche
ELAN graphics software developer
VRT television
User avatar
elanvrt
 
Posts: 58
Joined: 22 Apr 2013, 11:50
Location: Brussels, Belgium

Re: CasparCG Server 2.0.7 released

Postby CoyHot » 17 Dec 2014, 11:54

Hello,

I just took a few minutes to test the HTML Producer. For me the state seems to be the same as previously ... or am I missed something ?

3D CSS3 Transform doesn't seems to works , GPU acceleration is unactive, and WebGL only work with non textured objects).

Feel free to correct me if I'm wrong or if I missed something. :o)

Thanks a lot for your work !
Francois "CoyHot" Grassard
2D/3D/VFX Artist and Developper
Automate-It / ivory.fr
User avatar
CoyHot
 
Posts: 20
Joined: 27 Jul 2014, 14:35

Re: CasparCG Server 2.0.7 released

Postby Theo » 18 Dec 2014, 16:48

It looks that the audio sync problem is back with removing sync decklink.
Tested with Decklink studio and extreme with BM drivers 10.1.4
I can't get perfect sync playback with HD mpeg and mp4, it's most of the time 1 frame offsync
Regards,
Theo Kooijmans
UniversalDV
User avatar
Theo
 
Posts: 83
Joined: 03 Jun 2012, 10:44
Location: The Netherlands

Re: CasparCG Server 2.0.7 released

Postby azultv » 18 Dec 2014, 19:49

hello
I have a silly question.
How do I launch the new version ?.
Missing "CasparCG_Server.exe. Icon
regards
azultv
 
Posts: 10
Joined: 29 Aug 2014, 10:28

Re: CasparCG Server 2.0.7 released

Postby didikunz » 18 Dec 2014, 20:07

Just run casparcg.exe
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 azultv » 18 Dec 2014, 21:18

Thanks for your quick response Didi
I already did but the symbol system opens with parameters and goes no further. It's not like the version 2.0.6 or 2.0.7 beta, that there is another exe.
azultv
 
Posts: 10
Joined: 29 Aug 2014, 10:28

Re: CasparCG Server 2.0.7 released

Postby didikunz » 18 Dec 2014, 23:57

I know, that there is no other exe. The GUI Frontent has not been maintained any longer, and therefor was not included into the 2.0.7 release. But the server has always been in caspacg.exe.

If it does not run, you need to see, in the logfile, what it sais. Probably it needs to be run as administrator.
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 ddonoghue » 19 Dec 2014, 10:25

azultv wrote:Thanks for your quick response Didi
I already did but the symbol system opens with parameters and goes no further. It's not like the version 2.0.6 or 2.0.7 beta, that there is another exe.


are you sure you're running the exe file? sounds as though you might have file extensions hidden and what you're actually looking at is casparcg.exe.something instead of casparcg
Daniel Donoghue
Client and Template Developer

Problems with CasparCG? Guide to posting Bug reports & Feature requests
ddonoghue
 
Posts: 496
Joined: 21 Mar 2013, 23:44
Location: Sweden

Re: CasparCG Server 2.0.7 released

Postby mktsgm » 21 Dec 2014, 16:49

So far so good. But, unlike the previous versions, why I am seeing two instances of casparcg.exe in the task manager, whenever, I run casparcg server 2.0.7? I am using Windows 7, 64 bit on a HP workstation.
User avatar
mktsgm
 
Posts: 72
Joined: 14 Apr 2012, 13:39

Re: CasparCG Server 2.0.7 released

Postby azultv » 21 Dec 2014, 17:32

hello
I've found my problem with the new version.
The file you need to edit config XLM.
I am using a Intensity pro card and video playout simple client Vimlesh friend.
I think it was not a good idea to remove the Frontend interface and greatly facilitating server configuration for less advanced users like me.
Please, if you can, introduce it again.
Greetings to all from Granada, Spain. Merry Christmas !!!
azultv
 
Posts: 10
Joined: 29 Aug 2014, 10:28

Re: CasparCG Server 2.0.7 released

Postby jimmn » 21 Dec 2014, 18:58

As an idea - what about a lightweight client that runs on the server pc.
It would be able to configure all the server parameters and write to the server config file.
It would start the main server process and display the console and screen consumer windows within itself.
It would connect locally to the server and handshake it on a regular basis, sending an email / snmp alert if no response.

Any downsides to this? What happens if two or more connected clients send commands to the server the exact same time - would the server cope?
jimmn
 
Posts: 178
Joined: 09 May 2013, 14:30
Location: Scotland, UK

Re: CasparCG Server 2.0.7 released

Postby didikunz » 21 Dec 2014, 20:02

This is exactly what the discontinued server frontend did (minus the smtp / e-mail alert). It has been excluded from the 2.0.7 release, because no one maintained it. But the source is still on Github, I guess, so if you would maintain it, we would all be very happy.
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 Peter Karlsson » 22 Dec 2014, 09:35

mktsgm wrote: why I am seeing two instances of casparcg.exe in the task manager

The HTML producer (CEF) creates a separate process, it is normal behavior.
Former CasparCG Client Lead Developer
Feel free to contact me if you need any CasparCG related support, development or other consulting.
Peter Karlsson
 
Posts: 305
Joined: 05 Nov 2010, 09:35
Location: Sweden

Re: CasparCG Server 2.0.7 released

Postby Peter Karlsson » 22 Dec 2014, 09:45

azultv wrote:I think it was not a good idea to remove the Frontend interface

It's a matter of time. It would be great if someone from the community can step up and maintain the frontend.
Former CasparCG Client Lead Developer
Feel free to contact me if you need any CasparCG related support, development or other consulting.
Peter Karlsson
 
Posts: 305
Joined: 05 Nov 2010, 09:35
Location: Sweden

Re: CasparCG Server 2.0.7 released

Postby thos-berlin » 23 Dec 2014, 09:17

Is a "comeback" of the server gui planed ? Is there someone who does the maintanance ?
I miss it.

What functions has to be modified ? Can I use a old config-XML-file, when setup had no changes ?
User avatar
thos-berlin
 
Posts: 302
Joined: 13 Apr 2013, 14:50

Re: CasparCG Server 2.0.7 released

Postby Da_Elf » 24 Dec 2014, 23:43

I tried doing a forum search but couldnt find an answer. is this new release still a 32bit program or 64bit?
Da_Elf
 
Posts: 281
Joined: 20 Apr 2014, 02:11

Re: CasparCG Server 2.0.7 released

Postby Tomas Lecky » 11 Jan 2015, 20:44

Great new features, specially layer router, but is possible transition option there ?
And …GUI for sever is gone forever ?
Last edited by Tomas Lecky on 11 Jan 2015, 21:43, edited 1 time in total.
Tomas Lecky
 
Posts: 5
Joined: 11 Jan 2015, 13:46

Re: CasparCG Server 2.0.7 released

Postby Da_Elf » 11 Jan 2015, 21:36

i got the old GUI to work
Da_Elf
 
Posts: 281
Joined: 20 Apr 2014, 02:11

Re: CasparCG Server 2.0.7 released

Postby mcdikki » 15 Jan 2015, 16:05

Hi,

I mentioned some errors in the wiki according to the new mixer commands:

1. MIXER PERSPECTIVE:
The parameter definition is different from the example. In the def. it says that top-left-x etc. is of type int, but in the example, a float is used (0.4)

2. MIXER CROPPING:
This function (AMCP command) is not described in the wiki at all.

3. MIXER ROTATION:
It says
Returns or modifies the angle ...

but the angle parameter is not marked as optional, so one of both is wrong, isn't it?
And is angle really an int and not a float?

Thanks for the good work and the answers!
Cheers
mcdikki
sublan.tv - Wir teilen Begeisterung
User avatar
mcdikki
 
Posts: 1051
Joined: 11 Dec 2012, 15:48
Location: Germany

Re: CasparCG Server 2.0.7 released

Postby duncanbarnes » 15 Jan 2015, 18:31

mcdikki wrote:1. MIXER PERSPECTIVE:
The parameter definition is different from the example. In the def. it says that top-left-x etc. is of type int, but in the example, a float is used (0.4)


Errm, yes, I believe those should be double/float (unless you're going to more than 7 decimal places of precision the same thing in this case from my understanding), the arguments are cast as double in the server code. I've updated the wiki.

mcdikki wrote:2. MIXER CROPPING:
This function (AMCP command) is not described in the wiki at all.


I've not tried it yet so didn't intend on documenting it until that happens but if someone else has a chance to try it before I do then please do add it :-) Same for MIXER MIPMAP

mcdikki wrote:3. MIXER ROTATION:
It says
Returns or modifies the angle ...

but the angle parameter is not marked as optional, so one of both is wrong, isn't it?
And is angle really an int and not a float?


It should be optional, my mistake, it's an int from what I remember, if I'm reading the code correctly that agrees that its an int. Now I read the code it seems to support a duration argument as well (as does MIXER PERSPECTIVE) but I've not tested that, only what's on the wiki.
duncanbarnes
 
Posts: 58
Joined: 14 Apr 2012, 23:23
Location: London, UK

Re: CasparCG Server 2.0.7 released

Postby mcdikki » 15 Jan 2015, 19:32

Thanks for the feedback.

I just tested the duration (and tweener) for the perspective and it works, so it seems we need to change the wiki accordingly.

Cheers
mcdikki

UPDATE:
durartion & tweener does work for anchor and rotation too.
sublan.tv - Wir teilen Begeisterung
User avatar
mcdikki
 
Posts: 1051
Joined: 11 Dec 2012, 15:48
Location: Germany

Re: CasparCG Server 2.0.7 released

Postby mcdikki » 15 Jan 2015, 20:49

So, I did test the mixer crop command too and it seems this should be the right syntax:

Code: Select all
MIXER [video_channel:int]{-[layer:int]|-0} CROP [left-edge:float] [top-edge:float] [right-edge:float] [bottom-edge:float] {[duration:uint] {[tween:string]|linear}|0 linear}


Cheers
mcdikki
sublan.tv - Wir teilen Begeisterung
User avatar
mcdikki
 
Posts: 1051
Joined: 11 Dec 2012, 15:48
Location: Germany

Re: CasparCG Server 2.0.7 released

Postby screenshaper » 07 Feb 2015, 01:19

Da_Elf wrote:i got the old GUI to work

Which way?
May you share?
User avatar
screenshaper
 
Posts: 35
Joined: 02 Mar 2014, 22:51

Re: CasparCG Server 2.0.7 released

Postby Da_Elf » 07 Feb 2015, 04:35

all i did was copy casparcg_frontend.exe.config and CasparCG_Server.exe from the 2.06 version into the folder the new one and it worked
Da_Elf
 
Posts: 281
Joined: 20 Apr 2014, 02:11

Re: CasparCG Server 2.0.7 released

Postby Da_Elf » 08 Feb 2015, 17:30

I couldnt find any posts in the wiki and only 1 single mention of it here.... how can we change hue?
Da_Elf
 
Posts: 281
Joined: 20 Apr 2014, 02:11

Re: CasparCG Server 2.0.7 released

Postby Ben Paul » 18 Feb 2015, 21:20

I had a question- what version on ffmpeg is used? I was looking around and found that ffmpeg just recently added support for crossbar input http://ffmpeg.org/ffmpeg-devices.html#toc-Options-1

Thus, this may explain why
play 1-1 "dshow://video=Hauppauge WinTV 885 Video Capture :audio=Hauppauge WinTV 885 Audio Capture" -- -crossbar_video_input_pin_number 1 -crossbar_audio_input_pin_number 6

sends back this:
[2015-02-18 01:23:39.368] [11020] [info] Received message from 127.0.0.1: play 1-1 "dshow://video=Hauppauge WinTV 885 Video Capture:audio=Hauppauge WinTV 885 Audio Capture" -- -crossbar_video_input_pin_number 1 -crossbar_audio_input_pin_number 6\r\n
[2015-02-18 01:23:39.482] [9196] [error] [ffmpeg] [dshow @ 02CDEE00] Could not run filter
[2015-02-18 01:23:39.483] [9196] [error] producer\input\input.cpp(257): Throw in function caspar::ffmpeg::`anonymous-namespace'::<lambda8>::operator ()
Dynamic exception type: class boost::exception_detail::clone_impl<struct caspar::ffmpeg::ffmpeg_error>
std::exception::what: Unknown exception
[struct boost::errinfo_api_function_ *] = avformat_open_input(&weak_context, narrow(resource_name).c_str(), input_format, &format_options)
5, "Input/output error"[struct caspar::tag_msg_info *] =
[struct caspar::tag_source_info *] = video=Hauppauge WinTV 885 Video Capture:audio=Hauppauge WinTV 885 Audio Capture

[2015-02-18 01:23:39.484] [9196] [error] File not found. No match found for parameters. Check syntax:dshow://video=Hauppauge WinTV 885 Video Capture:audio=Hauppauge WinTV 885 Audio Capture -- -crossbar_video_input_pin_number 1 -crossbar_audio_input_pin_number 6
[2015-02-18 01:23:39.484] [9196] [warning] Failed to execute command: PlayCommand on AMCPCommandQueue Channel 1 for TCP Port 5250
[2015-02-18 01:23:39.484] [9196] [info] Sent message to 127.0.0.1: 501 PLAY FAILED\r\n
Ben Paul
 
Posts: 40
Joined: 14 Feb 2015, 22:30

Re: CasparCG Server 2.0.7 released

Postby tusa » 07 Jun 2015, 13:02

Why does my fill and key signal not follow each other?
Seems that the key is a bit later.
I've solved in the 2.0.6 version, but with the same configuration on 2.0.7 it does not seem to change anything.
tusa
 
Posts: 49
Joined: 14 Nov 2014, 15:15

Re: CasparCG Server 2.0.7 released

Postby mcdikki » 07 Jun 2015, 23:24

What system are you using to output fill + key?
Synchronized fill&key is only safe with the decklink 4k extreme or older cards that contains a hw keyer.
Using a duo or so are not guarantied to be in sync.
But it got better.

please post your config file inside code tags. Maybe we can assist you.

cheers
mcdikki
sublan.tv - Wir teilen Begeisterung
User avatar
mcdikki
 
Posts: 1051
Joined: 11 Dec 2012, 15:48
Location: Germany

Re: CasparCG Server 2.0.7 released

Postby tusa » 09 Jun 2015, 20:21

mcdikki wrote:What system are you using to output fill + key?
Synchronized fill&key is only safe with the decklink 4k extreme or older cards that contains a hw keyer.
Using a duo or so are not guarantied to be in sync.
But it got better.

please post your config file inside code tags. Maybe we can assist you.

cheers
mcdikki


In the 2.0.6 version I had to do like the picture, how do I do that in the 2.0.7 version?
CasperCG1.JPG
CasperCG1.JPG (64.89 KiB) Viewed 40462 times


Here is my config file

(removed by didikunz)

As I remember, it's a Blackmagic Decklink Duo, and it worked fine under 2.0.6...
Last edited by tusa on 09 Jun 2015, 20:48, edited 1 time in total.
tusa
 
Posts: 49
Joined: 14 Nov 2014, 15:15

Re: CasparCG Server 2.0.7 released

Postby tusa » 09 Jun 2015, 20:43

AS I remember, it's a Blackmagic Decklink Duo, and it worked fine under 2.0.6...
tusa
 
Posts: 49
Joined: 14 Nov 2014, 15:15

Re: CasparCG Server 2.0.7 released

Postby didikunz » 09 Jun 2015, 21:44

mcdikki wrote:please post your config file inside code tags. Maybe we can assist you.

It's not a good idea, to edit your post, neither to post a zip, because it could contain a virus. So I downloaded your zip and do, what mcdikki asked you to do.

Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<configuration>
  <paths>
    <media-path>media\</media-path>
    <log-path>log\</log-path>
    <data-path>data\</data-path>
    <template-path>templates\</template-path>
    <thumbnails-path>thumbnails\</thumbnails-path>
  </paths>
  <channels>
    <channel>
      <video-mode>1080i5000</video-mode>
      <consumers>
        <decklink>
          <device>2</device>
        </decklink>
        <decklink>
          <device>1</device>
          <key-only>true</key-only>
        </decklink>
        <screen>
          <device>1</device>
        </screen>
        <system-audio />
      </consumers>
    </channel>
  </channels>
  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
</configuration>
<!--

<log-level>        debug [trace|debug|info|warning|error]</log-level>
<channel-grid>     false [true|false]</channel-grid>
<auto-deinterlace> true  [true|false]</auto-deinterlace>
<auto-transcode>   true [true|false]</auto-transcode>
<mixer>
    <blend-modes>    false  [true|false]</blend-modes>
    <straight-alpha> false  [true|false]</straight-alpha>
    <chroma-key>     false  [true|false]</chroma-key>
</mixer>
<template-hosts>
    <template-host>
        <video-mode/>
        <filename/>
        <width/>
        <height/>
    </template-host>
</template-hosts>
<flash>
    <buffer-depth>auto [auto|1..]</buffer-depth>
</flash>
<channels>
    <channel>
        <video-mode> PAL [PAL|NTSC|1080i5000|576p2500|720p2500|720p5000|720p5994|720p6000|1080i5000|1080i5994|1080i6000|1080p2500|1080p2997|1080p3000|1080p5000] </video-mode>
        <consumers>
            <decklink>
                <device>[1..]</device>
                <embedded-audio>false [true|false]</embedded-audio>
                <latency>normal [normal|low|default]</latency>
                <keyer>external [external|internal|default]</keyer>
                <key-only>false [true|false]</key-only>
                <buffer-depth>3 [1..]</buffer-depth>
            </decklink>
            <bluefish>
                <device>[1..]</device>
                <embedded-audio>false [true|false]</embedded-audio>
                <key-only>false [true|false]</key-only>
            </bluefish>
            <system-audio></system-audio>
            <screen>
                <device>[0..]</device>
                <aspect-ratio>default [default|4:3|16:9]</aspect-ratio>
                <stretch>fill [none|fill|uniform|uniform_to_fill]</stretch>
                <windowed>false [true|false]</windowed>
                <key-only>false [true|false]</key-only>
                <auto-deinterlace>true [true|false]</auto-deinterlace>
                <vsync>fasle [true|false]</vsync>
                <name>[Screen Consumer]</name>
                <borderless>false [true|false]</borderless>
            </screen>
            <blocking-decklink>
                <device>[1..]</device>
                <embedded-audio>false [true|false]</embedded-audio>
                <keyer>external [external|internal|default]</keyer>
                <key-only>false [true|false]</key-only>
            </blocking-decklink>
            <newtek-ivga>
              <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>
            </newtek-ivga>
            <file>
                <path></path>
                <vcodec>libx264 [libx264|qtrle]</vcodec>
                <separate-key>false [true|false]</separate-key>
            </file>
        </consumers>
    </channel>
</channels>
<controllers>
   <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
   </tcp>
</controllers>
<osc>
   <default-port>6250</default-port>
   <predefined-clients>
      <predefined-client>
         <address>127.0.0.1</address>
         <port>5253</port>
      </predefined-client>
   </predefined-clients>
</osc>
<audio>
   <channel-layouts>
      <channel-layout>
         <name>mono</name>
         <type>1.0</type>
         <num-channels>1</num-channels>
         <channels>C</channels>
      </channel-layout>
      <channel-layout>
         <name>stereo</name>
         <type>2.0</type>
         <num-channels>2</num-channels>
         <channels>L R</channels>
      </channel-layout>
      <channel-layout>
         <name>dts</name>
         <type>5.1</type>
         <num-channels>6</num-channels>
         <channels>C L R Ls Rs LFE</channels>
      </channel-layout>
      <channel-layout>
         <name>dolbye</name>
         <type>5.1+stereomix</type>
         <num-channels>8</num-channels>
         <channels>L R C LFE Ls Rs Lmix Rmix</channels>
      </channel-layout>
      <channel-layout>
         <name>dolbydigital</name>
         <type>5.1</type>
         <num-channels>6</num-channels>
         <channels>L C R Ls Rs LFE</channels>
      </channel-layout>
      <channel-layout>
         <name>smpte</name>
         <type>5.1</type>
         <num-channels>6</num-channels>
         <channels>L R C LFE Ls Rs</channels>
      </channel-layout>
      <channel-layout>
         <name>passthru</name>
         <type>16ch</type>
         <num-channels>16</num-channels>
         <channels />
      </channel-layout>
   </channel-layouts>
   <mix-configs>
      <mix-config>
         <from>1.0</from>
         <to>2.0</to>
         <mix>add</mix>
         <mappings>
            <mapping>C L 1.0</mapping>
            <mapping>C R 1.0</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>1.0</from>
         <to>5.1</to>
         <mix>add</mix>
         <mappings>
            <mapping>C L 1.0</mapping>
            <mapping>C R 1.0</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>1.0</from>
         <to>5.1+stereomix</to>
         <mix>add</mix>
         <mappings>
            <mapping>C L    1.0</mapping>
            <mapping>C R    1.0</mapping>
            <mapping>C Lmix 1.0</mapping>
            <mapping>C Rmix 1.0</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>2.0</from>
         <to>1.0</to>
         <mix>add</mix>
         <mappings>
            <mapping>L C 1.0</mapping>
            <mapping>R C 1.0</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>2.0</from>
         <to>5.1</to>
         <mix>add</mix>
         <mappings>
            <mapping>L L 1.0</mapping>
            <mapping>R R 1.0</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>2.0</from>
         <to>5.1+stereomix</to>
         <mix>add</mix>
         <mappings>
            <mapping>L L    1.0</mapping>
            <mapping>R R    1.0</mapping>
            <mapping>L Lmix 1.0</mapping>
            <mapping>R Rmix 1.0</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>5.1</from>
         <to>1.0</to>
         <mix>average</mix>
         <mappings>
            <mapping>L  C 1.0</mapping>
            <mapping>R  C 1.0</mapping>
            <mapping>C  C 0.707</mapping>
            <mapping>Ls C 0.707</mapping>
            <mapping>Rs C 0.707</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>5.1</from>
         <to>2.0</to>
         <mix>average</mix>
         <mappings>
            <mapping>L  L 1.0</mapping>
            <mapping>R  R 1.0</mapping>
            <mapping>C  L 0.707</mapping>
            <mapping>C  R 0.707</mapping>
            <mapping>Ls L 0.707</mapping>
            <mapping>Rs R 0.707</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>5.1</from>
         <to>5.1+stereomix</to>
         <mix>average</mix>
         <mappings>
            <mapping>L   L   1.0</mapping>
            <mapping>R   R   1.0</mapping>
            <mapping>C   C   1.0</mapping>
            <mapping>Ls  Ls  1.0</mapping>
            <mapping>Rs  Rs  1.0</mapping>
            <mapping>LFE LFE 1.0</mapping>

            <mapping>L  Lmix 1.0</mapping>
            <mapping>R  Rmix 1.0</mapping>
            <mapping>C  Lmix 0.707</mapping>
            <mapping>C  Rmix 0.707</mapping>
            <mapping>Ls Lmix 0.707</mapping>
            <mapping>Rs Rmix 0.707</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>5.1+stereomix</from>
         <to>1.0</to>
         <mix>add</mix>
         <mappings>
            <mapping>Lmix C 1.0</mapping>
            <mapping>Rmix C 1.0</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>5.1+stereomix</from>
         <to>2.0</to>
         <mix>add</mix>
         <mappings>
            <mapping>Lmix L 1.0</mapping>
            <mapping>Rmix R 1.0</mapping>
         </mappings>
      </mix-config>
      <mix-config>
         <from>5.1+stereomix</from>
         <to>5.1</to>
         <mix>add</mix>
         <mappings>
            <mapping>L   L   1.0</mapping>
            <mapping>R   R   1.0</mapping>
            <mapping>C   C   1.0</mapping>
            <mapping>Ls  Ls  1.0</mapping>
            <mapping>Rs  Rs  1.0</mapping>
            <mapping>LFE LFE 1.0</mapping>
         </mappings>
      </mix-config>
   </mix-configs>
</audio>
-->
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 mcdikki » 09 Jun 2015, 22:51

You could try to use the key-device tag instead:

Code: Select all
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <configuration>
      <paths>
        <media-path>media\</media-path>
        <log-path>log\</log-path>
        <data-path>data\</data-path>
        <template-path>templates\</template-path>
        <thumbnails-path>thumbnails\</thumbnails-path>
      </paths>
      <channels>
        <channel>
          <video-mode>1080i5000</video-mode>
          <consumers>
            <decklink>
              <device>1</device>
              <key-device>2</key-device>
            </decklink>
            <screen>
              <device>1</device>
            </screen>
            <system-audio />
          </consumers>
        </channel>
      </channels>
      <controllers>
        <tcp>
          <port>5250</port>
          <protocol>AMCP</protocol>
        </tcp>
      </controllers>
    </configuration>


This changes the order of your key and fill sdi output, but should do the trick.

cheers
mcdikki
sublan.tv - Wir teilen Begeisterung
User avatar
mcdikki
 
Posts: 1051
Joined: 11 Dec 2012, 15:48
Location: Germany

Re: CasparCG Server 2.0.7 released

Postby jboolo84 » 01 Jul 2015, 01:55

hi. i finally got me the PC required to install caspercg. now i am having problem of how to define the path for my decklink (4k extreme).. the set up i have is...

HDMI- PRGM OUT from my TVS to HDMI-IN to DECKLINK(4K EXTREME).. my problem is, i dont see the window that i will define PATH of the vidoe... need help.. thank you
jboolo84
 
Posts: 13
Joined: 21 Jan 2015, 05:31

Re: CasparCG Server 2.0.7 released

Postby didikunz » 01 Jul 2015, 08:12

What is the reason for using the HDMI? The window where you define the input is in windows control panel, but only if you have installed the software, that came with the card.
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 imorrish » 02 Jul 2015, 07:04

You would be better off using SDI from the TVS to DeckLink card.
The deckLink is considered a "Producer" in in your case and is available so long as it is not defined as a "Producer" in the config file. Nothing to do with a path.
You just select it from the Tools category in the CasparCG client.
User avatar
imorrish
 
Posts: 28
Joined: 27 Jan 2015, 07:12
Location: New Zealand

Re: CasparCG Server 2.0.7 released

Postby didikunz » 02 Jul 2015, 07:15

He is a funny man, sent me a PM yesterday, saying he needs help, but does not answer the simplest questions. I would like to know, why he want to use HDMI. It can probably be a reason, who knows. But no answer until now.
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 tusa » 23 Jul 2015, 12:21

I have this error when I use 2.0.7, seems like fill and key not running synchrone.
https://www.dropbox.com/s/zocgd7lsmu5n9tl/Videoserver1.m4v?dl=0

When I use 2.0.6 it's no problem.
tusa
 
Posts: 49
Joined: 14 Nov 2014, 15:15

Re: CasparCG Server 2.0.7 released

Postby Rom1 » 10 Aug 2015, 11:05

Hi All,

I found a bug in AMCP Protocol. I can Add ffmepg consumer with command ADD 1 STREAM ..., but i can remove it. Is it normal ?
My command to Remove is REMOVE 1 STREAM.

Regards.
User avatar
Rom1
 
Posts: 35
Joined: 21 May 2015, 19:00

Re: CasparCG Server 2.0.7 released

Postby vimlesh1975 » 10 Aug 2015, 12:14

Stream can be of different types and at different ip and port and at the same time. So proper remove command must include all these details like below.
Code: Select all
remove 1 stream udp://localhost:5004
User avatar
vimlesh1975
 
Posts: 595
Joined: 29 Aug 2011, 11:42
Location: Doordarshan, Mumbai, India

Re: CasparCG Server 2.0.7 released

Postby Rom1 » 10 Aug 2015, 17:16

Thanks, Vimlesh. I will try this night.
Have a good day.
User avatar
Rom1
 
Posts: 35
Joined: 21 May 2015, 19:00

Re: CasparCG Server 2.0.7 released

Postby Rom1 » 14 Aug 2015, 21:09

I tested and it's ok. Thanks Vimlesh.
I think the wiki is not very clear to explain remove stream consumer.
Someone can add an example like Vimlesh do no ?

Regards.
User avatar
Rom1
 
Posts: 35
Joined: 21 May 2015, 19:00

Re: CasparCG Server 2.0.7 released

Postby itod » 17 Sep 2015, 13:50

Peter Karlsson wrote:
azultv wrote:I think it was not a good idea to remove the Frontend interface

It's a matter of time. It would be great if someone from the community can step up and maintain the frontend.


May I also ask for bringing back Frontend interface. It was extremely useful, please if no one from the community is up to the task may one of the core developers bring it back form the dead?

I've tried just copying the 2.0.6 version of the CasparCG_Server.exe to 2.0.7 folder, but it gives me an exception when it is started.
itod
 
Posts: 95
Joined: 29 Oct 2011, 20:54

Re: CasparCG Server 2.0.7 released

Postby Da_Elf » 17 Sep 2015, 21:23

did you copy the config file too? you have to copy two files
Da_Elf
 
Posts: 281
Joined: 20 Apr 2014, 02:11

Re: CasparCG Server 2.0.7 released

Postby itod » 21 Sep 2015, 09:59

Da_Elf wrote:did you copy the config file too? you have to copy two files


I haven't, but the result is the same after I've also copied casparcg_frontend.exe.config file, if that's the one you've had in mind. Details about the exception:

Code: Select all
\************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at CasparCGFrontend.LogParser.ParseComponentVersion(String data)
   at CasparCGFrontend.MainForm.OnProcessOutputData(Object sender, DataReceivedEventArgs e)


It would be very nice if developers would resolve this issue.
itod
 
Posts: 95
Joined: 29 Oct 2011, 20:54

Re: CasparCG Server 2.0.7 released

Postby jimmn » 23 Sep 2015, 14:48

It's casparcg.config you need, not casparcg_frontend.exe.config.

J
jimmn
 
Posts: 178
Joined: 09 May 2013, 14:30
Location: Scotland, UK

Re: CasparCG Server 2.0.7 released

Postby Rom1 » 23 Sep 2015, 16:41

I just check with the last build of it on https://github.com/CasparCG/Frontend
I find some bugs on code. I modify it and compile it. Could you test with this release ?

https://www.dropbox.com/s/jmwxkywj5ug4x ... d.zip?dl=0

You need to paste .exe in the Server Folder, where the casparcg.config file is.

Peace.
Rom1.
User avatar
Rom1
 
Posts: 35
Joined: 21 May 2015, 19:00

Re: CasparCG Server 2.0.7 released

Postby imorrish » 24 Sep 2015, 07:47

Nice, on first run it reported that it could not find a casparch.config file (maybe if there was an error in my original). Added my consumers and other settings and it updated the file fine and now loads it each time.

Thanks heaps for doing this.
User avatar
imorrish
 
Posts: 28
Joined: 27 Jan 2015, 07:12
Location: New Zealand

Re: CasparCG Server 2.0.7 released

Postby itod » 24 Sep 2015, 15:09

Rom1 wrote:I just check with the last build of it on https://github.com/CasparCG/Frontend
I find some bugs on code. I modify it and compile it. Could you test with this release ?

https://www.dropbox.com/s/jmwxkywj5ug4x ... d.zip?dl=0

You need to paste .exe in the Server Folder, where the casparcg.config file is.

Peace.
Rom1.


Thanks, Rom1! Your changes work like a charm. It would be nice if someone can push them to master branch, it's much better then if we all get the software from your Dropbox.
itod
 
Posts: 95
Joined: 29 Oct 2011, 20:54

Re: CasparCG Server 2.0.7 released

Postby Rom1 » 28 Sep 2015, 09:30

Hi,

I'm agree with you but i don't know how to pull my change on GitHub. Someone could help me ?
I also saw that project was marked to deprecated so I don't know if the original developer want to add my update.

Regards.
User avatar
Rom1
 
Posts: 35
Joined: 21 May 2015, 19:00

Re: CasparCG Server 2.0.7 released

Postby jlemanbto » 02 Oct 2015, 12:37

Hi,

Thanks to all Caspar developpers : it's a great software.

I had have the same issue as you Rom1 on removing a stream consumer.

and I fall to the same conclusion as vimlesh1975.
vimlesh1975 wrote:Stream can be of different types and at different ip and port and at the same time. So proper remove command must include all these details like below.
Code: Select all
remove 1 stream udp://localhost:5004


Since knowing that, I'd needed to get these details from the AMCP command : INFO SERVER
in order my program be able to remove the stream consumer on all kind of details.

So, I changed the server source code to get these details.

Like Rom1 : I've, in first place, no idea to how to do.

So I've forked the server project on my own GitHub, then made a pull request on the master branch's original repository.

https://github.com/CasparCG/Server/pull/368

In this pull request commentary, there is an other sample of REMOVE STREAM.

Thanks to this pull request, I've all needed details to be able to REMOVE my STREAM properly.

Hope it'll help someone.
Hope my pull request will be pulled before next release.

Jean
jlemanbto
 
Posts: 3
Joined: 02 Oct 2015, 10:13

Next

Return to Help & Support

Who is online

Users browsing this forum: No registered users and 2 guests