Re: [FFmpeg-devel] [Uncompressed MP4] RFC - Draft Encoder

2024-10-16 Thread Devon Sookhoo
With this patch, I can generate an uncompressed mp4 without specifying the -c:v rawvideo option: $ ffmpeg -i input.mp4 -c:v rawvideo -pix_fmt rgb24 output.mp4 Originally, it was failing the mux.c validate_codec_tag() function and never reached mov_get_rawvideo_codec_tag(). I found the followi

Re: [FFmpeg-devel] [Uncompressed MP4] RFC - Draft Encoder

2024-10-16 Thread Tomas Härdin
Have a look at mov_get_rawvideo_codec_tag() /Tomas tis 2024-10-15 klockan 08:17 -0600 skrev Devon Sookhoo: > This updated patch registers the 'uncv' tag in the isom_tags.c > ff_codec_movvideo_tags[] list. However, I still need to specify the > tag > with the "-tag:v uncv" option. I hoped this cha

Re: [FFmpeg-devel] [Uncompressed MP4] RFC - Draft Encoder

2024-10-15 Thread Devon Sookhoo
This updated patch registers the 'uncv' tag in the isom_tags.c ff_codec_movvideo_tags[] list. However, I still need to specify the tag with the "-tag:v uncv" option. I hoped this change would set 'uncv' as the default tag for raw mp4 video, but I'm not sure what the issue is. I'm also looking into

Re: [FFmpeg-devel] [Uncompressed MP4] RFC - Draft Encoder

2024-10-12 Thread Tomas Härdin
ons 2024-10-09 klockan 20:08 -0600 skrev Devon Sookhoo: > Sounds good, I'll look into adding rawvideo to the list of > movcodec_tags. > > Looking at the AVPixFmtDescriptor, I noticed: AVComponentDescriptor > comp[4]; Does this line limit the component count to only four? > Encoding > video with ma

Re: [FFmpeg-devel] [Uncompressed MP4] RFC - Draft Encoder

2024-10-11 Thread Michael Niedermayer
On Wed, Oct 09, 2024 at 07:38:43AM -0600, Devon Sookhoo wrote: > With this patch, I was able to use the following command to generate an > uncompressed mp4: > $ ffmpeg -i input.mp4 -c:v rawvideo -pix_fmt rgb24 -tag:v uncv > out.mp4 > > The output file successfully played in GPAC. > > My f

Re: [FFmpeg-devel] [Uncompressed MP4] RFC - Draft Encoder

2024-10-09 Thread Devon Sookhoo
Sounds good, I'll look into adding rawvideo to the list of movcodec_tags. Looking at the AVPixFmtDescriptor, I noticed: AVComponentDescriptor comp[4]; Does this line limit the component count to only four? Encoding video with many components is an important use case. Yes, there are various interl

Re: [FFmpeg-devel] [Uncompressed MP4] RFC - Draft Encoder

2024-10-09 Thread Tomas Härdin
ons 2024-10-09 klockan 07:38 -0600 skrev Devon Sookhoo: > With this patch, I was able to use the following command to generate > an > uncompressed mp4: > $ ffmpeg  -i input.mp4   -c:v rawvideo   -pix_fmt rgb24   -tag:v uncv >  out.mp4 > > The output file successfully played in GPAC. > > My first

[FFmpeg-devel] [Uncompressed MP4] RFC - Draft Encoder

2024-10-09 Thread Devon Sookhoo
With this patch, I was able to use the following command to generate an uncompressed mp4: $ ffmpeg -i input.mp4 -c:v rawvideo -pix_fmt rgb24 -tag:v uncv out.mp4 The output file successfully played in GPAC. My first question is whether to reuse the existing AV_CODEC_ID_RAWVIDEO, or if a br

Re: [FFmpeg-devel] [Uncompressed MP4] Write uncC Tag

2024-09-26 Thread Devon Sookhoo
Hello, This patch is more of a RFC. I'm interested in generating uncompressed MP4 files in FFMPEG according to ISO/IEC 23001-17:2024 and wrote this as a first step towards implementation. Any feedback or help would be greatly appreciated. Thanks On Tue, Sep 24, 2024 at 2:51 PM Devon Sookhoo wro

Re: [FFmpeg-devel] Uncompressed MP4

2024-09-24 Thread martin schitter
On 25.09.24 01:34, Devon Sookhoo wrote: Historically, whenever an application required the use of uncompressed data, it was a "wild west" of file formats, with no shortage of proprietary options which has lead to interoperability issues across communities. Sure, a few simple old fashioned s

Re: [FFmpeg-devel] Uncompressed MP4

2024-09-24 Thread Devon Sookhoo
Hello Martin, I work with various scientific communities that have adopted the ISO BMFF architecture, which includes the MP4 and HEIF file formats. Historically, whenever an application required the use of uncompressed data, it was a "wild west" of file formats, with no shortage of proprietary opt

Re: [FFmpeg-devel] Uncompressed MP4

2024-09-24 Thread martin schitter
On 23.09.24 16:36, Devon Sookhoo wrote: I'm interested in implementing uncompressed MP4 parsing according to the newly released ISO/IEC 23001-17:2024. Would anyone be interested in further discussing this with me? As you have most likely already seen I've worked on a rather similar project

[FFmpeg-devel] [Uncompressed MP4] Write uncC Tag

2024-09-24 Thread Devon Sookhoo
>From 5767e173414432d6079b1b581121622e874a26cd Mon Sep 17 00:00:00 2001 From: dukesook Date: Tue, 24 Sep 2024 12:27:31 -0600 Subject: [PATCH] mov_write_uncC_tag() Initial function for writing the uncC, or uncopmressed codec box --- libavformat/movenc.c | 52 ++

Re: [FFmpeg-devel] Uncompressed MP4

2024-09-24 Thread Devon Sookhoo
Derek, Thanks again for responding. I was able to access Libera using the web IRC client. I will continue to seek additional guidance there. Thanks for the feedback, I'm aware the code is odd. I had no idea what I was doing when I wrote it. I created a new branch here

Re: [FFmpeg-devel] Uncompressed MP4

2024-09-24 Thread Derek Buitenhuis
Hi, On 9/24/2024 3:22 PM, Devon Sookhoo wrote: > Thanks for responding, I have been struggling to get any responses. I have > tried to use the IRC on Libera, however the server seems to be down. I suspect not too many people resonded on this list since it is more for code review than anything. W

Re: [FFmpeg-devel] Uncompressed MP4

2024-09-24 Thread Derek Buitenhuis
On 9/23/2024 3:36 PM, Devon Sookhoo wrote: > I'm interested in implementing uncompressed MP4 parsing according to the > newly released ISO/IEC 23001-17:2024. Would anyone be interested in further > discussing this with me? Since, as far as I am aware, there are no official (or unofficial) test vec

[FFmpeg-devel] Uncompressed MP4

2024-09-23 Thread Devon Sookhoo
Hello, I'm interested in implementing uncompressed MP4 parsing according to the newly released ISO/IEC 23001-17:2024. Would anyone be interested in further discussing this with me? Thanks, Devon Sookhoo ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.