[FFmpeg-devel] [PATCH] avformat/dvdvideodec: Do not EOF on WAIT events

2024-06-26 Thread Marth64
A DVDNAV_WAIT event by itself should not warrant an EOF when navigating the program stream. Some discs have WAIT events in the middle of a title, causing playback to end prematurely prior to this fix. Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 17 - 1 file changed, 8

[FFmpeg-devel] [PATCH] avformat/dvdvideodec: Fix duration logic with 1 chapter and validate chapter range

2024-06-26 Thread Marth64
calculates and returns the duration of the chapter segment instead. Additionally, validate that chapter_end exceeds chapter_start (except in the special case of 0). Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a

[FFmpeg-devel] [PATCH] avformat/dvdvideodec: Simplify padding cell trim logic

2024-06-26 Thread Marth64
these weirdly authored discs. Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c index e7132725b7..b0fb5f0de2 100644 --- a/libavformat/dvdvideodec.c +++ b

Re: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: Simplify padding cell trim logic

2024-06-26 Thread Marth64
Please, ignore this particular patch. I have found a formatting mistake (opportunity to remove braces). I will send a v2. I apologize for the inconvenience. On Thu, Jun 27, 2024 at 12:38 AM Marth64 wrote: > > When -trim option is used (by default), padding cells > at the beginning of

[FFmpeg-devel] [PATCH v2] avformat/dvdvideodec: Simplify padding cell trim logic

2024-06-26 Thread Marth64
these weirdly authored discs. Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c index e7132725b7..f1c960b56b 100644 --- a/libavformat/dvdvideodec.c

Re: [FFmpeg-devel] [PATCH v2] avformat/dvdvideodec: Simplify padding cell trim logic

2024-06-27 Thread Marth64
Please ignore this v2 patch also. There’s an issue with it. Apologies again. On Thu, Jun 27, 2024 at 01:06 Marth64 wrote: > When -trim option is used (by default), padding cells > at the beginning of the title are supposed to be ignored. > The current implementation does the ignorin

Re: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: Do not EOF on WAIT events

2024-06-30 Thread Marth64
Ping on this one to fix some discs, has been tested thoroughly. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject

Re: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: Fix duration logic with 1 chapter and validate chapter range

2024-06-30 Thread Marth64
Ping on this one blocking seeking when playing one chapter (and fixing undefined option behavior). ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-de

Re: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: Fix duration logic with 1 chapter and validate chapter range

2024-07-01 Thread Marth64
> What is the meaning of the 0 special case? If chapter_end is 0, this means "end". So you can say, -chapter_start 5 -chapter_end 0 and demuxer will go from chapter 5 to end of title. This is also in the public docs since initial demuxer merge. Thank you!

[FFmpeg-devel] [PATCH] [WIP] [RFC] dvdvideo: initial contribution (DVD demuxer)

2023-12-09 Thread Marth64
Hello, I am happy to share a DVD demuxer for ffmpeg powered by libdvdread and libdvdnav. I have been working on this on/off throughout the year and think it is in a good spot to share at the ML now. This was a major learning experience for me in many ways and am open to any feedback on how I cou

[FFmpeg-devel] [PATCH] ffmpeg_opt: inform user about -b:a and -b:v instead of legacy form

