1080x1920 output

Hi guys,

I am using CasparCG Server 2.5.1 and am trying to make a video output as 1080x1920 for a portrait TV. What’s the correct texts in config file? Thanks!

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<configuration>
  <paths>
    <media-path>media/</media-path>
    <log-path disable="false">log/</log-path>
    <data-path>data/</data-path>
    <template-path>template/</template-path>
  </paths>
  <lock-clear-phrase>secret</lock-clear-phrase>
  <controllers>
    <tcp>
      <port>5250</port>
      <protocol>AMCP</protocol>
    </tcp>
  </controllers>
  <amcp>
    <media-server>
      <host>localhost</host>
      <port>8000</port>
    </media-server>
  </amcp>
  <html>
    <remote-debugging-port>1234</remote-debugging-port>
    <enable-gpu>true</enable-gpu>
  </html>
  <video-modes>
    <video-mode>
      <id>HDportrait</id>
      <width>1080</width>
      <height>1920</height>
      <time-scale>50000</time-scale>
      <duration>1000</duration>
      <cadence>640</cadence>
    </video-mode>
  </video-modes>
  <channels>
    <channel>
      <video-mode>HDportrait</video-mode>
      <consumers>
       <screen>
        <device>1</device>
       </screen>
      </consumers>
    </channel>
  </channels>
</configuration>

roughly like this in a 50Fps world

Hi Maurice,

Thanks for the reply. I set up 4 outputs, 1st being 1920x1080, 2nd being 1080x1920, 3rd & 4th being NDI 1080p50.

However all the outputs seemed to be working except 2nd (portrait). It only fits the upper half of the screen. Any idea why? Below is the config. Thanks again.

media/ log/ data/ template/ secret HDportrait 1080 1920 50000 1000 960
<channels>
<channel>
        <video-mode>1080p5000</video-mode>
      <consumers>
        <screen>
            <device>1</device>
            <aspect-ratio>16:9</aspect-ratio>
            <stretch>fill</stretch>
            <windowed>false</windowed>
			<interactive>false</interactive>
        </screen>
      </consumers>
    </channel>
	<channel>
        <video-mode>HDportrait</video-mode>
      <consumers>
        <screen>
            <device>2</device>
			<aspect-ratio>9:16</aspect-ratio>
			<stretch>fill</stretch>
            <windowed>false</windowed>
            <interactive>false</interactive>
        </screen>
      </consumers>
    </channel>
	<channel>
        <video-mode>1080p5000</video-mode>
      <consumers>
	    <ndi>
            <name>NDI-output1</name>
            <allow-fields>true</allow-fields>
        </ndi>
	  </consumers>
    </channel>
    <channel>
        <video-mode>1080p5000</video-mode>
      <consumers>
	    <ndi>
            <name>NDI-output2</name>
            <allow-fields>true</allow-fields>
        </ndi>
	  </consumers>
    </channel>
</channels>
<controllers>
    <tcp>
        <port>5250</port>
        <protocol>AMCP</protocol>
    </tcp>
</controllers>
<amcp>
    <media-server>
        <host>localhost</host>
        <port>8000</port>
    </media-server>
</amcp>

Not sure why I could not paste this port of the config in the previous replies.

media/ log/ data/ template/ secret HDportrait 1080 1920 50000 1000 960

i am not a machine now but i think you have to lose all the stuff in the screen-part they could over rulke your “custom” resolution

<channel>
        <video-mode>HDportrait</video-mode>
      <consumers>
        <screen>
            <device>2</device>
            <windowed>false</windowed>
            <interactive>false</interactive>
        </screen>
      </consumers>
    </channel>