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

Devon Sookhoo devonsookhoo14 at gmail.com
Wed Oct 9 16:38:43 EEST 2024


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Encode-RGB-interleaved-8-bit-uncompressed-mp4.patch
Type: application/octet-stream
Size: 5723 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20241009/f3a32fd6/attachment.obj>


More information about the ffmpeg-devel mailing list