2023-12-09 Thread Marth64
--- fftools/ffmpeg_opt.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 304471dd03..5e50e5efa2 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -1721,8 +1721,8 @@ const OptionDef options[] = { { "for

[FFmpeg-devel] [PATCH] doc/ffmpeg: AV_FMT_DISCONT typo should be AVFMT_TS_DISCONT

2023-12-09 Thread Marth64
--- doc/ffmpeg.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 145cbb1032..6bcedd76d5 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -1860,7 +1860,7 @@ of seconds. The timestamp discontinuity correction enabled by this

[FFmpeg-devel] [PATCH] doc/bitstream_filters: add setts example

2023-12-09 Thread Marth64
--- doc/bitstream_filters.texi | 5 + 1 file changed, 5 insertions(+) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index c63c20370f..145aa8684e 100644 --- a/doc/bitstream_filters.texi +++ b/doc/bitstream_filters.texi @@ -882,6 +882,11 @@ The sample rate of stream packe

[FFmpeg-devel] [PATCH] doc/bitstream_filters: add filter_units practical examples for removing closed captions

2023-12-09 Thread Marth64
--- doc/bitstream_filters.texi | 17 + 1 file changed, 17 insertions(+) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index 145aa8684e..b01ede0c93 100644 --- a/doc/bitstream_filters.texi +++ b/doc/bitstream_filters.texi @@ -213,6 +213,23 @@ To remove all AUD

Re: [FFmpeg-devel] [PATCH] ffmpeg_opt: inform user about -b:a and -b:v instead of legacy form

2023-12-09 Thread Marth64
Roger, will update. Thanks! On Sat, Dec 9, 2023 at 1:25 PM James Almer wrote: > On 12/9/2023 4:10 PM, Marth64 wrote: > > --- > > fftools/ffmpeg_opt.c | 8 > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git a/fftools/ffmpeg_opt.c

Re: [FFmpeg-devel] [PATCH] doc/bitstream_filters: add filter_units practical examples for removing closed captions

2023-12-09 Thread Marth64
Appreciate the good feedback, will update. Thank you. On Sat, Dec 9, 2023 at 6:53 PM Stefano Sabatini wrote: > On date Saturday 2023-12-09 13:31:13 -0600, Marth64 wrote: > > --- > > doc/bitstream_filters.texi | 17 + > > 1 file changed, 17 insertions(+) >

[FFmpeg-devel] [PATCH] doc/bitstream_filters: add filter_units practical examples for removing closed captions

2023-12-09 Thread Marth64
--- doc/bitstream_filters.texi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index c63c20370f..d2ad6e78ff 100644 --- a/doc/bitstream_filters.texi +++ b/doc/bitstream_filters.texi @@ -213,6 +213,24 @@ To remove all AU

[FFmpeg-devel] [PATCH] ffmpeg_opt: clarify that -ab is deprecated

2023-12-09 Thread Marth64
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 304471dd03..837bef8161 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -1722,7 +1722,7 @@ const OptionDef options[] = { OPT_SPEC | OPT_OUTPUT, { .off = OFFSET(f

Re: [FFmpeg-devel] [PATCH] [WIP] [RFC] dvdvideo: initial contribution (DVD demuxer)

2023-12-09 Thread Marth64
send a request to relicense as LGPL and update here. I will then give credit in the header. My apologies for mixing this. In the mean time I will also fix some aforementioned bugs. On Sat, Dec 9, 2023 at 4:06 AM Marth64 wrote: > Hello, I am happy to share a DVD demuxer for ffmpeg powered

[FFmpeg-devel] [PATCH] doc/ffprobe: add a useful one-liner example to get essential input information as JSON

2023-12-09 Thread Marth64
Signed-off-by: Marth64 This could be useful for folks who are just learning ffmpeg or have simple needs for parsing input information as JSON. --- doc/ffprobe.texi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi index b74ff650ac..ed88e619f6 100644

[FFmpeg-devel] [PATCH] avformat/options_table, doc/formats: clarify meaning of igndts as per definition in avformat.h

2023-12-09 Thread Marth64
This confused me for a long time, hopefully this is helpful to others. The definition in avformat.h says "Ignore DTS on frames that contain both DTS & PTS" Signed-off-by: Marth64 --- doc/formats.texi| 2 +- libavformat/options_table.h | 2 +- 2 files changed, 2 in

Re: [FFmpeg-devel] [PATCH] [WIP] [RFC] dvdvideo: initial contribution (DVD demuxer)

2023-12-09 Thread Marth64
and the MPEG PS packet but I guess there is no value to your point. On Sat, Dec 9, 2023 at 9:03 PM Leo Izen wrote: > On 12/9/23 05:06, Marth64 wrote: > > Hello, I am happy to share a DVD demuxer for ffmpeg powered by > libdvdread and libdvdnav. > > I have been working on this on

Re: [FFmpeg-devel] [PATCH] doc/bitstream_filters: add filter_units practical examples for removing closed captions

2023-12-09 Thread Marth64
Thank you! On Sat, Dec 9, 2023 at 9:06 PM Leo Izen wrote: > On 12/9/23 20:35, Marth64 wrote: > > --- > > doc/bitstream_filters.texi | 18 ++ > > 1 file changed, 18 insertions(+) > > > > Make sure when you generate the second version of a patch

Re: [FFmpeg-devel] [PATCH] [WIP] [RFC] dvdvideo: initial contribution (DVD demuxer)

2023-12-09 Thread Marth64
m opening the MPEG-PS subdemuxer with custom IO flag. It seems to expect this according to the documentation. I can try without. On Sat, Dec 9, 2023 at 9:03 PM Leo Izen wrote: > On 12/9/23 05:06, Marth64 wrote: > > Hello, I am happy to share a DVD demuxer for ffmpeg powered by > lib

[FFmpeg-devel] [PATCH] doc/ffmpeg: fix -copy_ts typo, should be -copyts

2023-12-10 Thread Marth64
Signed-off-by: Marth64 --- doc/ffmpeg.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi index 6bcedd76d5..36fdaef879 100644 --- a/doc/ffmpeg.texi +++ b/doc/ffmpeg.texi @@ -1861,7 +1861,7 @@ of seconds. The timestamp discontinuity

[FFmpeg-devel] [PATCH v2] doc/bitstream_filters: add filter_units practical examples for removing closed captions

2023-12-11 Thread Marth64
Added v2 label and signed off as per proper procedure. Signed-off-by: Marth64 --- doc/bitstream_filters.texi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/doc/bitstream_filters.texi b/doc/bitstream_filters.texi index dc4f85bac0..7c36c5346d 100644 --- a/doc

[FFmpeg-devel] [PATCH v2] ffmpeg_opt: clarify that -ab is deprecated

2023-12-11 Thread Marth64
Added v2 flag and signoff to follow process. Adjusted based on feedback. Signed-off-by: Marth64 --- fftools/ffmpeg_opt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 304471dd03..837bef8161 100644 --- a/fftools

[FFmpeg-devel] [PATCH] doc/filters: add example for idet filter

2023-12-11 Thread Marth64
Signed-off-by: Marth64 --- doc/filters.texi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 6d00ba2c3f..1250685bc7 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -15919,6 +15919,13 @@ further computations. This allows inserting the

[FFmpeg-devel] [PATCH v2] doc/filters: add example for idet filter

2023-12-11 Thread Marth64
Cleaned up mistake of outputting with rawvideo format Signed-off-by: Marth64 --- doc/filters.texi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 6d00ba2c3f..e595f7d152 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -15919,6

[FFmpeg-devel] [PATCH v3] doc/filters: add example for idet filter

2023-12-11 Thread Marth64
Clean up the example further. Sorry. Signed-off-by: Marth64 --- doc/filters.texi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/filters.texi b/doc/filters.texi index 6d00ba2c3f..bf59352ba0 100644 --- a/doc/filters.texi +++ b/doc/filters.texi @@ -15919,6 +15919,13 @@ further

[FFmpeg-devel] [PATCH v2] avformat/dvdvideodec: add explicit inttypes.h include

2024-03-25 Thread Marth64
Since log statements printing int64 were made portable in 4464b7eeb194e98ac115f18d2b6be67361407c8a, let us include inttypes.h explicitly (as it is unclear where PRId64 and such are coming from now). Reported-by: Traneptora Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 2 ++ 1 file

Re: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: add explicit inttypes.h include

2024-03-25 Thread Marth64
v2 on the way. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH 13/13] fftools/ffmpeg_mux_init: Fix double-free on error

2024-03-25 Thread Marth64
I had actually applied this patch while looking into a ticket near the same code path. LGTM. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-re

Re: [FFmpeg-devel] [PATCH v4 1/2] avcodec/ccaption_dec: don't print multiple \an and \pos tags

2024-03-25 Thread Marth64
This also fixes https://trac.ffmpeg.org/ticket/10927 (recently reported by a user) ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmp

Re: [FFmpeg-devel] [PATCH v4 1/2] avcodec/ccaption_dec: don't print multiple \an and \pos tags

2024-03-25 Thread Marth64
This should be withheld until after 7.0. In the same bug report it appears that 1 user is making use of the erroneous tags via an external script for a valid purpose. I don’t want to break people’s workflow even though it’s invalid ASS. After 7.0 I will revive this patchset and with additional fix

Re: [FFmpeg-devel] [PATCH v9 0/5] RCWT Closed Captions demuxer (v9)

2024-03-26 Thread Marth64
Ping if possible. The patches still apply. 3 of the 5 patches are documentation only and the demuxer itself is much smaller now. The muxer already made it in, so was hoping the demuxer could go too :fingers_crossed: ___ ffmpeg-devel mailing list ffmpeg-de

Re: [FFmpeg-devel] [PATCH v9 1/5] avformat/subtitles: extend ff_subtitles_queue_insert() to support not yet available events

2024-03-26 Thread Marth64
> is the move needed? (but not blocking) It is not needed, but the code flows better I think in terms of readability. I think it feels cleaner to say, "set up `sub` then add it to the array" vs. "set up sub's data, add it to the array, then set up its other fields". But, I am good either way and on

Re: [FFmpeg-devel] [PATCH v2] avformat/dvdvideodec: add explicit inttypes.h include

2024-03-26 Thread Marth64
Was already applied. Thanks Stefano and Leo! ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v4 0/4] Fix some active sequences in subtitles

2024-03-26 Thread Marth64
Ping on this set authored by Oneric as well. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH] avformat/dvdvideodec: remove `if ((ret = ...) < 0)` pattern

2024-03-26 Thread Marth64
Recent advice plus my own experience agree that this pattern is error-prone. Instead, set `ret` in its own line and do the error validation after. Also, explicitly return 0 on success in dvdvideo_chapters_setup_preindex() Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 132

Re: [FFmpeg-devel] [PATCH v3 1/6] avcodec/mpeg12dec: extract only one type of CC substream

2024-03-28 Thread Marth64
in the source file? We can probe this to some extent, but what if the eia608 bytes don’t show until halfway through the source? Open to ideas, thoughts, as I’m gathering my own on this in a notebook over the past few weeks. Respectfully, Marth64 ___ ffm

Re: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: remove `if ((ret = ...) < 0)` pattern

2024-03-28 Thread Marth64
, Marth64 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v9 0/5] RCWT Closed Captions demuxer (v9)

2024-03-28 Thread Marth64
Thanks for checking Stefano, I have been behind a bit. I will follow up with the fix once possible. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-d

Re: [FFmpeg-devel] [PATCH v9 0/5] RCWT Closed Captions demuxer (v9)

2024-03-28 Thread Marth64
Stefano, v10 coming shortly. Thank you! ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH v10 0/5] RCWT Closed Captions demuxer (v10)

2024-03-28 Thread Marth64
Since v7/8: * Addresses last known feedback (about av_assert call) * Changelog entry removed, since v7.0 is cut and there is no "next" space yet (will make patch once available) Signed-off-by: Marth64 -- 2.34.1 ___ ffmpeg-devel mailing l

[FFmpeg-devel] [PATCH v10 1/5] avformat/subtitles: extend ff_subtitles_queue_insert() to support not yet available events

2024-03-28 Thread Marth64
happens to pass an empty cue or wants to use av_get_packet() to read bytes, there are no unnecessary operations on the packet after it is allocated. Signed-off-by: Marth64 --- libavformat/subtitles.c | 23 +++ libavformat/subtitles.h | 2 +- 2 files changed, 16 insertions

[FFmpeg-devel] [PATCH v10 2/5] avformat/rcwtdec: add RCWT Closed Captions demuxer

2024-03-28 Thread Marth64
original presentation. Signed-off-by: Marth64 --- doc/demuxers.texi| 30 ++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/rcwtdec.c| 123 +++ 4 files changed, 155 insertions(+) create mode 100644

[FFmpeg-devel] [PATCH v10 3/5] avformat/rcwtenc: remove repeated documentation

2024-03-28 Thread Marth64
The high level summary of RCWT can be delegated doc/muxers, which makes it easier to maintain and more consistent with the documentation of the demuxer. Signed-off-by: Marth64 --- libavformat/rcwtenc.c | 5 - 1 file changed, 5 deletions(-) diff --git a/libavformat/rcwtenc.c b/libavformat

[FFmpeg-devel] [PATCH v10 4/5] doc/muxers: refresh the RCWT muxer's doc to be consistent with the demuxer

2024-03-28 Thread Marth64
Signed-off-by: Marth64 --- doc/muxers.texi | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index a10a8e216f..4161401059 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -3038,19 +3038,18 @@ ogg files can

[FFmpeg-devel] [PATCH v10 5/5] doc/indevs: update CC extraction example to use RCWT muxer

2024-03-28 Thread Marth64
Signed-off-by: Marth64 --- doc/indevs.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/indevs.texi b/doc/indevs.texi index d1b2bacf8b..fc14737181 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -1069,9 +1069,9 @@ ffplay -f lavfi "movie=test.avi[out0];a

Re: [FFmpeg-devel] [PATCH v10 2/5] avformat/rcwtdec: add RCWT Closed Captions demuxer

2024-03-29 Thread Marth64
Tomas Härdin: > Can we please get away from this way of reading subtitles? Every other > type of media (audio, video) are capable of being streamed, but not > subtitles, precisely because all of them do all parsing in the > read_header() call. We have a perfectly good generic index and seeking > fu

Re: [FFmpeg-devel] [PATCH v10 2/5] avformat/rcwtdec: add RCWT Closed Captions demuxer

2024-03-29 Thread Marth64
Tomas Härdin : > once I get my srtdec patchset through there will > be something to follow. I see the patch now. I agree, this looks like a good step. Thank you! > Nah it can be done at a later point as an enhancement if you prefer Yes, please. I am happy to do it, but I think will be smoother to

Re: [FFmpeg-devel] [PATCH v10 2/5] avformat/rcwtdec: add RCWT Closed Captions demuxer

2024-03-30 Thread Marth64
> i think the entry for extensions should be removed (which fixes this) > having a ".bin" is not a strong indication that its rcwt > Is this blocking or can it be addressed later? Also, if this needs to > be modified the muxer should be as well. I can address both today in a new set. .bin is pret

Re: [FFmpeg-devel] [PATCH v10 2/5] avformat/rcwtdec: add RCWT Closed Captions demuxer

2024-04-01 Thread Marth64
Sorry for the delay, v11 coming shortly with the fix. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscr

[FFmpeg-devel] [PATCH v11 0/6] RCWT Closed Captions demuxer (v11)

2024-04-01 Thread Marth64
Since v9: * Removes .bin extension association in demuxer and muxer * Updates examples in documentation Signed-off-by: Marth64 -- 2.34.1 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To

[FFmpeg-devel] [PATCH v11 1/6] avformat/subtitles: extend ff_subtitles_queue_insert() to support not yet available events

2024-04-01 Thread Marth64
happens to pass an empty cue or wants to use av_get_packet() to read bytes, there are no unnecessary operations on the packet after it is allocated. Signed-off-by: Marth64 --- libavformat/subtitles.c | 23 +++ libavformat/subtitles.h | 2 +- 2 files changed, 16 insertions

[FFmpeg-devel] [PATCH v11 2/6] avformat/rcwtdec: add RCWT Closed Captions demuxer

2024-04-01 Thread Marth64
original presentation. Signed-off-by: Marth64 --- doc/demuxers.texi| 30 ++ libavformat/Makefile | 1 + libavformat/allformats.c | 1 + libavformat/rcwtdec.c| 122 +++ 4 files changed, 154 insertions(+) create mode 100644

[FFmpeg-devel] [PATCH v11 3/6] avformat/rcwtenc: don't assume .bin extension

2024-04-01 Thread Marth64
Signed-off-by: Marth64 --- libavformat/rcwtenc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/libavformat/rcwtenc.c b/libavformat/rcwtenc.c index f2459ef1d3..ed613d45f5 100644 --- a/libavformat/rcwtenc.c +++ b/libavformat/rcwtenc.c @@ -159,7 +159,6 @@ static int rcwt_write_trailer

[FFmpeg-devel] [PATCH v11 4/6] avformat/rcwtenc: remove repeated documentation

2024-04-01 Thread Marth64
The high level summary of RCWT can be delegated doc/muxers, which makes it easier to maintain and more consistent with the documentation of the demuxer. Signed-off-by: Marth64 --- libavformat/rcwtenc.c | 5 - 1 file changed, 5 deletions(-) diff --git a/libavformat/rcwtenc.c b/libavformat

[FFmpeg-devel] [PATCH v11 5/6] doc/muxers: refresh the RCWT muxer's doc to be consistent with the demuxer

2024-04-01 Thread Marth64
Signed-off-by: Marth64 --- doc/muxers.texi | 29 +++-- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/doc/muxers.texi b/doc/muxers.texi index a10a8e216f..c960af1bdc 100644 --- a/doc/muxers.texi +++ b/doc/muxers.texi @@ -3038,19 +3038,18 @@ ogg files can

[FFmpeg-devel] [PATCH v11 6/6] doc/indevs: update CC extraction example to use RCWT muxer

2024-04-01 Thread Marth64
Signed-off-by: Marth64 --- doc/indevs.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/indevs.texi b/doc/indevs.texi index d1b2bacf8b..734fc65752 100644 --- a/doc/indevs.texi +++ b/doc/indevs.texi @@ -1069,9 +1069,9 @@ ffplay -f lavfi "movie=test.avi[out0];a

Re: [FFmpeg-devel] 7.0 Name

2024-04-02 Thread Marth64
Djikstra is nice ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v11 0/6] RCWT Closed Captions demuxer (v11)

2024-04-02 Thread Marth64
Thank you Stefano & all who helped facilitate this through. ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "un

[FFmpeg-devel] [PATCH] Changelog: fix typos for 7.0 section

2024-04-04 Thread Marth64
If it's not too late, I thought these fixes would make the section look nicer for this big release. --- Changelog | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Changelog b/Changelog index a65c8ceee5..7ed638514b 100644 --- a/Changelog +++ b/Changelog @@ -40,17 +40,17 @@

Re: [FFmpeg-devel] [PATCH] Changelog: fix typos for 7.0 section

2024-04-04 Thread Marth64
Works for me. Looks great now. Thank you! ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Re: [FFmpeg-devel] [PATCH v4 2/4] avcodec/{ass, webvttdec}: fix handling of backslashes

2024-04-04 Thread Marth64
> I'm confused by this, what kind of \N > sequences might appear in an ASS file? > Can you show an offending sequence? Good day Stefano, The one I tested with was something like : Jim\Nancy I made this up while testing. But I have seen similar in real world scenarios particularly in ASS files or

Re: [FFmpeg-devel] [PATCH v4 2/4] avcodec/{ass, webvttdec}: fix handling of backslashes

2024-04-04 Thread Marth64
> Is \N a special sequence in ASS-speak \N is the special line break sequence in ASS I’m not sure of other special sequences following the \ character, I yield to Oneric on this question. Best, Marth64 ___ ffmpeg-devel mailing list ffmpeg-de

