Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: FFMPEG streaming to Justin.tv/Twitch.tv

  1. #11
    Join Date
    Sep 2006
    Beans
    3,588

    Re: FFMPEG streaming to Justin.tv/Twitch.tv

    Why do you want to "save CPU power"? What's the actual question here? Why do you not want ffmpeg to take advantage of all available resources? It's a tradeoff: fewer resources = lower frame rate and/or frame size.

    • Why do you use "-threads 6"? libx264 automatically determines the optimal number of threads by default so you generally do not need to declare threads unless you want to reduce them.
    • "-qscale" and "-b" are mutually exclusive, but luckily libx264 ignores "-qscale".
    • "-b" is ambiguous and you should use a stream specifier with this option: "-b:v" or "-b:a" (same with "-qscale").
    • A better suggestion may be to base your encoding options on your upload rate if that is a limiting factor. I will expand on this later when I return from a trip. What is your max upload rate?
    • There is no "lossless_ultrafast" preset unless you're using ancient or fake ffmpeg. Lossless = huge files which would probably not be good for uploading a live stream to this video service.

  2. #12
    Join Date
    May 2013
    Beans
    8

    Re: FFMPEG streaming to Justin.tv/Twitch.tv

    add -g 2 to your -vcodec line, that will allow you to stream video as well as audio.

Page 2 of 2 FirstFirst 12

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •