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
0 votes
0 answers
13 views

How do you create an ffmpeg lossless image without re-encoding?

I'm using the command below but not sure if it’s really lossless and without re-encoding? Is there specific command to create lossless image and without re-encoding? I'm new to this. ffmpeg -lavfi &...
Michael's user avatar
  • 11
0 votes
3 answers
49 views

How can I make three 10TB external hard drives act as one 30TB hard drive?

I have a huge collection of videos I am using for a book. I have over 30TB of data. When I am searching for and downloading new videos for my research, it is a huge benefit for me if I do not download ...
Boballoo's user avatar
1 vote
0 answers
18 views

Is there a way to use Intel QSV to have hwaccelerated tone mapping in ffmpeg?

Currently I am trying ffmpeg -hwaccel qsv -hwaccel_output_format qsv -i "Z://Movies/Luca/Luca.mkv" -vf 'hwdownload,format=p010,zscale=transfer=linear,tonemap=hable,zscale=transfer=bt709,...
Nathan Cloutier's user avatar
0 votes
0 answers
11 views

Avidemux loads vertical video in horizontal orientation

I have recorded a video while holding phone vertically. It opens vertically on phone, as well as on PC, in VLC. However, when I load it in Avidemux it rotates the video to horizontal aspect rate. I ...
overdriven's user avatar
0 votes
0 answers
37 views

How do I prevent an extended frame when suspending and resuming an ffmpeg process?

I have a c# application where I have control of an ffmpeg (https://www.ffmpeg.org/) process. I am using it to capture video and audio, either from desktop or webcam. I am using code similar to the ...
this_is_a_display_name's user avatar
2 votes
1 answer
106 views

What a correct playlist.m3u8 should contain, or should look like?

24/06/2024: [Presentation of the problem] I had dowloaded some videos from the Internet, few years ago. I obtained many files: a series of files in .ts a single file playlist.m3u8 In my example: A ...
dg lr's user avatar
  • 57
0 votes
1 answer
58 views

How to solve a final pb when merging a series of .ts file with concat command of FFmpeg?

I had dowloaded some videos from the Internet, feaw years ago… I obtained many files: a series of files in .ts In my example: a series of 306 files named from segment1_4_av.ts to segment306_4_av.ts A ...
dg lr's user avatar
  • 57
0 votes
1 answer
61 views

To cut and download part of video from vk.com

I try to cut and download part of an online video from vk.com, using yt-dlp and ffmpeg, in one step. I tried ffmpeg $(yt-dlp -g 'https://vk.com/video302700968_456241462' | sed 's/^/-ss 05:00 -i /') -...
jsx97's user avatar
  • 49
0 votes
0 answers
45 views

How to randomly zoom video with a Batch script?

I deal with the processing and uniqueness of 9:16 videos. I need to make the video take on a random zoom value to increase it in scale and crop it accordingly at the edges. I need to make a random ...
Farid's user avatar
  • 1
0 votes
0 answers
12 views

What lightweight editing program can I use to bulk change default audio tracks and merge multiple videos into one? MKVToolNix is ​not suitable [closed]

**Hello. I have many folders (each 1-40 GB) where there are many videos of different sizes .mp4 or .mkv.. What LIGHTWEIGHT video editing programs are there where I can upload a lot of videos and have ...
Андрей Михалев's user avatar
0 votes
1 answer
32 views

Allow streaming only first or random frames of video but allow full download

I have a server on a Raspberry Pi 5 (8 GB of RAM btw). I have Nginx on it that allows me and others to watch my videos through a nice site. Though through trial and various errors, I found out I can't ...
Edw590's user avatar
  • 133
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

Video width&height is horizontal but video frames are vertical. How to fix it with ffmpeg?

I have a video, that when checked with ffmpeg/ffprobe shows a horizontal aspect ratio. ffprobe.exe my_video.mp4 -show_streams -of json Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'my_video.mp4': ...
sthlm58's user avatar
  • 113
0 votes
2 answers
96 views

Removing a segment from the middle in ffmpeg

Say I want to remove the part between second 60 and the second 200: file video outpoint 60 file video inpoint 200 then running the ffmpeg concat command: ffmpeg -f concat -i input.txt -c copy output....
Mohammad Mansour's user avatar
1 vote
0 answers
56 views

How can I remove every nth frame from raw video using ffmpeg?

I have many cine films that have been digitally converted. They have been converted as a 25 fps with 2 frames in every 23 duplicated. I need to remove the duplicated frames using a bitstream filter so ...
DaveB44's user avatar
  • 11
1 vote
0 answers
8 views

Powerpoint - Video Background - Across Slides

I have a custom background that I designed that has our logo w/ subtle animation, I have it saved as a MP4 Video File. I added it to the slide master and set it to autoplay. It looks great but when I ...
psycoperl's user avatar
1 vote
0 answers
90 views

Trimming a video using FFmpeg leads to black screen

