Questions tagged [video]
Questions about video editing, streaming, conversion, capturing or video output. Use a more specific tag if possible.
6,229
questions
0
votes
1
answer
65
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 ...
0
votes
0
answers
127
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
...
0
votes
0
answers
105
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, ...
0
votes
1
answer
152
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,...
0
votes
0
answers
158
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 ...
0
votes
0
answers
188
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....
1
vote
0
answers
133
views
Playback drops frames or stutter on good hardware
I'm planning to use TDARR and trying to prevent any issues before with (re)encoding. And I have stumbled on issue with one TV Show - recently I have downloaded refreshed old show but playback stutters ...
1
vote
0
answers
2k
views
FFmpeg Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
I'm having trouble using FFmpeg to host an RTSP server for continuous video streaming. The command I'm using is:
ffmpeg -report -v verbose -re -stream_loop -1 -i store-aisle-detection.mp4 -c copy -f ...
1
vote
1
answer
642
views
How long the URL of a YouTube video last before expiring?
On executing youtube-dl -g <youtube_link> we get the urls for the video and the audio, we can play those urls with vlc for example.
But for how long those urls are valid?, they're of the form:
...
1
vote
0
answers
98
views
preserving image quality J2K/MXF => FFV1/MKV interlaced
i need to transcode lossless JPEG2000 video to FFV1. the source video is interlaced, but using a non-standard method developed by opencube that uses 1 field per frame. i succeed at preserving ...
0
votes
3
answers
829
views
System booting to Windows but no monitor signal
I've been having a strange recurrent issue with a Dell G5 5090 desktop. When trying to boot my system, the computer will turn on, play the Windows start sound, and I'll even be able to navigate the ...
1
vote
0
answers
27
views
SMPlayer hotkey to jump to the beginning of the video
I can't find a hotkey in SMPlayer to navigate to the beginning of the video. I have to push the hotkey for going 1 minute backward and to keep it pushed until it gets to the beginning of the video.
Is ...
0
votes
1
answer
168
views
How can i add audio at specific Frame in FFmpeg?
I have audio that i am adding (without Re-encode) in mute video file, in starting i have intro which has no sound and i want to add audio file after that time/frame , after searching so hard i only ...
0
votes
0
answers
58
views
How do create a dynamic delay fix with MPEG-TS?
My media player can display a couple of videos (origin video - Multicast address, video stream is in MPEG-TS)
Whenever I play both video streams I see a delay in one of the streams.
I would like to ...
0
votes
0
answers
147
views
Get ffmpeg to output frames closer to start time specified
I'm running ffmepg version 6.1 with the following command:
ffmpeg \
-y \
-copyts \
-ss 2841000000us \
-to 2843000000us \
-i <INPUT_FILE/URL> \
-fps_mode passthrough \
...
2
votes
1
answer
969
views
Why does ffmpeg alter timestamps when "-codec copy" is given, and how to prevent this?
I am currently trying to remove certain audio tracks from a bunch of m2ts files (mainly to save space), using ffmpeg. In doing so, I would like the removal of those tracks to be the only action that ...
0
votes
0
answers
119
views
FFMpeg removes the video stream unintentionally
I used the following ffmpeg command to downscale a video. But surprisingly the output did not have any video stream, just an audio-only output.
ffmpeg -y -i "input.mov" -c:v libx264 -vf ...
0
votes
0
answers
376
views
When I attempt to live a video in an infinite loop using the ffmpeg command, it automatically terminates after a few hours
When attempting to continuously loop a video using the ffmpeg command with the following syntax:
ffmpeg -re -stream_loop -1 -i abc.mp4 -c copy -f flv rtmps://abc.xyz/.....
I encounter an issue where ...
0
votes
0
answers
114
views
Are there alternative methods for installing Video4Linux (v4l) and Linux DVB (DVB) drivers for RHEL 9?
In RHEL 9, Video4Linux (v4l) and Linux DVB (DVB) devices television and video capture devices are no longer supported. https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9....
1
vote
0
answers
53
views
How to create timestamps for raw H264 to make it VFR using audio as reference?
I had an MP4 screen recording which got corrupted (missing moov atom).
I tried untrunc, recover_mp4_to_h264 and MP4Fix, and the latter gave me a complete result.
However, the result was pure h264 and ...
3
votes
1
answer
304
views
How to escape file path for burned-in text-based subtitles with FFmpeg?
I'm trying to burn text-based subtitles into a video using ffmpeg, via the command line option -vf followed by subtitles=(filename):si=(subtitle index). I need this to work for both Windows and macOS.
...
1
vote
1
answer
289
views
How to merge raw H.264 video and AAC audio streams, making sure the video matches audio duration?
I had a corrupt screen recording, and I used mp4fixer to extract the raw h264 stream and the aac streams separately. The audio sounds just fine, but the h264 stream doesn't seem to have a well defined ...
0
votes
1
answer
219
views
More buffering when ffmpeg saving rtsp to mkv file
I have a GSM connection to my cameras. When I playback stream directly from cameras everythink is OK, but if I save the same stream to file I have 80% of broken frame like this:
My ffmpeg params:
...
0
votes
0
answers
118
views
ffmpeg use of ildct flag in progressive encoding
I've encountered a scenario whereby someone else has configured an ffmpeg encoding command with flags that don't make sense, and I'm having difficulty understanding their purpose.
The command in ...
0
votes
1
answer
476
views
FFMPEG: Program does not quit when it returns an error (command line loops)
I'm using ffmpeg to stream a video online, using the following command:
ffmpeg -i <stream_link> -t 00:09:00 video.mkv
This works well. But sometimes the stream ends, and then FFMPEG will throw ...
0
votes
0
answers
60
views
Setting transfer characteristics for overlaying multiple videos
I just wanna know whether I can set unique values of transfer characteristics/gamma for each videos while overlaying it on top of a single video.
For example :-
FFmpeg command : ffmpeg -f lavfi -i ...
0
votes
0
answers
158
views
FFMpeg creates image from a timestamp but not from another timestamp
While trying to create an image from a video, the following command does not create any output and completes with the warning
Command with timestamp 7 sec:
ffmpeg -ss 00:00:7.0 -i "input.mp4"...
0
votes
0
answers
234
views
FFMpeg create image from hardware decoded media and software decoded media
I'm trying to create an image thumbnail at a particular timestamp from a video.
While doing the activity I came up with two commands. Some videos were successfully processed by first command and some ...
0
votes
0
answers
66
views
FFMpeg series thumbnails created less than expected
I have the following ffmpeg command to create a 576p video, and series thumbnails at an interval of every 2 seconds.
ffmpeg -hwaccel cuvid -hwaccel_output_format cuda -i input_video.mp4 \
-vf "...
0
votes
0
answers
84
views
FFMPEG - PNG Overlay - Fade In / Out - Start & End of video + Combine Videos
Hoping someone can help me with this.
I'm looking to automate some editing tasks.
I want to write an FFMPEG command that will do the following. Input is VIDEO.MP4
Add a 1 second fade in and out to ...
0
votes
1
answer
379
views
How to use Ffmpeg OpenCl filters that are accelerated with nvenc
I'm trying to capture a screen that is in portrait mode using ddgrab(on a 3080, so using nvenc). This was the original command:
ffmpeg -f lavfi -i ddagrab=output_idx=0 -c:v h264_nvenc -cq 18 output....
0
votes
1
answer
119
views
Combine images and draw text on each image with animation xfade
I am using ffmpeg to merge multiple images and an audio to produce a video. I am using drawtext and xfade with dissolve transition. My ffmpeg command is given below.
ffmpeg -loop 1 -t 5 -i ./img/img0....
1
vote
1
answer
128
views
Unexpected output when using FFMPEG to add multiple English Subtitles to MP4 file
I am trying to soft-encode 3 subtitle files into my film.
I extracted the subtitles from the DVD using ByteCopy
I am using this command to add the files:
ffmpeg -i BloodDiamond.mp4 -i ...
1
vote
0
answers
109
views
Ffmpeg encoded video results in corrupted YouTube video
I'm creating videos for YouTube that combine a still image with an MP3 file. For some reason, some of the videos get corrupted (in the example below after 15 seconds) and result into a gray screen. ...
1
vote
1
answer
166
views
How do I extract video frames for editing one at a time?
I'm trying to apply graphicsmagick v1.3.42 filters/resizing to frames from videos extracted with ffmpeg v6.1.
The process of extracting and resizing all frames uses alot of space, I want to iterate ...
0
votes
0
answers
32
views
how to send multi video in udp protocol with in single ip/port?
According to the ffmpeg documentation using UDP protocol
i need send multi input to local network in single IP/Port and received from VLC Player each video can choose with Program number and show it !
...
0
votes
1
answer
133
views
ffmpeg make a video from two images and two audio files
I'm trying to create an MP4 video from two images and two mp3 audio files, this is my command:
ffmpeg -hide_banner -loop 1 -i incoming/img0.jpeg -loop 1 -i incoming/img1.jpeg -i incoming/aud0.mp3 -i ...
0
votes
0
answers
36
views
Truly befuddling comorbidity of AMD GPU video issues that seem specific to Windows 11
So, I have two issues that seem to be related, but I'm unsure. Any advice from those more wise than I is appreciated, but I know my way around Windows and hardware stuff plenty well.
So:
When the ...
0
votes
1
answer
79
views
Create a slideshow video with the date added as a text automatically
Is there a way to Create a slideshow with the date as a caption automatically?
So basically, I want to create a slideshow video of family photos and as each image is displayed the date and time of the ...
1
vote
0
answers
158
views
Sending and receiving ffmpeg video stream through USB to TTL converter
I need to transfer video signal through USB to TTL converter from one VM and receive it on other USB to TTL converter then display the received stream on second VM (the bitrate on converters are ...
2
votes
0
answers
110
views
How can I securely watch videos on my VPS downloaded from untrusted websites?
I have a linux VPS containing videos downloaded from untrusted websites, which may contain viruses. I want to watch these videos safely.
I'm not concerned about the VPS itself being infected, I'm wary ...
1
vote
1
answer
1k
views
ffmpeg video encoding has no audio
When I convert any video in ffmpeg - e.g. mp4 to mkv, mkv to mkv - I lose audio for some reason
here are the parameters I originally used:
ffmpeg -i input.mkv -vf scale=640x480 -vcodec libx264 -...
0
votes
0
answers
64
views
Choice of file sharing for projector
I have a question similar to this one: Using projector via Wi-Fi from Linux laptop running Ubuntu 19.04 (Disco)
I haven't had a TV for the last 40 years, but the family wants a projector for Xmas. I'm ...
0
votes
1
answer
148
views
Ffmpeg concat filter produces frames from different videos
I have a workflow in which I give several videos to ffmpeg, each video corresponding to a shot, and ffmpeg concatenates them to produce a single video, interlaced at 25 fps. The problem is that ...
1
vote
0
answers
114
views
Incorrect movie Keys metadata with ffmpeg
It seems ffmpeg erroneously copies keys metadata to UserData atom, and macOS 14 QuickTime player or Photos do not read it.
For example: The input.mov has Keys tags for Author, Title, Description, ...
2
votes
1
answer
880
views
ffmpeg how to remove all but 2 subtitles without knowing their index number
Let's say I got one of thouse movies that came with 20 or 30 subtitles. How to remove all subtitles of a movie except English and Portuguese, but I don't know there index number.
If I would know the ...
1
vote
1
answer
438
views
Streaming to Facebook Live with ffmpeg
I've set up an RTMP/RTSP streaming-service with MediaMTX on my desktop.
From OBS Studio, I'm then streaming to:
Server: rtmp://localhost/
Stream Key: stream
This leaves me with 2 streams:
RTMP: rtmp:/...
4
votes
1
answer
1k
views
Stop Auto-Playing YouTube Videos When Restoring Google Chrome Session Tabs Only
I regularly have a large number of tabs open, and often several of these tabs are YouTube videos which have been paused. For the sake of an example, let's say I have 12 tabs with paused YouTube videos ...
2
votes
1
answer
125
views
How do I use Linux Mint and ffmpeg software to stabilize a large video?
I made a video with openshot that is 7.3 GB. ffmpeg only stabilizes half the video. Is there a length limit of ffmpeg that is used? This is what I'm using:
ffmpeg -i video.mp4 -vf vidstabtransform,...
0
votes
0
answers
243
views
Using FFMpeg to match images with videos
I've recently been ripping some of my DVDs, however the output isn't in order or labelled in a helpful way. I want to use FFMPEG to find still frames in these episodes in order to name them.
I can ...