Re: Simple Video Playout

#843
As I understand you need to control your kahuna mixer with this client.
VDCP controller module is in "menu-other modules-external software". It was tested and developed using sony xds-pd1000. Source code is available in download. If kahuna mixer supports VDCP, has storage and clips in it and a a rs 422 port it can accept commands from this client. But may be you require some modification in client.

Re: Simple Video Playout

#846
Firstly, thank you so much for making this program... I use it at the university I work at in the UK to display a ticker during our live Graduation ceremonies.

We were having issues where it was skipping and displaying weird characters occasionally, so I upgraded from 190316 version to the latest one. This sorted these problems, however it seems to work slightly differently now. In the News > Scroller > Scroll And Clock module, previously, I would press Pause then Play which would load the template in a paused state, then press Resume to start it scrolling after I'd keyed it in on in the vision mixer. However, this no longer works, it just plays. If you have a look at the scroller in the Elections template, this works in the old way, but I can't see anything in the template that controls this behavior, so just wondering if it's something different in the program?

Also, it resets the delimiter between items back to a * and the scroll speed goes back to 2.5 every time I open and close the program.

Any solutions you can offer to these problems would be much appreciated... I have reached the limit of my (limited) skills to try and get it to work! Thank you in advance :)

Re: Simple Video Playout

#848
Thank you so much! Works a treat now :)

I hope you don't mind me asking one more question, sort of related? I've been trying to modify the main.as file to put in a function to capitalise all text, but with no luck (I am, as you can tell no expert on this!) - I've tried doing what it suggests in this thread: https://casparcg.com/forum/viewtopic.php?t=2509 but the template won't compile as I'm obviously doing something wrong. Would you be able to suggest what code to use and where to put it?

Thank you so much again, I really appreciate your time.

Re: Simple Video Playout

#850
The capitalize function works a treat thank you!

Unfortunately, I've found something else that's stopped working (sorry!)..., pressing the pause button now resets the speed to 0?

So sorry to be a pain, and thanks again :)

Craig

Re: Simple Video Playout

#851
DT100 wrote:
03 Nov 2017, 13:10
Unfortunately, I've found something else that's stopped working (sorry!)
So sorry to be a pain, and thanks again :)
I welcome the feedback. Every feedback helps to make this client better.
I have changed some logic in the client. I think you should follow the sequence- play, pause and then resume.

Re: Simple Video Playout

#852
This is now virtually spot on, thank you! The only thing I would say is that no matter how quick I press play then pause, the first word creeps on to the screen. I can of course put a few spaces on the first line of text, but there's a good chance my operator will forget to do this. Can you suggest anything?

Thanks again so much :)

Re: Simple Video Playout

#853
Thanks for making this software, it almost does what I want, I only have 2 issues so far;

1. My files are in D:\ and it contains a folder 1080i50, when I add a file it is added as 080i50\<filename.mov> instead of 1080i50\<filename.mov>*
2. I made a playlist of some 15 files but when I press Start Playlist it only plays the first file

*I can edit this manually after adding it to the playlist though ;)

Media path configured as D:\\

I would also like to have it repeat the playlist endlessly..

I also noted the possibility to load a different config, absolutely awesome, exactly what I was looking for (I think)

Thanks!

Re: Simple Video Playout

#854
Thank you for giving feedback.

1. I think if you configure media path as d:/ instead of d:// problem would be solved.
But I would say to configure it like d:/casaparcg/_media/
2. It should play all files. If current file is of different frame rate than channel frame rate, playlist may not switch to next file.
3. it repeats the playlist. This feature is from beginning.

Re: Simple Video Playout

#855
Thank You for this software Mr Vimlesh:)
I have a question:
Is it possible to run (to add if not) AMCP command tab in playlist per clip?
For example: I want to change video layer with
SWAP 1-1 1-30
for some clip to mask few cg layers below

On Playlist side it could be operated with „File Type” tab on playlist maybe in the future?
Or maybe there is another way to achive runing a command from playlist?

Regards

