Transition between videos

#1
Hello all.
I play several short video files use command LOADBG 1-10 "FILE" AUTO (without fade) when the previous file is played.
I try record this in FCP and try insert on timeline FCP these several files directly.
Record on timeline have difference between several files.
In record transition between videos lost 1 frame, but not always.
And when I play a lot of files i have a big time difference.
How can I fix this?

System:
Server 2.0.7
Windows 7
config:

Code: Select all

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<configuration>
  <paths>
    <media-path>D:\media\</media-path>
    <log-path>D:\log\</log-path>
    <data-path>data\</data-path>
    <template-path>D:\templates\</template-path>
    <thumbnails-path>thumbnails\</thumbnails-path>
  </paths>
  <channels>
    <channel>
      <video-mode>PAL</video-mode>
      <straight-alpha-output>true</straight-alpha-output>
      <auto-deinterlace>true</auto-deinterlace>
      <auto-transcode>false</auto-transcode>
      <pipeline-tokens>5</pipeline-tokens>
      <consumers>
        <screen>
          <device>1</device>
        </screen>
        <decklink>
          <device>1</device>
          <keyer>default</keyer>
          <key-only>false</key-only>
          <embedded-audio>true</embedded-audio>
          <latency>default</latency>
          <buffer-depth>3</buffer-depth>
          <custom-allocator>true [true|false]</custom-allocator>
        </decklink>
        <system-audio />
      </consumers>
    </channel>
  </channels>
  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
</configuration>

Re: Transition between videos

#2
Hi yurik,
Can you please provide more information? I mean for example your HW configuration, which video format you are using etc...

Regards,
Filip Vojsovic
https://youtu.be/s7rj9TJpFvw - Our system integration in CzechTV Brno
Broadcast technology, on-air graphics systems, SQL databases, visual basic, C#
Expert in Grassvalley products: K2, Stratus
LAWO VSM
Orad: Morpho3D, 3DPlay
Avid: Avid MC

Re: Transition between videos

#5
You can. First, you need to chcck the "Allow remote triggering" option in the menu. Then use one of these OSC commands:

Code: Select all

    /control/stop
    /control/play
    /control/playnow
    /control/load
    /control/pause
    /control/next
    /control/update
    /control/invoke
    /control/preview
    /control/clear
    /control/clearvideolayer
    /control/clearchannel
    /control/down
    /control/up
    /control/playnowifchannel
    /control/playandautostep
    /control/playnowandautostep
Jesper Stærkær
Independent Consultant at SuperFly.tv

Re: Transition between videos

#6
Hello.
Sorry, but i did not understand where this checkbox "Allow remote triggering"
I use AMCP command through telnet connection.
First i send command PLAY 1-10 "FILE" LENTH "XXX" AUTO (file is start to play)
Then i'm i send command LOADBG 1-10 "FILE" AUTO
then i check server status with command INFO 1-10, and when background producer in status "empty-producer" i again send command LOADBG for next file.
In the file caspar.config i add OSC:
<osc>
<default-port>6250</default-port>
<disable-send-to-amcp-clients>false [true|false]</disable-send-to-amcp-clients>
<predefined-clients>
<predefined-client>
<address>127.0.0.1</address>
<port>5253</port>
</predefined-client>
</predefined-clients>
</osc>
How i can use OSC commands?
how can it help me?

Re: Transition between videos

#7
The checkbox is in the client. If you send AMCP commands, see this:
http://casparcg.com/wiki/CasparCG_2.1_A ... col#LOADBG
for documentation on how to set the transition in the LOADBG command. The same syntax also applys to the PLAY command.
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

Re: Transition between videos

#8
Is it possible to make small pause when finishes playing the file in foreground producer? before start play file from background producer.
Maybe, add 20msec of stop last frame, before load and play file from background producer, if it possible?

Re: Transition between videos

#9
yurik_os wrote: Is it possible to make small pause when finishes playing the file in foreground producer? before start play file from background producer.
Maybe, add 20msec of stop last frame, before load and play file from background producer, if it possible?
AFAIK that is not possible with an simple AMCP command. You would need to write a client, that, via OSC or INFO, checks for the clip to be run out and wait for a while before starting the next clip. What sense would this kind of behaviour make?
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