Skip to main content

All Questions

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

Rendundant (?) conversion from RGBx to RGBA gstreamer

I'm trying to record my screen using gstreamer and encode its output to h264. Screen recording on Xorg with ximagesrc has BGRx as the available color output. However, nvh264enc only supports BGRA as ...
raybb's user avatar
  • 31
0 votes
0 answers
34 views

How to create a compatible encoding for the Blackmagic Media Express application using ffmpeg

I'm using the Blackmagic Media Express application frequently but now I'm stuck trying to transcode files using ffmpeg that will be able to play in the BME app. It seems that the BME application is ...
DrBob's user avatar
  • 1
-1 votes
0 answers
17 views

please suggest a good free video compressor website or software [migrated]

my os- win11,cpu ryzen5 7600,Ram - 32gb ddr5, gpu - AMD rx 7800xt , can someone please suggest a good free video compressor website or software which can reduce the video file size much but without ...
EzioWar's user avatar
0 votes
0 answers
29 views

YUV: Change the Chroma Subsampling and Bit Depth Without Losing Quality

Let's say I have a short video with YUV 4:4:4 and 10bit depth, and I convert it to a FFV1 with YUV 4:2:0 and 8bit depth. Is the FFV1 lossless? Will the colors be the same? If so, how do I convert ...
David Pilling's user avatar
0 votes
0 answers
173 views

How to correct Dolby Vision HDR video on Windows 10 (it is correct after sharing on Facebook)

