[FFmpeg-user] ffserver audio livestream "Could not open output feed file '/tmp/inputAudio.ffm'"
Matt Flax
flatmax at flatmax.org
Sat Apr 9 02:34:23 CEST 2016
here you go ...
.... snip ... removed info about libraries ....
open("/dev/urandom", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
fcntl64(3, F_SETFD, FD_CLOEXEC) = 0
read(3, "\347{.k", 4) = 4
close(3) = 0
rt_sigprocmask(SIG_UNBLOCK, [RT_1 RT_2], NULL, 16) = 0
rt_sigaction(SIGCHLD, {0x40d651, [RT_68 RT_71 RT_72 RT_73 RT_75 RT_76
RT_79 RT_81 RT_82 RT_83 RT_84 RT_85 RT_88 RT_89 RT_90 RT_91 RT_93 RT_94
RT_95], SA_RESTORER|SA_RESTART|SA_NOCLDSTOP, 0}, NULL, 16) = 0
open("/etc/ffserver.conf", O_RDONLY|O_LARGEFILE) = 3
readv(3, [{"", 0}, {"HTTPPort 8090\nHTTPBindAddress 0."..., 1024}], 2) = 670
readv(3, [{"", 0}, {"HTTPPort 8090\nHTTPBindAddress 0."..., 1024}], 2) = 0
close(3) = 0
clock_gettime(CLOCK_REALTIME, {1458907722, 51781050}) = 0
open("/etc/TZ", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=4, ...}) = 0
mmap2(NULL, 4, PROT_READ, MAP_SHARED, 3, 0) = 0x77a84000
close(3) = 0
ioctl(1, TIOCGWINSZ, 0x7fb08798) = 0
writev(1, [{"Fri Mar 25 12:08:42 2016 Could n"..., 77}, {"'\n", 2}], 2) = 79
clock_gettime(CLOCK_REALTIME, {1458907722, 53880165}) = 0
munmap(0x77a84000, 4) = 0
open("/etc/TZ", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_CLOEXEC) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=4, ...}) = 0
mmap2(NULL, 4, PROT_READ, MAP_SHARED, 3, 0) = 0x77a84000
close(3) = 0
writev(1, [{"Fri Mar 25 12:08:42 2016 ", 25}, {"Could not setup feed
streams\n", 29}], 2) = 54
exit_group(1) = ?
I am open to altering ffserver.c for more information ...
thanks
Matt
On 09/04/16 09:25, Moritz Barsnick wrote:
> 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.
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
More information about the ffmpeg-user
mailing list