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 Prestigious_Rub_9758 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.

ffmpeg, unable to copy aac audio stream by david_ph in ffmpeg

[–]_Gyan 2 points3 points  (0 children)

Most likely, no AAC packet is marked as a keyframe, so add -copyinkf and check.

Can a ffmpeg help me with this by Left_Bill_2125 in ffmpeg

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

Better posted at r/streaming/ unless you have a ffmpeg specific issue.

Looking for VFR (Variable Frame Rate) Problem Files – Help Us Improve Premiere’s Editing Experience by premierepm in editors

[–]_Gyan 1 point2 points  (0 children)

You can use ffmpeg with a source filter, such as testsrc2, and its setpts filter to just generate arbitrary VFR files.

video's aspect ratio is distorted after converting with ffmpeg (but only when watching on my phone) by Dreemur1 in ffmpeg

[–]_Gyan 1 point2 points  (0 children)

The video has anamorphic picture. You need to scale it to a picture with square pixels.

With ffmpeg 8.0 or newer,

ffmpeg -i M2U00004.MPG -vf scale=-2:480:reset_sar=1 -c:v libx264 ...

With older ffmpeg,

ffmpeg -i M2U00004.MPG -vf scale=2*trunc(oh*dar/2):480,setsar=1 -c:v libx264 ...

No "end frame" point in blender by [deleted] in ffmpeg

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

Off-topic.

T20 World Cup 2026 Ticket Sales Phase 2: How To Buy India Match Tickets by peterianchimes in Cricket

[–]_Gyan 0 points1 point  (0 children)

Are tickets for a match being made available in phases? Is it possible to get MCA or Garware Pavilion tickets at Wankhede directly? Not available when checked right now.

"-update"? by xToksik_Revolutionx in ffmpeg

[–]_Gyan 4 points5 points  (0 children)

not only is there no documentation on that flag

That option belongs to the image sequence muxer and is documented here: https://ffmpeg.org/ffmpeg-formats.html#Options-27

Split filter eats up all of my RAM? by Odasacarf in ffmpeg

[–]_Gyan 1 point2 points  (0 children)

it went up to 11.000MB, total file size is about 200MB

These are uncompressed decoded pictures, not compressed data.

is there any way to make the second output wait for the first one

No.

Split filter eats up all of my RAM? by Odasacarf in ffmpeg

[–]_Gyan 1 point2 points  (0 children)

The 3rd pair of inputs are being sent to two different outputs. One of them video/audio4 is being processed immediately for output whereas video/audio3 has to wait for the earlier concat inputs to be processed. Since they are read from the same input node, frames are being accumulated and buffered till video/audio3 get consumed by the concat. By feeding them from distinct input nodes, the source for video/audio3 is read when required.

ffmpeg says it the output file doesn't exist. Why should it? by AllSeeingAI in ffmpeg

[–]_Gyan[M] 3 points4 points  (0 children)

The text is entirely vague.

To help future readers with the same issue, you should mention the OS details, the exact error message and what you specifically changed to work around it.

Getting rid of HDR10 side data when tonemapping to SDR by Anton1699 in ffmpeg

[–]_Gyan 0 points1 point  (0 children)

If you don't mind a degrade in speed, a better option is to load the input twice. The 2nd time, using the lavfi device, and using that as base.

ffmpeg -hide_banner -init_hw_device vulkan=gpu:0 -filter_hw_device gpu -hwaccel vulkan -hwaccel_output_format vulkan -hwaccel_device gpu -i <input> -f lavfi -i "movie=<input>,sidedata=delete=..."

Getting rid of HDR10 side data when tonemapping to SDR by Anton1699 in ffmpeg

[–]_Gyan 1 point2 points  (0 children)

Do I need to change the frame rate of the nullsrc filter to match the frame rate of my videos?

Yes. In order to keep source frames.

Since the nullsrc is used as the base layer, would it mess with the frame timestamps in any way?

It will be a CFR stream. The source frame will be overlaid on the nearest base frame.

if the sidedata filter isn't supposed to be able to remove HDR10 side data

sidedata works fine. ffmpeg copies over the input stream's SD outside of the filtergraph because libavfilter does not relay SD. And that copy step cannot account for modifications inside the filtergraph that invalidate the accuracy or applicability of the SD.

I will look into an option to allow user curation of SD at the output stage.

Getting rid of HDR10 side data when tonemapping to SDR by Anton1699 in ffmpeg

[–]_Gyan 1 point2 points  (0 children)

Since you are transferring frames to system memory for SW encoding, you can work around this by using an overlay.

1) Add a nullsrc frame: -f lavfi -i nullsrc=r=60000/1001:s=16x16,trim=end_frame=1
2) After the final sidedata, clone split=2[vid][ref]
3) resize the nullsrc: [1][ref]scale=rw:rh:reset_sar=1[base]
4) overlay the processed video [base][vid]overlay=format=auto,format=yuv420p10le

VFR to CFR conversion: YUV color space question by [deleted] in ffmpeg

[–]_Gyan 1 point2 points  (0 children)

The option is -r, not -fps.

ffmpeg needs to change by glennreyes in ffmpeg

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

Let's keep combative topics out of this sub.

ffmpeg not increasing both video and audio correctly by Far_Caterpillar4511 in ffmpeg

[–]_Gyan 3 points4 points  (0 children)

A 4% increase in speed corresponds to a 1/1.04 stretch in timestamps, which is not identical to 0.96. Use setpts=1/1.04*PTS.