Questions tagged [video]
Questions about video editing, streaming, conversion, capturing or video output. Use a more specific tag if possible.
6,266
questions
0
votes
0
answers
18
views
for the ffmpeg scale2ref filter, how do I repeat the last frame or loop the SHORTER video to match the duration of the longer video
I'm trying to scale2ref things in ffmpeg, but the problem is if the first input is shorter than the 2nd, there is no way I can find to make it match the longer input, without making any assumptions on ...
1
vote
0
answers
41
views
FFmpeg 5 -> FFmpeg 7 results in color differences in decoded raw video
We have been using ffmpeg 5 to decode h264/h265 video to yuv420p rawvideo and things work well. We are looking into updating to ffmpeg 7, but noticed that the colors in the rawvideo are different ...
1
vote
1
answer
20
views
Will an HDMI DM or HDBASET connection work extended over a fiber ethernet adapter?
I have a long run to get a 4k video signal from a podium to a pojector (over the 300ft distance limit of Cat6). Will an HDBASE-T or DM HDMI CAT6 extender work with a pair of ethernet to fiber adpters ...
0
votes
0
answers
32
views
Gapless audio for RTMP stream loop
A repost from SO since I guess people didn't like it there..
I'm trying to make a looped RTMP stream from a single video (in this
example - YouTube), but starting with version 6.0 it introduces a gap ...
-2
votes
0
answers
25
views
How to make a playlist from MPC-HC recently played files? [closed]
I played a lot of video in recent days, I would like to make a playlist from them for a later use.
I saw every media has been memorized inside the Windows registry, each media as an entry... may be a ...
1
vote
1
answer
49
views
Set setsar=sar=1/1, for all video streams/FFMPEG
I encountered the problem that I can't set setsar=sar=1/1 on all video streams that I create...
For example
ffmpeg -i {file} -c:v libaom-av1 -pix_fmt yuv420p
-map 0:v:0 -filter:v:0 scale=-2:144,...
0
votes
0
answers
37
views
Modify Max CLL and Max FLL values in HEVC stream
Is it possible to modify/edit the Maximum Content Light Level and Maximum Frame-Average Light Level values directly in a HEVC stream?
When encoding with x265, these values are set by the max-cll ...
0
votes
0
answers
16
views
RTSP to HLS conversion with error on some devices
I'm trying to convert, on a node server, RTSP IP camera devices to HLS to run livestreams on the web. The following code works well for some RTSP devices, but for others I encounter problems.
...
-1
votes
0
answers
92
views
Design NanoLED vs MicroLED computer screeens [closed]
How are NanoLED and MicroLED computer screens designed differently?
It has been said that
You can clearly see the difference just by looking at the LED stages.
One has single colour elements, the ...
-3
votes
0
answers
108
views
Upscaling and Integer Scaling [closed]
I want to view various types of content on a single display without constantly switching between different screens. Specifically, I'm interested in understanding the difference between a single pixel ...
1
vote
1
answer
83
views
How to properlly convert mp4 to HEVC Dash using FFmpeg?
I want to convert a mp4 video to HEVC dash, but after the conversion it's not playable on any browser, it only plays on VLC. I tested on Chrome latest version, with dash.js, plyr.io and videojs.
I ...
-1
votes
1
answer
72
views
64 bit operating windows computer downloading ffmpeg
Im having trouble downloading ffmpeg to my computer, I need to download version 4.2.2. I need to download this to use ImpactControlCenter in order to video record using my balluf blueFOX3 camera. This ...
0
votes
0
answers
32
views
KMPlayer doesn't smoothly play a 1208x1334 video on my laptop
The video frame is larger than my LCD frame which is 1366x768. The file runs smoothly on my cellphone. I wonder whether it is due to inadequate processing power on my laptop which is a Lenovo B570e, ...
0
votes
1
answer
80
views
How to deal with FFmpeg crashing because file is too big?
I accidentally rendered a long video in blender backwards. The actors are moving in reverse. The sound is normal. The easy way to fix this is:
ffmpeg -i originalVideo.mp4 -vf reverse reversedVideo.mp4
...
3
votes
1
answer
842
views
Is it possible to calculate FPS (frames per second) of video using statistical data?
There are parameters:
Video bitrate.
Frame height.
Frame width.
Video duration.
With this data, is it possible to determine the number of frames per second without actually playing the video?
A ...
2
votes
0
answers
71
views
Can't record a video from a Window of size 886x1920px
I have an application with a window of size 886x1920px and can't record a video from that window of exactly the same size.
If I try to record with Win + Alt + R I get the video of size 672×1440px.
If ...
0
votes
0
answers
11
views
Prevent a capture app from getting muted on Windows mixer
I am having one issue with Bandicam on Windows 11. I have selected the audio recording source as the default sound card from Realtek HD audio. Everything works fine, and the video recording can be ...
1
vote
1
answer
78
views
Extract video bitrate/FFMPEG
ffprobe -i /test_b200.webm -v quiet -select_streams v:0 -show_entries stream=bit_rate -of default=noprint_wrappers=1:nokey=1
I use this command to get the video bitrate. The difficulty is that it ...
1
vote
0
answers
31
views
Trying to understand the value of SAR and DAR in video/FFmpeg?
I convert video using the FFmpeg utility to WEBM format using Dash technology.
I convert one video, focusing on the frame height. In resolution (frame height):
2160p
1440p
1080p
720p
480p
360p
240p
...
0
votes
0
answers
15
views
Encoding of vp9 files with ffmpeg fails when the video dimensions are greater than 16256 pixels in any dimension
I'm trying to create a .webm video with the vp9 codec from scratch using the following command:
ffmpeg -f lavfi -i color=c=blue -vf "format=rgb24,scale=16255x16255" -c:v libvpx-vp9 -t 0.25 -...
1
vote
0
answers
20
views
Can't get FFmpeg to convert Samsung Motion Photos from JPEG to MP4
I pulled a bunch of Samsung Galaxy S21 Ultra motion photos to my PC (Windows 11) for video editing, but they were in JPEG, and for some reason Microsoft Clipchamp couldn't convert them to video. But, ...
0
votes
1
answer
90
views
FFmpeg only joins 2 videos of 17
I'm trying to join multiple video files using xfade transitions. But I only get 2 videos joined. What I'm doing wrong ?
ffmpeg \
-i video0.mp4 \
-i video1.mp4 \
-i video10.mp4 \
-i video11.mp4 \
-...
0
votes
1
answer
45
views
FFmpeg Video Toolbox failing: The hardware encoder may be busy, or not supported
I'm trying to run this on an Mac with an Apple M1 chip:
ffmpeg -i input.MP4 -c:v hevc_videotoolbox -b:v 2000000 -s 1280x720 output.mp4
And FFmpeg returning error:
Stream mapping:
Stream #0:0 -> #...
0
votes
0
answers
23
views
Trimming video in VidCoder
I used to be able to cut different parts of a video using the VidCoder video editing program. But I have forgotten how to do so.
Does anyone know how to edit parts out of a video using VidCoder?
0
votes
0
answers
35
views
Error starting encoding, multiple video streams/FFMPEG
ffmpeg -i /2160.mp4 \
-c:a libopus -b:a 128k -ar 48000 \
-c:v libvpx-vp9 -pix_fmt yuv420p -g 240 \
-map v:0 -vf:v:0 "scale=-2:144" \
-map v:1 -vf:v:1 ...
1
vote
1
answer
72
views
Convert mp4 to webm using dash/ffmpeg technology
ffmpeg -i /2160.mp4 -deadline best -speed 1 \
-c:a libopus -b:a 128k -ar 48000 \
-c:v libvpx-vp9 -pix_fmt yuv420p \
-map v:0 -vf:v:0 "scale=-2:720,setsar=1:1,fps=60&...
1
vote
0
answers
32
views
ffmpeg combine audio/ video output bitrate ratio
I attempted to combine the audio and video using ffmpeg, and I set the output bit rate, for example,
ffmpeg -i Testing_6_11_2024_12_13_08_AM.mp4 -b:a k output_video.mp4 -b:v k bufsize k maxrate k
The ...
0
votes
0
answers
36
views
How do I convert MP4 files to AMV with FFmpeg?
Platform is macOS, and I am using Bash.
I am trying to convert all mp4 videos into AMV videos with FFmpeg.
A normal command is:
ffmpeg -i input.mp4 -ac 1 -ar 22050 -r 10 -block_size 2205 -vf scale=w=...
0
votes
0
answers
19
views
One Windows 10 computer, two network adapters, set NDI on local network
The goal is to get an NDI video feed from OBS out to a Magewell NDI decoder using the onboard ethernet adapter. The reason I'd like to do this is to segregate the video data from the internet data ...
3
votes
1
answer
153
views
How to turn 2 images, last frame and overlay, into a 5 second end-roll using FFmpeg?
I would like to turn 2 images, last frame and overlay, into a 5 second end-roll using ffmpeg
The last frame would be in color.
From 0 to 5 seconds, the last frame will fade to gray + increased blur ...
2
votes
1
answer
69
views
FFMPEG convert RTSP to MPEG-TS with constant size packets
I have an RTSP stream which I want to convert, via FFMPEG, to an MPEG-TS stream with constant size UDP packets. I have played around with many FFMPEG options and the closest one I've found so far is ...
0
votes
0
answers
37
views
How can I detect black frames and add keyframes at the detected black frame in single FFmpeg process?
How can I detect black frames and add keyframes at the detected black frame in single FFmpeg process?
I found this command via Google; it detects black frames. I want to combine the black frame ...
-2
votes
0
answers
23
views
Ffmpeg Best PNG Settings for YouTube
Best pixel format ffmpeg -h encoder
What would you guys suggest for PNG? Right now I’m using this command:
For 4K
ffmpeg -lavfi "color=black:4090x2160, drawtext=text='Example' :fontsize=h/8 :...
1
vote
1
answer
41
views
Concatenate audio parts of different videos with ffmpeg
So I have two videos:
Vid_eng.mkv is a high resolution video that has the audio in English.
Vid_esp.mkv is a low resolution video that has the audio in Spanish.
Both videos are showing more or less ...
0
votes
2
answers
52
views
Is there any way to capture composite video through microphone port? [closed]
I was wondering if there would be any way to use the 3.5mm microphone port on my PC to capture Composite/RCA/AV video through?
It seems like it'd work in theory, since composite video and 3.5mm AUX ...
0
votes
1
answer
28
views
FFMPEG Raw bitstream from MKV/VOB error
Trying to convert a vob or mkv or mp4 video file into Raw bitstream using ffmpeg via ffmpeg -i input.mp4 -map 0:v -c:v copy -bsf:v h264_mp4toannexb raw.h264 but keep getting the same error & I ...
0
votes
0
answers
14
views
How do I control the appearance of borders (and labels) while recording video in Google Earth Pro?
For a client I'm creating an animation in Google Earth Pro (i.e. the desktop software).
To make the following more comprehensible: Google Earth Pro, like Google Maps, allows you to save tours (...
0
votes
1
answer
66
views
How to progressively accelerate video and audio with FFmpeg?
As suggested in this other question, we can progressively change playback speed with ffmpeg using setpts filter:
ffmpeg -y -i Video15sec30fps.mp4 -filter:v "setpts=(0.5+N/450)*PTS" out.mp4
...
0
votes
0
answers
15
views
How to simply force the first frame to be a key frame without re-coding?
I tried an extensive search here and found a number of similar questions, including answers. However, none does a fast (and dirty?) and quick job. e.g.:
ffmpeg -i input.mp4 -force_key_frames "...
0
votes
0
answers
28
views
Create video with a set of images with a mix of portrait and landscape ratio using ffmpeg
I wonder how can one create a video with a set of images with a mix of portrait and landscape ratio using ffmpeg.
For simplicity, let's say we have only two combinations of the dimension: 640x360 and ...
0
votes
0
answers
67
views
how to add multi vf filter on one command ffmpeg
can you help me
i need scale video to 720p and add drawtext watermark
i tray this put not work
-filter:v scale=-1:720 -c:v libx264 -preset medium -crf 28 -b:v 1.5M -pix_fmt yuv420p10le -vf "...
1
vote
1
answer
39
views
Kodak's MOV files - bar on the right and bottom - how to force editors and players to use "width" instead of "original width"? (more in description)
I found a lot of family movies in my old Kodak DX6340 digital camera. Unfortunately, none of the editors (Filmora, Davinci, Movavi, MovieMaker) or any player (except Apple QuickTime Player) can ...
0
votes
0
answers
56
views
Ffmpeg image quality/resolution to 64 bit depth and 32 bit float
How do I change ffmpeg image quality/resolution to 64 bit depth and 32 bit float? I’m still trying to make it the best quality PNG image possible.
I’m using this format:
ffmpeg -lavfi "color=...
0
votes
1
answer
89
views
How to set different output qualities for MPEG-DASH?
I am trying to convert an MP4 to MPEG-DASH and the output is working fine. I can play the MPEG-DASH or manifest file through MPEG player.
However, is there a way to change the quality of the video ...
0
votes
1
answer
30
views
FFMPEG not compiling into a proper video
https://www.youtube.com/watch?v=rlPLkoh-mmY
The youtube video above summarizes my problem, as it would be rather tricky to convey the issue over a post. Any help is much appreciated on this, thank you!...
2
votes
3
answers
307
views
How to cut a video with FFmpeg with no (or minimal) re-encoding?
We can cut a video with FFmpeg with no re-encoding with:
ffmpeg -ss 120 -t 60 -i input.mp4 -c copy output.mp4
(This question's answer suggests to also use -avoid_negative_ts make_zero but it does not ...
2
votes
0
answers
46
views
How to set the start of a video to 0 with FFmpeg?
I set custom PTS on an MP4 video but the starting point of the output video is not 0.
As shown by the ffprobe:
Duration: 00:00:05.00, start: 0.033008, bitrate: 2638 kb/s
Is there a way to set the ...
0
votes
1
answer
53
views
Ffmpeg image command equivalence
I need help on getting the right and equivalent command to:
ffmpeg -loop 1 -framerate 2 -i input.png -i audio.m4a -c:v libx264 -preset medium -tune stillimage -crf 18 -c:a copy -shortest -pix_fmt ...
0
votes
0
answers
14
views
FFMPEG cannot record Multicast with Transport Stream containing encrypted programs
I have a problem.
I have a multicast source that contains a Transport Stream with programs encrypted by a Nagra CAS system. I need to record this transport stream transparently without the need to ...
0
votes
2
answers
40
views
ffmpeg from DVVideo AVI to H.265 fails to play but AVI to MPEG to H.265 works
I've been pulling old camcorder video from my Sony Digital8 camera from Hi8 tapes. The Sony software creates AVI files that ffprobe detects as:
[avi @ 000001dec87682c0] ODML index invalid
Last message ...