Re: Simple Video Playout

#856
Thank you for your feedback. I found the feature request very useful. I have added a new column in playlist named AMCP. Now we can add any amcp command here which will play with corresponding clip in playlist. Command can be multiline separated with double comma. (,,)
Above feature may be called as file based AMCP.

Another similar feature is already there in Command scheduler module which is based on system time.

Re: Simple Video Playout

#858
Hi Vimlesh,
Thanks, once again, for your excellent work.
I'm using your html scroll text solution. It works well, but I would like to limit the left and the right size of the text (attach). The idea is getting the text scrolling smaller than the whole width of the window.
I can do it with @keyframes but it is not so smooth as your solution (with requestanimationframe).
Any tip on how adapt your code to fit this requirement?

Regards,
David
scroll.png

Re: Simple Video Playout

#862
hello again vimles,.
thx for fixing the link,.
i want to ask again,.
did cmp cant play *.mxf video ?
cz when im using caspar client it's, play just fine,.but cmp cant play it..

and 1 more question
\\192.168.10.4\data$ >> this is my video link,. btw its on network,. i add map network drive on my pc

Code: Select all

<paths>
<media-path>c:/casparcg/_media\</media-path>
<log-path>c:/casparcg/_log\</log-path>
<data-path>c:/casparcg/_data\</data-path>
<template-path>c:/casparcg\</template-path>
</paths>

i tried make a couple change to the code but no result (media),.
how to write the correct command,.so cmp can read the video,.
(caspar server and cmp on my pc )

im sorry to bother u again,.

Re: Simple Video Playout

#863
HUDis wrote:
05 Feb 2018, 22:19
Hello,
Maybe it's a trivial problem but I can not solve it.
How to make a flash template for the "Twoliner" module?
I will be grateful for all hints ...
hello vimles :)
I am asking for help again ...
I built a template that works in the "template" tab but does not work in the "Twoliner" module. I can not choose it in this module because it can not be seen in the templats list. This is a project that contains two variables f0 and f1.
What else do you have to put in the template to make it visible to the "Twoliner" module?

Re: Simple Video Playout

#865
vimlesh1975 wrote:
07 Feb 2018, 09:59
Sorry for late reply, but your earlier explanation was not complete.
New templates will not be listed there in twoliner module. They are listed for example purpose. You will have to copy the name of the template manually there.
After entering the name of the templat manually, the Twoliner and Oneliner modules operate. Thank you very much for the hints!
I think it would be convenient to see all installed templates in the drop-down menu in the modules.

Re: Simple Video Playout

#867
eko wrote:
06 Feb 2018, 00:16
did cmp cant play *.mxf video ?
cz when im using caspar client it's, play just fine,.but cmp cant play it..
Playing mxf file is a property of server and cmp also can give a command to play mxf file.
eko wrote:
06 Feb 2018, 00:16
\\192.168.10.4\data$ >> this is my video link,. btw its on network,. i add map network drive on my pc

Code: Select all

<paths>
<media-path>c:/casparcg/_media\</media-path>
<log-path>c:/casparcg/_log\</log-path>
<data-path>c:/casparcg/_data\</data-path>
<template-path>c:/casparcg\</template-path>
</paths>

i tried make a couple change to the code but no result (media),.
how to write the correct command,.so cmp can read the video,.
(caspar server and cmp on my pc )
Suppose your mapped drive is z:
Open command prompt as administrator and issue a command like below

Code: Select all

mklink /d c:\casparcg\_media\media_on_z_drive z:\
It will create a folder in "c:\casparcg\_media" and name will be "media_on_z_drive"
Then You can see your files in clipgrid. This link is called symbolic link.
Last edited by vimlesh1975 on 09 Feb 2018, 11:02, edited 1 time in total.

Re: Simple Video Playout

#868
thx vimless now my cmp can play .mxf and symbolic link created successfully,. but when i run cmp the app crashed
if i remove the symbolic link,.cmp will run just fine,. did i miss something ?

