Skip to content

transcode: ignore input rtmp port #4496

@thegobot

Description

@thegobot

XCORE-SRS/6.0.177(Hang)
STABLE
3a390f0

ffmpeg version N-121090-g9e4ff4732c-20250916 Copyright (c) 2000-2025 the FFmpeg developers
Error opening input file rtmp://127.0.0.1:1935/live/xxxxxxx?vhost=__defaultVhost__.

srs-dev.conf

srs_log_tank  console;
#srs_log_level warn;
daemon  off;
listen 1937;
server_id srs-dev;
pid /run/srs-dev.pid;
    transcode {
        enabled on;
        ffmpeg /usr/local/bin/ffmpeg;
        engine ff {
            enabled on;

            perfile {
                re;
            }
            iformat flv;

            vfilter {
                vf 'scale=320:-2';
            }
            vcodec libx264;
            vbitrate 300;
            vfps 20;
            vthreads 12;
            vprofile baseline;
            vpreset superfast;
            vparams {
            }
            acodec aac;
            abitrate 48000;
            asample_rate 44100;
            achannels 2;
            aparams {
            }
            output rtmp://127.0.0.1:1937/[app]/[stream]?vhost=small;
        }
    }

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnglishNativeThis issue is conveyed exclusively in English.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions