Skip to main content

Questions tagged [ffmpeg]

FFmpeg is a free software project that produces libraries and programs for handling multimedia data. The most notable parts of FFmpeg are libavcodec, an audio/video codec library used by several other projects, libavformat, an audio/video container mux and demux library, and the ffmpeg command line program for transcoding multimedia files.

Filter by
Sorted by
Tagged with
0 votes
0 answers
9 views

Adding many scriptures on top of a video

I want to add scriptures embedded on top of a say meditation video like below example scripyures i have will be in a text file and I choose a video on youtube downloaded to my local. Now I want to add ...
Jaango Jayaraj's user avatar
0 votes
1 answer
19 views

What are brightness, gamma, and lut filters doing to my video? What's the difference, which should I prefer?

I get videos that were recorded at a conference, which I have to edit and produce. Usually there is only modest casual lighting, so no production or studio level lighting. During record, the tech has ...
user3643's user avatar
  • 2,264
0 votes
0 answers
4 views

How to prevent "auto-inserting filter 'auto_scale' between the filter..." within the filter_complex?

I'm using filter_complex string with vulkan(by hwupload and download). FFmpeg keep saying that "auto-inserting filter 'auto_scale' between the filter..." and doing something I didn't ...
user44311's user avatar
0 votes
0 answers
12 views

Implement video playback using NodeJS, FFMPEG and HLS.JS

I have RTSP stream coming from camera, which is converted to fragmented mp4 using FFMPEG. It is stored in a folder. Also manifest.m3u8 file is created using FFMPEG. I am using Hls.js player on ...
JayEm's user avatar
  • 1
0 votes
0 answers
13 views

ffmpeg: Apply an expression to dynamically control intensity of lowpass, highpass, aphaser, or aecho

This is an audio question, not a video question, but hope it belongs here. I am constructing complexFilters to procedurally generate audio with ffmpeg via fluent-ffmpeg. The interesting part of my ...
Wes Modes's user avatar
  • 123
0 votes
0 answers
10 views

Is there any workaround to set drawbox color conditionally?

i want to know if it is possible that setting drawbox color conditionally. With drawtext filter there is option -textfile which gets text value from a local file so that i can get dynamic text value ...
I have 10 fingers's user avatar
0 votes
0 answers
19 views

Is there a way to convert GOPRO MAX .360 files to .mp4 without using the gopro player app?

I have a gopro max camera that I use to record 360-degree VR footage. Up until now i have been using the official gopro player app to convert my .360 footage to .mp4, however, I am finding that the ...
FenFox's user avatar
  • 33
0 votes
0 answers
35 views

Difference between crf and cq settings in ffmpeg

What is the difference between -crf and -cq parameters of ffmpeg? I am trying to compress 1080p h264 videos into 1080p h265 videos with high quality and low size. I have noticed that in some guides ...
jamana's user avatar
  • 1
0 votes
0 answers
23 views

ffmpeg - set dynamic pts on video

I try to set pts for each frame of the input video. Here is the command I use to slowdown frame 1 and speed up frame 2: ffmpeg -i input.mkv -filter_complex "[0:v]setpts='PTS*2*eq(N,0)+PTS*0.5*eq(...
legeba's user avatar
  • 1
0 votes
0 answers
15 views

ffmpeg - Trouble using if statement with overlay

I would like to apply a .png on two frames of my input video but I'm having trouble using an if statement to determine the location of the overlay. Expected: Frame n°7 -> Frame n°7 + overlay.png ...
legeba's user avatar
  • 1
0 votes
2 answers
31 views

ffmpeg input -ss accuracy

As from FFmpeg version 2.1, -ss used as an input option should be frame accurate (when transcoding, not stream-copying). I tried it with different versions of FFmpeg, up to recent ones, and with MPEG-...
templeton's user avatar
0 votes
1 answer
20 views

Seeking Tool(s) to Restack Frames from an MP4 Video of a Total Solar Eclipse to Keep the Sun Always Centered

