Simple Video Playout

Wow. Thread is getting awfully long. At what point does it wrap over to a second page?

1 Like

Discourse (the forum software) doesn’t paginate.

Instead it loads a subset of posts on a page visit and uses Ajax to bring in more then you get to the bottom (a la Facebook). If you’ve been to a thread before, you start where you left off.

There’s no real need to paginate.

1 Like

Thanks for the response. But I disagree. I believe there is a need for pagination. Everyone does not enjoy endless scrolling.

HI Vimlesh 1975,
I am interested in purchasing/building a new system to serve the purpose as the platform for Caspar Media Player (Vimlesh 1975 client), equipped with Blackmagic Design DeckLink SDI 4K for a 24 x 7 on Air Playout system.
I read the system recommendation (https://github.com/CasparCG/help/wiki/Server%3A-System-Requirements) but that was dated as last updated on May 2013 and it is for CasparCG Server and Client.
I have a few questions (i) can a AMD Ryzen configured system with a dedicated NVIDIA display card work (ii) or do I have to use an Intel Xeon base system? (iii) Workstation or server (do I need a system with a redundant power supply)? and (iv) Is there an updated turnkey system you can recommend?
Thank you in advance.

Phillp

(i) I tried casparcg output PAL on amd ryzen 5 2400g with decklink duo2 and nvidea gt710 2gb. Worked fine.
(ii) Intel Xeone® CPU E3-1220 v5 @3.00GHZ, 3001 Mhz, 4 logical processor with quadro p2000 works good.

Hi Vimlesh 1975,
Thank you, I will provide feedback on the system I acquire. Thanks again for a great product!

Phillip

Here is a htmlTemplate module in ‘Others Modules’ menu.
Search button Lists html templates in list box.
After selecting a template, it populates all element which have id and its innerhtml.
Image elements are populated with id and image source value.
For update from this client we need to insert a script in template like below

   <script type="text/javascript">

         function restorestring(str) {
            str = str.replace(/xxx/g, " ");
              str = str.replace(/yyy/g, "'");
            str = str.replace(/zzz/g, '"');
              return str
               }

          function updatestring(str1, str2) {
              document.getElementById(restorestring(str1)).innerHTML = restorestring(str2);
           }

       function updateimage(str1, str2) {
             document.getElementById(restorestring(str1)).src = restorestring(str2);
             }

         function next() {
            gwd.actions.timeline.play('document.body');
          }

      function pause() {
       gwd.actions.timeline.pause('document.body');
     }

    function gotoandplaylabel(label) {
      gwd.actions.timeline.gotoAndPlay('document.body', label);
     }
  </script>

An working Example has been placed there in C:/casparcg/mydata/gwd/v1/gwd_preview_v1/index.html, made in Goggle web designer.
Any template will work from this client If we insert the above script in template.

Hi Vimlesh :slight_smile:
I want to access files in player from the location:
\\10.27.16.16\stornext\studio
this location works on the esplorer windows 10

Unfortunately, such an entry in the configuration file does not work.
<media-path>\\10.27.16.16\stornext\studio</media-path>

Please help me to configure Caspar Server to see files from this location.

why don’t you share that location and map here.

I’ve mapped these locations but I do not know what to do to see them from the player level.

Making shared directory for casparcg media.
On server PCMake a folder on server computer’s D drive. Let us say mymedia
Right click this folder—property—sahring. Share this folder.
Right click on my computer–map network drive. Drive z–Folder= \mypcname\mymedia
Make sub folders on this z drive named video, template, log, thumbnail.
Now modify your casparcg.conÒg Òle as below

    <paths>
  <media-path>z:/video\</media-path>
  <log-path>z:/log\</log-path>
   <data-path>z:/data\</data-path>
    <template-path>z:/template\</template- 
    path>
     <thumbnails-path>z:/thumbnail\ 
     </thumbnails-path>
    </paths>

Now on client PC
Right click on my computer–map network drive. Drive z–Folder= \serverpcname\mymedia
Now run the server on server pc and Client on client pc.

In my case, caspar CG and your player work on the same local computer. Only files that I want to play are located on the server.
I mapped the network drive with the media as the S drive on this local computer. But I do not know how to edit the config file to let your player see this network drive

Make a video folder on s drive. Then
Tools edit Config file.
Then set media path as
S:/video/

1 Like

Hi Sir
This is kumaraswamy from Hyderabad.
Vimlesh Sir. I am working as network and broadcast Engineer in Studio N. And i am a manufacturing Teleprompter and studio lights 4 Bank Cool lights. I am planning do my play out server with my self please help me

1 Like

Hi Vimlesh 1975,
I would like to know where do I type in the
"<script type="text/javascript">"
information. It appears to me that you built the HTML template Module examples in PAL and not in HD. I work in 1080 HD and not in PAL. Also, I am also having trouble seeing graphics I built and saved as HTML in this Module. Can you expand some more on the use of what appears to be a great addition to your CMP programme?
Thank you in advance.

Phillip

If you have following html file and open in notepad-

 <html>
 <head>
<title>Page Title</title>
</head>
<body>

<div id="f0" style="font-size :40px; color :Red;">Original Text</div>
<img id="image1" src="C:/casparcg/mydata/html/dd.png" />

</body>
</html>

It will work good from this client. But will not update. for updating you need to insert script in between head tag like below-

       <!DOCTYPE html>
        <html>
        <head>
        <title>Page Title</title>

 <script type="text/javascript">

     function restorestring(str) {
        str = str.replace(/xxx/g, " ");
          str = str.replace(/yyy/g, "'");
        str = str.replace(/zzz/g, '"');
          return str
           }

      function updatestring(str1, str2) {
          document.getElementById(restorestring(str1)).innerHTML = restorestring(str2);
       }

   function updateimage(str1, str2) {
         document.getElementById(restorestring(str1)).src = restorestring(str2);
         }

     function next() {
        gwd.actions.timeline.play('document.body');
      }

  function pause() {
   gwd.actions.timeline.pause('document.body');
 }

        function gotoandplaylabel(label) {
    gwd.actions.timeline.gotoAndPlay('document.body', label);
 }
    </script>
           </head>
          <body>
       
  <div id="f0" style="font-size :40px; color :Red;">Original Text</div>
  <img id="image1" src="C:/casparcg/mydata/html/dd.png" />


        </body>
         </html>

Hi Vimlesh 1975,
Thank you. I will do so.

Philip

Google web designer (or any other html software) creates many elements for its internal functioning which have id and we don’t need to update that. So i thought to prefix “ccg” to our intended text element id. Like I modified the element id as
f0->ccgf0
f1->ccgf1

Accordingly I updated the client code also.

hi vimlesh,.i would like to know,.

  • is that possible playing and recording on the same time using cmp ?

  • how doing record from two source ?

on extra options there is “-vcodec mpeg4 -g 1” is there any other except this one ?

Thank you vimlesh :slight_smile:
I can now play files from the local network.
There is only one more problem …
Files from the local network do not count down time.
Files replayed from the local disk work.
How can I fix it?