I try to figure out how to use FFmpeg to trim videos. I have created a 30 second .mov screen capture using Apple's QuickTime player, and then tried to trim it using three different ways: Using -...
jsx97's user avatar
  • 49
1 vote
0 answers
65 views

Take Screenshot/snapshot from .ts file

I need to take a screenshot/snapshot from .ts files. Currently using the command: ffmpeg -ss 00:06:05.6710000 -i input.ts -frames:v 1 -q:v 1 output.jpeg This works fine for .mp4 files, but for .ts ...
AVG's user avatar
  • 111
1 vote
0 answers
44 views

Ffmpeg webm YouTube settings command

Is there a .webm still image command in ffmpeg that is best compatible with YouTube I’m currently using: ffmpeg -loop 1 -framerate 2 -i input.png -i audio.m4a -c:v libx264 -preset medium -tune ...
Michael's user avatar
  • 11
0 votes
0 answers
8 views

ffmpeg does not exit when pipe is closed? [migrated]

If this has already been brought up, I apologize. This is part of a software tuner package I am writing as a POC. It is used by Plex Media Server. For the most part, it works with good picture quality ...
Thomas's user avatar
  • 1
0 votes
0 answers
38 views

av1_vaapi ffmpeg throws error on last frame of video

I've been using ffmpeg and vaapi to transcode video files, it has been working great except for one group of video which has been throwing the error [vf#0:0 @ 0x5d37f5dd6dc0] Reconfiguring filter ...
Richard Ledbetter's user avatar
0 votes
0 answers
34 views

ffmpeg command to combine mp3 file and embedded album art image file metadata into a video

my below ffmpeg command works for combining 1 audio file with 1 image file into a video. ffmpeg -loop 1 -framerate 2 -i "C:\Users\marti\Videos\ig_sf_6.5.24_highlights\apple image.jpg" -i ...
Martin's user avatar
  • 131
1 vote
1 answer
170 views

Cutting a part from a video: Should '-ss' be before 'i' or after?

Let's say I need to remove everything but the second minute from a video. I can do this, for example, in the following way: ffmpeg -copyts -ss <start> -i input.mp4 -to <end> -c:v libx264 -...
jsx97's user avatar
  • 49
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
5 votes
1 answer
292 views

Ffmpeg: concatenate videos and keep framerate the same

I have the following command cobbled together so far: ffmpeg -i input.mp4 -filter_complex "\ [0:v]trim=start=175.2:end=200.9,setpts=PTS-STARTPTS[v1]; \ [0:a]atrim=start=175.2:end=200.9,...
Timwi's user avatar
  • 1,993
0 votes
0 answers
44 views

Using x265-params with ffmpeg does not impact file size nor quality

I am using the following line in Python to compress videos into h265 (in Google Colab). !ffmpeg -v error -nostats -hwaccel_output_format cuda -i "$input_folder/{filename}" -metadata comment=&...
wanderer's user avatar
-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
1 vote
1 answer
51 views

why don't work old batch ffmpeg extraestereo command in new version?

I use this batch command for years in ffmpeg, but from update to the last version don't work and don't see in documentation whats the problem. ffmpeg -i C:\Pelis\video.mkv -vcodec copy -map 0:a -map 0:...
javier vera's user avatar
0 votes
0 answers
74 views

FFMPEG HEVC NVENC (yuv420)p10le at 800Mbps not encoding

I'm working on a large immersive project where the clients have requested H.265 media at 800Mbps (requires level 6.2). Due to the hardware used (I believe it's AvoLites based) for playback media ...
William Marshall Wilkinson's user avatar
0 votes
1 answer
51 views

Extracting a single screenshot from every video file in a folder with the file name embedded on the image

I would like to extract a single screenshot from every video file in a folder with the file name embedded in the screenshot, in Windows. Like this: File: Coherence.mkv Screenshot: Result: How can I ...
Ken Pino's user avatar
1 vote
0 answers
53 views

Cannot detect iPhone using FFmpeg avfoundation

I want to programmatically record the screen of an iPhone through the CLI. I have my iPhone 13 running iOS 17.5.1 connected to a Mac running macOS 14.5. I can see it connects in Xcode and I can record ...
migu's user avatar
  • 111
1 vote
0 answers
85 views

FFmpeg Screen Recording Clock Out of Sync with Real Time

I'm using FFmpeg to record a virtual X11 screen in automated tests. I've added a timestamp to the video to align it with log file times, but the clock in the video becomes out of sync with real time ...
Gellweiler's user avatar
1 vote
1 answer
91 views

FFMPEG - Set custom PTS on mp4 file

I have an ffmpeg command setting custom pts on an input video. It works fine for .mkv file but not on .mp4 file. When running the following command on an mp4 file, most of frames are dropped. ...
legeba's user avatar
  • 13
1 vote
0 answers
60 views

ffmpeg concat rotates MP4 videos

I have some MP4 video files that were created with a cell phone. Some of them were taken in landscape, others not. It happens that by concatenating them using ffmpeg the ones that are not landscape ...
Israel's user avatar
  • 11
0 votes
1 answer
45 views

Handbrake: Is it useful to use Fast 480p30 for 480 mkv videos, or can I stick with Fast 1080p30?

I'm fairly new to using Handbrake, and the numerous configurations are a bit confusing. I've looked in the documentation and on the forums, and I've done some tests myself, and noticed that with Fast ...
oli_vi_er's user avatar
1 vote
0 answers
61 views

How can I get exact frame count when export video to image?

When using labling tools, the count frame count by duration*fps, but for ffmpeg export, I get different frame count. e.g. Metadata: major_brand : isom minor_version : 512 ...
wener's user avatar
  • 113
0 votes
0 answers
50 views

Rotating WMV videos without reencoding

I'm open to any tool, but I know that ffmpeg can do this for .mp4 files. Also tools like exiftool. I have tried something like this: ffmpeg -i LEFT_OUTBOARD.wmv -c copy -metadata:s:v:0 rotate=180 tmp....
Blindy's user avatar
  • 121
1 vote
0 answers
84 views

D3D11 hardware screen recording with ffmpeg using Intel H264 QSV hardware encoding

I'm trying to screen record using ffmpeg and having it all done via hardware on my Intel integrated graphics. Specs For reference, here are my specs: Windows 11 Pro Version 10.0.22631 Build 22631 ...
Cactus's user avatar
  • 11
0 votes
0 answers
62 views

Split Videos using File Size in ffmpeg

How do I split videos by file size using ffmpeg? For example, I have a 1.92GB video and I want to split it into 200MB videos. There are two ways how I want to split them: Losslessly by using the -c ...
David Pilling's user avatar
0 votes
0 answers
41 views

Video metadata takes forever to load, can it be cached?

I organize a vast amount of videos (on Windows 11 using Windows Explorer or Directory Opus), and since these two can't be set to cache the metadata, I was wondering if Windows or a file system or ...
Bricktop's user avatar
  • 313
0 votes
0 answers
45 views

I work in Davinci resolve. I have file with multiple audio tracks, but in davinci opens only one audio

So I have a .mkv file with dubs and subs, I can import it in Davinci resolve, but works only the one track. I used HD Video Converter Factory Pro for conversion in .mp4 with multiple tracks and it ...
user hid nickname's user avatar
0 votes
0 answers
19 views

FFmpeg fps detection bug?

I have ffmpeg setup which produces rtmp stream from remote rtsp stream. The rtsp stream comes from ip camera which support multiple profiles. Each profile has 1080p 30 fps, 1080p 15 fps. The weird ...
I have 10 fingers's user avatar
1 vote
0 answers
33 views

VMAF Quality Loss when applying bicubic interpolation to a video when upscaling with ffmpeg

First of all, I'm a bit of a beginner to this specific topic therefore any advice would be greatly appreciated! For a project that I've currently been working on, I've been essentially trying to ...
Solomon Williams's user avatar
2 votes
1 answer
107 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
  • 75
0 votes
0 answers
67 views

Chrome (forced to use Intel GPU) slows down when I focus on a game that uses 100% of the NVIDIA GPU

I have 2 GPUs in my Windows 10 PC: Intel HD Graphics 4600 (On Board) NVIDIA GeForce GTX 1060 6 GB To allow for a better distribution of graphics performance, I changed the Windows graphics setting ...
Rogério Dec's user avatar
0 votes
1 answer
43 views

FFMPEG cant render from transparent webm a transparent png frame

I want export every frame like original source, in webm video is alpha/transparent video track, and if I try export with my base command will export with black background. ffmpeg \ -hide_banner \ -...
aClassicKoder's user avatar
0 votes
0 answers
97 views

How to Simultaneously Play Two Videos at Different resolutions Side by Side

How do I view two videos side by side? The absolute easiest way is GridPlayer. However I liked one of the solutions that went something like this: mpv --lavfi-complex="[vid1][vid2]hstack[vo];[...
Ted T's user avatar
  • 1
0 votes
0 answers
29 views

Specific Video Making

I know this may be oddly specific, but answer me these: How do I make a video out of images where each image lasts for 5 seconds? I am looping a video where the characters can only say "1! 2!&...
David Pilling's user avatar
0 votes
0 answers
56 views

Automatically synchronize two audio streams with ffmpeg

Say I have a video of a talk but the soundtrack is bad, and I happen to have an audio recording of the same talk made with a good mike. Is there a way, with ffmpeg, to replace the bad audio with the ...
Sulli's user avatar
  • 137
0 votes
1 answer
64 views

How to convert videos of any format to MP4 and only take the first minute of the video

I'm working on a project, essentially a social media app for the traveler community. In this application, users can upload videos in any format, but I need to save them in MP4 format so that any ...
thecoderscamp's user avatar

1
2 3 4 5
125