RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    FFMPEG --recordconfig options

    Scheduled Pinned Locked Moved Help and Support
    ffmpegrecordingrecordconfig
    2 Posts 1 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      selsine
      last edited by selsine

      Hi Everyone,

      I've been working on streaming to Twitch using RetroPie and I'm wondering if anyone has a list of the available options that you can set in the --recordconfig file and whether or not you can pass arbitrary commandline options?

      The most details I can find in the RetroArch Wiki are the following:

      vcodec = <codec> # Same as -vcodec
      acodec = <codec> # Same as -acodec
      format = <format> # Muxer format to use. E.g. mkv, flv or mp4. This is normally inferred, but must be set when using extensionless formats like RTMP (streaming).
      threads = <threads> # Threads to use when encoding video. Should be set to (# of CPU threads - 1).
      frame_drop_ratio = <ratio> # Only encodes every <ratio> frames.
      pix_fmt = <pix_fmt> # Same as -pix_fmt, no default is assumed, must be set!
      scale_factor = <factor> # Scales input by <factor>. Useful when encoding in chroma subsampled formats like yuv420p.
      sample_rate = <rate> # Audio output sampling rate.
      audio_global_quality = <qual> # Global quality for audio (VBR). Maps to codec->global_quality in API. Play around with it. Higher = better. 75 seems to be a fair value.
      audio_bit_rate = <bitrate> # Audio bit rate (CBR). This is in bit/s, so use e.g. 192000 for 192 kb/s.
      
      video_{option} = <value> # Sets generic video option {option} to <value>. This is codec specific. Mostly useful for libx264.
      audio_{option} = <value> # Sets generic audio option {option} to <value>. This is codec specific.
      

      What I'm curious about is whether it is possible to pass additional commanline options to ffmpeg via the --recordconfig file? E.g. how would I pass the -ac 2 option to ffmpeg?

      1 Reply Last reply Reply Quote 0
      • S
        selsine
        last edited by

        Sorry to bump this, but does anyone know how to pass additional commandline options to ffmpeg via --recordconfig?

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.