Re: [FFmpeg-devel] [PATCH] avfilter/f_loop: do not loop if loop size is 0

2019-05-20 Thread Bodecs Bela
2019.05.20. 7:02 keltezéssel, Gyan írta: On 20-05-2019 02:18 AM, Marton Balint wrote: On Sun, 19 May 2019, Paul B Mahol wrote: On 5/19/19, Marton Balint wrote: On Sun, 19 May 2019, Paul B Mahol wrote: On 5/19/19, Marton Balint wrote: Fixes infinte loop with -vf loop=loop=1. Possi

[FFmpeg-devel] [PATCH] av_format/hlsenc: fix %v handling by format_name function

2019-06-17 Thread Bodecs Bela
Hi All, When multiple variant streams are specified by var_stream_map option, %v placeholder in various names ensures that each variant has its unique names. Most of %v handlng is done in format_name function. Currently in this function the result buffer is the same as the input pattern buffer, s

[FFmpeg-devel] [PATCH] avformat/hlsenc: enhanced %v handling with variant names

2019-06-18 Thread Bodecs Bela
Dear All, When multiple variant streams are specified by var_stream_map option, %v placeholder in various names ensures that each variant has its unique names. Currently %v is substituted by its variant index value (0, 1, 2 etc.). In some use cases it would be handy to specify names for variants

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: enhanced %v handling with variant names

2019-06-18 Thread Bodecs Bela
this patch assumes/requires my previous patch to be applied 2019 jun 17 [PATCH] av_format/hlsenc: fix %v handling by format_name function best, Bela ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-deve

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: enhanced %v handling with variant names

2019-06-19 Thread Bodecs Bela
2019.06.19. 11:37 keltezéssel, Michael Niedermayer írta: On Tue, Jun 18, 2019 at 11:09:12PM +0200, Bodecs Bela wrote: Dear All, When multiple variant streams are specified by var_stream_map option, %v placeholder in various names ensures that each variant has its unique names. Currently %v is

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: enhanced %v handling with variant names

2019-06-19 Thread Bodecs Bela
2019.06.19. 12:17 keltezéssel, Liu Steven írta: 在 2019年6月19日,下午6:00,Bodecs Bela 写道: 2019.06.19. 11:37 keltezéssel, Michael Niedermayer írta: On Tue, Jun 18, 2019 at 11:09:12PM +0200, Bodecs Bela wrote: Dear All, When multiple variant streams are specified by var_stream_map option, %v

Re: [FFmpeg-devel] [FFmpeg-cvslog] av_format/hlsenc: fix %v handling by format_name function

2019-06-19 Thread Bodecs Bela
2019.06.19. 19:37 keltezéssel, Michael Niedermayer írta: On Wed, Jun 19, 2019 at 10:03:51AM +, Bodecs Bela wrote: ffmpeg | branch: master | Bodecs Bela | Mon Jun 17 23:05:21 2019 +0200| [09a4853930e7950f423e9161004871afe659ed84] | committer: Steven Liu av_format/hlsenc: fix %v handling

Re: [FFmpeg-devel] [FFmpeg-cvslog] av_format/hlsenc: fix %v handling by format_name function

2019-06-19 Thread Bodecs Bela
2019.06.19. 19:37 keltezéssel, Michael Niedermayer írta: On Wed, Jun 19, 2019 at 10:03:51AM +, Bodecs Bela wrote: ffmpeg | branch: master | Bodecs Bela | Mon Jun 17 23:05:21 2019 +0200| [09a4853930e7950f423e9161004871afe659ed84] | committer: Steven Liu av_format/hlsenc: fix %v handling

Re: [FFmpeg-devel] [FFmpeg-cvslog] av_format/hlsenc: fix %v handling by format_name function