Problem signature:
Problem Event Name: APPCRASH
Application Name: caspar_media_playback.exe
Application Version: 1.0.0.0
Application Timestamp: 5a6eef7f
Fault Module Name: clr.dll
Fault Module Version: 4.6.1055.0
Fault Module Timestamp: 563c0f73
Exception Code: c00000fd
Exception Offset: 004281a2
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1057
Additional Information 1: 07cd
Additional Information 2: 07cdc9bcc350f694d4c8e20f8de3442f
Additional Information 3: f6fc
Additional Information 4: f6fcf93c2ce4de6354e9875688e9b322

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid= ... cid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt
logserver.jpg
picture

Re: Simple Video Playout

#869
Making symbolic link of root drive creates this problem.
Suppose your mapped drive is z:
Make a folder in it as _media
Put your media in this folder.
Open command prompt as administrator and issue a command like below

Code: Select all

mklink /d c:\casparcg\_media\media_on_z_drive z:\_media
/[code]

Re: Simple Video Playout

#870
cas wrote:
09 Feb 2018, 01:34
Hello sir, I am trying to use the CG2 to bring in graphics to VMIX, using NDI I am able to pick the output screen but it just don't overlay it plays as a full video. Can you assist please.
Server 2.07 not working.
But 2.1 beta 2 works well.

Information from here.
https://www.vmix.com/knowledgebase/arti ... ut-to-vmix

Code: Select all

Setting up CasparCG with NDI to send the output to vMix
The following guide is for configuring CasparCG with NDI support so that the output shows up as an NDI source within vMix.
 
1. Install CasparCG Server

2. Install NewTek Network Video Send Driver
http://new.tk/NetworkSendRedist

3. Apply for and install the NewTek AirSend Updater
http://pages.newtek.com/NDI-Upgrader-Download.html
 
4. Edit the casparcg.config in Notepad adding the following to <channel><consumers> 
 
            <newtek-ivga>
              <channel-layout>stereo</channel-layout>
              <provide-sync>true</provide-sync>
            </newtek-ivga>
 
5. Run CasparCG and the output will be available as an NDI source in vMix labelled as "1"
Source as ndi

source as ndi.png
Key



key.png

Re: Simple Video Playout

#871
hi vimlesh i already make symbolic not from root device
with ur command and i tried another command too such as "mklink /d d:\software\casparcg\_media\_media \\192.168.10.4\data$\"
symbolic was created succesfully but cmp still crashed with same error notification..
symbolic.jpg
symbolic
[2018-02-10 16:20:09.839] [1964] [info] Accepted connection from 127.0.0.1 2
[2018-02-10 16:20:09.839] [1964] [info] Accepted connection from 127.0.0.1 3
[2018-02-10 16:20:09.843] [1964] [info] Received message from 127.0.0.1: VERSION SERVER\r\n
[2018-02-10 16:20:09.843] [1560] [debug] Executed command: VersionCommand
[2018-02-10 16:20:09.843] [1560] [info] Sent message to 127.0.0.1: 201 VERSION OK\r\n2.0.7.e9fc25a Stable\r\n
[2018-02-10 16:20:09.844] [1964] [info] Received message from 127.0.0.1: VERSION FLASH\r\n
[2018-02-10 16:20:09.845] [1560] [debug] Executed command: VersionCommand
[2018-02-10 16:20:09.845] [1560] [info] Sent message to 127.0.0.1: 201 VERSION OK\r\nNot found\r\n
[2018-02-10 16:20:09.845] [1964] [info] Received message from 127.0.0.1: VERSION TEMPLATEHOST\r\n
[2018-02-10 16:20:09.849] [1560] [info] flash[cg20.fth.pal|0] Initialized.
[2018-02-10 16:20:09.849] [1560] [info] flash[cg20.fth.pal|0] Invoking info-command: <invoke name="GetInfo" returntype="xml"><arguments></arguments></invoke>
[2018-02-10 16:20:09.852] [2384] [error] producer\flash_producer.cpp(217): Throw in function __thiscall caspar::flash::flash_renderer::flash_renderer(const class caspar::safe_ptr<class caspar::diagnostics::graph> &,const class std::tr1::shared_ptr<struct caspar::core::frame_factory> &,const class std::basic_string<wchar_t,struct std::char_traits<wchar_t>,class std::allocator<wchar_t> > &,int,int)
Dynamic exception type: class boost::exception_detail::clone_impl<struct caspar::caspar_exception>
std::exception::what: Unknown exception
[struct caspar::tag_msg_info *] = flash-player[cg20.fth.pal|1024x576] Failed to Create FlashAxControl

