Questions tagged [video]
Questions about video editing, streaming, conversion, capturing or video output. Use a more specific tag if possible.
6,234
questions
0
votes
0
answers
38
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 ...
1
vote
1
answer
186
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 -...
0
votes
0
answers
39
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 ...
5
votes
1
answer
307
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,...
0
votes
0
answers
46
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=&...
1
vote
1
answer
52
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:...
0
votes
0
answers
77
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 ...
0
votes
1
answer
54
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 ...
1
vote
0
answers
63
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 ...
1
vote
0
answers
88
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 ...
1
vote
1
answer
126
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. ...
1
vote
0
answers
64
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 ...
0
votes
1
answer
50
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 ...
1
vote
0
answers
75
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
...
0
votes
0
answers
52
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....
1
vote
0
answers
96
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
...
0
votes
0
answers
64
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 ...
0
votes
0
answers
45
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 ...
0
votes
0
answers
51
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 ...
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 ...
1
vote
0
answers
34
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 ...
2
votes
1
answer
124
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 ...
0
votes
0
answers
77
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 ...
0
votes
1
answer
46
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 \
-...
0
votes
0
answers
113
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];[...
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!&...
0
votes
0
answers
62
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 ...
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 ...
0
votes
0
answers
48
views
Why do I lose all video when I add a GPU to my PC?
When I add a Quadro p1000 to my Lenovo p330 I lose all video. Neither the card or integrated video output anything.
If I remove the GPU the integrated video behaves as expected.
With the GPU removed ...
1
vote
2
answers
199
views
ffmpeg scale2ref with overlay complex filters returning audio only mp4 output
I am trying to find out why the result of using scale2ref with overlay complex filters is returning audio-only mp4 output.
ffmpeg -i input.mp4 -i watermark.png -filter_complex "[1][0]scale2ref=w=...