Skip to content

Warning when load a jpeg file in 2.5.0 : 'deprecated pixel format used' #1695

@molecul3

Description

@molecul3

Observed Behavior

When I load a JPEG image, I get a 'warning' message:

[warning] [ffmpeg] [swscaler @ 0000021A282ACE00] deprecated pixel format used, make sure you did set range correctly

Expected behaviour

This doesn't happen with PNG images.
This didn't happen with Caspar 2.4.3.

Steps to reproduce

load any jpeg
LOAD 1-1 "C:/debug_2.5.0/WARNING_FoxSnow"

I'm using the 'screen' and 'ndi' consumers in a basic configuration ;

<channel>
    <video-mode>1080i5000</video-mode>
    <consumers>
        <screen>
            <x>0</x>
            <y>0</y>
            <width>480</width>
            <height>300</height>
        </screen>
        <ndi>
            <name>caspar_ndi_1</name>
            <allow-fields>false</allow-fields>
        </ndi>                      
        <system-audio />
    </consumers>
</channel>
Image
[info]   	Received message from 127.0.0.1: LOAD 1-1 "C:/debug_2.5.0/WARNING_FoxSnow"\r\n
[debug]  	Executing command: LOAD
[warning]	[ffmpeg] [swscaler @ 000001829C44DEC0] deprecated pixel format used, make sure you did set range correctly
[warning]	
[info]   	image_producer[C:/debug_2.5.0\WARNING_FoxSnow.jpg] Initialized
[debug]  	image_producer[C:/debug_2.5.0\WARNING_FoxSnow.jpg] Destroying on asynchronous destruction thread.
[info]   	Sent message to 127.0.0.1:202 LOAD OK\r\n
[info]   	image_producer[C:/debug_2.5.0\WARNING_FoxSnow.jpg] Destroyed.
[debug]  	Executed command (0.014s): LOAD

Environment

  • Server version: 2.5.0
  • Operating system: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions