On Tue, Apr 12, 2016 at 06:15:13 +1000, Matt Flax wrote: > Any follow ups on this ?
The attached patch would give you/us more information on that particular error. (Not for other errors, and it doesn't provide a solution. ;-)) (Sort of untested. I had tested this edit preciously, but when making this patch, I was too lazy to right now. Might work, might not.) Moritz
>From f9875534556587a996e13fc1ae97ca64965476d1 Mon Sep 17 00:00:00 2001 From: Moritz Barsnick <[email protected]> Date: Tue, 12 Apr 2016 00:10:22 +0200 Subject: [PATCH] ffserver: add reason to error message Signed-off-by: Moritz Barsnick <[email protected]> --- ffserver.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ffserver.c b/ffserver.c index b5bd8f8..f0a94ce 100644 --- a/ffserver.c +++ b/ffserver.c @@ -3835,6 +3835,7 @@ drop: } if (avio_check(feed->feed_filename, AVIO_FLAG_WRITE) <= 0) { + int ret; AVFormatContext *s = avformat_alloc_context(); if (!s) { @@ -3851,9 +3852,9 @@ drop: } /* only write the header of the ffm file */ - if (avio_open(&s->pb, feed->feed_filename, AVIO_FLAG_WRITE) < 0) { - http_log("Could not open output feed file '%s'\n", - feed->feed_filename); + if ((ret = avio_open(&s->pb, feed->feed_filename, AVIO_FLAG_WRITE)) < 0) { + http_log("Could not open output feed file '%s': %s\n", + feed->feed_filename, av_err2str(ret)); avformat_free_context(s); goto bail; } -- 2.5.5
_______________________________________________ ffmpeg-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-user
