Skip to content
Discussion options

You must be logged in to vote

@RafaJurado -re option doesn't fix the error, it just hides it.

  1. ffmpeg is smart enough to detect codecs automatically, try
  2. if you have RTSP URL it better to provide this URL using UrlInput
  3. As output it's better to use ChannelOutput (which is seekable, notice muxer does not support non seekable output message)
  4. It is even better to store output to file on local disk (UrlOutput)
  5. you use -c copy which is useful when you only need to change media container, but not codec, framerate or cut video. -c copy is not compatible with -r 12 -preset ultrafast and duration

From architecture perspective I think it's better to download data stream to local disk first, then to convert it as you need and s…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@RafaJurado
Comment options

Answer selected by RafaJurado
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants