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 first question is whether to reuse the existing AV_CODEC_ID_RAWVIDEO, or > if a brand new codec should be created specifically for handling > uncompressed MP4 files. For those not familiar with ISO/IEC 23001-17:2024, > this uncompressed codec has many input parameters, making it configurable > enough to handle just about any type of data. A complete > implementation would be quite involved which is why I'm questioning if > "-c:v rawvideo" is the correct choice. > > Any feedback would be greatly appreciated.
> libavcodec/rawenc.c | 18 ++++++++++ > libavformat/movenc.c | 88 > +++++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 106 insertions(+) > 84f6e16f8e6ae76bdbeb9517e94576a930fa4d01 > 0001-Encode-RGB-interleaved-8-bit-uncompressed-mp4.patch > From 62b59527bd25d7759b374fb47b398140df740946 Mon Sep 17 00:00:00 2001 > From: dukesook <devonsookho...@gmail.com> > Date: Tue, 24 Sep 2024 12:27:31 -0600 > Subject: [PATCH] Encode RGB interleaved 8 bit uncompressed mp4 breaks: fate-mov-vfr --- - 2024-10-11 22:55:50.346184682 +0200 +++ tests/data/fate/mov-vfr 2024-10-11 22:55:50.338195434 +0200 @@ -1 +1 @@ -1558b4a9398d8635783c93f84eb5a60d +73f24e1cfcbbf1e6da06ff8658424df2 TEST shortest TEST ffmpeg-filter-in-eof Test mov-vfr failed. Look at tests/data/fate/mov-vfr.err for details. TEST ffmpeg-streamcopy-t make: *** [tests/Makefile:311: fate-mov-vfr] Error 1 make: *** Waiting for unfinished jobs.... thx [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB Nations do behave wisely once they have exhausted all other alternatives. -- Abba Eban
signature.asc
Description: PGP signature
_______________________________________________ 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".