I would like to take a video that I recorded of the 2024 Total Solar Eclipse edit it to keep the center of the Sun in the center of the video. I used a SkyGuider Pro tracking device but was not able ...
osswmi's user avatar
  • 1
0 votes
0 answers
11 views

Configuring ffmpeg HLS demuxer buffering strategy

Are there options to configure the buffering strategy of ffmpeg's HLS demuxer in a scenario where I use it to pull a HLS stream as input and I re-stream that? I am looking for options that would allow ...
jabal's user avatar
  • 173
0 votes
0 answers
28 views

How do I slow down audio in ffmpeg by more than half (*NO* tempo correction)

I have video that I want to slow down to 1/4 speed using ffmpeg. Unfortunately, I can't figure out how to get the audio to slow down without any attempt to maintain pitch. Everything I find by ...
Stonecraft's user avatar
0 votes
1 answer
31 views

Add custom Poster Frame to a movie with ffmpeg by combining two commands with a pipe

I can export a frame as .png from, say 1.2 seconds from the beginning of the movie (=1 second and 5 or 6 frames with 25 or 30 fps input): ffmpeg -ss 1.2 -i input.mp4 -frames:v 1 image.png And then ...
wywh's user avatar
  • 61
0 votes
0 answers
34 views

FFmpeg RTSP Recording: Video Timestamp Does not Match With Recorded MP4 File Timestamp

I'm currently testing by streaming a 30 fps example flv video using a local Happy-Time RTSP server. This is the flv file i am streaming with RTSP: I recorded the video with below ffmpeg command: ...
lastpeony4's user avatar
0 votes
0 answers
16 views

Unable to add text box with background color in ffmpeg

I have a video on which I want to have a text box on top of the video for this purposes I am using ffmpeg's following code `import subprocess def byte(): video = "assets/byte/bite.mp4" ...
nish's user avatar
  • 1
0 votes
0 answers
24 views

Subtitle word scaling with ASS file causing line shifting

0 I'm trying to make my subtitles scale one word at a time, but I'm running into an issue with the whole line shifting. Is there a way I can scale a word, and make the other words not move sue to the ...
Barrard's user avatar
  • 101
0 votes
1 answer
34 views

How to properly specify font file for ffmpeg as it's always defaulting to Arial?

