Skip to main content

Questions tagged [video]

Questions about video editing, streaming, conversion, capturing or video output. Use a more specific tag if possible.

Filter by
Sorted by
Tagged with
-1 votes
1 answer
361 views

How to mute audio by looping the last second of every x seconds in the video?

UPDATE: Баяр Гончикжапов and inspired by this post, tried: ffmpeg -i input.mp4 -af "volume=volume=0:enable ='gte(mod(t\,20)\,15)'" -c:v copy -c:a aac -b:a 192K output.mp4 Post solved, thank ...
Scenario's user avatar
0 votes
0 answers
472 views

FFMpeg Concat error: [mxf @xxx] index entry xxx+ TemporalOffset 1 = xxx, which is out of bounds

Use FFmpeg to concatenate broadcast files about 50 times a day. Files are transcoded to XDCAMHD prior to being concatenated. This error occurs on 15% of all concats even if there is only 1 source file....
Rens's user avatar
  • 91
-1 votes
1 answer
67 views

Creating 8K HDR Stillframe AV1 videos?

I would like to create 8k/4k (DCI/UHD) videos out of mp3 audio tracks. The whole video would be a single image, but I'd like the image to be UltraHDR and the end output video to have HDR metadata. I ...
MyPreciousss's user avatar
1 vote
1 answer
142 views

FFMPEG - How to Merge Three Files - Only Middle One Has Audio

I have three videos that I want to merge into single one. Intro video (mp4) - 3 seconds - No Audio Main video (mp4) - 1 minute - With Audio End video (mp4) - 3 seconds - No Audio When I use ffmpeg, ...
DigitalNomad's user avatar
  • 1,708
-2 votes
1 answer
101 views

Video to geotagged images using powershell

I have an MP4 from a GoPro with a gpstrack included. Now I am trying to extract a geotagged image sequence from that video. For that I am currently using FFmpeg and exiftool; I'm open to better ...
e-shirt's user avatar
  • 105
6 votes
0 answers
216 views

How to correct Hindi text rendering when using FFmpeg?

I have a FFmpeg script to add some Hindi text to the MP4 video file. The FFmpeg command looks like this ffmpeg -i template_video.mp4 -filter_complex "drawtext=text='नमस्कार जी मैं हूँ':fontfile=...
Varun Raj's user avatar
  • 161
0 votes
1 answer
98 views

How to speedup video with FFmpeg based on timestamps from CSV?

There are already questions with regard to speeding up a video with FFmpeg, like this one. My question is: Is there also a way to specify multiple sections which shall be speedup via an external CSV. ...
tim's user avatar
  • 350
0 votes
1 answer
106 views

Why does a USB-C connected monitor goes blank when an embedded HTML browser video starts playing?

I have a Latitude 7490 i7-8650U 32GB RAM Windows 10 system with 2 external HP 24es monitors. The graphic card is Intel UHD Graphics 620. My resolution is set to 1920x1080. I am using a dual HDMI to ...
Fresh Codemonger's user avatar
0 votes
0 answers
46 views

Why can my device through PLEX only play one of these two 4K files?

I have two 4K .mkvs consisting of both video and audio tracks - my device seems to be able to play 4K content just fine for a movie, but won't playback upscaled 120 fps content. Both videos are x265 ...
bigboss's user avatar
  • 11
0 votes
0 answers
57 views

How to automatically convert zoompan filter's private fps to input video's fps?

I have a 24 fps video, I'm trying to use the zoompan filter in my video and I'm having trouble setting the filter's private fps. If you set the fps in the zoompan filter to fps=30, the video and audio ...
Hiddos's user avatar
  • 1
0 votes
1 answer
148 views

Complex ffmpeg multi-encode/streamcopy/muxing scenario: is this actually doable?

I'm trying to do multiple muxing/re-encode/copy operations on an input video with ffmpeg and have run into roadblocks with the methods I've tried; before I continue testing, I want to confirm whether ...
rudds's user avatar
  • 3
0 votes
0 answers
176 views

Extract frame from .hevc video with ffmpeg

I use the following command to create a snapshot 10 hours into a video: ffmpeg -y -ss 36000.0 -i INPUT -frames:v 1 -q:v 1 output.png But I'm running into an issue where this command doesn't work with ....
Gman's user avatar
  • 23
0 votes
0 answers
117 views

FFmpeg batch compressing mp4s and changing them to gifs

I want to take a folder of mp4s and with ffmpeg compress them and turn them into gifs. I do this for each file using this code: ffmpeg -i input.mp4 -c:v libx264 -tune zerolatency -preset ultrafast -...
RayRay's user avatar
  • 1
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
0 votes
0 answers
50 views

Trying to invoke play on DLNA-device with streaming from Synology NAS

I am trying out the DLNA protocol for the purpose of invoking media on my LG TV, where the media is stored on a Synology NAS (hosted with Media Server) on the same network. I have successfully found ...
Andreas Zita's user avatar
0 votes
0 answers
32 views

Dynamic Location Offsetting while Desktop Video Capture in FFPMEG