Re: [FFmpeg-devel] [PATCH v3 2/5] ffbuild/libversion.sh: add shebang

2024-04-09 Thread Marth64
> +#!/bin/sh Might I suggest `#!/usr/bin/env sh` instead for this case? I tend to prefer it from a portability and usability perspective, but I can imagine for sh it might not matter. I am not close to the patch that you are working on. But thought to throw this out there in case there is a platfo

Re: [FFmpeg-devel] [PATCH v3 2/5] ffbuild/libversion.sh: add shebang

2024-04-09 Thread Marth64
> so that seems like a terrible idea that would achieve > the opposite result. I respectfully disagree. Neither approach is universal or POSIX specified. So while I agree it can be left as-is since only a basic Bourne shell is needed, I would not just dismiss it/write it off as a terrible idea.

Re: [FFmpeg-devel] [PATCH v3 2/5] ffbuild/libversion.sh: add shebang

2024-04-09 Thread Marth64
Regardless -- it can be left as is . I digress from the topic. Thank you, ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org w

Re: [FFmpeg-devel] [PATCH v13 1/2] libavformat: add DVD-Video demuxer, powered by libdvdnav and libdvdread

2024-02-12 Thread Marth64
Thank you Stefano for your patience and reviews. I am working on refinements that can go in after initial patch. Cheers On Mon, Feb 12, 2024 at 09:47 Stefano Sabatini wrote: > On date Sunday 2024-02-11 12:09:16 -0600, Marth64 wrote: > > No critical changes since v12. > > -

Re: [FFmpeg-devel] [PATCH v13 1/2] libavformat: add DVD-Video demuxer, powered by libdvdnav and libdvdread

