Skip to content

go2rtc swaps the audio and video stream #2320

Description

@toperichvania

I am using go2rtc version 1.9.14 (b5948cf) linux/amd64 and for some reason it swaps the priority of the streams.

My camera streams:
Input #0, rtsp, from 'rtsp://some_ip_address:554/ONVIF/MediaInput?profile=def_profile2':
Metadata:
title : Media Presentation
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1280x960 [SAR 1:1 DAR 4:3], 15 fps, 15 tbr, 90k tbn
Stream #0:1: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s

go2rtc streams:
Input #0, rtsp, from 'rtsp://some_ip_address:8554/CAM1':
Metadata:
title : go2rtc/1.9.14
Duration: N/A, start: 0.000000, bitrate: N/A
Stream #0:0: Audio: pcm_mulaw, 8000 Hz, mono, s16, 64 kb/s
Stream #0:1: Video: h264 (High), yuvj420p(pc, bt709, progressive), 1280x960 [SAR 1:1 DAR 4:3], 17.25 fps, 15 tbr, 90k tbn

got2rtc config:
CAM1:

  • ffmpeg:rtsp://some_ip_address:554/ONVIF/MediaInput?profile=def_profile2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions