CasparCG / server

CasparCG Server is a Windows and Linux software used to play out professional graphics, audio and video to multiple outputs. It has been in 24/7 broadcast production since 2006. Ready-to-use downloads are available under the Releases tab https://casparcg.com.
GNU General Public License v3.0
911 stars 268 forks source link

BUG: LOAD broken in 2.1 #535

Closed jesperstarkar closed 7 years ago

jesperstarkar commented 7 years ago

What should happen: Sending LOAD should load the file in the foreground-producer of the given layer, thereby showing the first frame, or the frame specified by an additional SEEK-parameter.

What happens: The foreground-producer gets correctly created (see below), but nothing shown on the layer.

<channels>
   <channel>
      <video-mode>1080i5000</video-mode>
      <audio-channel-layout>[audio_channel_layout] num_channels=2 type=STEREO channel_order=FL FR</audio-channel-layout>
      <stage>
         <layers>
            <layer>
               <auto_delta>null</auto_delta>
               <frame-number>1</frame-number>
               <nb_frames>268</nb_frames>
               <frames-left>267</frames-left>
               <frame-age>0</frame-age>
               <producer>
                  <type>ffmpeg-producer</type>
                  <filename>c:/casparcg/media\AMB.mp4</filename>
                  <width>1920</width>
                  <height>1080</height>
                  <progressive>true</progressive>
                  <fps>25</fps>
                  <loop>false</loop>
                  <frame-number>1</frame-number>
                  <nb-frames>268</nb-frames>
                  <file-frame-number>1</file-frame-number>
                  <file-nb-frames>268</file-nb-frames>
               </producer>
               <background>
                  <producer>
                     <type>empty-producer</type>
                  </producer>
               </background>
               <index>0</index>
            </layer>
         </layers>
      </stage>
      <mixer>
         <mix-time>0</mix-time>
      </mixer>
      <output>
         <consumers>
            <consumer>
               <type>decklink</type>
               <key-only>false</key-only>
               <device>1</device>
               <low-latency>false</low-latency>
               <embedded-audio>false</embedded-audio>
               <presentation-frame-age>320</presentation-frame-age>
               <index>301</index>
            </consumer>
         </consumers>
      </output>
      <index>1</index>
   </channel>
</channels>

Steps to reproduce: From a freshly started CasparCG Server:

Tested on: CasparCG Server 2.1.0.3259 a8775b6 Beta x64

HellGore commented 7 years ago

Duplicate of #518