Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-05 Thread Devon Sookhoo
Martin, thanks again, I find your comments very helpful. I will do some more research to determine what the best CLI arguments would be. On Fri, Oct 4, 2024 at 7:55 PM martin schitter wrote: > > > On 04.10.24 18:10, Devon Sookhoo wrote: > > I thought the option "-c:v rawvideo" was the way to g

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-04 Thread martin schitter
On 04.10.24 18:10, Devon Sookhoo wrote: I thought the option "-c:v rawvideo" was the way to go because it's used to generate an uncompressed avi file: $ ffmpeg -i input.mp4 -c:v rawvideo out.avi For the older simpler file formats, where only a rather small set of supported image format

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-04 Thread Devon Sookhoo
I appreciate your feedback. Doing the decoder side first is a good suggestion, I certainly want to start with whichever is easier. I originally started with the encoder simply because of the limited number of existing test files. However, I believe that GPAC is able to generate some. I thought the

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-04 Thread martin schitter
On 04.10.24 15:11, Devon Sookhoo wrote: You're correct that I'm primarily interested in uncompressed data and not raw bayer sensor data. Yes -- it was more a rather extreme example to remind, that this file format isn't as simple and limited as many old and simple AV packaging solutions f

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-04 Thread Devon Sookhoo
You're correct that I'm primarily interested in uncompressed data and not raw bayer sensor data. However, it seems like the "-c:v rawvideo" option is the convention in other formats to generate uncompressed video data. I'm just trying to follow the pattern and reuse what is already there. If ther

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-03 Thread martin schitter
On 04.10.24 01:33, Devon Sookhoo wrote: Once completed, I envision the following command to work: $ ffmpeg -i input.mp4 -c:v rawvideo output.mp4 Why do you choose the term "raw" instead of uncompressed? Using this format for "raw" bayer CFA data is just one possible application of ISO/

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-03 Thread Devon Sookhoo
Sounds good, I will put together a complete implementation with crs tests for submission. Once completed, I envision the following command to work: $ ffmpeg -i input.mp4 -c:v rawvideo output.mp4 Does this warrant a new mpeg_rawenc.c file under /libavcodec? Or should an existing file be extende

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-03 Thread Tomas Härdin
> > As suggested, this next patch uses av_pix_fmt_desc_get() to get the > > nb_components > > > > What is considered sufficient for testing? Is this done by running > > fate? > > I mean adding tests to FATE. Are there any reference files we could > use? Wups, I forgot this is a muxer patch, so r

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-03 Thread Tomas Härdin
tor 2024-10-03 klockan 10:52 -0600 skrev Devon Sookhoo: > >  "mov_write_uncC_tag() doesn't seem to be called from anywhere" > > Yes, I wanted to divide my contributions up into small sections that > are > easy to review. However, this means that each contribution isn't a > full > implementation wh

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-03 Thread Devon Sookhoo
> "mov_write_uncC_tag() doesn't seem to be called from anywhere" Yes, I wanted to divide my contributions up into small sections that are easy to review. However, this means that each contribution isn't a full implementation which is why mov_write_uncC_tag() isn't called yet. Is this an appropria

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-02 Thread Tomas Härdin
tis 2024-10-01 klockan 18:53 -0600 skrev Devon Sookhoo: > Hello, > > I attached the .patch so hopefully this is easier for you to apply. > The > patch itself isn't very impressive, but is intended to be the first > of a > series of contributions to generate uncompressed MP4 video. I'm > hoping to

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-01 Thread Devon Sookhoo
Hello, I attached the .patch so hopefully this is easier for you to apply. The patch itself isn't very impressive, but is intended to be the first of a series of contributions to generate uncompressed MP4 video. I'm hoping to spark interest and receive some guidance on this task moving forward. O

Re: [FFmpeg-devel] RFC - Uncompressed MP4

2024-10-01 Thread Tomas Härdin
tis 2024-10-01 klockan 08:48 -0600 skrev Devon Sookhoo: > Hello, I'm implementing ISO/IEC 23001-17:2024 (MPEGs uncompressed > codec) > and am looking for an FFmpeg developer to review/approve my > contributions. It's easier if you attach the patch normally so people can download and apply it /Tom

[FFmpeg-devel] RFC - Uncompressed MP4

2024-10-01 Thread Devon Sookhoo
Hello, I'm implementing ISO/IEC 23001-17:2024 (MPEGs uncompressed codec) and am looking for an FFmpeg developer to review/approve my contributions. I started by writing the uncC box: On Tue, Sep 24, 2024 at 2:51 PM Devon Sookhoo https://ffmpeg.org/mailman/listinfo/ffmpeg-devel>> wrote: >* From 5