[2018-02-10 16:20:09.853] [1560] [debug] Executed command: VersionCommand
[2018-02-10 16:20:09.853] [1560] [info] Sent message to 127.0.0.1: 201 VERSION OK\r\nUnknown\r\n
[2018-02-10 16:20:09.853] [6852] [info] flash[cg20.fth.pal|0] Uninitialized.
[2018-02-10 16:20:09.866] [1964] [info] Received message from 127.0.0.1: info paths\r\n
[2018-02-10 16:20:09.866] [1560] [debug] Executed command: InfoCommand
[2018-02-10 16:20:09.866] [1560] [info] Sent message to 127.0.0.1: 201 INFO PATHS OK\r\n<?xml version="1.0" encoding="utf-8"?>\n<paths>\n <media-path>_media\</media-path>\n <log-path>log\</log-path>\n <data-path>data\</data-path>\n <template-path>templates\</template-path>\n <thumbnails-path>thumbnails\</thumbnails-path>\n <initial-path>D:\Software\CasparCG\CasparCG_Server\Server\</initial-path>\n</paths>\n\r\n
[2018-02-10 16:20:09.930] [1964] [info] Received message from 127.0.0.1: 0 0 25\r\n
[2018-02-10 16:20:09.930] [1964] [info] Sent message to 127.0.0.1: 400 ERROR\r\n 0 0 25\r\n
[2018-02-10 16:20:09.942] [1964] [info] Received message from 127.0.0.1: 0 0,04 25\r\n
[2018-02-10 16:20:09.942] [1964] [info] Sent message to 127.0.0.1: 400 ERROR\r\n 0 0,04 25\r\n
[2018-02-10 16:20:09.943] [1964] [info] Received message from 127.0.0.1: 0,1 0,04 25\r\n
[2018-02-10 16:20:09.943] [1964] [info] Sent message to 127.0.0.1: 400 ERROR\r\n 0,1 0,04 25\r\n
[2018-02-10 16:20:21.358] [1964] [debug] OnClose (ErrorCode: 10053)
[2018-02-10 16:20:21.358] [1964] [info] Client 127.0.0.1 was disconnected, Errorcode 10053
[2018-02-10 16:20:21.358] [1964] [debug] OnClose (ErrorCode: 10053)
[2018-02-10 16:20:21.358] [1964] [info] Client 127.0.0.1 was disconnected, Errorcode 10053

Re: Simple Video Playout

#875
thx vimlesh
thank you very much,.

i tried this :
Making symbolic link of root drive creates this problem.
Suppose your mapped drive is z:
Make a folder in it as _media
Put your media in this folder.
Open command prompt as administrator and issue a command like below
Code: Select all

mklink /d c:\casparcg\_media\media_on_z_drive z:\_media

now my cmp run smoothly,.. btw i was wondering is there any a way for caspar&cmp to load media from root drive?

Re: Simple Video Playout

#878
Below is a config file which generates 3 channel. When we give command

Code: Select all

channel_grid
third channel switches to a grid view of 1st and 2nd channel.
Open two instances of CMP and set 2nd instance channel number to 2.

