Re: [FFmpeg-devel] [PATCH] [MXF] - Add "footer_with_hmd" option

2024-02-21 Thread Cédric Le Barz
-Message d'origine- De : ffmpeg-devel De la part de Tomas Härdin Envoyé : lundi 19 février 2024 11:40 À : FFmpeg development discussions and patches Objet : Re: [FFmpeg-devel] [PATCH] [MXF] - Add "footer_with_hmd" option fre 2024-02-09 klockan 11:58 +0100 skrev Cédric Le B

[FFmpeg-devel] [PATCH] [MXF] - Add "footer_with_hmd" option

2024-02-09 Thread Cédric Le Barz
Add "footer_with_hmd" option: this option activates the writing of the header metadata in the footer partition. Cédric --- Begin Message --- Signed-off-by: Cedric Le Barz --- ffmpeg/libavformat/mxfenc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[FFmpeg-devel] [PATCH] [MXF] - Add "footer_with_hmd" option

2024-01-26 Thread Cédric Le Barz
Add "footer_with_hmd" option: this option activates the writing of the header metadata in the footer partition. --- Begin Message --- Signed-off-by: Cedric Le Barz --- ffmpeg/libavformat/mxfenc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git

[FFmpeg-devel] [PATCH] [MXF] - Set aspect ratio for jpeg2000 images

2024-01-26 Thread Cédric Le Barz
Set aspect ratio for jpeg2000 images. --- Begin Message --- Signed-off-by: Cedric Le Barz --- ffmpeg/libavformat/mxfenc.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ffmpeg/libavformat/mxfenc.c b/ffmpeg/libavformat/mxfenc.c index 0f13068..7ea19ca 100644 ---

Re: [FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file (V2).

2023-12-22 Thread Cédric Le Barz
Le 21/12/2023 à 12:11, Tomas Härdin a écrit : ons 2023-12-20 klockan 18:04 +0100 skrev Cédric Le Barz: Le 19/12/2023 à 14:36, Tomas Härdin a écrit : +for ( comp = 0; comp < component_count; comp++ ) { +avio_write(pb, >j2k_info.j2k_comp_desc[3*comp] , 3); +} Look

Re: [FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file (V2).

2023-12-20 Thread Cédric Le Barz
requ...@ffmpeg.org with subject "unsubscribe". Here is the new version of the patch taken into account your remarks. Regards, Cédric Le Barz --- Begin Message --- Signed-off-by: Cedric Le Barz --- ffmpeg/libavformat/mxf.h| 1 + ffmpeg/libavformat/mxfenc.c | 169 +

[FFmpeg-devel] [PATCH] [MXF] - Add jpeg2000 subdescriptor in MXF file.

2023-12-08 Thread Cédric Le Barz
Add jpeg2000 subdescriptor in MXF file. --- Begin Message --- Signed-off-by: Cedric Le Barz --- ffmpeg/libavformat/mxf.h| 1 + ffmpeg/libavformat/mxfenc.c | 173 +++- 2 files changed, 173 insertions(+), 1 deletion(-) diff --git a/ffmpeg/libavformat/mxf.h

Re: [FFmpeg-devel] [PATCH] MXF - Add jpeg2000 subdescriptor - Sponsored by INA

2023-09-22 Thread Cédric Le Barz
Le 04/06/2023 à 20:24, Tomas Härdin a écrit : tor 2023-06-01 klockan 17:19 +0200 skrev Cédric Le Barz: Attach to this mail, is my new patch for adding jpeg2000 sub- descriptor in MXF file taking into account remarks from FFmpeg community (remarks from Pierre-Anthony above as well as this from

Re: [FFmpeg-devel] [PATCH] MXF - Add jpeg2000 subdescriptor - Sponsored by INA

2023-06-01 Thread Cédric Le Barz
Le 09/05/2023 à 16:28, Pierre-Anthony Lemieux a écrit : Couple of follow-up comments. - "mxf_parse_jpeg2000_frame" could be moved to one of jpeg2000 source files, to keep J2K parsing code together. Maybe there is a way to reuse jpeg2000_read_main_headers() at jpeg2000dec.c? - when defining

Re: [FFmpeg-devel] [PATCH] MXF - Add jpeg2000 subdescriptor - Sponsored by INA

2023-05-02 Thread Cédric Le Barz
Le 27/04/2023 à 14:45, Tomas Hardin a écrit : static inline uint16_t rescale_mastering_chroma(AVRational q) { @@ -1260,7 +1305,6 @@ static int64_t mxf_write_cdci_common(AVFormatContext *s, AVStream *st, const UID f1 *= 2; } - Stray deleted line +/* Image components

Re: [FFmpeg-devel] [PATCH] MXF - Add jpeg2000 subdescriptor - Sponsored by INA

2023-04-25 Thread Cédric Le Barz
Le 05/04/2023 à 15:53, Tomas Härdin a écrit : ons 2023-04-05 klockan 15:05 +0200 skrev Cédric Le Barz: Le 03/04/2023 à 17:14, Michael Niedermayer a écrit : On Mon, Apr 03, 2023 at 10:08:25AM +0200, Cédric Le Barz wrote: Hi, I've attached the patch to this mail, in order to solve newlines

[FFmpeg-devel] [PATCH] Fix issue when invalid nb_index_entries value is read - SPONSORED BY INA (Institut National de l'Audiovisuel)

2023-03-08 Thread Cédric Le Barz
Fix issue when invalid nb_index_entries value is read : in case of false nb_index_entries value, ffmpeg exit. This patch fix this problem. Signed-off-by: Cedric Le Barz --- ffmpeg/libavformat/mxfdec.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git