Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: Disable copy_ts on timestamp wraparound

2019-05-09 Thread Aleksey Skripka
urs.m3u8 #EXTM3U #EXT-X-VERSION:3 #EXT-X-TARGETDURATION:97200 #EXT-X-PLAYLIST-TYPE:VOD #EXTINF: 97200, 27hours.ts #EXT-X-ENDLIST ps: ffmpeg = git-master + patch from this mail -- Aleksey Skripka ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org ht

[FFmpeg-devel] [PATCH] libavformat/hlsenc: fix broken -hls_flags +temp_file

2018-12-13 Thread Aleksey Skripka
if (!old_filename) { return AVERROR(ENOMEM); @@ -2346,7 +2351,7 @@ static int hls_write_trailer(struct AVFo AVFormatContext *vtt_oc = NULL; char *old_filename = NULL; const char *proto = avio_find_protocol_name(s->url); -int use_temp_file = proto &

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: fix broken -hls_flags +temp_file

2018-12-14 Thread Aleksey Skripka
AVERROR(ENOMEM); @@ -2348,7 +2339,7 @@ static int hls_write_trailer(struct AVFo AVFormatContext *vtt_oc = NULL; char *old_filename = NULL; const char *proto = avio_find_protocol_name(s->url); -int use_temp_file = proto && !strcmp(proto, "file") && (s

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: fix broken -hls_flags +temp_file

2018-12-14 Thread Aleksey Skripka
> On 14 Dec 2018, at 13:10, Liu Steven wrote: > > > >> 在 2018年12月14日,下午5:27,Aleksey Skripka 写道: >> >> greetings! >> >> fixed version. >> thanks. > Is this patch create by git format-patch ? no. diff -up fileA fileB >> >

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: fix broken -hls_flags +temp_file

2018-12-14 Thread Aleksey Skripka
one more try, via 'git format-patch'. 0001-libavformat-hlsenc-fix-broken-hls_flags-temp_file.patch Description: Binary data > On 14 Dec 2018, at 17:21, Steven Liu wrote: > > > >> On Dec 14, 2018, at 19:23, Aleksey Skripka wrote: >> >>> >

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: fix broken -hls_flags +temp_file

2018-12-14 Thread Aleksey Skripka
From e85edcc4d8b0312c7871f78ed0859ec7436be460 Mon Sep 17 00:00:00 2001 From: Aleksey Skripka Date: Fri, 14 Dec 2018 14:48:31 + Subject: [PATCH] libavformat/hlsenc: fix broken -hls_flags +temp_file 1. fix addressing '->flags' while assigning 'use_tem

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: Disable copy_ts on timestamp wraparound

2019-10-10 Thread Aleksey Skripka
Greetings! Michael, patch works good for mpegts input, but for hls input it works only if add AVFMT_TS_DISCONT to .flags in ff_hls_demuxer structure (libavformat/hls.c). Is it right way? > On 3 May 2019, at 18:36, Michael Niedermayer wrote: > > This allows handling more than 26.5h of mpeg*

Re: [FFmpeg-devel] [PATCH] Fix usage of temp_file flag in hls_flags option

2018-12-17 Thread Aleksey Skripka
mailing list > ffmpeg-devel@ffmpeg.org > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel -- Aleksey Skripka ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] Fix usage of temp_file flag in hls_flags option

2018-12-17 Thread Aleksey Skripka
was introduced by 223d2bde22ce33dcbcb6f17f234b609cb98f1fb6 > From repeat+level+trace I believe I saw that playlist file actually was using > a temp file, so if that's the thing you are concerned about, it seems like > it's all good. > > Regards > Adrian Guzowski >

Re: [FFmpeg-devel] [PATCH] Fix usage of temp_file flag in hls_flags option

2018-12-17 Thread Aleksey Skripka
.tmp), someone can choose how to writeout media file (despite i understand temp+single is very-very rare case). Thanks! -- Aleksey Skripk > On 17 Dec 2018, at 19:12, Adrian wrote: > > Comments inline. > > Regards > Adrian Guzowski > > W dniu 17.12.2018 o 16:56, Aleksey

Re: [FFmpeg-devel] [PATCH] Fix usage of temp_file flag in hls_flags option - 2nd attempt

2018-12-17 Thread Aleksey Skripka
or we a killing 'single' filename in few iterations. Steven, i recall my version of patch. Adrian's version fixes more issues and hope v3 will be the best :) Aleksey Skripka > On 18 Dec 2018, at 01:30, Adrian wrote: > > Thanks for the explanation, now your intent is clear

Re: [FFmpeg-devel] [PATCH v3] Fix usage of temp_file flag in hls_flags option

2018-12-19 Thread Aleksey Skripka
4:24, Ronak pisze: >>> On Dec 17, 2018, at 4:35 PM, Aleksey Skripka wrote: >>> >>> Evening! >>> >>> First of all, about playlist writeout: >>> before 223d2bde22ce33dcbcb6f17f234b609cb98f1fb6 - playlist was always(!) >>> creating

Re: [FFmpeg-devel] [PATCH] avformat/hls: add supporting EXT-X-DISCONTINUITY tag

2020-07-18 Thread Aleksey Skripka
Greetings! unconditional AVFMT_TS_DISCONT also helps to survive when pts rollover in mpegts occurs. seems like this patch will break again reading long-lasting hls. -- Aleksey Skripka > On 17 Jul 2020, at 04:09, Dongwon Kim wrote: > > I modified setting AVFMT_TS_DISCONT flag on