In 1st channel go to recorder and click show input. It will enable live video in channel 1.
Start playlist in 2nd channel.
You will get channel grid in third channel and grid output from 3rd decklink card.
channel_grid.png

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <paths>
    <media-path>c:/casparcg/_media\</media-path>
    <log-path>log\</log-path>
    <data-path>data\</data-path>
    <template-path>c:/casparcg\</template-path>
    <thumbnails-path>thumbnails\</thumbnails-path>
  </paths>
  <channels>
    <channel>
        <video-mode>PAL</video-mode>
        <consumers>

          <screen>
            <device>1</device>
          </screen>
          <system-audio />
        </consumers>
    </channel>


<channel>
        <video-mode>PAL</video-mode>
        <consumers>
<decklink>
                <device>2</device>
                <embedded-audio>true</embedded-audio>
                <channel-layout>stereo</channel-layout>
</decklink>
          <screen>
            <device>1</device>
          </screen>
          <system-audio />
        </consumers>
    </channel>


<channel>
        <video-mode>PAL</video-mode>
        <consumers>
<decklink>
                <device>3</device>
                <embedded-audio>true</embedded-audio>
                <channel-layout>stereo</channel-layout>
</decklink>
          <screen>
            <device>1</device>
          </screen>
          <system-audio />
        </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>6251</port>
    </predefined-client>

<predefined-client>
      <address>127.0.0.1</address>
      <port>6252</port>
    </predefined-client>


<predefined-client>
      <address>127.0.0.1</address>
      <port>6253</port>
    </predefined-client>


<predefined-client>
      <address>127.0.0.1</address>
      <port>6254</port>
    </predefined-client>

  </predefined-clients>
</osc>

</configuration>

Re: Simple Video Playout

#879
When i give the command at AMCP at mediaplayback it keep frozing... am i doing something wrong? I am using casparcg server 2.0.7 with fronted 2.0.6. I made in config (fronted server) two channels with screen and decklink.

Re: Simple Video Playout

#883
vimlesh1975 wrote:
12 May 2015, 09:38
That is something which I have not been able to avoid.
And it has been left unattended considering other things required to fulfill faithful playlist feature.
That is why mix 10 frames has been kept to avoid getting notice of this freezing.
Mr Vimlesh,
is there any chance to fix this? Frame accurate CUT is feature that lot of people are waiting for.

Regards

Re: Simple Video Playout

#884
Hi Vimlesh1975.

I use your CMP about two years. Very good job. Thank you.
I have everyday playlist (3x8 hours=24 h).
Is possible add into playlist schedule every line date and time to play content.
I need play online video from church every sunday, but I dont know how to do this.
Im not proggramer.
Sorry for my english, Im from Slovakia.

Thank you.

Re: Simple Video Playout

#885
lyduch wrote:
26 Mar 2018, 12:30
vimlesh1975 wrote:
12 May 2015, 09:38
That is something which I have not been able to avoid.
And it has been left unattended considering other things required to fulfill faithful playlist feature.
That is why mix 10 frames has been kept to avoid getting notice of this freezing.
Mr Vimlesh,
is there any chance to fix this? Frame accurate CUT is feature that lot of people are waiting for.

Regards
The solution lies in using "loadbg auto" command. But I am using only loadbg.
Reason-
1. There is no time limit for streaming or html sources.
2. Last minute changes in playlist will not be possible.

Re: Simple Video Playout

#886
maxdu wrote:
12 Apr 2018, 07:48
Is possible add into playlist schedule every line date and time to play content.
There is a column in playlist "follow duration". If we check it and put "02:00:00" in duration column, then this clip will be online for 2 hours. So if we put a blank png image file with follow duration checked and duration as required in duration filed, then the gap in playlist will be filled by black, playlist will remain playling, and next clip will start after given time. Thus Your Goal can be achieved.
use_of_follow_duration.png
use_of_follow_duration.png (10.62 KiB) Viewed 985 times

Re: Simple Video Playout

#888
You need to make a single playlist for all future telecast, fill the gap in playlist with "follow duration method" and use the "Start Playlist at" button for starting only once.

Once it is started at given time, no need to again start it and no need to load another playlist.
Start_playlist_at.png
Start_playlist_at.png (1.05 KiB) Viewed 970 times