On Sun, Nov 8, 2020 at 6:12 PM ZEITFELD <[email protected]> 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
> [email protected]
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> [email protected] with subject "unsubscribe".
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to