All Questions
424
questions
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 ...
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 ...
0
votes
0
answers
75
views
VLC: Split Video onto Two Displays with Command
I need to display a video on two screens with VLC by command, in a non-manual way on my Raspberry PI.
The two screens are each connected by a HDMI cable. The video files have the 3840 * 1080 ...
0
votes
1
answer
153
views
ffmpeg fetching PTS/DTS for data packets incorrectly
I have captured a transport stream through TSP command
Command: tsp -I ip port --source ip -O file stream_capture1.ts
then using ffprobe, below is the output which is capturing correct stream
Input #0,...
0
votes
0
answers
47
views
Why does FFmpeg encoding stall on Ubuntu with DVD video file?
I've encountered a challenging issue while using FFmpeg on Ubuntu to encode a DVD video file contained in a .bin format. Despite various attempts (also employing vlc or bounting converted .iso), ...
0
votes
1
answer
37
views
How to use ffmpeg speedup video specific time range in one line ffmpeg cli
I try following splited cli, they work well
ffmpeg -i "$input_file" -filter_complex "[0:v]trim=start=0:end=10,setpts=PTS/10[v1];[0:a]atrim=start=0:end=10,asetpts=PTS/10[a1]" -map &...
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 ...
0
votes
0
answers
156
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:...
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
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 ...
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 ...
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,...
2
votes
2
answers
705
views
How can I setup ffmpeg to continuously produce 1 second videos from piped jpgs?
I am using ffmpeg on Ubuntu 22.04 to create 1 second mp4 videos from piped jpgs. The only issue that I have is that ffmpeg stops executing after the first set of jpgs is piped in. I need ffmpeg to ...
0
votes
0
answers
304
views
ffmpeg mpegts udp stream unexpectedly producing dramatically increased packet rate
I am using an ffmpeg 3.4.5 process to stream MPEG-TS video from a computer's screen to a recorder. The recorder effectively captures network traffic (like a promiscuous wireshark) and produces a .cap ...
0
votes
2
answers
1k
views
VLC media player installation on RHEL 9
Please help me to install VLC media player on Red Hat Enterprise Linux 9. I tried these installation steps, but they failed.
I tried to skip few packages during the installation too, but I could not ...
1
vote
0
answers
758
views
Generate a video with an image every 5 seconds using ffmpeg
I want to create a video from command line with some images like those:
-rw-r--r-- 1 dt dt 3360622 Sep 4 23:57 IMG_0670.jpg
-rw-r--r-- 1 dt dt 2949398 Sep 4 23:57 IMG_0671.jpg
-rw-r--r-- 1 ...
1
vote
0
answers
338
views
How to add multiple audio and subtitle tracks to video?
I'm trying to add an audio track and three subtitle tracks to a video file with already one audio track, but can't get it to work. How does it work (on Linux in case it isn't obvious)?
The subtitle ...
0
votes
0
answers
2k
views
How to detect with ffmpeg if the stream has video or audio or both?
I am listening on rtsp stream. The stream may potentially have only audio, only video, or have both, depending on how the remote side ffmpeg was configured. I want to dump the stream into hls. This is ...
1
vote
0
answers
419
views
Ffmpeg No such file or directory creating hls output
I am using ffmpeg to create a hls live stream with the following command
ffmpeg -i "rtmp://domain.com/stream/6" -c:v copy -c:a copy -f hls -y -preset superfast -hls_segment_type mpegts -...
-1
votes
2
answers
164
views
How to delete all files in all subdirectories while keeping the biggest file in each subdirectory under Linux? [duplicate]
This is my first question, thank you for allowing me to ask and for reading my question!
I am under Ubuntu 22.04 w. GNOME Shell and the bash shell.
I have a folder with over 800 subdirectories.
Each ...
0
votes
1
answer
3k
views
How can I HTTP stream a USB webcam plugged into my headless Ubuntu Server remotely?
I have a USB webcam plugged into my computer running Ubuntu Server at home. I want to access its video feed remotely.
I am connected to the server's network with a VPN, so I can SSH into it using ...
0
votes
0
answers
1k
views
ffmpeg error with SIGSEGV
ffmpeg was killed with signal SIGSEGV (using fluent-ffmpeg in nodejs on ubuntu)
I am expecting ffmpeg to take a provided url and timestamps, then trim the video down. Once that happens I want it to ...
0
votes
1
answer
2k
views
How to use ffmpeg to extract the third data stream in mpegts
I've add a private text stream into the mpegts, as the third stream. Now I need get the stream payload with ffmpeg, I failed neither in command nor in code.
Input #0, mpegts, from 'input.ts':
...
0
votes
0
answers
1k
views
Linux: Checking if VSync is active or not
How do I check if VSync is enabled on my Linux (Debian) system?
glxinfo | grep "VSync"
gives no result. Is there another command? I'm not playing games and only rarely experience tearing ...
2
votes
0
answers
1k
views
How to use hw acceleration on Rockchip CPU?
Based on Rockchips info notes:
Its VPU supports 4K60 H.265/H.264/VP9 video decoder, 1080P60 H.264/H.265 video encoder.
I installed their recommended system (Debian 11(Bullseye) Core, without GUI, ...
1
vote
1
answer
615
views
How to use ffmpeg to convert nv12 to bgra with hwaccel on intel GPU
I am new to video processing and recently started working on capturing camera content from rtsp h265 15fps 800x448 2000kbps and projecting it to /dev/fb0 device.
I use ffmpeg 4.4.2 on ubuntu 22.04 ...
0
votes
0
answers
296
views
Both windows and linux unable to open laptop integrated webcam stream
Device
I use a Lenovo Yoga Slim 7i Pro with Pop_OS 22.04, Windows 11 and elementary OS 6.1 currently installed in it. The device supports windows hello and hence has an IR webcam built in too, I ...
0
votes
0
answers
1k
views
Logitech C920 completely useless on Linux, I can't save any settings
When I tune camera and save those settings, they get reset on boot, on usb connect/disconnect, on select/deselect in Meet settings, when I change browser, when I change camera program, even when I ...
0
votes
2
answers
57
views
How to merge series of ffmpeg commands?
I am using the following series of commands to produce a video. Is it possible to merge all or some of those commands?
First, I extract some parts of the video, let's say three:
ffmpeg -y -ss 1666 -i ...
2
votes
1
answer
1k
views
How to resize video but do not stretch/modify original video using ffmpeg
Im pretty bad at video editing/property terms. Sorry in advance.
Green = Input video
Red = Output video
Sorry if this doesnt make sense. But can this be possibly achieved?
I tried searching for ...
0
votes
1
answer
97
views
independent rotation of each half of dual fisheye Gear360 video
The Samsung Gear360 2017 records dual-fisheye video. ie. two side-by-side circular images in a black square, one from each lens. mediainfo reports:
General
[...]
Format : MPEG-4
Format ...
2
votes
1
answer
763
views
How to map ffmpeg multiple outputs to pipes
I'm working on a transcoder backend to a project that intends to serve static mpeg-dash manifests and files for a frontend player. And I'm trying to figure out how I can get multiple outputs into ...
0
votes
1
answer
54
views
Large video delay with Nvidia T1000 (4GB) and Ricoh Theta Z1
When streaming UHD ([email protected]) to a video output (using a Nvidia T1000 4Gb 1065MHz 128bit graphics card) via USB the video delay is large (30 seconds). Not only is it large, but the delay ...
1
vote
1
answer
454
views
FFmpeg: maximum VHS quality?
I'm digitizing a number of VHS tapes into lossless video files using FFmpeg. How can I optimize my FFmpeg command further in order to come closer to the requested specs below, with the best possible ...
1
vote
1
answer
2k
views
ffmpeg can't create mfx session to use Intel Arc GPU
I'm attempting to use ffmpeg with my new Intel Arc A380 GPU. I am using a build off the master branch. I specifically want to test and utilize the GPU's hardware accelerated encoders for H264, HEVC, ...
0
votes
1
answer
254
views
Combine 2 FFMPEG commands - 1. Create a video loop and 2. Add track to loop X times / Add track to loop duration of video loop
I have these 2 commands for FFMPEG, but can't work out how to use the output from the first command and link into the 2nd one, and use them as a single process. I have the following:
Loop video for ...
0
votes
1
answer
359
views
How to know what file is currently playing in ffmpeg concat playlist?
I have a Docker Alpine Linux container with ffmpeg streaming bunch of video files to YouTube.
Videos are injected through ffmpeg -f concat -i mylist.txt where mylist.txt contains video file paths.
I ...
2
votes
0
answers
249
views
VLC mutes sound after seeking on Pop! OS
I noticed this issue when I was playing videos with VLC. When the video is originally opened, there is absolutely no visible problem.
However, seeking (with the mouse's cursor or the arrows of the ...
0
votes
1
answer
1k
views
How to copy audio & video streams without re-encoding in GStreamer?
In ffmpeg you can use "-c:a copy -c:v copy" to copy audio & video streams without re-encoding the output file, this is the way if you want to make little details in shorter time, like ...
1
vote
3
answers
4k
views
What is the equivalent flag for -crf for hevc_amf in ffmpeg
I am trying to compress some of my video collections with ffmpeg, and I wish to accelerate it with my RX 6900XT.
For libx265, I know that I can use the following command:
ffmpeg -i input.mp4 -v:c ...
0
votes
1
answer
1k
views
How to concatenate videos with different bitrates using ffmpeg
I want to concatenate two files having the following outputs from ffmpeg :
file1:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file1.mp4':
Metadata:
major_brand : isom
minor_version : 512
...
1
vote
0
answers
509
views
How to get motion detection on FFMPEG?
I am using FFMPEG as a surveillance CCTV system, working really well for me.
Now how can I get some form of motion detection where FFMPEG will take a pic and save it to a folder?
Would I need to use ...
1
vote
0
answers
144
views
How to export mestimate filter motion vectors into a separate file with ffmpeg binary?
So mestimate filter can be used to compute the motion vectors in a video. They can also be displayed. Is there a way to export them into a separate file using the ffmpeg binary? I would love to have ...
0
votes
1
answer
438
views
How to stop ffmpeg from recording faster frame rate than specified?
I'm trying to record a time lapse using ffmpeg. My input settings are:
ffmpeg -y -f v4l2 -input_format yuyv422 -framerate 0.333
I have tried to create both x264 and x265 output in an mp4 file.
But ...
0
votes
0
answers
1k
views
How to set a ffmpeg timeout when downloading a hls stream?
I am downloading a video from a HLS stream like this:
ffmpeg -i "http://example.com/stream.m3u8" -c copy -to "1:00:00" video.ts
However from time to time the server will have ...
1
vote
1
answer
517
views
playback speed faster than normal speed on linux mint's default video player
How do I watch videos with a playback speed faster than normal speed on Linux mint's default video player? I don't see an option to do so. For example x2 speed. Is that possible or do I have to ...
1
vote
2
answers
375
views
Why is audio streaming harder than video streaming?
I have two separate Linux computers on the same LAN. One computer has speakers, the other computer has a monitor. To play a movie with video and sound I have two options:
Play the movie on the ...
1
vote
0
answers
567
views
ffmpeg dynamic image overlay
I would like to add an image overlay (That I can then update) To my Livestream that takes RTSP as input and streams it to youtube.
Here is the command.
ffmpeg -f lavfi -y -i anullsrc -rtsp_transport ...
3
votes
0
answers
1k
views
FFmpeg stops encoding images to video after it encounters a bad image file
I am using a Raspberry Pi to record from 2 cameras at the same time using a multiplexer, meaning I can't set it to record mp4s directly and instead I have to take images, switch camera and then take ...