Re: [FFmpeg-devel] [PATCH] Disable chunked output for Icecast
This is needed, I forgot completely about it. Icecast at the current version is not able to handle chunked encoding correctly, so if ffmpeg uses chunked encoding it must be disable for the Icecast protocol. On 21 Aug 2014, at 23:04, Michael Niedermayer wrote: On Wed, Aug 20, 2014 at 10:31:39AM +0300, Maksym Veremeyenko wrote: hi, attached patch fix input stream detection by Icecast that do not understand chunked http input. how can this issue/bug be reproduced ? [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The misfortune of the wise is better than the prosperity of the fool. -- Epicurus ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH] Disable chunked output for Icecast
On Mon, Oct 27, 2014 at 10:57:44PM +0100, Marvin Scholz wrote: This is needed, I forgot completely about it. Icecast at the current version is not able to handle chunked encoding correctly, so if ffmpeg uses chunked encoding it must be disable for the Icecast protocol. it seems a patch from someone else that adds the same line at about the same place was applied and merged a while ago so this should have been fixed See 76c70e33d2244a688832f03b53862eb5d9ad3b01 25a418082597408fcf4b6c9834d371ba46afc5a2 [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The real ebay dictionary, page 2 100% positive feedback - All either got their money back or didnt complain Best seller ever, very honest - Seller refunded buyer after failed scam signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
Re: [FFmpeg-devel] [PATCH] Disable chunked output for Icecast
On Wed, Aug 20, 2014 at 10:31:39AM +0300, Maksym Veremeyenko wrote: hi, attached patch fix input stream detection by Icecast that do not understand chunked http input. how can this issue/bug be reproduced ? [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB The misfortune of the wise is better than the prosperity of the fool. -- Epicurus signature.asc Description: Digital signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
[FFmpeg-devel] [PATCH] Disable chunked output for Icecast
hi, attached patch fix input stream detection by Icecast that do not understand chunked http input. -- Maksym Veremeyenko From e733ea6b31d341d2850070e378c2c841ebec0e35 Mon Sep 17 00:00:00 2001 From: Maksym Veremeyenko ve...@m1.tv Date: Wed, 20 Aug 2014 12:15:14 +0300 Subject: [PATCH] Disable chunked output for Icecast --- libavformat/icecast.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/libavformat/icecast.c b/libavformat/icecast.c index 56a2976..5f6b83d 100644 --- a/libavformat/icecast.c +++ b/libavformat/icecast.c @@ -118,6 +118,7 @@ static int icecast_open(URLContext *h, const char *uri, int flags) av_dict_set(opt_dict, content_type, s-content_type, 0); if (NOT_EMPTY(s-user_agent)) av_dict_set(opt_dict, user_agent, s-user_agent, 0); +av_dict_set(opt_dict, chunked_post, 0, 0); // Parse URI av_url_split(NULL, 0, auth, sizeof(auth), host, sizeof(host), -- 1.7.7.6 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel