I'm working on a live stream transcoder application using nginx + ffmpeg.

Everything works fine when I use avconv to transcode, but if I use ffmpeg, I get this error:

[tcp @ 0xb4e9da0] Failed to resolve hostname fso.dca.XXXX.edgecastcdn.net: System error

Any hints? Seems like an application specific firewall.

  • What versions of ffmpeg are you using + avconv? – slm Dec 2 '14 at 1:17
  • avconv version 9.16-6:9.16-0ubuntu0.14.04.1 – Joe Flateau Dec 2 '14 at 2:01
  • ffmpeg version 2.4.3- johnvansickle.com/ffmpeg – Joe Flateau Dec 2 '14 at 2:01
  • That msg is being thrown from ffmpeg, here's the source: ffmpeg.org/doxygen/1.0/tcp_8c-source.html.Is there an issue with the hostname resolution? – slm Dec 2 '14 at 3:02
  • 1
    Someone else experiencing your same issue: ffmpeg-users.933282.n4.nabble.com/…. Based on this it seems to be an issue with the static build, at least on the surface. I'd confirm what options the static was built with, it might be missing options that make this feature work. – slm Dec 2 '14 at 3:18

The problem is with the static build, as @slm mentioned. I've compiled ffmpeg from source and things work fine now.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.