Skip to content

Add the ability to disable OSD for the MJPEG stream #251

@reloadman

Description

@reloadman

Problem: OSD doesn't scale on MJPEG stream.
Suggestion: Add the ability to disable OSD on the MJPEG stream

video0:
  enabled: true
  codec: h264
  fps: 25
  bitrate: 2048
  rcMode: vbr
  gopSize: 2
  profile: high
  size: 1920x1080
  sliceUnits: 0
video1:
  enabled: false
  codec: h264
  size: 704x576
  fps: 15
jpeg:
  enabled: true
  qfactor: 70
  fps: 5
  rtsp: false
  size: 512x288
osd:
  enabled: true
  font: /usr/share/fonts/truetype/UbuntuMono-Regular.ttf
  template: '%d.%m.%Y %H:%M:%S'
  posX: 16
  posY: 16
  size: 1.0

RSTP stream picture:
Image

MJPEG stream picture:
Image

chip:
  vendor: SigmaStar
  model: SSC33X
  family: infinity6b0
  id: F81EA8D4884B
  tag: "MVX1##I6gf74c9b5CMN_ROM######XVM �\u0002"
board:
  vendor: OpenIPC
  version: 2.5.11.28
ethernet:
  mac: "fa:41:28:45:e4:6a"
rom:
- type: nor
  block: 64K
  partitions:
    - name: boot
      size: 0x40000
      sha1: d3e5a2dd
    - name: env
      size: 0x10000
      sha1: 3d78de3c
      contains:
        - name: uboot-env
          offset: 0x0
    - name: kernel
      size: 0x200000
      sha1: ef5da3f1
    - name: rootfs
      size: 0x500000
      sha1: 94b46061
    - name: rootfs_data
      size: 0x8b0000
      path: /overlay,jffs2,rw
  size: 16M
ram:
  total: 128M
  media: 70M
firmware:
  u-boot: "2015.01 (Oct 27 2024 - 16:59:11)"
  kernel: "4.9.84 (PREEMPT Fri Nov 28 03:50:47 UTC 2025)"
  toolchain: buildroot-gcc-13.3.0
  main-app: majestic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions