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
0 votes
1 answer
17 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
  • 1
0 votes
0 answers
21 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
  • 13
0 votes
0 answers
36 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
53 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
6 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
18 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
132 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
32 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
20 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
37 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
106 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
0 votes
0 answers
18 views

Animating / Modulating parameters in FFmpeg

Say I have a single image, and I want to make a GIF animation out of it. The first frame of the animation should be the image in its original colours, and then the colours should rotate gradually ...
GPWR's user avatar
  • 471
-2 votes
0 answers
43 views

How to cut a decently long video into a collection of GIFs?

I've been doing a bit of searching looking for this specific functionality and I can't seem to find a tool which can do it, FFmpeg has been recommended to me but I'm not super command line fluent so ...
Benjamin Manns's user avatar
2 votes
0 answers
124 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". The next three paragraphs are repeated from that ...
NewSites's user avatar
  • 692
0 votes
0 answers
18 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
47 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
47 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
61 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
39 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
87 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
0 votes
0 answers
27 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
202 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
45 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
100 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
0 answers
12 views

How to extract good quality frame in pixel format from live mpeg-ts stream? [migrated]

I use the command below to stream my ts file for my programe: ffmpeg -re -i independent_frame.ts -f mpegts udp://127.0.0.1:10002 Below is the code of my programe, I'm trying to extract each frame in ...
Aven's user avatar
  • 21
0 votes
1 answer
219 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
0 answers
45 views

File FLV from TikTok failed to re-stream to marketplace

I want to ask, in the Tiktok.com Live Menu section, and Inspect Elements > Network > and look for the .flv URL for example like this: https://pull-flv-l11-va01.tiktokcdn.com/stage/xxxxxx.flv?...
mpq_mcsd's user avatar
2 votes
1 answer
87 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
58 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
  • 107
0 votes
0 answers
26 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
129 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
29 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
66 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
73 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
1 vote
2 answers
73 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
56 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
55 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
48 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
67 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
62 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,315
1 vote
0 answers
27 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
  • 375
0 votes
0 answers
53 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
32 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 ...
Yander Sanchez's user avatar
0 votes
1 answer
43 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
0 votes
0 answers
52 views

FFMPEG does not load Font from ASS file

I'm trying to burn an ASS subtitle file onto a video using ffmpeg. This is the style part of the ASS file: [Script Info] ; Script generated by FFmpeg/Lavc60.3.100 ScriptType: v4.00+ PlayResX: 384 ...
Mehdi Haghgoo's user avatar
0 votes
0 answers
53 views

NVIDIA DSR factors not present - trying to have a fake 4K into a 1080p

I just follow few liks, like this one: Cloning a 4K panel to a 1080p monitor to fake a 4k monitor into a 1080p display REASON: I want to have the 1080p monitor as second monitor, but APPs are too BIG, ...
riged's user avatar
  • 1
0 votes
0 answers
36 views

Glitched message on the top left corner over other app/desktop

I have random issue under windows 11. Sometime some application messages are displayed and stuck on top left corner of my display. Those messages are over other app (like firefox, windows desktop, vlc,...
Alain Roger's user avatar
0 votes
0 answers
53 views

ffmpeg hevc_toolbox producing video files with audio but no video

I have a React Native application that is attempting to transcode users videos so they are in a format both platforms can natively playback, we are doing it on device for now as we don't want to incur ...
Martin Calvert's user avatar
0 votes
0 answers
70 views

FFMPEG encode interlaced frames

I try to encode incoming frames using FFMPEG to h264 and write it to an SD card. I get the raw frames as memory buffers from hardware and then use the FFMPEG C API to encode those. Encoding is running....
user3219624's user avatar

1
2 3 4 5
124