[FFmpeg-user] Directly converting DNGs to MP4

Paul B Mahol onemda at gmail.com
Sun Nov 8 19:15:08 EET 2020


On Sun, Nov 8, 2020 at 6:12 PM ZEITFELD <martin.hoppe at zeit-feld.de> wrote:

>
>
> Hello nice girls ans guys!
>
> I have a highspeed camera that records raw data to DNG files. Now I try
> to have the fastest possible preview video of what is recorded. I
> succeeded using the GPU via FFMPEG, which is absolutely the fastest way
> I found until now.
>
> This is the command line I use:
>
> FFMPEG -R 25 -F IMAGE2 -I FRAME_%06D.DNG -VCODEC LIBX264 -CRF 25
> -PIX_FMT YUV420P PREVIEW.MP4
>
> This gives me a MP4, but the colors are broken, the image is too dark
> and green and the quality is very bad, with a lot of banding and
> artifacts.
>
> Does anyone know how to make ffmpeg apply reasonably balanced settings
> when reading the DNGs?
>

Do not under any cost use swscale for this operation.
swscale does not support bunch of colorspaces.
Use zscale filter instead.


>
> Thanks a lot! Martin
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-user mailing list