Questions tagged [linux]

Questions specific to linux environment

Filter by
Sorted by
Tagged with
0 votes
1 answer
2k views

How to obtain the correct framerate with ffmpeg image2pipe format?

I have 40 .jpg in my dir folder and want to create a video at 20fps from them. I've tried the following command: find dir/ -iname '*.jpg' | xargs cat | ffmpeg -f image2pipe -framerate 20 -i - -s ...
0 votes
1 answer
133 views

How to easily extract start/end times of several clips within a video?

I very often get videos from which I need to extract about 1 to 5 clips. Currently I watch those videos in VLC and take note of the start/end times that each of the clips span. I feed that into ...
0 votes
1 answer
380 views

Extreme video stabilization in Linux, again

I have a 3840x2160 MOV file taken with my EM1.II Olympus camera. It is a videoclip of a tiny bird taken in the wild without any aids. Hence, despite the good stabilization feature of the camera, the ...
0 votes
1 answer
454 views

DaVinci Resolve 16 playback sound not working (Linux)

With default configuration there's no sound present. I've tried different speaker configuration without any difference.
2 votes
1 answer
966 views

Use ffmpeg to stream rawvideo from a USB camera

I have a image sensor that streams 640x480 in RAW8 format. A USB controller is receiving this data, packing two pixels of 8-bits each and sending to USB as a 16-bits per pixel YUV422 format (this is ...
1 vote
1 answer
170 views

FFMpeg kmsgrab record pixels in incorrect order

ffmpeg -f kmsgrab -i - -framerate 60 -vf 'hwdownload,format=bgr0' -preset ultrafast out.mkv This is how a video frame should look like This is how it is recorded by ffmpeg https://drive.google.com/...
1 vote
0 answers
40 views

Kdenlive does not seem to be leveraging proxy clips

I am trying to edit some 4K clips in Kdenlive and so I would like to use the proxy clips feature to speed up editing experience. I have enabled the feature by default: I've also checked that it is ...
2 votes
2 answers
1k views

Convert TTML Subtitles to STL or SRT in Linux

I want to convert a file with TTML subtitles preferably to STL, or to SRT (less preferred). I thought that I would be able to do it with ffmpeg but apparently they do not support it, because the TTML ...
0 votes
0 answers
7 views

Looking for a player that can change the background of an RGBA video

Is there a Video Player for Linux where I can play a RGBA .mov file and set a Background Color? VLC is displaying transparency as black and I've found no way to change that. I know that OBS is capable ...
1 vote
1 answer
273 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 ...
2 votes
3 answers
3k views

Audio/video sync software for Linux (preferably open source)

I'm looking for a program that can synchronize audio and video from separate files. PluralEyes does this. I'm looking for something that runs on Linux and preferably is open source. I imagine a CLI ...
0 votes
0 answers
60 views

unable to record desktop using latest gstreamer in ubuntu 22.04

I can broadcast my desktop to a rtmp server successfully using gst-launch-1.0 ximagesrc use-damage=0 show-pointer=false ! video/x-raw,framerate=30/1 ! videoconvert ! queue ! x264enc ! queue ! flvmux ...
1 vote
0 answers
44 views

Less color and detail visible when videos are played in VLC (Linux, NVIDIA)

When I watch videos from my GoPro, the colors look much better in Dragonplayer (stock player with KDE). This is the case for both x264 videos: With HEVC there is also a difference, although I think ...
0 votes
0 answers
59 views

When multiple windows are captured simultaniously can OBS capture only cursor in currently active window?

I am making a small video for some of my colleagues where I show them how CI/CD with GitLab and Kubernetes works (software development stuff). For that purpose I would like too keep 4 windows visible ...
0 votes
1 answer
110 views

How to put a trailer clip in the middle of the main video with FFMPEG?

I have two videos of the same format encoded with the same codecs. I want trailer.mkv to be played after n minutes in the middle of main.mkv. After playing trailer.mkv, the rest of the main.mkv will ...
0 votes
1 answer
127 views

how to pipe:/// through a .sh or Python script, or use some sort of setting files with FFMPEG

First post, so be kind please :) So a quick bit of history. I am using tvheadend, and the inbuilt transcoder murders my CPU, and provides average quality output (it's powered by ffmpeg), if I pipe ...
0 votes
0 answers
129 views

FFMPEG hardware accelerated 10 bit downsampling to H264

I have a home setup where I use a Kubuntu 22 box as my home theater PC (HTPC) to play videos/movies/music in my living room. I also set up a raspberry Pi in the kitchen that receives a video stream (...
5 votes
1 answer
1k views

How can I create a LUT on Linux with free and open source software?

I use Linux for everything media production. I shoot RAW and process images with Darktable. Now that I've started making videos too (4K ProRes), I need to apply a LUT to them in post. This requires ...
0 votes
1 answer
1k views

How to fix interlaced mpeg2 video marked as progressive?

Is there a way to use ffmpeg (or anything else that can be used in linux) to fix an interlaced video marked as progressive, and mark it as interlaced so that I can get rid of bad interlaced frames? ...
2 votes
1 answer
1k views

Is it possible to embed a thumbnail in a .mkv file?

I am trying to embed a thumbnail in a .mkv file with h265 video encoding using ffmpeg from the Linux command line. I am able to embed thumbnails in h264-encoded .mp4 files using the following command: ...
0 votes
0 answers
478 views

Raspberry Pi Youtube Livestream - ffmpeg error: av_interleaved_write_frame(): Broken pipe

I'm using a Raspberry Pi 3B (OS: Raspian) to livestream an attached camera feed to YouTube using the following command in a python script(I removed the livestream secret key): raspivid -o - -t 0 -vf -...
3 votes
1 answer
3k views

Add semi-transparent box around subtitle

Hey guys how can I add box around subtitle like on picture with ffmpeg here is mi current command ffmpeg -i movie.mkv -strict -2 -vf "subtitles=subtitle.srt:force_style='FontName=ubuntu,fontsize=30',...
2 votes
1 answer
268 views

Whats the smoothest way to screen record with FFMPEG with accurate colors?

ffmpeg -f x11grab -framerate 60 -probesize 42M -i $DISPLAY -preset ultrafast -pix_fmt yuv420p vid.mp4 I use this currently and the video recording is smooth but colors are not accurate, they are ...
2 votes
0 answers
774 views

FFMPEG conversion failed at random times on live stream to youtube

I am running a bash script using ubuntu server on arm64 that live streams video and audio to youtube, heres the script below #! /bin/bash VBR="8000k" FPS="24" QUAL="superfast&...
1 vote
1 answer
2k views

Using FFMPEG to create video from images in sub folders

I know I can create a video from files in a folder like so: ffmpeg -f image2 -i %*.png out.avi But if the folder I am in have sub-folders can i use some sort of switch to read those image files in ...
0 votes
1 answer
301 views

Concat 2 video and add watermark first video ffmpeg

I have a Video #1, it has audio. Also I have a Video #2, with audio too. I would like to concat the #1 and #2 (or play #1 first, and then #2) and then add a watermark in #1 for the rest of the video, ...
1 vote
1 answer
3k views

Stream desktop (linux) with FFMPEG to VLC

Hey guys how can I stream my desktop to vlc I did found some examples but they do not work;First I need to start ffserver with some configs example here https://www.organicdesign.co.nz/...
0 votes
1 answer
848 views

Linux mkv packages for VLC

The video converter incorporated in VLC warns me when I select the MKV format with the message: This muxer is not provided by VLC. It could be missing. Is there an official list of these MKV-related ...
20 votes
5 answers
38k views

How to encode Apple ProRes on Windows or Linux?

Is it also possible to encode video with Apple ProRes on Windows and Linux?
2 votes
1 answer
296 views

DaVinci Resolve ignores MOV (QuickTime) metadata

When importing MOV files on Linux, DaVinci Resolve seems to use only modification date from filesystem, but completely ignores metadata from movie file: Using e.g. exiftool we can fetch date ...
39 votes
6 answers
58k views

How to get FFMPEG to join non-sequential image files? (skip by 3s)

I have a bunch of images, that follow this pattern. 0001.png 0004.png 0007.png 0010.png 0013.png 0016.png 0019.png ... They're in the correct order, but FFMPEG ignores anything after the first file, ...
3 votes
5 answers
23k views

What is good software for camera recording under Linux?

I use Linux(Mint Linux Petra) and will probably switch to Ubuntu 14 soon. I need to record video with my camera on my laptop(imagine I use a web-camera for simplification) and I need to see real-time ...
1 vote
0 answers
30 views

What Liunx video editors support keyframed speed ramping?

On Mac OS, Final Cut Pro supports speed ramping. How about Linux video editors? Kdenlive and Shotcut don't support speed ramping at all, so it has to be done manually. Apparently the Olive editor ...
1 vote
0 answers
62 views

a software program that allows me to draw on the screen while a video is playing and outputs a new video with the drawings on top of the old video?

As stated in the title, it is as simply as that. I need a piece of software that plays a video and then allows me to draw on top of the video and then the output will be a new video with the draws on ...
1 vote
0 answers
134 views

How Do I Make Kdenlive Use Multiple Threads For Import?

Adding a large clip with Kdenlive takes a long time. When I look at the system monitor it is using a single core at 100% How do I make the input process use multiple cores?
2 votes
0 answers
342 views

Stabilize MP4 from gyroscope metadata? (Insta360)

I just got an Insta360 One R 1-inch sensor and the footage is shaky as hell. I realised that you need their desktop application to actually stabilise in post-production but since I'm on Linux this is ...
9 votes
2 answers
4k views

Forcing kdenlive to adapt its profile to the video clip

kdenlive starts with a profile for instance 1080*720/etc. Then I import a video clip. How to tell kdenlive to modify its profile to match the video clip? Modifying the profile manually by copy/...
2 votes
1 answer
918 views

Combining two video fields into one (to create an interlaced video)

I have two separate video fields (top.avi and bottom.avi) and I would like to merge them to create an interlaced video. Is it possible to do this with ffmpeg? (or any other tool for Windows or Linux) ...
0 votes
1 answer
79 views

change Lightworks folder [Linux]

I've installed Lightworks Free on Linux Debian. When execute, it generates a Lightworks directory in /home/USER. After move it to another directory where got all the programs, and execute it again, it ...
0 votes
0 answers
332 views

Converting/filtering/deinterlacing VHS captures on Linux

I'm pretty much a novice video editor especially on Linux. I'm looking to take a bunch of old home videos I captured using ffmpeg and clean them up as painlessly/automatically as possible. At this ...
0 votes
0 answers
2k views

FFmpeg works in linux and same command in windows get me error Invalid data found when processing input

I have remote index.m3u8 file and I want to download it with ffmpeg. The contents file is: #EXTM3U #EXT-X-TARGETDURATION:6 #EXT-X-ALLOW-CACHE:YES #EXT-X-PLAYLIST-TYPE:VOD #EXT-X-KEY:METHOD=AES-128,URI=...
1 vote
1 answer
900 views

ffmpeg: Placing an overlay over multiple images

I am trying to overlay a png image onto a series of images (a few hundred images), I will later take this series of images with the overlay and construct a movie out of the series of images. I don't ...
11 votes
1 answer
20k views

convert KAZAM video file to a file, playable in windows media player

I have some mp4 video files that are created by KAZAM in Linux. But I need to play those files on Microsoft Windows only by Windows Media Player (for example I can not install VLC media player). Also ...
2 votes
1 answer
1k views

DaVinci Resolve Python 3.6 not found

I'm trying to run some basic scripts on Linux (Debian), however no python can be found. Both Python 2 and 3 are present on the system. $ python -V Python 2.7.18 $ python3 -V Python 3.8.5
1 vote
0 answers
387 views

OBS in Linux can't find NDI sources from other PC running Skype in Windows

As SkypeforLinux has no NDI support, I decided to split the work between two computers. A windows laptop to manage Skype videochatting with NDI support and a Archlinux PC with OBS and the obs-ndi ...
1 vote
1 answer
7k views

Export multiple clips from one video as separate files

I'm looking for video editing software with a GUI that will fit my needs. I've downloaded the video of the public comments from our most recent local city council meeting. 17 people gave public ...
0 votes
0 answers
248 views

What is the recommended settings for video editing using ffmpeg?

I am quite new for using FFmpeg, and I am using FFmpeg in screen recording. I checked the online documentation in this link ffmpeg documentation "Capturing your Desktop / Screen Recording", ...
0 votes
1 answer
618 views

How do I crop multiple areas of each frame of the video using ffmpeg?

For each frame I want to crop multiple areas using ffmpeg but I am not sure how to proceed. This is what I have done to crop one part of the image, fmpeg -i video.mp4 -filter:v "fps=1,crop=759:41:...
1 vote
2 answers
3k views

How to render Adobe Premiere or After Effects projects on Linux?

I'm looking for automating video editing and rendering tasks on Linux. Is there a way I can use Nodejs to automate Adobe Premiere or After Effects on Linux?
1 vote
1 answer
686 views

ffmpeg log missing "dup" and "drop" key-value pairs

For some reason, my ffmpeg output log does not show dup and drop key-value pairs. expect: ... frame=563 fps=138 q=23.0 size=13056kB time=00:00:09.42 bitrate=11346.8kbits/s dup=0 drop=0 speed= 2.3x .....