I have a video that is recorded from an iPhone in Dolby Vision HDR. When playing it using the Windows Films & TV app, the colours look washed out (I assume it is because Windows does not have ...
A G's user avatar
  • 593
1 vote
0 answers
103 views

How to preserve contrast/highlights when converting ProRes HDR 10-bit to SDR using hevc_videotoolbox?

I'm trying to convert a 4K HDR 10-bit video clip to BT.709, preserving as much color as possible while allowing the clip to be played where HDR is not supported. With the command below, the output is ...
jslp's user avatar
  • 21
0 votes
0 answers
17 views

How to create a video encoding ladder for any aspect ratio?

For a given video uploaded by a user, I need to create three versions of it to cover standard definition (SD), high definition (HD), full high definition (FHD), and ultra high definition (UHD e.g. 4K)....
volume one's user avatar
0 votes
0 answers
166 views

How can make Drawtext Slide Animation on ffmpeg - Left top corner to Right bottom corner of video

I have found the command for overlaying the text "HelloWorld" right bottom to left top. but its not accurately working on edge to edge , instead its starting above the bottom edge and ends ...
Raymond's user avatar
  • 23
1 vote
1 answer
374 views

How to fix ffmpeg concatenated video playback issue?

I want to put watermarks in my video (in Specific time). I researched some sources, and it said I need to (video filter) reencode the whole video to put a watermark, but I don't have a high-end PC to ...
Raymond's user avatar
  • 23
1 vote
1 answer
313 views

FFmpeg add text in a box with rounded corners

Is there a way to add a text with countdown timer to a video using FFmpeg where the text is contained in a semi-transparent box with rounded corners with one of the side borders in a different color? ...
user1768741's user avatar
0 votes
1 answer
65 views

How to change the bitrate of a stream in the middle of a filter chain

Backgrond: I have an HSBS 3D video which is corrupt at some points, i.e. in some specific points of time, some frames are missing. Now I want to fix it (at least make it look better) in a way that I'm ...
M Mahdi's user avatar
1 vote
1 answer
289 views

How to merge raw H.264 video and AAC audio streams, making sure the video matches audio duration?

I had a corrupt screen recording, and I used mp4fixer to extract the raw h264 stream and the aac streams separately. The audio sounds just fine, but the h264 stream doesn't seem to have a well defined ...
Blacklight MG's user avatar
0 votes
0 answers
118 views

ffmpeg use of ildct flag in progressive encoding

I've encountered a scenario whereby someone else has configured an ffmpeg encoding command with flags that don't make sense, and I'm having difficulty understanding their purpose. The command in ...
Mikolaj's user avatar
  • 183
0 votes
0 answers
60 views

Setting transfer characteristics for overlaying multiple videos

I just wanna know whether I can set unique values of transfer characteristics/gamma for each videos while overlaying it on top of a single video. For example :- FFmpeg command : ffmpeg -f lavfi -i ...
Prakkash's user avatar
0 votes
1 answer
148 views

Ffmpeg concat filter produces frames from different videos

I have a workflow in which I give several videos to ffmpeg, each video corresponding to a shot, and ffmpeg concatenates them to produce a single video, interlaced at 25 fps. The problem is that ...
Rems's user avatar
  • 5
0 votes
1 answer
469 views

Convert MKV to HLS with all audio tracks and subtitles available

For the past few weeks, I've been trying to convert MKV and HLS files. Currently, I'm burning the first available subtitle track of the file in the video and keeping only the first audio track. What i ...
Tutifruti's user avatar
0 votes
1 answer
237 views

Green pixelated issue when applying -vf flag to ffpmeg hls transcoding

I'm trying to create chunks of multiple bitrates to play them smoothly across various devices and bandwidth. But the ffmpeg command output is creating green pixelated video. If I remove the -vf flag ...
The Mask's user avatar
  • 101
1 vote
1 answer
112 views

ffmpeg, need help to make small thumbnail slideshow video from long video

With ffmpeg command, I am trying to create a small thumbnail slideshow video of a large video by selecting one frame every 60 seconds and then combining those frames to make a video in a way that each ...
Pankaj's user avatar
  • 11
0 votes
1 answer
898 views

Edit video h.264 metadata without encode

How can I edit these video (h264) parameters (on pic) without encode? VUI parameters "video_signal_type_present_flag" and "colour_description_present_flag". As far as I understand, ...
Ligre's user avatar
  • 1
0 votes
0 answers
97 views

ffmpeg takes a lot of time when splitting a video towards the end

I have a 3 hours long video and I am trying to split the video at given intervals. The intervals which appear earlier are quickly split but the later ones takes a lot of time. The command that I have ...
Suvid Sahay's user avatar
1 vote
1 answer
799 views

ffmpeg shows "get_buffer() failed". Is this a bug?

ffmpeg version 2023-06-19-git-1617d1a752-full_build-www.gyan.dev i7-1255U, Windows 11 The command line is "ffmpeg.exe" -y -hwaccel qsv -ss 00:00:03.461 -to 00:00:12.009 -i "input....
Ryan's user avatar
  • 43
1 vote
1 answer
144 views

Why does my SVT-HEVC-encoded video run out of sync?

I'm trying to transcode a video (with audio) to HEVC using Intel's SVT-HEVC encoder. The video's audio tracks are in sync before transcoding. Both ffprobe and mediainfo agree that the input video is ...
Cygon's user avatar
  • 379
1 vote
0 answers
236 views

FFMPEG - process interlaced frames in mixed footage separately

I have a video file - an NTSC DVD rip. I want to convert it into PAL. The problem with that NTSC DVD is that it's a mixture of 23.976 fps telecined content and true 29.97 fps interlaced content. I ...
Compact's user avatar
  • 11
0 votes
0 answers
124 views

Is there a video container format (mainstream or experimental) that can properly transmit Black Mirror's Bandersnatch?

Black Mirror's Bandersnatch From Wikipedia: Black Mirror: Bandersnatch is a 2018 interactive film in the science fiction anthology series Black Mirror. It was written by series creator Charlie ...
John O's user avatar
  • 755
0 votes
0 answers
223 views

Live video in facebook is lagging while using ffmpeg from video link

Livevideo in facebook is working fine for local device video(case 1) but its having lagging issue from video link(case 2) using FFMPEG. Please find command for the same and log. Case 1 - Command : ...
Isteyak Ali's user avatar
0 votes
0 answers
531 views

Which properties have to match to use the concat remuxer in ffmpeg?

I am trying to generate a video to be concated into another video via the ffmpeg concat remuxer. The remux process needs to be extremely efficient for my purposes so I am trying to generate the video ...
Gradyn Wursten's user avatar
0 votes
1 answer
235 views

Looking to compress just a PGS stream of a video

I have a video stored as an mkv with pgs subtitles. I noticed when I burn the subtitles in with this command hereffmpeg -i "movie.mkv" -filter_complex [0:v][vid];[0:s:1][sub];[vid][sub]...
goodkid38's user avatar
0 votes
1 answer
1k views

How to concatenate videos with different bitrates using ffmpeg

I want to concatenate two files having the following outputs from ffmpeg : file1: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file1.mp4': Metadata: major_brand : isom minor_version : 512 ...
raoulpetite's user avatar
1 vote
2 answers
3k views

Convert 10bit HDR video to 8bit frames

I want to convert a yuv420p10le video into .png frames at 8bit (0,255) without washing away the colours. How can I do that? The usual command I use is: ffmpeg -i input.mp4 '%05d.png' However this ...
Dave's user avatar
  • 41
1 vote
0 answers
640 views

What variant of Spline algorithm is used in "spline" parameter from "scale" filter?

FFmpeg has two filters to scale the video: scale and zscale - zscale has spline16 and spline36 parameters (they represent Spline16 and Spline36 variants of the algorithm), scale has spline parameter. ...
Lex's user avatar
  • 343
21 votes
6 answers
17k views

ffmpeg: limiting to single CPU core when encoding h264

I need to reduce the framerate of some H.264 videos in the background without maxing out my CPU (on Linux). Somehow -threads 1 has no effect at all: ffmpeg -threads 1 -i 50fps.mp4 -filter:v fps=30 ...
kontextify's user avatar
1 vote
1 answer
3k views

ffmpeg overlay image on video & trying to keep the original video quality

I'm adding overlay images to a video. and I'm trying to make the output very similar to the original video in order to get the best quality for example if the original video (like the one in the ...
Bassel999's user avatar
1 vote
0 answers
79 views

Having audio and playback issues when attempting to capture DVCPro50 tapes over Firewire with FFmpeg

I've been trying to capture DVCPro50 tapes that were recorded at 23.976 fps over Firewire and I'm unable to come up with a command to get the file to play back properly. I can get a file with audio at ...
nick's user avatar
  • 11
0 votes
1 answer
2k views

what's the difference between SAR & PAR in video (Detailed Info)

i want to know what's the big difference between the SAR and PAR, also how ffmpeg automatically deciding the DAR value with the SAR and video width & height. why the SAR value is so important for ...
Ayan's user avatar
  • 1
0 votes
0 answers
350 views

FFMPEG failing to render PNGs as ProRes 4444

I have a series of PNGs with transparent background that I would like to render as a video with an alpha channel. I tried running the following ffmpeg command: ffmpeg -y -r 60 -i frames/%04d.png -c:v ...
rcplusplus's user avatar
0 votes
0 answers
152 views

Handbrake videos displayed letterboxed, how to avoid?

I have encoded a DVD with HandBrake as mkv with one of the GENERAL (720p) presets. When I play this on my SONY TV (with the TV's function to play video files) it is shown letterboxed (black bar on top/...
Horst Walter's user avatar
  • 2,041
0 votes
0 answers
110 views

audio and video not correctly sync after concatenation

totally new to video editing in general and in need of some help =) command that I'm using (windows batch): (echo file cucca.jpg.mp4 & echo file cucca.fade.mp4 & echo file cucca.jpg.mp4)>...
Robson's user avatar
  • 101
0 votes
2 answers
92 views

Are watermarks constrained by the quality of the underlay video?

This may be a stupid question but I have to clarify it for my own peace of mind, so bear with. The good news is it's more or less a yes/no question for the FFmpeg/AV experts who know the answer. Say I ...
Hashim Aziz's user avatar
0 votes
0 answers
1k views

H265 10 bit to H264 8 bit through NVENC looks terrible

I'm currently using FFMPEG run with Sickbeard Mp4 Automator to convert H265 video to H264 since my phone chugs hard playing H265 10 bitvideo. I set it to use NVENC and it's unnoticeable for brighter ...
Beefmaster5000BCE's user avatar
0 votes
1 answer
1k views

Why on youtube a 1080p video looks better than 720p ? (My screen max resolution is 720p)

A resolution greater than 720p looks better on my 720p screen . I want a clear and basic answere to understand this.
Asif's user avatar
  • 55
0 votes
0 answers
161 views

Merge Videos & Add a Overlay ffmpeg

i am trying to merge intro & outro videos into my main input video and also add a Overlay image in main input video. i wrote this. !ffmpeg -i "$introScreen" -i "$inputVideo" -i ...
Ayan's user avatar
  • 1
0 votes
1 answer
2k views

Removal of select subtitle tracks and audio tracks from mkv file in batch

My problem is that I have 2 subtitle tracks, one is named "English signs and songs" and another is called "English full". I also have English and Japanese audio tracks (dual audio)....
Haadee Bin Hafees's user avatar
0 votes
1 answer
2k views

Segmenting a video results in incorrect timecode data

When I segment a video file into 5-second chunks: ffmpeg -i input.mp4 -c copy -f segment -segment_time 5 -segment_format mp4 chunk-%d.mp4 Each chunk is exactly 5 seconds long, but when playing the ...
pigeonburger's user avatar
  • 2,418
0 votes
0 answers
1k views

Encoding video from VFR still images

I am familiar with the use of ffmpeg to encode video from a series of still images (e.g. a sequence of PNG files) where the images are frames at a constant frame rate. Is it possible to encode a video ...
Jason C's user avatar
  • 10.9k
1 vote
0 answers
631 views

How can I decrease the V8 processing time when using ffmpeg?

I am working on a project where a lot of videos need to be converted quickly in a fairly good quality. I decided to use ffmpeg and V8 encoding because of the licensing of the codec. h.264 isn't an ...
PugsAreCute's user avatar
0 votes
1 answer
54 views

How was this video made

ok guys I'm genuinely confused how this video was made and was wondering whether anyone could shed light on how this video might have been made or encoded or something. this video in discord is 51 ...
caserkiller's user avatar
0 votes
0 answers
130 views

how can I read all file in a folder and compute PSNR for them using ffmpeg command as a batch file?

I have some videos that I encode them to mp4 file using FFmpeg, now I need to write a batch file that read all the file in a folder and compute PSNR for them and save in separate text file for each ...
david's user avatar
  • 101
2 votes
2 answers
5k views

How to cut video in multiple place and combine them without re-encoding using FFMPEG?

Let's say I have 10-minute video, I want to remove 1:00-2:00 and 4:00-5:00 Is that possible to do that on one FFmpeg command? (Other program also welcomed) Or maybe a command to cut the part that I ...
World Peace's user avatar
0 votes
1 answer
1k views

how do I read videos from a file and use ffmpeg to save each video with different bit rate?

I want to use the UGC dataset and after reading each video, save each video with a different bitrate and plot the R-D curve. for this aim, I want to use FFmpeg and automatically do the mentioned ...
Negin's user avatar
  • 3
0 votes
0 answers
22 views

Does it make sense to use HEVC instead of H.264 for encoding motion graphics?

I can't seem to find a discussion on this, but would it make sense to encode professional video with HEVC, granted you have an Nvidia GPU? I know the format is usually used in situations where speed ...
ANimator120's user avatar