When calling ffmpeg it keeps defaulting to Arial-MT / Arial-BoldMT even when specifying a font. How do you correctly specify the fontfile? When specifying any font it will always default back: [...
Jim Jans's user avatar
0 votes
0 answers
12 views

Channel mapping in FFmpeg conversion of Dolby 7.1 mlp file to 8 channel wav file

I have a mlp file with 7.1 audio with the following channel mapping (viewed using MediaInfo): L R C LFE Ls Rs Lb Rb I want to convert it to an 8 channel riff64 wave file, so I'm using the following ...
Stan Duncan's user avatar
0 votes
0 answers
16 views

FFMPEG drawText with fontSize scale "bounce" animation

I'm trying to add a "bounce" animation on a section of text from a known startTime and endTime My initial approach has been to split the start and end times into a first half ( scale up ) ...
Barrard's user avatar
  • 101
1 vote
1 answer
74 views

What exactly do FFmpeg options `-itsoffset` and `-itsscale` do?

If I understand correctly, the answer at Lossless A/V delay with ffmpeg seems to suggest that option -itsoffset leads to additional metadata, called "editlist", being added to the video file....
finefoot's user avatar
  • 141
0 votes
0 answers
23 views

Same FFmpeg command produces different Matroska MKV output file checksum

The following exemplary FFmpeg command takes an MP4 file, doesn't do any re-encoding, but simply writes the output to an MKV file: ffmpeg -i input.mp4 -c copy output.mkv If I run the same command ...
finefoot's user avatar
  • 141
0 votes
0 answers
35 views

How to delay beginning of audio without re-encoding?

I have a file containing both video and audio stream. I want to delay the audio by 5 seconds relative to the beginning of the video, without having to do any re-encoding. The command I tried was: ...
finefoot's user avatar
  • 141
1 vote
1 answer
26 views

In which order do `-itsscale` and `-itsoffset` apply in my FFmpeg command?

I want to use both -itsscale and -itsoffset in my FFmpeg command, but couldn't find any information in the docs https://ffmpeg.org/ffmpeg.html or elsewhere, if the order, in which they're mentioned in ...
finefoot's user avatar
  • 141
0 votes
1 answer
22 views

Blend the brightest pixels of a frame to the next with ffmpeg?

I have googled for days, and I just can't figure out how to use ffmpeg to blend the brightest pixels to the next video frame. And lastly save the last frame as an image. Similar to "evaluate ...
tim's user avatar
  • 103
0 votes
1 answer
23 views

ffmpeg: smooth zoompan with no jiggle

I'm trying to apply a smooth zoom effect to my 5-second video using FFmpeg, but I'm encountering a shaky/jittery zoom. Here's the command I'm using: ffmpeg -i island_zoom.mp4 -vf "zoompan=z='min(...
Kataklycm's user avatar
0 votes
1 answer
33 views

How to create animated gif from images files?

i tried this command line D:\Captured>ffmpeg -framerate 1/2 -start_number 1 -i "D:/New folder (76)/Image%d.png" -loop -1 D:/test.gif but getting error [image2 @ 00000000026324a0] Could ...
Dubi Duboni's user avatar
0 votes
0 answers
27 views

Color histogram transfer with ffmpeg

I don't know if this is even possible, and I'm new to this, but I'll try and ask anyway: I have two videos that are largely the same; they are recordings of the same thing. However, in one of them, ...
ppw0's user avatar
  • 101
0 votes
1 answer
52 views

How to create a box shadow effect when overlaying an image on a video using FFmpeg?

I'm working on a video project where I need to overlay an image on a background video. I've managed to achieve the basic overlay using the following FFmpeg command: ffmpeg -i background.mp4 -i ...
Kataklycm's user avatar
0 votes
0 answers
28 views

How do I change the color format of a video in ffmpeg?

I have upscaled an old DVD to 4K through various samples and appended the files producing the following x265 file within an .mkv container: My TV can't directly play the video, though, usually able ...
bigboss's user avatar
0 votes
0 answers
17 views

{Help} FFMPEG with NVIDIA hardware acceleration

I just started using ffmpeg so I am new this. I am currently (code-1) to overlay a simple png on a video nothing fancy. Now I want to the same thing but with hardware acceleration using a NVIDIA GPU. ...
Rahul's user avatar
  • 1
0 votes
1 answer
59 views

Save ffprobe Output to Log File?

I made a script for ffprobe I can use to view information of my media more easily. An additional feature I want is to breakout the output information to a log file. Implementation 1: @echo off for %%...
Mr. Mendelli's user avatar
0 votes
1 answer
38 views

ffmpeg - How to do H.265 encoding on ffmpeg using Mediainfo encoding data?

This is the Mediainfo File of my encoded video. The original video has multiple audio tracks & subtitles. I want to keep them all intact. Plz note the encoding needs to be done on Android via ...
Phoenix 's user avatar
0 votes
0 answers
25 views

Retain Embedded Cover Images Between ffmpeg Conversion?

I like to embed a cover image into my video files, but I have noticed that they are lost whenever I convert or remux, is there a way to retain these embedded images like I can with metadata? Are there ...
Mr. Mendelli's user avatar
0 votes
0 answers
18 views

How to concat videos and images with ffmpeg

I have videos and images. I want to concatenate them. And I want the images to be displayed for specific duration, say 10 seconds. If I first convert image to video and concate, it works ffmpeg -y -...
ARTEM DIACHUK's user avatar
0 votes
0 answers
13 views

FFmpeg CRF causing glitches on fade-ins

I'm transcoding some high bitrate h264 5K videos which start with a fade in, at CRF 22 H264 mp4 using FFmpeg via MyFFmpeg. The fade ins are all causing some blocky glitching for a few frames. It's not ...
user43899's user avatar
0 votes
0 answers
26 views

ffmpeg fixed video noise reduction

I have a camera with a fixed noise (video sample). Is it possible to remove this noise completely using ffmpeg? I tried ffmpeg "-vf" noise reduction but didn't find any way to remove the ...
leo's user avatar
  • 101
0 votes
0 answers
19 views

Audio issue with pcm_bluray when creating BD-Video using ffmpeg, tsMuxer and Xorriso

ffplay and VLC can playback HDV.m2t source camcorder clips joined with cat. That is video and audio seamingly works with this ffplay output: ffplay -hide_banner HDV01.m2t [mpegts @ 0x7f82c4000cc0] ...
Terje's user avatar
  • 1
0 votes
0 answers
29 views

How can I replace next frames using FFmpeg?

I have a folder named frames with images, named frame0001.png, frame0002.png, frame0003.png, etc, all the way to frame0061.png (or frames/frame%04d.png using FFmpeg). I have an input video file simply ...
winscripter's user avatar
0 votes
0 answers
11 views

How to concat several video clips with different property using ffmpeg

I want to concat several videos using ffmpeg. I have 1.mp4 2.mp4 3.mp4 files I used this command ffmpeg -y -i 1.mp4 -i 2.mp4 -i 3.mp4 -filter_complex "[0:v]trim=0:10,scale=1920:1080,setsar=1[v0];[...
ARTEM DIACHUK's user avatar
0 votes
1 answer
30 views

Impact of reencoding an HEVC file: How much loss if I do it in two steps, vs. going directly to a lower bitrate?

My scenario is as follows: Working with large original 8K file, captured at 100Mb/sec with hvec (h265) codec The file was reencoded at 50Mb/sec for a reasonable balance between size and quality Now ...
Cahit's user avatar
  • 53
0 votes
1 answer
52 views

How to extract video tracks from an mp4 file and individually save them to file

My Mercedes-Benz dashcam saves to SD card the video feeds from the front and rear cameras (in 1-minute long chunks) as separate tracks in the same MP4 file. Track 1 is from the front camera; track 2 ...
Deeday-UK's user avatar
  • 101
0 votes
0 answers
62 views

ffmpeg copy some audio streams and re-encode some audio streams

The Problem I have a mkv file that contains audio in a format that not all my devices support. To get full support, I want to copy that audio and convert it while retaining the original audio. Input: ...
not_anyone's user avatar
0 votes
0 answers
80 views

FFMPEG Invalid data found when processing input when muxxing ASS file

I made a Python script to use FFMPEG to extract a subtitles file(ASS) from an MKV, modify a few things with Pysubs2, and then remux it as a new sub. The code works has worked correctly until now, but ...
Efraín's user avatar
  • 101
0 votes
0 answers
19 views

Ffmpeg command to mux in subtitles matching the style of VLC

I am trying to mux in subtitles with ffmpeg, but I am having trouble getting the desired style and output with a reference point being VLC's standard format of showing subtitles matching the look of ...
bigboss's user avatar
0 votes
0 answers
18 views

Bulk crop, change speed, volume, zoom, contrast etc Videos

I want to edit some videos in batch, i want to be able to change volume, speed, zoom, contrast, volume and also be able to crop the videos. I want to be able to adjust all the mentioned options.
Marian Pepa's user avatar
0 votes
0 answers
9 views

whatsapp media files cannot be concatenated by ffmpeg

hi I have written a Python program to concatenate multiple video files using ffmpeg concat demuxer. initially, I used media files from WhatsApp in my mobile which were sent to my laptop via email. but ...
nish's user avatar
  • 1
0 votes
0 answers
26 views

Processing h264 video/audio stream

I have separate raw audio and video frames from a camera that I'm trying to merge to a single file. Video processing I have JVT NAL sequence, H.264 video, main @ L 31 data, I had the frames separated ...
Dinamo's user avatar
  • 1
0 votes
1 answer
56 views

How to change resolution without compromising video quality using ffmpeg?

I'm trying to develop a simple video transcoding system. When you upload a video, After extracting the video and audio separately, I want to encode them at 360, 720, and 1080p resolutions respectively ...
blake banker's user avatar

1
2 3 4 5
44