[FFmpeg-devel] [PATCH] avformat/mpegts: check end of init before treating SCTE data

2019-09-03 Thread Anthony Delannoy
Hi On some DVB stream ffprobe segfaulted, it was because of SCTE-35 data packet reception before the end of MpegTSContext initialization. On this patch I check for `ts->pkt` availability before trying to generate a new SCTE data packet. Anthony Delannoy F

Re: [FFmpeg-devel] [PATCH] DVB EPG decoder

2019-08-23 Thread Anthony Delannoy
> I think we should only merge the part of this patchset which makes the EIT > available as a data stream. Parsing the whole EIT or dumping the data as > ASCII is not libavcodec's or libavutil's job. The EPG decoder does not change the table's data, it just store them and it happens to contains

Re: [FFmpeg-devel] [PATCH] DVB EPG decoder

2019-08-26 Thread Anthony Delannoy
Okay, thanks I will patch that Le sam. 24 août 2019 à 20:09, Marton Balint a écrit : > > > On Fri, 23 Aug 2019, Anthony Delannoy wrote: > > >> I think we should only merge the part of this patchset which makes the EIT > >> available as a data stream. Parsing the

Re: [FFmpeg-devel] [PATCH] DVB EPG decoder

2019-09-04 Thread Anthony Delannoy
Hi I'm still interested to have those three commits merged (update in attachments). But I'd like to see data decoder in the future to use more easily EPG/NIT/BAT etc tables. Will it be possible? With modifications if it needs to be? Anthony Delannoy Le mar. 3 sept. 2019 à 23:39, Marton Balint

Re: [FFmpeg-devel] [PATCH] DVB EPG decoder

2019-09-11 Thread Anthony Delannoy
just created). > You should remove this, there are tons of captures where EIT PID is > intentionally filtered, we should not spam the user. I made both of this log print on AV_LOG_TRACE level, I rather keep them here if i need them. > Not needed, as context is zero initialized. I deleted

Re: [FFmpeg-devel] MpegTS contribution question

2019-08-09 Thread Anthony Delannoy
t your code supports modifying > the EIT tables, ie updating tables_version when the tables are modified? > > Thanks, > Phil > > On Thu, Aug 8, 2019 at 4:13 AM Anthony Delannoy > > wrote: > > > Hi, > > > > I'm currently doing my first contribution to ffmp

[FFmpeg-devel] MpegTS contribution question

2019-08-08 Thread Anthony Delannoy
Hi, I'm currently doing my first contribution to ffmpeg by adding EPG support in the mpegts format. For now, i succeeded to add support for EIT table and majority of its descriptors and can read/export EPG events in a .csv file. But I don't know on how to organize it now. Do I make a new codec

[FFmpeg-devel] [PATCH 3/3] avformat/mpegts: add support for non-standard NIT pid

2019-10-03 Thread Anthony Delannoy
--- libavformat/mpegts.c | 32 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 5a3e71d9ab..02da272325 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -169,6 +169,7 @@ struct

[FFmpeg-devel] [PATCH 2/3] avformat/mpegts: add support for NIT extraction

2019-10-03 Thread Anthony Delannoy
--- libavformat/mpegts.c | 45 +++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c index 587ed33327..5a3e71d9ab 100644 --- a/libavformat/mpegts.c +++ b/libavformat/mpegts.c @@ -169,7 +169,7 @@

[FFmpeg-devel] [PATCH 1/3] avcodec: add NIT codec id

2019-10-03 Thread Anthony Delannoy
hi, here the first version of NIT table extraction from DVB stream. Patch 2/3 only open default NIT pid whereas patch 3/3 read PAT table to open even non-standard NIT pid. Anthony Delannoy --- libavcodec/avcodec.h| 1 + libavcodec/codec_desc.c | 6 ++ libavcodec/version.h| 2 +- 3

Re: [FFmpeg-devel] [PATCH 3/3] avformat/mpegts: add support for non-standard NIT pid

2019-10-13 Thread Anthony Delannoy
Ping -- Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email

[FFmpeg-devel] [PATCH] lavf/libsrt: nonblock enabling correction

2020-01-15 Thread Anthony Delannoy
As written in https://github.com/Haivision/srt/blob/v1.4.1/docs/API.md, the nonblock mode is activated if SRTO_SNDSYN and SRTO_RCVSYN, for sending and receiving respectively, are set to 0. --- libavformat/libsrt.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[FFmpeg-devel] [PATCH v2] lavf/libsrt: nonblock enabling correction

2020-01-16 Thread Anthony Delannoy
As written in https://github.com/Haivision/srt/blob/v1.4.1/docs/API.md, the nonblock mode is activated if SRTO_SNDSYN and SRTO_RCVSYN, for sending and receiving respectively, are set to 0. --- libavformat/libsrt.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git

[FFmpeg-devel] [PATCH v2] lavf/libsrt: nonblock enabling correction

2020-01-16 Thread Anthony Delannoy
As requested I negate the value inside the function instead of using directly the input. Regards, Anthony Delannoy ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above

[FFmpeg-devel] [PATCH] lavf/libsrt: Fix typo

2020-01-06 Thread Anthony Delannoy
--- libavformat/libsrt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/libsrt.c b/libavformat/libsrt.c index a727b1c3e4..16975b6d94 100644 --- a/libavformat/libsrt.c +++ b/libavformat/libsrt.c @@ -337,9 +337,9 @@ static int libsrt_set_options_pre(URLContext