> Le 31/10/2022 à 14:23, Naveen.B a écrit : >> I observed some weird behaviour with fast and medium preset, >> >> fast preset: >> *ffmpeg -pixel_format gray10le -s 1600x1300 -r 30 -i >> CapturedImage-%03d.raw >> -c:v rawvideo -pixel_format yuv420p -f rawvideo -c:v libx264 -preset >> fast >> -crf 18 test.raw* > > "-c:v rawvideo" then "-c:v libx264" makes no sense > > At some point you should be clear if you want a raw or a h264 stream! > Doesn't this serial ordering of the same command (-c:v xxxx) twice just drive cpu workload up for no actual benefit?
To clarify: executing -c:v xxxx and then executing -c:v yyyy just causes one output: yyyy. Thus you are forcing the CPU to decode:encode:decode:encode rather than just decode:encode.... can someone confirm or correct me here? _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".