2019-06-19 Thread Bodecs Bela
2019.06.19. 23:49 keltezéssel, Bodecs Bela írta: 2019.06.19. 19:37 keltezéssel, Michael Niedermayer írta: On Wed, Jun 19, 2019 at 10:03:51AM +, Bodecs Bela wrote: ffmpeg | branch: master | Bodecs Bela | Mon Jun 17 23:05:21 2019 +0200| [09a4853930e7950f423e9161004871afe659ed84

Re: [FFmpeg-devel] [FFmpeg-cvslog] av_format/hlsenc: fix %v handling by format_name function

2019-06-20 Thread Bodecs Bela
2019.06.20. 5:11 keltezéssel, Liu Steven írta: 在 2019年6月20日,上午1:37,Michael Niedermayer 写道: On Wed, Jun 19, 2019 at 10:03:51AM +, Bodecs Bela wrote: ffmpeg | branch: master | Bodecs Bela | Mon Jun 17 23:05:21 2019 +0200| [09a4853930e7950f423e9161004871afe659ed84] | committer: Steven

[FFmpeg-devel] [PATCH] avformat/hlsenc: better checking var_stream_map content

2019-06-20 Thread Bodecs Bela
Dear All, When multiple variant streams are specified by var_stream_map option, implementation assumes that each elementary stream is assigned only once to any variant. But this is not checked currently. But 2nd and further instances of same elementary source streams are silently neglected with

[FFmpeg-devel] [PATCH] avformat/hlsenc: better error log message for var_stream_map content

2019-06-22 Thread Bodecs Bela
Dear All, When multiple variant streams are specified by var_stream_map option, %v is expected either in the filename or in the last sub-directory name, but only in one of them. When both of them contain %v string, current error message only states half of the "truth". Additionally %v may appears

Re: [FFmpeg-devel] FFmpeg 4.2

2019-06-23 Thread Bodecs Bela
+1 vote Ada 2019.06.23. 13:02 keltezéssel, Reto Kromer írta: FFMPEG 4.2 PANDORA? FFmpeg 4.2 CARLS CANS Ada (She deserves much better than that horrible programming language!) ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/m

[FFmpeg-devel] [PATCH] avformat/hlsenc: temp_file usage for master playlist and vtt playlist

2019-06-24 Thread Bodecs Bela
Dear All, currently master playlist and subtitle playlist creation does not use temporary files even when temp_file flag is set. Most of the use cases it is not a problem because master playlist creation happens once on the beginning of the whole process. But if master playlist is periodically re

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: temp_file usage for master playlist and vtt playlist

2019-06-27 Thread Bodecs Bela
ping 2019.06.24. 18:01 keltezéssel, Bodecs Bela írta: Dear All, currently master playlist and subtitle playlist creation does not use temporary files even when temp_file flag is set. Most of the use cases it is not a problem because master playlist creation happens once on the beginning of the

[FFmpeg-devel] [PATCH] avformat/hlsenc: changing all filename length to MAX_URL_SIZE

2019-06-28 Thread Bodecs Bela
Dear All, throughout hlsenc code, all filename related buffer lengths are set hardcoded as 1024. This PATCH change it to general value as MAX_URL_SIZE of internal.h please review this patch. thank you in advance, best regards, Bela >From 6814aa8c06a37e4f298dd5acc84081cc4283321e Mon Sep 17 00

Re: [FFmpeg-devel] [PATCH] avfilter/f_cue: add cue and acue filters

2018-09-01 Thread Bodecs Bela
Hi Balint, 2018.08.25. 20:35 keltezéssel, Marton Balint írta: To delay filtering until a given wallclock timestamp. Signed-off-by: Marton Balint --- doc/filters.texi | 36 ++ libavfilter/Makefile | 2 + libavfilter/allfilters.c | 2 + libavfilter/f_cue.c | 1

Re: [FFmpeg-devel] [PATCH] avfilter/f_cue: add cue and acue filters

2018-09-06 Thread Bodecs Bela
Hi Balint, 2018.09.06. 22:20 keltezéssel, Marton Balint írta: On Sat, 1 Sep 2018, Bodecs Bela wrote: Hi Balint, 2018.08.25. 20:35 keltezéssel, Marton Balint írta: To delay filtering until a given wallclock timestamp. Signed-off-by: Marton Balint ---   doc/filters.texi |  36

Re: [FFmpeg-devel] [PATCH] avfilter/vf_subtitles: add shift options

2020-05-08 Thread Bodecs Bela
see may comment in text 2020.05.03. 20:08 keltezéssel, Manolis Stamatogiannakis írta: Allows shifting of subtitle display times to align them with the video. This avoids having to rewrite the subtitle file in order to display subtitles correctly when input is seeked (-ss). Also handy for minor s

Re: [FFmpeg-devel] [RFC]separation of multiple outputs' encoding

2020-05-19 Thread Bodecs Bela
2020.05.19. 17:27 keltezéssel, Zhong Li írta: Tomas Härdin 于2020年5月19日周二 下午10:25写道: fre 2020-05-15 klockan 10:14 +0800 skrev Tao Zhang: Marton Balint 于2020年5月15日周五 上午2:33写道: On Thu, 14 May 2020, Tao Zhang wrote: Hi, FFmpeg supports multiple outputs created out of the same input in the sa

Re: [FFmpeg-devel] ffmpeg Filtergraph Output

2020-05-24 Thread Bodecs Bela
2020.05.24. 4:55 keltezéssel, Dennis Mungai írta: On Sun, 24 May 2020 at 05:44, Soft Works wrote: Hello, I've seen the commit about the option for dumping the filtergraph and that reminded me about something that I'd be willing to contribute in case anybody likes it. A while ago I was looki

Re: [FFmpeg-devel] Add Timing Info to Log Lines

2019-09-02 Thread Bodecs Bela
2019.09.02. 1:03 keltezéssel, Soft Works írta: Hi, I’m not sure whether this has been discussed, considered or disregarded before. I have some code ready for adding timestamps to the log output, similar to this: $ ffmpegd -loglevel +timing ffmpeg version 4.2.git Copyright (c) 2000-2019 the FFm

Re: [FFmpeg-devel] [PATCH] Add option to log timing

2019-09-04 Thread Bodecs Bela
Hi, 2019.09.04. 20:53 keltezéssel, Soft Works írta: This commit adds two logging flags: 'timing' and 'datetiming'. Usage: ffmpeg -logleve +timing Timing information will only be added to log lines once transcoding has started. Why this restriction? I think all log lines should be start with

Re: [FFmpeg-devel] FW: [PATCH] Add option to log timing

2019-09-13 Thread Bodecs Bela
2019.09.13. 12:05 keltezéssel, Gyan írta: On 13-09-2019 03:10 AM, Soft Works wrote: -Original Message- From: ffmpeg-devel On Behalf Of Michael Niedermayer Sent: Thursday, September 12, 2019 11:29 PM To: FFmpeg development discussions and patches Subject: Re: [FFmpeg-devel] FW: [PA

[FFmpeg-devel] [PATCH] avformat/hlsenc: program_date_time and append_list flags conflict

2020-01-18 Thread Bodecs Bela
Dear All, When program_date_time flag is present, in m3u8 playlist file each segment has a corresponding EXT-X-PROGRAM-DATE-TIME value. The initial program-date-time value is the actual current time at init and each new segment increments this value by its duration. When append_list flags is als

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: program_date_time and append_list flags conflict

2020-01-18 Thread Bodecs Bela
sorry for missing patch file, here it is. Bela 2020.01.18. 18:56 keltezéssel, Bodecs Bela írta: Dear All, When program_date_time flag is present, in m3u8 playlist file each segment has a corresponding EXT-X-PROGRAM-DATE-TIME value. The initial program-date-time value is the actual current

[FFmpeg-devel] [PATCH] avformat/hlsenc: fix default AES key file url with variant streams

2020-01-19 Thread Bodecs Bela
Dear All, Currently when hls_enc is active and there are multiple variant stream outputs, default key file url construction does not work, because it is based on the FormatContext' url field. (m3u8 playlist output) But in case of multiple variant streams, it contains the variant m3u8 output playl

[FFmpeg-devel] [PATCH] avformat/hlsenc: compiler warning fix

2020-01-19 Thread Bodecs Bela
Dear All, This patch corrects compiler warning about returning possibly uninitialized variable in hls_write_header function. please review this patch! Thank you in advance. Bela >From e7b3a680f13fd6113f3bf118803d9609d0fe8bda Mon Sep 17 00:00:00 2001 From: Bela Bodecs Date: Mon, 20 Jan 2020

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: compiler warning fix

2020-01-20 Thread Bodecs Bela
2020.01.20. 8:46 keltezéssel, Andreas Rheinhardt írta: On Mon, Jan 20, 2020 at 8:35 AM Bodecs Bela wrote: Dear All, This patch corrects compiler warning about returning possibly uninitialized variable in hls_write_header function. Which compiler warns about this? libavformat/hlsenc.c: In

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: compiler warning fix

2020-01-20 Thread Bodecs Bela
2020.01.20. 13:07 keltezéssel, Carl Eugen Hoyos írta: Am Mo., 20. Jan. 2020 um 09:41 Uhr schrieb Bodecs Bela : 2020.01.20. 8:46 keltezéssel, Andreas Rheinhardt írta: On Mon, Jan 20, 2020 at 8:35 AM Bodecs Bela wrote: Dear All, This patch corrects compiler warning about returning possibly

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: compiler warning fix

2020-01-20 Thread Bodecs Bela
2020.01.20. 13:46 keltezéssel, Carl Eugen Hoyos írta: Am Mo., 20. Jan. 2020 um 13:18 Uhr schrieb Bodecs Bela : 2020.01.20. 13:07 keltezéssel, Carl Eugen Hoyos írta: Am Mo., 20. Jan. 2020 um 09:41 Uhr schrieb Bodecs Bela : 2020.01.20. 8:46 keltezéssel, Andreas Rheinhardt írta: On Mon, Jan

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: compiler warning fix

2020-01-20 Thread Bodecs Bela
2020.01.20. 14:02 keltezéssel, Carl Eugen Hoyos írta: This patch corrects compiler warning about returning possibly uninitialized variable in hls_write_header function. Which compiler warns about this? libavformat/hlsenc.c: In function ‘hls_write_header’: libavformat/hlsenc.c:2174: warning:

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: compiler warning fix

2020-01-20 Thread Bodecs Bela
2020.01.20. 14:25 keltezéssel, Carl Eugen Hoyos írta: Am Mo., 20. Jan. 2020 um 14:18 Uhr schrieb Bodecs Bela : 2020.01.20. 14:02 keltezéssel, Carl Eugen Hoyos írta: This patch corrects compiler warning about returning possibly uninitialized variable in hls_write_header function. Which

Re: [FFmpeg-devel] [PATCHv2] configure: request explicitly enabled components

2019-02-05 Thread Bodecs Bela
2019.02.03. 12:46 keltezéssel, Marton Balint írta: On Mon, 28 Jan 2019, Marton Balint wrote: If we enable a component but a dependant library is disabled, then the enabled component get silently disabled. Requesting all explicitly enabled components allows configure to fail and show the mis

Re: [FFmpeg-devel] [PATCH] configure: request explicitly enabled components

2019-02-05 Thread Bodecs Bela
2019.02.05. 0:45 keltezéssel, Carl Eugen Hoyos írta: 2019-02-03 16:24 GMT+01:00, Marton Balint : On Sun, 3 Feb 2019, Carl Eugen Hoyos wrote: 2019-01-28 2:00 GMT+01:00, Marton Balint : If we enable a component but a dependant library is disabled, then the enabled component get silently disab

Re: [FFmpeg-devel] [PATCH v2] avformat/flvdec: check FLVHeader PreviousTagSize0

2017-03-26 Thread Bodecs Bela
2017.03.25. 14:15 keltezéssel, Steven Liu írta: refer to SPEC: Annex E. The FLV File Format said: E.3 TheFLVFileBody have a table: FieldTypeComment PreviousTagSize0 UI32Always 0 Signed-off-by: Steven Liu --- libavformat/flvdec.c | 12 +++- 1 file changed, 11 ins

Re: [FFmpeg-devel] [PATCH] doc/patchwork: Document the patchwork states

2016-10-22 Thread Bodecs Bela
2016.10.22. 18:29 keltezéssel, Stephen Hutchinson írta: On 10/22/2016 8:25 AM, Michael Niedermayer wrote: On Sat, Oct 22, 2016 at 02:12:18PM +0200, Clément Bœsch wrote: On Sat, Oct 22, 2016 at 01:38:47PM +0200, Michael Niedermayer wrote: Signed-off-by: Michael Niedermayer --- doc/patchwork

Re: [FFmpeg-devel] [PATCH] avformat/options_table: Set the default maximum number of streams to 100

2016-12-08 Thread Bodecs Bela
2016.12.08. 19:36 keltezéssel, Michael Niedermayer írta: On Thu, Dec 08, 2016 at 07:25:59PM +0100, wm4 wrote: On Thu, 8 Dec 2016 18:37:42 +0100 Michael Niedermayer wrote: Suggested-by: Andreas Cadhalpun Signed-off-by: Michael Niedermayer --- libavformat/options_table.h | 2 +- 1 file

[FFmpeg-devel] [PATCH 1/1] flv demuxer supports live rtmp inputs but there is no any info about it in the docs

2016-12-23 Thread Bodecs Bela
>From af75a5bbfe9f37672478b6a67f8bcfe32b7b997f Mon Sep 17 00:00:00 2001 From: Bela Bodecs Date: Sat, 24 Dec 2016 00:21:23 +0100 Subject: [PATCH 1/1] flv demuxer supports live rtmp inputs but there is no any info about it in the docs. Signed-off-by: Bela Bodecs --- doc/demuxers.texi | 10

[FFmpeg-devel] [PATCH] avformat/hlsenc: detecting duplicated segment filenames

2016-12-25 Thread Bodecs Bela
Dear All, with use_localtime parameter hlsenc may produce identical filenames for different but still existing segments. It happens when hls_segment_filename contains syntacticaly correct but inadequate format parameters. Currently there is no any log message when such a situaton occurs but these

Re: [FFmpeg-devel] Change bitrate on-the-fly

2016-08-01 Thread Bodecs Bela
2016.08.01. 19:46 keltezéssel, Aman Gupta írta: I would find your patch useful and am looking forward to reviewing it. Using a socket isn't a bad way to do it IMHO- it's portable and allows easy integration from any language. Another option would be to extend the existing ffmpeg interactive mo

Re: [FFmpeg-devel] FFmpeg 3.2

2016-09-27 Thread Bodecs Bela
Shannon https://en.wikipedia.org/wiki/Claude_Shannon 2016.09.27. 15:30 keltezéssel, Michael Niedermayer írta: Hi all Its long since FFmpeg 3.1, so its time to make 3.2 ill branch release/3.2 off master and make 3.2 in maybe about a week or 2 unless something delays it also a name needs to b

[FFmpeg-devel] [PATCH]concatdec: measure duration when it is not available

2016-02-15 Thread Bodecs Bela
Hi All, This patch is a bug fix for a problem I faced recently. There are cases when duration info is not available. e.g. reading an mpegts file via a fifo file. But for concatenation this info is mandatory to adjust next file timestamps. So we need to measure it to have this value. please inclu

Re: [FFmpeg-devel] [PATCH]concatdec: measure duration when it is not available

2016-02-15 Thread Bodecs Bela
2016.02.16. 0:30 keltezéssel, Nicolas George írta: L'octidi 28 pluviôse, an CCXXIV, Bodecs Bela a écrit : This patch is a bug fix for a problem I faced recently. There are cases when duration info is not available. e.g. reading an mpegts file via a fifo file. But for concatenation this

Re: [FFmpeg-devel] [PATCH]concatdec: measure duration when it is not available

2016-02-15 Thread Bodecs Bela
2016.02.16. 0:53 keltezéssel, Nicolas George írta: L'octidi 28 pluviôse, an CCXXIV, Bodecs Bela a écrit : this problem also occurs if the input is a live hls stream via http or via hls+file protocol. I thought it is a peculiarity of concat demuxer in case of non-seekable input items.

Re: [FFmpeg-devel] [PATCH]concatdec: measure duration when it is not available

2016-02-17 Thread Bodecs Bela
2016.02.16. 10:42 keltezéssel, Nicolas George írta: L'octidi 28 pluviôse, an CCXXIV, Bodecs Bela a écrit : Do you have any suggestion for me what to do now? Please give me a hint where to find this bug or should I open a trac ticket for it? I already told you: find out exactly WHY the r

Re: [FFmpeg-devel] [PATCH]concatdec: measure duration when it is not available

2016-02-23 Thread Bodecs Bela
ping 2016.02.17. 14:13 keltezéssel, Bodecs Bela írta: 2016.02.16. 10:42 keltezéssel, Nicolas George írta: L'octidi 28 pluviôse, an CCXXIV, Bodecs Bela a écrit : Do you have any suggestion for me what to do now? Please give me a hint where to find this bug or should I open a trac t

Re: [FFmpeg-devel] [PATCH]concatdec: measure duration when it is not available

2016-03-01 Thread Bodecs Bela
ping 2016.02.23. 9:21 keltezéssel, Bodecs Bela írta: ping 2016.02.17. 14:13 keltezéssel, Bodecs Bela írta: 2016.02.16. 10:42 keltezéssel, Nicolas George írta: L'octidi 28 pluviôse, an CCXXIV, Bodecs Bela a écrit : Do you have any suggestion for me what to do now? Please give me a

Re: [FFmpeg-devel] [PATCH]concatdec: measure duration when it is not available

2016-03-02 Thread Bodecs Bela
2016.03.01. 10:57 keltezéssel, Nicolas George írta: Le nonidi 29 pluviôse, an CCXXIV, Bodecs Bela a écrit : I have checked the code where and when duration filled and made some reasoning about it. Duration value for input files has been populated some time after opening. (estimate_timings

Re: [FFmpeg-devel] [PATCH]concatdec: measure duration when it is not available

2016-03-02 Thread Bodecs Bela
2016.03.01. 11:26 keltezéssel, Michael Niedermayer írta: On Tue, Mar 01, 2016 at 10:57:57AM +0100, Nicolas George wrote: Le nonidi 29 pluviôse, an CCXXIV, Bodecs Bela a écrit : I have checked the code where and when duration filled and made some reasoning about it. Duration value for input

Re: [FFmpeg-devel] [PATCH] remove the hls_wrap option

2016-03-26 Thread Bodecs Bela
2016.03.26. 15:10 keltezéssel, Steven Liu írta: Because the hls_flags use delete_segments flag can delete the old segment files and instead of the hls_wrap option, so remove it. I suggest to leave hls_wrap option to be available. If you use this option, the set of output file names is the sa

Re: [FFmpeg-devel] FFmpeg 3.1 name

2016-06-23 Thread Bodecs Bela
2016.06.23. 23:23 keltezéssel, Paul B Mahol írta: On 6/23/16, Rostislav Pehlivanov wrote: On 23 June 2016 at 22:00, Michael Niedermayer wrote: Hi all what shall FFmpeg 3.1 be called ? I still have these ideas from past suggestions: Von Neumann, Einstein, lorentz, poincare, desitter, de b

[FFmpeg-devel] [PATCH] avformat/hlsenc: strftime identifiers and segment index in segment filenames

2016-12-26 Thread Bodecs Bela
Dear All, Putting date/time values into segment filenames is very usefull. But to produce non-conflicting segment filenames with -use_localtime option with date/time values in hls_segment_filename option, sometimes is not enough. Like in cases when multiple segments produced in the same second

[FFmpeg-devel] [PATCH] libavformat/hlsenc: fix delete_segments when use_localtime_mkdir

2016-12-28 Thread Bodecs Bela
Dear All, when delete_segments hls_flag is specified, deleting old segments may fail in certain cases when use_localtime_mkdir is in effect and hls_segment_filename expression contains subdirs. This patch fixes this behaviour. Command to reproduce the bug: ffmpeg -loglevel info -y -re -f la

[FFmpeg-devel] libavformat/hlsenc + configure: question about default strftime() format string

2016-12-28 Thread Bodecs Bela
Dear All, in hlcenc.c, in the hls_write_header() function the default format string for strftime() function contains %s specifier. const char *pattern_localtime_fmt = "-%s.ts"; This %s specifier will insert the seconds since EPOCH. But %s is not available on all system/environment. I have

Re: [FFmpeg-devel] libavformat/hlsenc + configure: question about default strftime() format string

2016-12-30 Thread Bodecs Bela
2016.12.29. 3:33 keltezéssel, Steven Liu írta: 2016-12-29 8:32 GMT+08:00 Bodecs Bela : Dear All, in hlcenc.c, in the hls_write_header() function the default format string for strftime() function contains %s specifier. const char *pattern_localtime_fmt = "-%s.ts"; This %s spec

[FFmpeg-devel] [PATCH] libavformat/hlsenc: default segment name and, use_localtime

2016-12-30 Thread Bodecs Bela
Dear All, in hlcenc.c, in the hls_write_header() function the default format string for strftime() function contains %s specifier when use_localtime is true. This %s specifier will insert the seconds since EPOCH. But %s is not available on all system/environment. This patch checks %s availabilt

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: default segment name and, use_localtime

2016-12-30 Thread Bodecs Bela
2016.12.30. 18:11 keltezéssel, Moritz Barsnick írta: On Fri, Dec 30, 2016 at 15:38:25 +0100, Bodecs Bela wrote: is not available on all system/environment. This patch checks %s availabilty at runtine and alter the default format string if necessary. You forgot to add the patch. please

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: default segment name and, use_localtime

2016-12-31 Thread Bodecs Bela
2016.12.31. 11:48 keltezéssel, Steven Liu írta: 2016-12-31 1:24 GMT+08:00 Bodecs Bela : 2016.12.30. 18:11 keltezéssel, Moritz Barsnick írta: On Fri, Dec 30, 2016 at 15:38:25 +0100, Bodecs Bela wrote: is not available on all system/environment. This patch checks %s availabilty at runtine

Re: [FFmpeg-devel] [PATCH] libavformat/hlsenc: default segment name and, use_localtime

2016-12-31 Thread Bodecs Bela
2016.12.31. 14:19 keltezéssel, Steven Liu írta: 2016-12-31 19:16 GMT+08:00 Bodecs Bela : 2016.12.31. 11:48 keltezéssel, Steven Liu írta: 2016-12-31 1:24 GMT+08:00 Bodecs Bela : 2016.12.30. 18:11 keltezéssel, Moritz Barsnick írta: On Fri, Dec 30, 2016 at 15:38:25 +0100, Bodecs Bela wrote

[FFmpeg-devel] [PATCH] avformat/hlsenc: Duplicated segment filenames and use_localtime_mkdir

2017-01-01 Thread Bodecs Bela
Dear All, current implementation of finding duplicated segment filenames may fail if use_localtime_mkdir and use_localtime are in effect and segment_filename option expression contains subdirectories with date/time specifiers in them. This patch fixes this false behaviour. thank you, Bela

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: Duplicated segment filenames and use_localtime_mkdir

2017-01-01 Thread Bodecs Bela
2017.01.01. 12:57 keltezéssel, Steven Liu írta: 2017-01-01 19:40 GMT+08:00 Bodecs Bela : Dear All, current implementation of finding duplicated segment filenames may fail if use_localtime_mkdir and use_localtime are in effect and segment_filename option expression contains subdirectories

[FFmpeg-devel] [PATCH] doc/hlsenc: hls_segment_filename, use_localtime, , use_localtime_mkdir, hls_flags

2017-01-01 Thread Bodecs Bela
Dear All, I added some more details and example to hls muxer documentation. I reformatted hls_flags option list to table. thank you, Bela Bodecs ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] doc/hlsenc: hls_segment_filename, use_localtime, , use_localtime_mkdir, hls_flags

2017-01-01 Thread Bodecs Bela
2017.01.02. 0:12 keltezéssel, Steven Liu írta: 2017-01-02 5:53 GMT+08:00 Bodecs Bela : Dear All, I added some more details and example to hls muxer documentation. I reformatted hls_flags option list to table. Where is the patch? I am sorry. I have atteched it now, thank you, Bela

Re: [FFmpeg-devel] [PATCH] doc/hlsenc: hls_segment_filename, use_localtime, , use_localtime_mkdir, hls_flags

2017-01-02 Thread Bodecs Bela
2017.01.02. 1:29 keltezéssel, Steven Liu írta: 2017-01-02 7:22 GMT+08:00 Bodecs Bela : 2017.01.02. 0:12 keltezéssel, Steven Liu írta: 2017-01-02 5:53 GMT+08:00 Bodecs Bela : Dear All, I added some more details and example to hls muxer documentation. I reformatted hls_flags option list

Re: [FFmpeg-devel] [PATCH] doc/hlsenc: hls_segment_filename, use_localtime, , use_localtime_mkdir, hls_flags

2017-01-02 Thread Bodecs Bela
2017.01.02. 13:54 keltezéssel, Moritz Barsnick írta: On Mon, Jan 02, 2017 at 12:49:50 +0100, Bodecs Bela wrote: Subject: [FFmpeg-devel] [PATCH] doc/hlsenc: hls_segment_filename, use_localtime, , use_localtime_mkdir, hls_flags

[FFmpeg-devel] [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-02 Thread Bodecs Bela
Dear All, this patch makes it possible to put actual segment file size (measured in bytes) and/or duration (calculated in microseconds) into segment filenames. This feature is useful when post-processing live streaming access log files. New behaviour works only when -use_localtime option is set a

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-03 Thread Bodecs Bela
2017.01.03. 2:34 keltezéssel, Steven Liu írta: 2017-01-03 8:22 GMT+08:00 Steven Liu : 2017-01-03 2:58 GMT+08:00 Bodecs Bela : Dear All, this patch makes it possible to put actual segment file size (measured in bytes) and/or duration (calculated in microseconds) into segment filenames

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-03 Thread Bodecs Bela
2017.01.03. 1:22 keltezéssel, Steven Liu írta: 2017-01-03 2:58 GMT+08:00 Bodecs Bela : Dear All, this patch makes it possible to put actual segment file size (measured in bytes) and/or duration (calculated in microseconds) into segment filenames. This feature is useful when post-processing

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-03 Thread Bodecs Bela
2017.01.03. 9:23 keltezéssel, Steven Liu írta: 2017-01-03 16:11 GMT+08:00 Bodecs Bela : 2017.01.03. 2:34 keltezéssel, Steven Liu írta: 2017-01-03 8:22 GMT+08:00 Steven Liu : 2017-01-03 2:58 GMT+08:00 Bodecs Bela : Dear All, this patch makes it possible to put actual segment file size

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-03 Thread Bodecs Bela
2017.01.03. 11:42 keltezéssel, Moritz Barsnick írta: On Tue, Jan 03, 2017 at 09:38:18 +0100, Bodecs Bela wrote: doc/muxers.texi | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) You should probably squash this with the other patch, into one commit. -Makes it

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-03 Thread Bodecs Bela
2017.01.03. 12:48 keltezéssel, Steven Liu írta: 2017-01-03 19:41 GMT+08:00 Bodecs Bela : 2017.01.03. 11:42 keltezéssel, Moritz Barsnick írta: On Tue, Jan 03, 2017 at 09:38:18 +0100, Bodecs Bela wrote: doc/muxers.texi | 19 ++- 1 file changed, 18 insertions(+), 1

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: actual segment file size and duration in segment filenames

2017-01-03 Thread Bodecs Bela
2017.01.03. 13:58 keltezéssel, Steven Liu írta: 2017-01-03 20:52 GMT+08:00 Moritz Barsnick : On Tue, Jan 03, 2017 at 13:38:44 +0100, Bodecs Bela wrote: I have technical difficulties to merge them into one commit. I am not a git expert. This muxers.texi patch is based on my earlier accepted

[FFmpeg-devel] [PATCH] avformat/hlsenc: bugfix in duplicate filename detection

2017-01-04 Thread Bodecs Bela
Dear All, in hlsenc.c at detecting duplicate segment filenames a wrong, unitialized variable is used for testing. This patch fixes this typo. Please apply my patch. Thank you in advance. Bela Bodecs >From 2459227d3c304b9e45ae52071e8bcea36e287dac Mon Sep 17 00:00:00 2001 From: Bela Bodecs Da

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix memleak in hlsenc

2017-01-04 Thread Bodecs Bela
2017.01.05. 1:20 keltezéssel, Steven Liu írta: fix CID: 1398364 Resource leak refine the code of the new options Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 21 + 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix memleak in hlsenc

2017-01-05 Thread Bodecs Bela
2017.01.05. 9:43 keltezéssel, Steven Liu írta: 2017-01-05 15:47 GMT+08:00 Bodecs Bela : 2017.01.05. 1:20 keltezéssel, Steven Liu írta: fix CID: 1398364 Resource leak refine the code of the new options Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 21 + 1

[FFmpeg-devel] [PATCH] avformat/hlsenc: typo in default localtime pattern

2017-01-05 Thread Bodecs Bela
Dear All, in hlsenc.c at get_default_pattern_localtime_fmt function the default pattern contains %Y%m%d%H%I%S but the original intention was %Y%m%d%H%M%S Please apply this patch. thank you, Bela Bodecs >From 9a11e116ad50bae635ce7c16821975b3d584ddc7 Mon Sep 17 00:00:00 2001 From: Bela Bodec

[FFmpeg-devel] [PATCH] doc/muxers/hlsenc: typo hls_flag: discont_starts => discont_start

2017-01-05 Thread Bodecs Bela
Dear All, in doc/muxers/hlsenc, there is a typo in hls_flags section: discont_starts instead of discont_start best regards, Bela Bodecs >From d6c3375508750886bc7edf82b5282c93e70a8e62 Mon Sep 17 00:00:00 2001 From: Bela Bodecs Date: Thu, 5 Jan 2017 13:21:13 +0100 Subject: [PATCH] doc/mux

[FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-06 Thread Bodecs Bela
Dear All, in avformat/hlsenc the start_number option starts the playlist sequence number (#EXT-X-MEDIA-SEQUENCE) from the specified number. Unless hls_flags single_file is set, it also specifies starting sequence numbers of segment and subtitle filenames. Sometimes it is usefull to have unique

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-06 Thread Bodecs Bela
2017.01.06. 16:50 keltezéssel, Steven Liu írta: 2017-01-06 22:07 GMT+08:00 Bodecs Bela : Dear All, in avformat/hlsenc the start_number option starts the playlist sequence number (#EXT-X-MEDIA-SEQUENCE) from the specified number. Unless hls_flags single_file is set, it also specifies

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-06 Thread Bodecs Bela
2017.01.06. 17:33 keltezéssel, Steven Liu írta: 2017-01-07 0:22 GMT+08:00 Bodecs Bela : 2017.01.06. 16:50 keltezéssel, Steven Liu írta: 2017-01-06 22:07 GMT+08:00 Bodecs Bela : Dear All, in avformat/hlsenc the start_number option starts the playlist sequence number (#EXT-X-MEDIA

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-07 Thread Bodecs Bela
2017.01.07. 0:32 keltezéssel, Steven Liu írta: 2017-01-07 0:47 GMT+08:00 Bodecs Bela : 2017.01.06. 17:33 keltezéssel, Steven Liu írta: 2017-01-07 0:22 GMT+08:00 Bodecs Bela : 2017.01.06. 16:50 keltezéssel, Steven Liu írta: 2017-01-06 22:07 GMT+08:00 Bodecs Bela : Dear All, in

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-10 Thread Bodecs Bela
2017.01.10. 6:53 keltezéssel, Steven Liu írta: 2017-01-08 8:22 GMT+08:00 Steven Liu : 2017-01-08 1:37 GMT+08:00 Bodecs Bela : 2017.01.07. 0:32 keltezéssel, Steven Liu írta: 2017-01-07 0:47 GMT+08:00 Bodecs Bela : 2017.01.06. 17:33 keltezéssel, Steven Liu írta: 2017-01-07 0:22 GMT

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-10 Thread Bodecs Bela
2017.01.10. 6:53 keltezéssel, Steven Liu írta: 2017-01-08 8:22 GMT+08:00 Steven Liu : 2017-01-08 1:37 GMT+08:00 Bodecs Bela : 2017.01.07. 0:32 keltezéssel, Steven Liu írta: 2017-01-07 0:47 GMT+08:00 Bodecs Bela : 2017.01.06. 17:33 keltezéssel, Steven Liu írta: 2017-01-07 0:22 GMT

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-10 Thread Bodecs Bela
2017.01.10. 13:02 keltezéssel, Moritz Barsnick írta: On Tue, Jan 10, 2017 at 10:42:21 +0100, Bodecs Bela wrote: Hls speficication allow 64 bit integers as sequence numbers. This patch ^ specification allows +typedef enum { + HLS_START_SEQUNCE_AS_START_NUMBER

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-10 Thread Bodecs Bela
2017.01.10. 12:10 keltezéssel, Steven Liu írta: 2017-01-10 17:42 GMT+08:00 Bodecs Bela : 2017.01.10. 6:53 keltezéssel, Steven Liu írta: 2017-01-08 8:22 GMT+08:00 Steven Liu : 2017-01-08 1:37 GMT+08:00 Bodecs Bela : 2017.01.07. 0:32 keltezéssel, Steven Liu írta: 2017-01-07 0:47 GMT

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-10 Thread Bodecs Bela
2017.01.10. 12:10 keltezéssel, Steven Liu írta: 2017-01-10 17:42 GMT+08:00 Bodecs Bela : 2017.01.10. 6:53 keltezéssel, Steven Liu írta: 2017-01-08 8:22 GMT+08:00 Steven Liu : 2017-01-08 1:37 GMT+08:00 Bodecs Bela : 2017.01.07. 0:32 keltezéssel, Steven Liu írta: 2017-01-07 0:47 GMT

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-10 Thread Bodecs Bela
2017.01.10. 16:40 keltezéssel, Steven Liu írta: 2017-01-10 23:22 GMT+08:00 Bodecs Bela : 2017.01.10. 12:10 keltezéssel, Steven Liu írta: 2017-01-10 17:42 GMT+08:00 Bodecs Bela : 2017.01.10. 6:53 keltezéssel, Steven Liu írta: 2017-01-08 8:22 GMT+08:00 Steven Liu : 2017-01-08 1:37 GMT

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: start_number new options

2017-01-11 Thread Bodecs Bela
2017.01.10. 22:02 keltezéssel, Moritz Barsnick írta: On Tue, Jan 10, 2017 at 16:02:34 +0100, Bodecs Bela wrote: Missing documentation in doc/muxers.texi. my patch included the muxers.texi also. D'uh, sorry! ;) Will you please revi

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix hlsenc bug at windows system

2017-01-12 Thread Bodecs Bela
2017.01.12. 6:03 keltezéssel, Steven Liu írta: when hlsenc use flag second_level_segment_index, second_level_segment_size and second_level_segment_duration, the rename is ok but the output filename always use the old filename so move the rename operation after the close the ts file and before o

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix hlsenc bug at windows system

2017-01-12 Thread Bodecs Bela
Have you noticed my second comment also about code change in my earlier reply? 2017.01.12. 10:39 keltezéssel, Steven Liu írta: 2017-01-12 17:18 GMT+08:00 Bodecs Bela : 2017.01.12. 6:03 keltezéssel, Steven Liu írta: when hlsenc use flag second_level_segment_index

Re: [FFmpeg-devel] [PATCH 1/2 v2] avformat/hlsenc: fix typo of AV_TIME_BASE

2017-01-23 Thread Bodecs Bela
2017.01.23. 10:05 keltezéssel, Steven Liu írta: the code use 100 * duration, use AV_TIME_BASE replace 100 Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 85d3955

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: improve the code readable of 1000000

2017-01-23 Thread Bodecs Bela
2017.01.23. 12:01 keltezéssel, Steven Liu írta: Reviewed-by: Bodecs Bela Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 85d3955..0170b34 100644 --- a/libavformat

Re: [FFmpeg-devel] [PATCH v2] avformat/hlsenc: improve the code readable of 1000000

2017-01-23 Thread Bodecs Bela
2017.01.23. 15:55 keltezéssel, James Almer írta: On 1/23/2017 11:25 AM, Steven Liu wrote: 2017-01-23 22:14 GMT+08:00 James Almer : On 1/23/2017 8:01 AM, Steven Liu wrote: Reviewed-by: Bodecs Bela Signed-off-by: Steven Liu --- libavformat/hlsenc.c | 3 ++- 1 file changed, 2 insertions

Re: [FFmpeg-devel] FFmpeg 3.3

2017-01-25 Thread Bodecs Bela
2017.01.25. 9:40 keltezéssel, Tobias Rapp írta: On 23.01.2017 02:11, Michael Niedermayer wrote: Its a while since the last relase so ill make 3.3 within the next week(s) Name suggestions needed like always What about "Hilbert", named after David Hilbert? +1 vote I also intend to make som

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: add hls_flag option to create segments atomically

2017-02-01 Thread Bodecs Bela
2017.01.31. 21:29 keltezéssel, Aman Gupta írta: From: Aman Gupta Adds a `-hls_flags +temp_file` which will write segment data to filename.tmp, and then rename to filename when the segment is complete and before the file is added to the m3u8 playlist. This patch is similar in spirit to one us

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: add hls_flag option to create segments atomically

2017-02-02 Thread Bodecs Bela
2017.02.03. 0:27 keltezéssel, Aman Gupta írta: On Wed, Feb 1, 2017 at 6:03 AM, Bodecs Bela wrote: 2017.01.31. 21:29 keltezéssel, Aman Gupta írta: From: Aman Gupta Adds a `-hls_flags +temp_file` which will write segment data to filename.tmp, and then rename to filename when the segment

Re: [FFmpeg-devel] [PATCH v3] avformat/hlsenc: add hls_flag option to write segments to temporary file until complete

2017-02-04 Thread Bodecs Bela
2017.02.04. 20:45 keltezéssel, Hendrik Leppkes írta: On Sat, Feb 4, 2017 at 6:55 PM, Aman Gupta wrote: From: Aman Gupta Adds a `-hls_flags +temp_file` which will write segment data to filename.tmp, and then rename to filename when the segment is complete. This patch is similar in spirit to

[FFmpeg-devel] [PATCH] avformat/hlsenc: fix stream level metadata handling

2017-02-11 Thread Bodecs Bela
Dear All, hls-encoder currently does not provide stream level metadata to mpegts muxer. This patch also fixes track #3848 bug. Please review this bug fix. Thank you in advance. best regards, Bela Bodecs >From 06a5e2dff962d0e2127ddbb00f6bd8a3d03d3e51 Mon Sep 17 00:00:00 2001 From: Bela Bodecs

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: fix stream level metadata handling

2017-02-12 Thread Bodecs Bela
2017.02.12. 2:36 keltezéssel, Steven Liu írta: 2017-02-12 5:31 GMT+08:00 Bodecs Bela : Dear All, hls-encoder currently does not provide stream level metadata to mpegts muxer. This patch also fixes track #3848 bug. Please review this bug fix. Thank you in advance. best regards, Bela

  1   2   >