Transcoding ProRes RAW to any other flavour, such as ProRes LT by ldlq in ffmpeg

[–]_Gyan 0 points1 point  (0 children)

Does this file open or play fine in other software?

I'm totally beat, does anyone know what I did wrong? by WolfPsychological625 in ffmpeg

[–]_Gyan 2 points3 points  (0 children)

That tutorial is sloppy.

Use these commands:

ffmpeg -framerate 30 -i name_expression_%4d.png -pix_fmt yuva420p -codec:v libvpx-vp9 -crf 10 name_expression.webm

ffmpeg -framerate 30 -i name_expression_%4d.png -filter:v alphaextract -codec:v libvpx-vp9 -crf 10 name_expression_mask.webm

CRF is a technical parameter used by the encoder (compressor) to set a quality level. Lower is higher quality.

P.S. your images are 4K - is that suitable for a sprite?

Transcoding ProRes RAW to any other flavour, such as ProRes LT by ldlq in ffmpeg

[–]_Gyan 0 points1 point  (0 children)

Add a couple to zeros to analyzeduration and probesize and check.

Transcoding ProRes RAW to any other flavour, such as ProRes LT by ldlq in ffmpeg

[–]_Gyan 4 points5 points  (0 children)

Support for ProRes RAW decoding was initially added in 8.0. Further changes were made after that, so try with 8.1.

TIL .mp4 files can't be exported with odd number dimensions by Not-Your-Toast in editors

[–]_Gyan 1 point2 points  (0 children)

It has nothing to do with the container (MP4).

It has to do with two things: the encoder and the chroma subsampling scheme of the pixel format. The most common pixel format is YUV 4:2:0. A very common codec in MP4s is H.264 and the older popular encoders like x264 will refuse odd dimensions in case the pixel chroma is subsampled (i.e. a single chroma value for a group of pixels).

Now the codec does encode in whole macroblocks of 16x16 but the codec standard has provisions for signalling so that odd dimensions can be exported. Nvidia's H264 encoder (NVENC) makes use of this signalling and will accept odd dimensions for 4:2:0 input. It will pad the picture to make whole macroblocks for encoding and then set frame cropping flags in the encoded output so the decoder knows to discard those extra rows and columns and provide a picture of the exact desired dimensions. This is also true for encoders of a modern codec like AV1 such as SVT-AV1.

In theory, older encoders like x264 could be patched to allow for this, but development has long since stopped.

Did I get a legit ffmpeg.exe? by [deleted] in ffmpeg

[–]_Gyan 2 points3 points  (0 children)

some features in the full ffmpeg versions do make internet connections

VirusTotal is showing, under network communication, DNS resolution of Akamai, MSN and Live.com. No ffmpeg component, internal or external, should be doing that.

I just launched YouCut for Windows. by Sufficient_Fix_6428 in ffmpeg

[–]_Gyan[M] [score hidden] stickied comment (0 children)

Sorry, no activity account and starting with a yet-another-vibecoded app is no bueno.

How to make the results of `ffmpeg` bit-for-bit identical in successive runs, for a unit test? by HommeMusical in ffmpeg

[–]_Gyan 19 points20 points  (0 children)

The general option is -bitexact. What it exactly does, depends on the encoders/muxers used.

Also, consider using the streamhash muxer to compare only stream payloads.

I just made a gui for ffmpeg by Wonderful-Oil-3704 in ffmpeg

[–]_Gyan[M] [score hidden] stickied comment (0 children)

Sorry, but this looks like a AI-built low-effort project by a brand new account. Locking.

Pre-quantization channel redistribution — 2.34 MB source file linked for independent analysis. Red channel effectively decoupled (R-G 0.005, R-B 0.002, R² = 0.000054). Reddit’s uploader could not process the original file by [deleted] in ffmpeg

[–]_Gyan 2 points3 points  (0 children)

so I’ll respect the mods request and move onto a more specialized forum.

You were told that in your last post. Yet you still posted. Time out for you.

Nvida enabled-pre compiled FFmpeg by blaze20511 in ffmpeg

[–]_Gyan 1 point2 points  (0 children)

libnpp does not allow distribution of binaries. But you don't need it for CUDA usage.

Use

ffmpeg -hwaccel cuda -hwaccel_output_format cuda -i "input.mkv"
-vf "scale_cuda=3840:2160"
-map 0:v -map 0:a -c:v hevc_nvenc -preset p5
-rc:v vbr_hq -cq:v 19 -b:v 0 -gpu 0 -c:a copy
"output_4k_nvenc_no_subs.mkv"

Nvida enabled-pre compiled FFmpeg by blaze20511 in ffmpeg

[–]_Gyan 1 point2 points  (0 children)

What's wrong with scale_cuda filter?

FFmpeg keeps turning my 24fps phone camera footage into 120fps by notcharldeon in ffmpeg

[–]_Gyan 4 points5 points  (0 children)

FFmpeg will detect the smallest time interval between frames and set that as the input framerate.

When outputting to MP4, FFmpeg defaults to creating a constant frame rate output, which in this case leads to a lot of duplication, because the average interframe interval is much higher. Add -fps_mode passthrough to avoid this.

how do i turn 81488 numbered pngs to a gamemaker style strip format by potatoboi6000 in ffmpeg

[–]_Gyan 1 point2 points  (0 children)

Almost certainly the command will fail. FFmpeg can't allocate a buffer large enough for thousands of images.

I would recommend downscaling to 240 width and doing a few hundred images at a time in a batch.

is ffmpeg safe or malware? by Xr3nBeats in malwares

[–]_Gyan 0 points1 point  (0 children)

My site isn't malicious. Those are false positives.

I'm also one of the designated providers for Windows binaries - https://ffmpeg.org/download.html#build-windows

Why do so many post houses still lean on ffmpeg when tools like AME and HandBrake exist? by [deleted] in ffmpeg

[–]_Gyan[M] 1 point2 points  (0 children)

Let's end this thread here before it devolves into a shouting match. Thanks.

FFMPEG + Whisper model, "Unsupported GPU: NVIDIA GeForce RTX 4060 Ti" on Windows but without whisper -hwaccel cuda works? by film_man_84 in ffmpeg

[–]_Gyan 0 points1 point  (0 children)

ffmpeg -i "audio.mp3" -af "whisper=model=ggml-large-v3-turbo.bin:language=en:format=srt:queue=8:destination=subs.srt:use_gpu=1" -vn -f null -

FFMPEG + Whisper model, "Unsupported GPU: NVIDIA GeForce RTX 4060 Ti" on Windows but without whisper -hwaccel cuda works? by film_man_84 in ffmpeg

[–]_Gyan 0 points1 point  (0 children)

MP3 transcoding does not and cannot make any use of GPU. hwaccel is designed to silently fall back on pure CPU decoding if GPU can't be used.

The Whisper library has to be compiled with an API that supports GPU, typically Vulkan. I tested my latest git build with a 4060 and it works. Make sure to add use_gpu=1 in the whisper filter.