is there a way to dynamically change offsets during screen capture ? but this offset values are static (eg. 66 and 77) and we cannot change these values during video recording. simply I am trying to ...
Zen Of Kursat's user avatar
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
0 votes
0 answers
402 views

How to extract keyframe timestamps from video using ffmpeg

I want to extract the timestamps of keyframes from a video using ffmpeg. I found this thread that explains pretty much how to do it. However, it appears that my video does not have the pkt_pts_time ...
K G's user avatar
  • 101
0 votes
0 answers
42 views

Physical camera as virtual camera to stream a prerecorded video

I have a cam with a SD card (AKASO EK7000) and my goal is to stream a prerecorded video, stored in the SD card, so that, when I select the cam, I can see that video. So it's like the physical cam ...
Federica Guidotti's user avatar
0 votes
1 answer
321 views

How to change the sample rate of audio for all video files in a directory?

I performed screen records using wf-recorder and I realized that it was hardcoded to encode at 44.1 kHz, but Pipewire defaults to 48 kHz. So it turned out the audio would be perfectly in sync if I ...
Blacklight MG's user avatar
1 vote
1 answer
305 views

Using ffprobe to get count of audio streams in mp4 file

I am looking for a way to get a count of the number of audio streams in mp4 files. Among some big long threads (mostly pre-2019 dated) on using ffprobe for this I found the following command: ffprobe ...
Alan MusicMan's user avatar
2 votes
0 answers
180 views

What file properties affect the size of a video file?

This question is related to one I just posted on Stack Overflow about the meaning of the Windows shell file property "Video compression". For a set of 71 video files, I'm looking at their ...
NewSites's user avatar
  • 788
0 votes
0 answers
49 views

How to compute the total output duration after applying Xfade in FFmpeg?

I'm trying to understand how to get the expected total duration after applying Xfade. The answer here says: Simple illustration: each input is 3 seconds long and the fade transition is 1 second long ...
threeFatCat's user avatar
0 votes
1 answer
54 views

How to extract parts of the international conference video based on spoken language using command line

I have an international conference video which contains two spoken languages, i.e. the video is mixed with sentences of English and Chinese. I would like to remove the Chinese part by command line. ...
John Paul Qiang Chen's user avatar
0 votes
1 answer
314 views

How to choose correct color space and transfer function with ffplay

I need to play a video using ffplay that was recorded with GeForce Experience screen recorder, but the rendered video has incorrect colors. It works correctly if I play it with VLC player, but I need ...
user17952421's user avatar
0 votes
0 answers
190 views

FFmpeg: Adding a new audio into video and adjust volume of both audio

I'm trying to add a new audio file to the existing audio track in my video. 1. If the video is longer, I want the newly added audio to repeat throughout the entire video, but if the video is shorter ...
Scenario's user avatar
0 votes
0 answers
74 views

How to post-process these Blu-Ray files?

I have downloaded some video files (MP4) from the web and want to create a BD from them. I've used ConvertXtoHD3 for that, and it does basically a nice job, with menus and all that. Unfortunately the ...
Tipa Riordan's user avatar
0 votes
1 answer
208 views

How to convert multiple .VTT segments to one single .VTT file or subtitle file?

I have a list of .VTT segments from a bunch of URLs for a stream looking like these (the total amount of segments is much higher): https://drod24s.akamaized.net/all/clear/none/d9/...
bigboss's user avatar
  • 11
0 votes
0 answers
51 views

MPEGTS across devices has choppy audio

I want to stream video and its audio between devices. On my pc I am transmitting it using ffmpeg -re -i "video.mp4" -vcodec libx264 -f mpegts udp://192.168.1.106:1234?pkt_size=1316 And on ...
Juli's user avatar
  • 1
3 votes
1 answer
267 views

FFmpeg zoompan animation results in zig-zag pattern

The goal is for a user to specify a zoomPoint in a video and we then render that using FFmpeg. There will be a zoom in and zoom out animation. Here are some example values: "scale":4, ...
kregus's user avatar
  • 81
0 votes
1 answer
327 views

How to put thumbnail on the video?

Does someone knows how to put thumbnail on the video? I have local files on my windows' laptop, but there are no thumbnails on it, so someone knows how to put thumbnails on it?
Haziq's user avatar
  • 67
2 votes
1 answer
147 views

FFmpeg - Using Firequalizer filter based on duration

I try to use Firequalizer filter as audio equalizer in my video. I want the filter to be applied on the first 30 seconds of each minute in the video and disabled for the next 30 seconds. It will have ...
Scenario's user avatar
0 votes
1 answer
2k views

How can I get a video URL list (e.g. YouTube playlist) as a playlist file (for media players)?

Following these steps has gotten me almost all the way: I can get a text file of YouTube URLs from a YouTube playlist by using this https://thetubelab.com/get-all-urls-of-youtube-playlist-channel/ ...
hamstar's user avatar
  • 103
2 votes
1 answer
166 views

Interlaced pixels on texts and UI elements randomly happening when some videos are playing

