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