2024-02-16 Thread Marth64
I will take care of it, thanks On Fri, Feb 16, 2024 at 05:38 Anton Khirnov wrote: > Quoting Marth64 (2024-02-11 19:09:16) > > +static int dvdvideo_video_stream_add(AVFormatContext *s, > > + DVDVideoVTSVideoStr

[FFmpeg-devel] [PATCH v14 1/2] libavformat/dvdvideo: add DVD-Video demuxer, powered by libdvdread and libdvdnav

2024-02-18 Thread Marth64
ak and OOB in chapter functions * Fix timestamp overflow bug introduced in v11 Signed-off-by: Marth64 --- Changelog |2 + configure |8 + doc/demuxers.texi | 130 libavformat/Makefile |1 + libavformat/allformats.c |1 + l

[FFmpeg-devel] [PATCH v14 2/2] libavformat/dvdvideo: add CLUT utilities and enable subtitle palette support

2024-02-18 Thread Marth64
Signed-off-by: Marth64 --- doc/demuxers.texi | 5 +++ libavformat/Makefile | 2 +- libavformat/dvdclut.c | 76 +++ libavformat/dvdclut.h | 37 +++ libavformat/dvdvideodec.c | 14 5 files changed, 133 insertions

Re: [FFmpeg-devel] [RFC] fateserver

2024-02-24 Thread Marth64
I'm willing to help. I have experience with Node.JS and Express (the rewrite). Thank you, On Sat, Feb 24, 2024 at 11:49 AM Michael Niedermayer wrote: > Hi all > > Both fateserver and the fateserver rewrite lack a mainteiner > > The original: > https://fate.ffmpeg.org/ > perl code here: > https:

Re: [FFmpeg-devel] [RFC] fateserver

2024-02-25 Thread Marth64
(with rootless)? In this way, the application is jailed and can restart automatically on its own. Also, more flexibility on the host machine itself. On Sun, Feb 25, 2024 at 1:28 PM Michael Niedermayer wrote: > Hi Marth64 > > adding Timothy and baptiste to the CC > > On Sun, Feb 25

[FFmpeg-devel] [PATCH] avformat/dvdvideodec: fix -pgc and -pg options

2024-03-02 Thread Marth64
In merged DVD patch, -pgc and -pg options were broken. While these are rather advanced options, they are the only means to get content for some strangely authored discs. Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 23 +-- 1 file changed, 13 insertions(+), 10

Re: [FFmpeg-devel] [PATCH 3/4] avformat/dvdvideodec: Only free allocated buffers

2024-03-02 Thread Marth64
FYI: hls, dashdec do the same av_freep(). Doesn't make this right, but saying that was where I used as an example (so they should probably fixed too?) On Sat, Mar 2, 2024 at 10:17 AM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > James Almer: > > On 3/2/2024 12:47 PM, Andreas Rhein

Re: [FFmpeg-devel] [PATCH 3/4] avformat/dvdvideodec: Only free allocated buffers

2024-03-02 Thread Marth64
Nevermind, disregard. They do not, and I misread. Thanks for catching this. On Sat, Mar 2, 2024 at 8:31 PM Marth64 wrote: > FYI: hls, dashdec do the same av_freep(). Doesn't make this right, but > saying that was where I used as an example (so they should probably fixed > too?) &

Re: [FFmpeg-devel] [PATCH 4/4] avformat/dvdvideodec: Reorder allocations to simplify freeing

2024-03-02 Thread Marth64
Patchset LGTM. On Sat, Mar 2, 2024 at 9:42 AM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > Signed-off-by: Andreas Rheinhardt > --- > libavformat/dvdvideodec.c | 12 > 1 file changed, 4 insertions(+), 8 deletions(-) > > diff --git a/libavformat/dvdvideodec.c b/libav

Re: [FFmpeg-devel] [FFmpeg-cvslog] libavformat/dvdvideo: add DVD-Video demuxer, powered by libdvdread and libdvdnav

2024-03-02 Thread Marth64
I did take caution here, ffmpeg must be built with all of the following flags: ./configure --enable-demuxer=dvdvideo --enable-libdvdread --enable-libdvdnav --enable-gpl This is also called out in the docs: > FFmpeg must be built with GPL library support available as well as the configure switches

Re: [FFmpeg-devel] [PATCH v14 2/2] libavformat/dvdvideo: add CLUT utilities and enable subtitle palette support

2024-03-02 Thread Marth64
Bump on this one. Would be really nice to have since dvd demuxer is merged, and colors are part of the presentation. It did have 2 reviews. Thank you. On Sun, Feb 18, 2024 at 10:02 PM Marth64 wrote: > Signed-off-by: Marth64 > --- > doc/demuxers.texi | 5 +++ > libavfor

[FFmpeg-devel] [PATCH v2] avformat/dvdvideodec: fix -pgc and -pg options

2024-03-03 Thread Marth64
Rebased on top of recently merged fixes (should apply correctly now). In merged DVD patch, -pgc and -pg options were broken. While these are rather advanced options, they are the only means to get content for some strangely authored discs. Signed-off-by: Marth64 --- libavformat/dvdvideodec.c

[FFmpeg-devel] [PATCH] Changelog: restore new line

2024-03-03 Thread Marth64
A new line was removed in a1304272c3a0ef7c3d77c702dd466b3f11bf300f which breaks consistency in between versions. Signed-off-by: Marth64 --- Changelog | 1 + 1 file changed, 1 insertion(+) diff --git a/Changelog b/Changelog index fedad5782c..f388d41b02 100644 --- a/Changelog +++ b/Changelog

[FFmpeg-devel] [PATCH] doc/demuxers: emphasize that DVD demuxer does not do decryption

2024-03-03 Thread Marth64
Signed-off-by: Marth64 --- doc/demuxers.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 905828d852..f4bac8f3b3 100644 --- a/doc/demuxers.texi +++ b/doc/demuxers.texi @@ -295,6 +295,9 @@ into a conversion pipeline. Menus and seeking are not

Re: [FFmpeg-devel] [PATCH] avformat/dvdvideodec: fix -pgc and -pg options

2024-03-04 Thread Marth64
Looks like v2 made it in. All good here. Thanks, Stefano ! On Mon, Mar 4, 2024 at 3:43 AM Stefano Sabatini wrote: > On date Monday 2024-03-04 10:24:42 +0100, Stefano Sabatini wrote: > > On date Saturday 2024-03-02 20:29:13 -0600, Marth64 wrote: > > > In merged DVD patch, -p

[FFmpeg-devel] [PATCH] configure: do not specify -ldvdread, as pkg-config check is already done

2024-03-04 Thread Marth64
Reported-by: BtbN Signed-off-by: Marth64 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index db7dc89755..bbf1a70731 100755 --- a/configure +++ b/configure @@ -6782,7 +6782,7 @@ enabled libdavs2 && require_pkg_config

Re: [FFmpeg-devel] [PATCH] avcodec/ccaption_dec: Avoid relocations for strings

2024-03-05 Thread Marth64
I did a quick validation with ATSC, DVD, and SCTE sources. Results were as expected. On Tue, Mar 5, 2024 at 2:30 PM Andreas Rheinhardt < andreas.rheinha...@outlook.com> wrote: > The longest string here takes four bytes, so using an array > of pointers is wasteful even when ignoring the cost of re

[FFmpeg-devel] [PATCH 2/3] avformat/dvdvideodec: add menu demuxing support

2024-03-05 Thread Marth64
. Signed-off-by: Marth64 --- doc/demuxers.texi | 43 +- libavformat/dvdvideodec.c | 315 -- 2 files changed, 339 insertions(+), 19 deletions(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index 1a17c6db16..e2ea66c1a5 100644 --- a/doc

[FFmpeg-devel] [PATCH 1/3] avformat/dvdvideodec: add CLUT utilities and subtitle palette support

2024-03-05 Thread Marth64
Since last iteration: removes unused variable in dvdclut.c Signed-off-by: Marth64 --- doc/demuxers.texi | 5 +++ libavformat/Makefile | 2 +- libavformat/dvdclut.c | 75 +++ libavformat/dvdclut.h | 37 +++ libavformat

[FFmpeg-devel] [PATCH 3/3] avformat/dvdvideodec: assign mono channel layout explicitly

2024-03-05 Thread Marth64
Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c index 2c7ffdd148..6136060288 100644 --- a/libavformat/dvdvideodec.c +++ b/libavformat/dvdvideodec.c @@ -1142,7 +1142,9

Re: [FFmpeg-devel] [PATCH 1/3] avformat/dvdvideodec: add CLUT utilities and subtitle palette support

2024-03-06 Thread Marth64
Rothenpieler wrote: > On 06/03/2024 16:09, Stefano Sabatini wrote: > > On date Wednesday 2024-03-06 01:19:11 -0600, Marth64 wrote: > >> Since last iteration: removes unused variable in dvdclut.c > >> > >> Signed-off-by: Marth64 > >> --- > >> doc/demu

Re: [FFmpeg-devel] [PATCH 3/3] avformat/dvdvideodec: assign mono channel layout explicitly

2024-03-06 Thread Marth64
600, Marth64 wrote: > > Signed-off-by: Marth64 > > --- > > libavformat/dvdvideodec.c | 4 +++- > > 1 file changed, 3 insertions(+), 1 deletion(-) > > > > diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c > > index 2c7ffdd148..6136060288 100644

Re: [FFmpeg-devel] [PATCH 1/3] avformat/dvdvideodec: add CLUT utilities and subtitle palette support

2024-03-06 Thread Marth64
at 09:36 Marth64 wrote: > Good morning, > > DVD subtitle palettes, which are natively YUV, are currently carried as > a hex string in their respective subtitle streams and have > no concept of colorspace tagging (even predating dvd demuxer). The > convention is to convert >

Re: [FFmpeg-devel] [PATCH 2/3] avformat/dvdvideodec: add menu demuxing support

2024-03-06 Thread Marth64
Thank you Stefano for the review on the whole set. I will take the feedback and come back with a better organized set in the next 2 or so days. On Wed, Mar 6, 2024 at 09:42 Stefano Sabatini wrote: > On date Wednesday 2024-03-06 01:19:12 -0600, Marth64 wrote: > > Many DVDs have valuab

Re: [FFmpeg-devel] [RFC] fateserver

2024-03-07 Thread Marth64
Niedermayer wrote: > Hi > > On Sun, Feb 25, 2024 at 06:21:14PM -0600, Marth64 wrote: > > Thank you Michael, for the opportunity. I have some initial questions > > while others add the remaining detail. > > > [...] > > 2) Are you open to Docker containerization (

[FFmpeg-devel] [PATCH v2 0/3] avformat/dvdvideodec: various improvements

2024-03-09 Thread Marth64
follow up with a trivial patch to update log messages based on feedback from Stefano with respect to how options are mentioned. You may also tour the diffs on GitHub: https://github.com/Marth64x/FFmpeg/commits/20240309_dvdvideodec Thank you very much. Signed-off-by: Marth64

[FFmpeg-devel] [PATCH v2 1/3] avformat/dvdvideodec: assign mono channel layout explicitly

2024-03-09 Thread Marth64
Signed-off-by: Marth64 --- libavformat/dvdvideodec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libavformat/dvdvideodec.c b/libavformat/dvdvideodec.c index b3cc32b864..ca85aa8d3d 100644 --- a/libavformat/dvdvideodec.c +++ b/libavformat/dvdvideodec.c @@ -932,7 +932,9

[FFmpeg-devel] [PATCH v2 2/3] avformat/dvdvideodec: add CLUT utilities and subtitle color support

2024-03-09 Thread Marth64
Signed-off-by: Marth64 --- libavformat/Makefile | 2 +- libavformat/dvdclut.c | 75 +++ libavformat/dvdclut.h | 37 +++ libavformat/dvdvideodec.c | 14 4 files changed, 127 insertions(+), 1 deletion(-) create mode 100644

[FFmpeg-devel] [PATCH v2 3/3] avformat/dvdvideodec: add menu demuxing support

2024-03-09 Thread Marth64
Signed-off-by: Marth64 --- doc/demuxers.texi | 43 +- libavformat/dvdvideodec.c | 314 -- 2 files changed, 339 insertions(+), 18 deletions(-) diff --git a/doc/demuxers.texi b/doc/demuxers.texi index f4bac8f3b3..b70f3a38d7 100644 --- a/doc

  1   2   3   4   5   6   >