I've got a very annoying bug, and I'm afraid I'm running out of clues to find where the problem may come from. What? Sometimes, my screen starts to "randomly" have a visual bug which makes ...
Ren's user avatar
  • 131
1 vote
0 answers
8k views

I would like to play 2 x 4k videos side by side on dual monitors on Linux using ffplay

I would like to use ffplay (if possible) to play 2 x 4k videos on different (dual) monitors connected to the same Linux (Ubuntu) machine. They are same videos (same in length, etc), just differ in ...
user1884969's user avatar
0 votes
0 answers
106 views

How to use trim and concat of FFmpeg correctly?

I'm using the media-autobuild_suite (on Windows 11). My installation is a week old. Tomorrow I will update it again. I have one private video file. I wish to cut out two parts of it and then merge the ...
Su-47's user avatar
  • 127
0 votes
0 answers
156 views

ffmpeg stream image flow to AWS S3

For a video monitoring solution, I want to push thumbnails of an incoming video (TS/UDP) to a S3 bucket from where those thumbnails are shown on a web page Currently the following bash loop is working:...
Jean-Michel's user avatar
1 vote
1 answer
461 views

Adding timer to video using FFmpeg

I'm trying to find a way to add a countdown text to videos using FFmpeg. I want the text to be "Time left: mm:ss" but to avoid leading zeros for minutes. So, for example: Time left: 10:01 ...
user1768741's user avatar
0 votes
1 answer
31 views

I need to make a flip video and add 2 watermarks, my script doesn't work for some reason? ffmpeg

I need to make a flip video and add 2 watermarks, my script doesn't work for some reason (the script just flips the video, but does not apply watermarks). ffmpeg -i input.mp4 -i watermark.png -i ...
DIABOLI FERRE's user avatar
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
1 vote
0 answers
386 views

Performing nvidia gpu scaling on ffmpeg desktop captured using ddagrab (on Windows)

Looking for some advice on how to combine options relating to screen grabbing with ddagrab using ffmpeg, encoding using nvenc and scaling down in the process. I can successfully capture desktop to ...
signumnova's user avatar
2 votes
2 answers
388 views

Is it possible to change tags that are not writable by exiftool?

I have a (Dolby Vision) video file test.mp4 but has hev1 in video track Codec ID (ffmpeg) or Compressor ID (exiftool) exiftool -CompatibleBrands -CompressorID test.mp4 Compatible Brands :...
Steven Yang's user avatar
0 votes
1 answer
212 views

FFmpeg text box padding using boxborderw

I'm trying to overlay a text on a video using FFmpeg 6.0 drawtext filter. In the documentation it says: boxborderw: Set the width of the border to be drawn around the box using boxcolor. The value ...
user1768741's user avatar
2 votes
1 answer
122 views

I cannot seem to add subtitles to MP4 using FFmpeg

I have a video called test_video.mp4 downloaded from YouTube This is the information of the video obtained by running ffmpeg -i test_video.mp4: Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'test_video.mp4'...
Nau's user avatar
  • 205
2 votes
0 answers
66 views

How to know my audio codec will support the output container in. Fluent-ffmpeg [closed]

I am building a YouTube downloader. As YouTube doesn’t store high quality video with audio and store them separately so I have to merge them on server. For merging I am using a Node.js server with ...
Rakesh's user avatar
  • 21
1 vote
0 answers
81 views

How do I create very large .gif files from .png frames, avoiding memory limitations?

I would like to create a .gif from single .png frames and am dealing with lots of very large files. The .png files are roughly 10GB in total. So far, I have done the following: ffmpeg -framerate 30 ...
knods's user avatar
  • 11
0 votes
0 answers
251 views

How can I play multiple videos in VLC with a specified delay between them?

I've just read the VLC-based answer to this question: How to play multiple videos side-by-side synchronized? ... and it works for me. However, I now want to play one of the videos at a delay. How can ...
einpoklum's user avatar
  • 9,751
1 vote
0 answers
36 views

What is the typical workflow for running "multiple" FFmpeg commands? [closed]

For example, I have listed these out as possible commands so far: # ogg to mp3 ffmpeg -i audio.ogg -acodec libmp3lame audio.mp3 # add audio to video: ffmpeg -i audio.mp3 -i video.mp4 video_audio_mix....
Lance's user avatar
  • 387
0 votes
0 answers
97 views

Why do Matroska files (.mkv) with '.der.' in the file name not play in Google Chrome but instead bring up a download dialog?

Usually, Matroska files (.mkv) that I open in Google Chrome (e.g. https://www.example.com/example.mkv) are played directly in the browser. However, I noticed that files with .der. in the file name (e....
Three Year Old's user avatar
1 vote
1 answer
75 views

How to apply Grain in FFMPEG like CAPCUT Grain adjustment

I'm trying to find information about how to apply grain in video using ffmpeg, but unfortunally i couldn't find a viable solution. I need to apply a grain like Capcut. Here screenshot I was reading ...
domicoder's user avatar