[FFmpeg-devel] [PATCH 1/3] avformat/hlsenc:addition of #EXT-X-MEDIA tag and AUDIO attribute

2017-11-22 Thread vdixit
From: Vishwanath Dixit Signed-off-by: Karthick J --- doc/muxers.texi | 12 ++ libavformat/hlsenc.c | 63 ++-- 2 files changed, 73 insertions(+), 2 deletions(-) diff --git a/doc/muxers.texi

[FFmpeg-devel] [PATCH 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

2017-11-22 Thread vdixit
From: Vishwanath Dixit Signed-off-by: Karthick J --- libavformat/hlsenc.c | 67 +++- 1 file changed, 66 insertions(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index

[FFmpeg-devel] [PATCH 2/3] avcodec/libx264:setting profile and level in avcodec context

2017-11-22 Thread vdixit
From: Vishwanath Dixit Signed-off-by: Karthick J --- libavcodec/libx264.c | 14 +- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 9c67c91..eeafe31 100644 ---

[FFmpeg-devel] [PATCH v5 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

2017-11-30 Thread vdixit
From: Vishwanath Dixit --- libavformat/Makefile | 2 +- libavformat/dashenc.c | 2 +- libavformat/hlsenc.c | 65 +-- libavformat/hlsplaylist.c | 5 +++- libavformat/hlsplaylist.h | 3 ++- libavformat/reverse.c

[FFmpeg-devel] [PATCH v5 1/3] avformat/hlsenc:addition of #EXT-X-MEDIA tag and AUDIO attribute

2017-11-30 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 12 + libavformat/dashenc.c | 3 ++- libavformat/hlsenc.c | 62 --- libavformat/hlsplaylist.c | 4 ++- libavformat/hlsplaylist.h | 2 +- 5 files changed, 77

[FFmpeg-devel] [PATCH v5 2/3] avcodec/libx264:setting profile and level in avcodec context

2017-11-30 Thread vdixit
From: Vishwanath Dixit --- libavcodec/libx264.c | 18 +- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 9c67c91..545826c 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -19,11

[FFmpeg-devel] [PATCH v6 2/3] avcodec/libx264:setting profile and level in avcodec context

2017-12-14 Thread vdixit
From: Vishwanath Dixit --- libavcodec/libx264.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index 9c67c91..ac1f8bb 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -19,11

[FFmpeg-devel] [PATCH v7 1/3] avformat/hlsenc:addition of #EXT-X-MEDIA tag and AUDIO attribute

2017-12-18 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 12 + libavformat/dashenc.c | 3 ++- libavformat/hlsenc.c | 62 --- libavformat/hlsplaylist.c | 4 ++- libavformat/hlsplaylist.h | 2 +- 5 files changed, 77

[FFmpeg-devel] [PATCH v7 2/3] avcodec/libx264:setting profile and level in avcodec context

2017-12-18 Thread vdixit
From: Vishwanath Dixit --- libavcodec/libx264.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index e2455e1..0285213 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -19,11

[FFmpeg-devel] [PATCH v7 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

2017-12-18 Thread vdixit
From: Vishwanath Dixit --- libavformat/Makefile | 2 +- libavformat/dashenc.c | 2 +- libavformat/hlsenc.c | 65 +-- libavformat/hlsplaylist.c | 5 +++- libavformat/hlsplaylist.h | 3 ++- libavformat/reverse.c

[FFmpeg-devel] [PATCH v8 1/3] avformat/hlsenc:addition of #EXT-X-MEDIA tag and AUDIO attribute

2017-12-18 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 12 + libavformat/dashenc.c | 3 ++- libavformat/hlsenc.c | 64 --- libavformat/hlsplaylist.c | 4 ++- libavformat/hlsplaylist.h | 2 +- 5 files changed, 79

[FFmpeg-devel] [PATCH v8 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

2017-12-18 Thread vdixit
From: Vishwanath Dixit --- libavformat/Makefile | 2 +- libavformat/dashenc.c | 2 +- libavformat/hlsenc.c | 65 +-- libavformat/hlsplaylist.c | 5 +++- libavformat/hlsplaylist.h | 3 ++- libavformat/reverse.c

[FFmpeg-devel] [PATCH v8 2/3] avcodec/libx264:setting profile and level in avcodec context

2017-12-18 Thread vdixit
From: Vishwanath Dixit --- libavcodec/libx264.c | 20 +++- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index e2455e1..0285213 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -19,11

[FFmpeg-devel] [PATCH v6 1/3] avformat/hlsenc:addition of #EXT-X-MEDIA tag and AUDIO attribute

2017-12-14 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 12 + libavformat/dashenc.c | 3 ++- libavformat/hlsenc.c | 62 --- libavformat/hlsplaylist.c | 4 ++- libavformat/hlsplaylist.h | 2 +- 5 files changed, 77

[FFmpeg-devel] [PATCH v6 3/3] avformat/hlsenc:addition of CODECS attribute in the master playlist

2017-12-14 Thread vdixit
From: Vishwanath Dixit --- libavformat/Makefile | 2 +- libavformat/dashenc.c | 2 +- libavformat/hlsenc.c | 65 +-- libavformat/hlsplaylist.c | 5 +++- libavformat/hlsplaylist.h | 3 ++- libavformat/reverse.c

[FFmpeg-devel] [PATCH 3/3] avformat/hlsenc: creation of variant streams in subdirectories

2017-12-08 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 33 - libavformat/hlsenc.c | 68 +--- 2 files changed, 92 insertions(+), 9 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index

[FFmpeg-devel] [PATCH 2/3] avformat/hlsenc: configurable variant stream index position in filenames

2017-12-08 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 29 -- libavformat/hlsenc.c | 154 ++- 2 files changed, 126 insertions(+), 57 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 3d0c7bf..f53cc10 100644

[FFmpeg-devel] [PATCH 1/3] avformat/hlsenc: revamped master playlist url creation logic

2017-12-08 Thread vdixit
From: Vishwanath Dixit --- libavformat/hlsenc.c | 34 ++ 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 7dc8f42..fa44760 100644 --- a/libavformat/hlsenc.c +++

[FFmpeg-devel] [PATCH 1/1] fftools/ffmpeg: fix for all forced key frames when 'copyts' is enabled

2018-05-06 Thread vdixit
From: Vishwanath Dixit Forced key frames generation functionality was assuming the first PTS value as zero, but, when 'copyts' is enabled, the first PTS can be any big number. This was eventually forcing all the frames as key frames. To resolve this issue, update has been made

[FFmpeg-devel] [PATCH v2 2/3] avformat/movenc: creating producer reference time (PRFT) box

2018-05-07 Thread vdixit
From: Vishwanath Dixit The producer reference time box supplies relative wall-clock times at which movie fragments, or files containing movie fragments (such as segments) were produced. The box is mainly useful in live streaming use cases. A media player can parse the box and

[FFmpeg-devel] [PATCH v2 1/3] avformat/utils: function to get the formatted ntp time

2018-05-07 Thread vdixit
From: Vishwanath Dixit This utility function creates 64-bit NTP time format as per the RFC 5905. A simple explaination of 64-bit NTP time format is here http://www.beaglesoft.com/Manual/page53.htm --- libavformat/internal.h | 8 libavformat/utils.c| 22

[FFmpeg-devel] [PATCH v2 3/3] avformat/dashenc: configuring container format options

2018-05-07 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 4 libavformat/dashenc.c | 7 +++ 2 files changed, 11 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index db81901..e9082a4 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -282,6 +282,10 @@

[FFmpeg-devel] [PATCH 1/1] avfilter/drawtext: present 'hms' formatted 'pts' in 24h format

2018-05-07 Thread vdixit
From: Vishwanath Dixit HMS is formatted as HH:MM:SS.mmm, but, HH part is not limited to 24 hours. For example, the the drawn text may look like this: 243029:20:30.342. To present the timestamp in more readable and user friendly format, this patch provides an additional option

[FFmpeg-devel] [PATCH 1/2] ffmpeg: handling copyts use case in forced key frames functionality

2018-04-25 Thread vdixit
From: Vishwanath Dixit Forced key frames creation functionality was assuming the first PTS value to be zero, but, when 'copyts' is enalbed, the first PTS can be any big number. This was eventually forcing all the frames as key frames. To overcome this issue, the actual first

[FFmpeg-devel] [PATCH 2/2] ffmpeg: handling copyts use case in progress report computation

2018-04-25 Thread vdixit
From: Vishwanath Dixit Progress report computation functionality was assuming the first PTS value to be zero, but, when 'copyts' is enalbed, the first PTS can be any big number. This was eventually causing display of weird statistics during execution of an ffmpeg command. To

[FFmpeg-devel] [PATCH 1/1] avformat/hlsenc: closed caption tags in the master playlist

2017-12-29 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 4 libavformat/dashenc.c | 2 +- libavformat/hlsenc.c | 14 +- libavformat/hlsplaylist.c | 5 - libavformat/hlsplaylist.h | 3 ++- 5 files changed, 24 insertions(+), 4 deletions(-) diff

[FFmpeg-devel] [PATCH v2 1/1] avformat/hlsenc: closed caption tags in the master playlist

2017-12-29 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 4 libavformat/dashenc.c | 2 +- libavformat/hlsenc.c | 14 +- libavformat/hlsplaylist.c | 5 - libavformat/hlsplaylist.h | 3 ++- 5 files changed, 24 insertions(+), 4 deletions(-) diff

[FFmpeg-devel] [PATCH 1/2] avdevice/decklink: addition of copyts option

2018-01-07 Thread vdixit
From: Vishwanath Dixit --- doc/indevs.texi | 5 + libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec.cpp| 18 +++--- libavdevice/decklink_dec_c.c| 1 + 4 files changed, 18 insertions(+), 7 deletions(-) diff --git

[FFmpeg-devel] [PATCH 2/2] avdevice/decklink: addition of absolute wallclock option for pts source

2018-01-07 Thread vdixit
From: Vishwanath Dixit --- doc/indevs.texi | 6 -- libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec.cpp| 3 +++ libavdevice/decklink_dec_c.c| 5 +++-- 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/indevs.texi

[FFmpeg-devel] [PATCH v2 1/1] avformat/hlsenc: closed caption tags in the master playlist

2018-01-09 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 37 +++ libavformat/dashenc.c | 2 +- libavformat/hlsenc.c | 155 +- libavformat/hlsplaylist.c | 5 +- libavformat/hlsplaylist.h | 3 +- 5 files changed,

[FFmpeg-devel] [PATCH v3 1/1] avformat/hlsenc: closed caption tags in the master playlist

2018-01-22 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 37 +++ libavformat/dashenc.c | 2 +- libavformat/hlsenc.c | 155 +- libavformat/hlsplaylist.c | 5 +- libavformat/hlsplaylist.h | 2 +- 5 files changed,

[FFmpeg-devel] [PATCH v3 3/3] avdevice/decklink: addition of absolute wallclock option for pts source

2018-01-15 Thread vdixit
From: Vishwanath Dixit --- doc/indevs.texi | 6 -- libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec.cpp| 16 libavdevice/decklink_dec_c.c| 1 + 4 files changed, 18 insertions(+), 6 deletions(-) diff --git

[FFmpeg-devel] [PATCH v3 2/3] avdevice/decklink: addition of PTS_SRC_NB in enum DecklinkPtsSource

2018-01-15 Thread vdixit
From: Vishwanath Dixit --- libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec_c.c| 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavdevice/decklink_common_c.h b/libavdevice/decklink_common_c.h index ac6563a..18097e2 100644 ---

[FFmpeg-devel] [PATCH v3 1/3] avdevice/decklink: addition of copyts option

2018-01-15 Thread vdixit
From: Vishwanath Dixit --- doc/indevs.texi | 5 + libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec.cpp| 18 +++--- libavdevice/decklink_dec_c.c| 1 + 4 files changed, 18 insertions(+), 7 deletions(-) diff --git

[FFmpeg-devel] [PATCH v2 2/3] avdevice/decklink: addition of PTS_SRC_NB in enum DecklinkPtsSource

2018-01-09 Thread vdixit
From: Vishwanath Dixit --- libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec_c.c| 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/libavdevice/decklink_common_c.h b/libavdevice/decklink_common_c.h index ac6563a..18097e2 100644 ---

[FFmpeg-devel] [PATCH v2 1/3] avdevice/decklink: addition of copyts option

2018-01-09 Thread vdixit
From: Vishwanath Dixit --- doc/indevs.texi | 5 + libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec.cpp| 18 +++--- libavdevice/decklink_dec_c.c| 1 + 4 files changed, 18 insertions(+), 7 deletions(-) diff --git

[FFmpeg-devel] [PATCH v2 3/3] avdevice/decklink: addition of absolute wallclock option for pts source

2018-01-09 Thread vdixit
From: Vishwanath Dixit --- doc/indevs.texi | 6 -- libavdevice/decklink_common_c.h | 1 + libavdevice/decklink_dec.cpp| 4 libavdevice/decklink_dec_c.c| 1 + 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/indevs.texi

[FFmpeg-devel] [PATCH 2/3] avformat/dashenc: opening a segment file when its first frame is ready

2018-02-18 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 57 --- 1 file changed, 36 insertions(+), 21 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 0f6f4f2..0eb4b25 100644 --- a/libavformat/dashenc.c

[FFmpeg-devel] [PATCH 3/3] avformat/dashenc: chunk streaming support for low latency use cases

2018-02-18 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 3 +++ libavformat/dashenc.c | 26 +++--- 2 files changed, 26 insertions(+), 3 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index d9a5cc0..c156ec0 100644 --- a/doc/muxers.texi +++

[FFmpeg-devel] [PATCH 1/3] avformat/movenc: addition of flag to fragment at every frame

2018-02-18 Thread vdixit
From: Vishwanath Dixit --- libavformat/movenc.c | 10 +++--- libavformat/movenc.h | 1 + 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index f433499..5b1e66c 100644 --- a/libavformat/movenc.c +++

[FFmpeg-devel] [PATCH 1/1] avformat/dashenc: fix for segment open issue when persistent connection is enabled

2018-02-25 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index d6474f3..6fad24e 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1305,7 +1305,7 @@

[FFmpeg-devel] [PATCH v2 1/3] avformat/hlsenc: revamped master playlist url creation logic

2017-12-26 Thread vdixit
From: Vishwanath Dixit --- libavformat/hlsenc.c | 34 ++ 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 74f66ce..bd43336 100644 --- a/libavformat/hlsenc.c +++

[FFmpeg-devel] [PATCH v2 3/3] avformat/hlsenc: creation of variant streams in subdirectories

2017-12-26 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 33 - libavformat/hlsenc.c | 68 +--- 2 files changed, 92 insertions(+), 9 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index

[FFmpeg-devel] [PATCH v2 2/3] avformat/hlsenc: configurable variant stream index position in filenames

2017-12-26 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 31 +-- libavformat/hlsenc.c | 153 ++- 2 files changed, 127 insertions(+), 57 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 93db549..6af970d 100644

[FFmpeg-devel] [PATCH v3 1/3] avformat/hlsenc: revamped master playlist url creation logic

2017-12-26 Thread vdixit
From: Vishwanath Dixit --- libavformat/hlsenc.c | 34 ++ 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 74f66ce..bd43336 100644 --- a/libavformat/hlsenc.c +++

[FFmpeg-devel] [PATCH v3 3/3] avformat/hlsenc: creation of variant streams in subdirectories

2017-12-26 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 33 - libavformat/hlsenc.c | 68 +--- 2 files changed, 92 insertions(+), 9 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index

[FFmpeg-devel] [PATCH v3 2/3] avformat/hlsenc: configurable variant stream index position in filenames

2017-12-26 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 31 +-- libavformat/hlsenc.c | 153 ++- 2 files changed, 126 insertions(+), 58 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 93db549..6af970d 100644

[FFmpeg-devel] [PATCH 1/1] avformat/hlsenc: fix for zero EXTINF tag duration

2018-03-12 Thread vdixit
From: Vishwanath Dixit This is the fix for bug https://trac.ffmpeg.org/ticket/7073 --- libavformat/hlsenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 08fe0aa..7d9512b 100644 --- a/libavformat/hlsenc.c

[FFmpeg-devel] [PATCH v2 1/1] avformat/http: flushing tcp receive buffer when it is write only mode

2018-04-04 Thread vdixit
From: Vishwanath Dixit In write only mode, the TCP receive buffer's data keeps growing with http response messages and the buffer eventually becomes full. This results in zero tcp window size, which in turn causes unwanted issues, like, terminated tcp connection. The issue is

[FFmpeg-devel] [PATCH v3 01/11] avformat/dashenc: replacing 'min_seg_duration' with 'seg_duration'

2018-04-11 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 4 +++- libavformat/dashenc.c | 23 ++- libavformat/version.h | 3 +++ 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index cb75c26..8dbfede 100644 ---

[FFmpeg-devel] [PATCH v3 02/11] avformat/dashenc: segmentation at the configured segment duration rate

2018-04-11 Thread vdixit
From: Vishwanath Dixit When use_template is enabled and use_timeline is disabled, typically it is required to generate the segments at the configured segment duration rate on an average. This commit is particularly needed to handle the segmentation when video frame rates are

[FFmpeg-devel] [PATCH v3 03/11] avformat/dashenc: writing average segment duration for @duration in template mode

2018-04-11 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index ad52730..4c2e63c 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -347,7 +347,7 @@ static

[FFmpeg-devel] [PATCH v3 08/11] avformat/dashenc: addition of muxer overhead in master playlist's bandwidth

2018-04-11 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 9c29c05..1d34bb9 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -827,20 +827,23

[FFmpeg-devel] [PATCH v3 09/11] avformat/dashenc: constructing MPD's bandwidth string locally

2018-04-11 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 1d34bb9..6d06486 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@

[FFmpeg-devel] [PATCH v3 07/11] avformat/dashenc: logic to compute muxer overhead

2018-04-11 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 70409e5..9c29c05 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -86,6 +86,8 @@ typedef

[FFmpeg-devel] [PATCH v3 06/11] avformat/dashenc: addition of @availabilityTimeOffset in MPD

2018-04-11 Thread vdixit
From: Vishwanath Dixit availability time of Nth segment = availabilityStartTime + (N*segment duration) - availabilityTimeOffset. This field helps to reduce the latency by about a segment duration in streaming mode. --- libavformat/dashenc.c | 14 +- 1 file

[FFmpeg-devel] [PATCH v3 05/11] avformat/dashenc: setting @availabilityStartTime when the first frame is ready

2018-04-11 Thread vdixit
From: Vishwanath Dixit @availabilityStartTime specifies the anchor for the computation of the earliest availability time (in UTC) for any Segment in the Media Presentation. As per this requirement, the @AvailabilityStartTime should be set to the wallclock time at which the

[FFmpeg-devel] [PATCH v3 04/11] avformat/dashenc: removed 'write_manifest' call from 'write_header'

2018-04-11 Thread vdixit
From: Vishwanath Dixit Calling 'write_manifest' from 'write_header' was causing creation of first MPD with invalid values. Ex: zero @duration param value. Also, the manifest files (MPD or M3U8s) should be created when at-least one media frame is ready for consumption. ---

[FFmpeg-devel] [PATCH v3 10/11] avformat/dashenc: addition of muxer overhead for @bandwidth param in MPD

2018-04-11 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 6d06486..bf8698f 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -555,7 +555,7 @@ static

[FFmpeg-devel] [PATCH v3 11/11] avformat/dashenc: addition of segment index correction logic

2018-04-11 Thread vdixit
From: Vishwanath Dixit The logic is applicable only when use_template is enabled and use_timeline is disabled. The logic monitors the flow of segment indexes. If a streams's segment index value is not at the expected real time position, then the logic corrects that index

[FFmpeg-devel] [PATCH v4 1/1] avformat/dashenc: replacing 'min_seg_duration' with 'seg_duration'

2018-04-15 Thread vdixit
From: Vishwanath Dixit There are use cases where average segment duration needs to be configured and muxer is expected to maintain the average segment duration. So, using the name 'min_seg_duration' will be misleading. So, changing the parameter name to 'seg_duration', where

[FFmpeg-devel] [PATCH 2/3] avformat/movenc: creating producer reference time (PRFT) box

2018-04-24 Thread vdixit
From: Vishwanath Dixit The producer reference time box supplies relative wall-clock times at which movie fragments, or files containing movie fragments (such as segments) were produced. The box is mainly useful in live streaming use cases. A media player can parse the box and

[FFmpeg-devel] [PATCH 3/3] avformat/dashenc: configuring container format options

2018-04-24 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 4 libavformat/dashenc.c | 7 +++ 2 files changed, 11 insertions(+) diff --git a/doc/muxers.texi b/doc/muxers.texi index db81901..e9082a4 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -282,6 +282,10 @@

[FFmpeg-devel] [PATCH 1/3] avformat/utils: function to get the formatted ntp time

2018-04-24 Thread vdixit
From: Vishwanath Dixit This utility function creates 64-bit NTP time format as per the RFC 5905. A simple explaination of 64-bit NTP time format is here http://www.beaglesoft.com/Manual/page53.htm --- libavformat/internal.h | 8 libavformat/utils.c| 20

[FFmpeg-devel] [PATCH 1/1] avformat/http: flushing tcp receive buffer when it is write only mode

2018-03-27 Thread vdixit
From: Vishwanath Dixit In write only mode, the TCP receive buffer keeps growing and eventually becomes full. This results in zero tcp window size, which in turn causes unwanted issues, like, terminated tcp connection. The issue is apparent when http persistent connection is

[FFmpeg-devel] [PATCH 8/8] avformat/hlsenc: usage of error handling utility function

2018-03-29 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 9 + libavformat/hlsenc.c | 16 +--- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index 0d9ecef..a651a49 100644 --- a/doc/muxers.texi +++

[FFmpeg-devel] [PATCH 6/8] avformat/hlsenc: handling errors in hlsenc_io_open and hlsenc_io_close

2018-03-29 Thread vdixit
From: Vishwanath Dixit --- libavformat/hlsenc.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index 2a54b43..1dd196f 100644 --- a/libavformat/hlsenc.c +++ b/libavformat/hlsenc.c @@ -272,6 +272,8 @@ static int

[FFmpeg-devel] [PATCH 2/8] avformat/dashenc: check for null context to avoid uninitialized pointer access

2018-03-29 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index bdf8c8d..c0fe0a5 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -254,7 +254,9

[FFmpeg-devel] [PATCH 1/8] avformat/avio: check for null context to avoid uninitialized pointer access

2018-03-29 Thread vdixit
From: Vishwanath Dixit --- libavformat/avio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/avio.c b/libavformat/avio.c index 63e8287..18e58ae 100644 --- a/libavformat/avio.c +++ b/libavformat/avio.c @@ -420,7 +420,7 @@ int

[FFmpeg-devel] [PATCH 5/8] avformat/dashenc: usage of error handling utility function

2018-03-29 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 8 libavformat/dashenc.c | 10 ++ 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index cb75c26..0d9ecef 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi

[FFmpeg-devel] [PATCH 3/8] avformat/dashenc: handling errors for dashenc_io_open and dashenc_io_close

2018-03-29 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 14 +- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index c0fe0a5..4c8fc6f 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -143,6

[FFmpeg-devel] [PATCH 4/8] avformat/utils: function to check and ignore non fatal network errors

2018-03-29 Thread vdixit
From: Vishwanath Dixit For live HLS/DASH output usecases, currently ffmpeg application exits for any network error during muxing. However, some of the errors like EPIPE, ECONNREFUSED and ECONNRESET are non-fatal. They might cause temporary disruption. However, muxer can

[FFmpeg-devel] [PATCH 0/8] HLS/DASH live streaming stability updates

2018-03-29 Thread vdixit
From: Vishwanath Dixit This patch series contains minor bug fixes and error handling functionalities for uninterrupted long duration HLS/DASH live streaming use cases. During live streaming, it was observed that ingest network fluctuations are common which were causing

[FFmpeg-devel] [PATCH 7/8] avformat/hlsenc: check for null context to avoid uninitialized pointer access

2018-03-29 Thread vdixit
From: Vishwanath Dixit Under error conditions, when the context is null, the application crashes without this check. --- libavformat/hlsenc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c index

[FFmpeg-devel] [PATCH v2 03/11] avformat/dashenc: writing average segment duration for @duration in template mode

2018-04-04 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 54ccf30..e719409 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -345,7 +345,7 @@ static

[FFmpeg-devel] [PATCH v2 04/11] avformat/dashenc: removed 'write_manifest' call from 'write_header'

2018-04-04 Thread vdixit
From: Vishwanath Dixit Calling 'write_manifest' from 'write_header' was causing creation of first MPD with invalid values. Ex: zero @duration param value. Also, the manifest files (MPD or M3U8s) should be created when at-least one media frame is ready for consumption. ---

[FFmpeg-devel] [PATCH v2 06/11] avformat/dashenc: addition of @availabilityTimeOffset in MPD

2018-04-04 Thread vdixit
From: Vishwanath Dixit availability time of Nth segment = availabilityStartTime + (N*segment duration) - availabilityTimeOffset. This field helps to reduce the latency by about a segment duration in streaming mode. --- libavformat/dashenc.c | 14 +- 1 file

[FFmpeg-devel] [PATCH v2 10/11] avformat/dashenc: addition of muxer overhead for @bandwidth param in MPD

2018-04-04 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 31b0c92..ac05378 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -553,7 +553,7 @@ static

[FFmpeg-devel] [PATCH v2 07/11] avformat/dashenc: logic to compute muxer overhead

2018-04-04 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 5921ef7..0fff91f 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -86,6 +86,8 @@ typedef

[FFmpeg-devel] [PATCH v2 09/11] avformat/dashenc: constructing MPD's bandwidth string locally

2018-04-04 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 72431b7..31b0c92 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@

[FFmpeg-devel] [PATCH v2 08/11] avformat/dashenc: addition of muxer overhead in master playlist's bandwidth

2018-04-04 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 0fff91f..72431b7 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -825,20 +825,23

[FFmpeg-devel] [PATCH v2 01/11] avformat/dashenc: replacing 'min_seg_duration' with 'seg_duration'

2018-04-04 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 4 +++- libavformat/dashenc.c | 17 - libavformat/version.h | 2 +- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index cb75c26..a5358e3 100644 ---

[FFmpeg-devel] [PATCH v2 05/11] avformat/dashenc: setting @availabilityStartTime when the first frame is ready

2018-04-04 Thread vdixit
From: Vishwanath Dixit @availabilityStartTime specifies the anchor for the computation of the earliest availability time (in UTC) for any Segment in the Media Presentation. As per this requirement, the @AvailabilityStartTime should be set to the wallclock time at which the

[FFmpeg-devel] [PATCH v2 02/11] avformat/dashenc: segmentation at the configured segment duration rate

2018-04-04 Thread vdixit
From: Vishwanath Dixit When use_template is enabled and use_timeline is disabled, typically it is required to generate the segments at the configured segment duration rate on an average. This commit is particularly needed to handle the segmentation when video frame rates are

[FFmpeg-devel] [PATCH v2 11/11] avformat/dashenc: addition of segment index correction logic

2018-04-04 Thread vdixit
From: Vishwanath Dixit The logic is applicable only when use_template is enabled and use_timeline is disabled. The logic monitors the flow of segment indexes. If a streams's segment index value is not at the expected real time position, then the logic corrects that index

[FFmpeg-devel] [PATCH 02/11] avformat/dashenc: segmentation at the configured segment duration rate

2018-03-22 Thread vdixit
From: Vishwanath Dixit When use_template is enabled and use_timeline is disabled, typically it is required to generate the segments at the configured segment duration rate on an average. This commit is particularly needed to handle the segmentation when video frame rates are

[FFmpeg-devel] [PATCH 04/11] avformat/dashenc: removed 'write_manifest' call from 'write_header'

2018-03-22 Thread vdixit
From: Vishwanath Dixit Calling 'write_manifest' from 'write_header' was causing creation of first MPD with invalid values. Ex: zero @duration param value. Also, the manifest files (MPD or M3U8s) should be created when at-least one media frame is ready for consumption. ---

[FFmpeg-devel] [PATCH 03/11] avformat/dashenc: writing average segment duration for @duration in template mode

2018-03-22 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index a489f5e..5fb839d 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -344,7 +344,7 @@ static

[FFmpeg-devel] [PATCH 06/11] avformat/dashenc: addition of @availabilityTimeOffset in MPD

2018-03-22 Thread vdixit
From: Vishwanath Dixit availability time of Nth segment = availabilityStartTime + (N*segment duration) - availabilityTimeOffset. This field helps to reduce the latency by about a segment duration in streaming mode. --- libavformat/dashenc.c | 11 ++- 1 file changed,

[FFmpeg-devel] [PATCH 09/11] avformat/dashenc: constructing MPD's bandwidth string locally

2018-03-22 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 294999a..b0ed890 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@

[FFmpeg-devel] [PATCH 08/11] avformat/dashenc: addition of bitrate overhead in master playlist's bandwidth

2018-03-22 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 0ba9f55..294999a 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -824,20 +824,23

[FFmpeg-devel] [PATCH 07/11] avformat/dashenc: logic to compute bitrate overhead

2018-03-22 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index d20bdba..0ba9f55 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -86,6 +86,8 @@ typedef

[FFmpeg-devel] [PATCH 11/11] avformat/dashenc: addition of segment index correction logic

2018-03-22 Thread vdixit
From: Vishwanath Dixit The logic is applicable only when use_template is enabled and use_timeline is disabled. The logic monitors the flow of segment indexes. If a streams's segment index value is not at the expected real time position, then the logic corrects that index

[FFmpeg-devel] [PATCH 10/11] avformat/dashenc: addition of bitrate overhead for @bandwidth param in MPD

2018-03-22 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index b0ed890..f691fb3 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -552,7 +552,7 @@ static

[FFmpeg-devel] [PATCH 05/11] avformat/dashenc: setting @availabilityStartTime when the first frame is ready

2018-03-22 Thread vdixit
From: Vishwanath Dixit @availabilityStartTime specifies the anchor for the computation of the earliest availability time (in UTC) for any Segment in the Media Presentation. --- libavformat/dashenc.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[FFmpeg-devel] [PATCH 01/11] avformat/dashenc: renamed 'min_seg_duration' to 'seg_duration'

2018-03-22 Thread vdixit
From: Vishwanath Dixit --- doc/muxers.texi | 2 +- libavformat/dashenc.c | 10 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index cb75c26..65eec92 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@

[FFmpeg-devel] [PATCH v2 1/1] avformat/dashenc: fix for segment open issue when persistent connection is enabled

2018-03-01 Thread vdixit
From: Vishwanath Dixit --- libavformat/dashenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashenc.c b/libavformat/dashenc.c index 83e0cff..489e458 100644 --- a/libavformat/dashenc.c +++ b/libavformat/dashenc.c @@ -1308,7 +1308,7 @@