Hi, thanks a lot for working on a fix for this.
I've just tried it and it does not seem to work, I still can't pass
options to the icecast protocol using tee.
Command I tried was:
ffmpeg -re -i input.mov -c copy -f tee -password hackme -content_type
audio/ogg -map 0:v -map 0:a
"icecast://source@127.0.0.1:8888/test.ts|test.ts"
On 2 Jun 2020, at 20:56, Nicolas George wrote:
Fix trac ticket #8705.
Signed-off-by: Nicolas George <geo...@nsup.org>
---
libavformat/tee.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Not tested, I have no icecast server at hand. I will ask the reporter
to
test.
diff --git a/libavformat/tee.c b/libavformat/tee.c
index f2b11fcb35..c5c59975e6 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -295,7 +295,7 @@ static int open_slave(AVFormatContext *avf, char
*slave, TeeSlave *tee_slave)
goto end;
}
- ret = ff_format_output_open(avf2, filename, NULL);
+ ret = ff_format_output_open(avf2, filename, &options);
if (ret < 0) {
av_log(avf, AV_LOG_ERROR, "Slave '%s': error opening: %s\n",
slave,
av_err2str(ret));
--
2.26.2
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".