Questions tagged [linux]

Questions specific to linux environment

Filter by
Sorted by
Tagged with
0 votes
0 answers
20 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 (...
  • 1
0 votes
1 answer
85 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 ...
0 votes
0 answers
200 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 -...
0 votes
0 answers
20 views

Inexperienced with videos and looking for advice for dealing with incorrect avi framerate and possible alternatives

Hi there I am aiming to record 1 hr videos at 500x375) from a raspberry pi (running 64-bit bullseye) which need to be recorded in such a way that they can endure unexpected program termination or ...
1 vote
1 answer
591 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: ...
2 votes
1 answer
113 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 ...
  • 23
2 votes
1 answer
439 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 ...
  • 21
2 votes
0 answers
662 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&...
0 votes
1 answer
184 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
65 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 ...
  • 78
0 votes
1 answer
1k 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
326 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.
  • 195
0 votes
1 answer
571 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 ...
1 vote
0 answers
102 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?
1 vote
0 answers
25 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 ...
2 votes
0 answers
285 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 ...
  • 121
1 vote
0 answers
59 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 ...
2 votes
1 answer
876 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
1 answer
70 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
210 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
1k 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
740 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 ...
2 votes
1 answer
879 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
  • 195
2 votes
1 answer
251 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 ...
  • 195
1 vote
0 answers
360 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 ...
0 votes
1 answer
253 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, ...
5 votes
1 answer
830 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 ...
  • 151
0 votes
0 answers
211 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
489 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
1 answer
567 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 .....
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
208 views

Encode a small proxy file with multiple audio streams for editing on Linux

After capturing 2K video in 444p with OBS, I need to transcode it to a low quality proxy version that's still easy to scrub and not a huge file. I capture 3 audio tracks in 32-bit PCM and the image ...
  • 141
0 votes
0 answers
304 views

FFMPEG Live stream loop with overlay - Errors

I'm trying to do a livestream with a video loop, sound from the desktop and an overlay image that updates when I replace the file and a text that also updates when a file is replace but I seem to be ...
0 votes
1 answer
103 views

USB Webcam not working with USB Microphone

I have two USB devices: a webcam and a microphone. I can play the webcam's video into VLC and GUVCView. However, I want to use the microphone for another application. The issue is that launching ...
1 vote
2 answers
2k 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?
0 votes
2 answers
26 views

Video production at higher quality - alternatives and solutions

My question here is a redirection per suggestion of my original question over here I have an i5 4th gen CPU which can support 2k displays and output 2k signal. And I have an AMD Radeon R7 graphics ...
0 votes
0 answers
130 views

ffmpeg fake camera and mic out of sync

This is on linux with pulseaudio. I need to record a video with a rather bare-bones recorder that runs in chrome. I decided to fake a camera and a mic so that I can edit the video then use ffmpeg to ...
  • 101
0 votes
1 answer
106 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
1 answer
110 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 ...
1 vote
1 answer
142 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
1 answer
5k 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 ...
  • 141
0 votes
0 answers
285 views

Video seeking doesn't work for files recorded from a camera using ffmpeg

I'm using the following command to record videos from a camera: ffmpeg -framerate 30 -video_size 1280x720 -t 00:58:00 -i /dev/video0 /home/myuser/my_video.mp4 The problem is that the resulting video ...
  • 101
2 votes
1 answer
773 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) ...
  • 23
0 votes
1 answer
6k views

FFmpeg with OpenCL support - Ubuntu 18.04

Recently I asked about GPU acceleration in FFmpeg using AMD Radeon (AMD support for ffmpeg? Can't get my dedicated GPU to work). After many tests I see that fighting with this topic is hard, ...
  • 21
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? ...
0 votes
0 answers
50 views

Joining video files together getting gray/scrambled frames at transition point

I have an MPEG-TS video file of 60 seconds that was split in half (30 sec x 2 files). When I concatenate back (cat unix) the two video parts, during the play of the video right at the moment when ...
  • 1
2 votes
1 answer
104 views

Is there an app that can automatically separate scenes/clips from a video file and export them?

I am looking to parse a collection downloaded YouTube videos that are actually compilations containing clips from several different videos all over the web. I would like for this program to ...
  • 151
1 vote
1 answer
486 views

How to split video in small clip?

I'm trying to split a video (50-100Mo) into several small clips of a few seconds each. I don't need re-encoding, hence my use of codec copy. However some of the resulting clips don't have any video. ...
2 votes
2 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 ...
  • 241
3 votes
1 answer
127 views

Nvenc produces corrupted video

Someone knows how to solve this? Hardware: DRIVER: 396.24 CPU: Ryzen 1700 GPU: Nvidia MSI 1050 TI Settings