[FFmpeg-user] ffserver audio livestream "Could not open output feed file '/tmp/inputAudio.ffm'"

Moritz Barsnick barsnick at gmx.net
Sat Apr 9 01:25:10 CEST 2016

On Sat, Apr 09, 2016 at 08:56:17 +1000, Matt Flax wrote:
> Actually it starts with no file present.

Hmm. Do you have strace?

You can run
$ strace -o /tmp/ffserver.log ffserver -f /etc/ffserver.conf
and then inspect /tmp/ffserver.log for /tmp/inputAudio.ffm. On
ffserver's second access (r/w), I get this:

access("/tmp/inputAudio.ffm", F_OK)     = 0
access("/tmp/inputAudio.ffm", W_OK)     = -1 EACCES (Permission denied)
open("/tmp/inputAudio.ffm", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE|O_CLOEXEC, 0666) = -1 EACCES (Permission denied)

with "Permission denied" being the interesting information ffserver
should be giving.

Alternatively, if you are building ffserver yourself, you could modify
it to provide that information. I can add a patch if desired.


More information about the ffmpeg-user mailing list