Questions tagged [ffmpeg]

FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video.

Filter by
Sorted by
Tagged with
0 votes
0 answers
21 views

Devede not installable 22.04 LTS [duplicate]

Ubuntu 20.04 LTS had Devede installed and worked fine. Updated to 22.04 LTS and this, and other programs (e.g. Audacious) disappeared, either immediately, or subsequently. Cannot re-install. Tried ...
3 votes
1 answer
3k views

Use custom video to feed camera

What I am trying to achive is to redirect my camera /dev/video0 with a custom video file. Desired Reasult: When opened a application like cheese or websites like jitsi which process the buffer from my ...
5 votes
2 answers
13k views

FFMPEG permission denied trying to covert video

This problem started for me on 18.04, and I tried to fix it then, unsuccessfully. I've recently upgraded to 21.04 on a new hardware and the problem persists. I installed ffmpeg 4.3.1 from the Ubuntu ...
0 votes
0 answers
38 views

Cannot upgrade Ubuntu 16.04 because it asks about non-existing ppa [duplicate]

When I am trying to upgrade Mate Ubuntu 16.04, the process stops at command $ sudo apt-get upgrade E: Failed to fetch http://ppa.launchpad.net/jonathonf/ffmpeg-3/ubuntu/pool/main/f/fontconfig/...
0 votes
0 answers
162 views

Cannot build native apps after upgrading to 22.04 from 20

It seems that I get stuck going down a rabbit hole when I try to build anything depending on ffmpeg, avlib, and gstreamer since switching to ubuntu 22; its incredibly frustrating and I wonder if the ...
1 vote
1 answer
284 views

Some snap applications no longer playing mp4 files?

Since a recent update (obviously not manual, since these are snaps), I've been having trouble playing MP4 files in Firefox and Telegram, possibly other apps as well that I haven't tested. After ...
0 votes
1 answer
21k views

Installing xvst on ubuntu 14.04? ffmpeg missing

I'm trying to install xvst: http://xviservicethief.sourceforge.net on my ubuntu 14.04 64bits I have tried adding the repositories as described over here: http://linuxaria.com/article/download-your-...
35 votes
5 answers
131k views

How do I add and/or keep subtitles when converting video?

I have a MKV video I want to convert to MP4, but every which way I try and convert it (Handbrake, WinFF, FFmpeg, MEncoder,...) I lose the video's subtitles. How can I convert the video, keeping the ...
0 votes
0 answers
115 views

FFMpeg convert only Audio and keep Video Setting with Subtitles, Metadata

I've been dealing with video conversion for a while now. I would like that the video is taken over 1zu1. Only the audio should be changed from DTS to AAC. Unfortunately, the command does not accept ...
2 votes
2 answers
176 views

Can ffmpeg be used to concatenate files?

A while back I asked how to convert mp4 files to mp3 and someone pointed me to ffmpeg. That is a great command and it does a great job. Now I'd like to know about concatenating files together. Can ...
0 votes
0 answers
44 views

ffmpeg add watermark out of memory

we want to add watermark to video using ffmpeg. When the video is relatively large, there will be out of memory. Below is our code, how can I go about eliminating this problem. enter code here ...
2 votes
0 answers
1k views

ubuntu 23.04, no pulseaudio, only pipewire, ffmpeg, no audio when record desktop

On Ubuntu 23.04, there is only pipewire, no pulse audio. When I use ffmpeg for record desktop, no sound is recording. In case I use hw:1, it record one second of audio and then silence. Does ffmpeg ...
2 votes
2 answers
331 views

Concatenating separate commands that download m4a and converts it to mp3 all in one

I can download the audio using the command below but how can I also convert it into a mp3 file at the same time. Example: Download m4a file yt-dlp -f 139 --external-downloader aria2c --external-...
2 votes
2 answers
2k views

Bad lib references building FFmpeg after upgrading to 22.04

I have a custom FFmpeg build, with custom filters, built from the FFmpeg master branch. It's working fine in 20.04, on several machines. However, when I tried to run it on my personal machine, updated ...
0 votes
0 answers
967 views

Ubuntu 16.04 ESM / 18.04 ESM / 20.04 ESM / 22.04 ESM / 22.10 : FFmpeg vulnerabilities (USN-5958-1) after running nessus scan [duplicate]

So I have run several nessus scans to check for vulnerabilities on my ubuntu 20.04 setup and I keep getting this vulnerability. I have followed this: https://ubuntu.com/security/notices/USN-5958-1 and ...
0 votes
1 answer
234 views

Concatenate multiple trimmed videos FFmpeg

I am a rooky in FFmpeg and I am trying to concatenate multiple videos that must be trimmed into a new video, the command that I am trying to use is: ffmpeg -i 00042.mp4 -ss 00:00:02 -to 00:00:03 -i ...
0 votes
1 answer
55 views

Recommended application for converting mathematical signal to sound

I use Ubuntu 22.04. Is there an application for converting mathematical periodical sin/cos formula (functions) to sound? For example is there a way for playing these signals: cos(2π · 440 t) cos t + ...
0 votes
0 answers
93 views

Could not allocate audio samples "Invalid argument"

I trying to open OpenBoard podcast when start recording getting this error and the recorded video does not have audio Invalid path data; path truncated. Persisting document; path is "/home/...
0 votes
0 answers
21 views

create a color effect around the edge of the video

I'm confused about how to write what I want. but i can explain in beginner's way. I want to create an effect like an image stroke that surrounds the corners of the video. for example starts at center ...
2 votes
1 answer
914 views

Creating HLS Playlists (M3u8) Using FFmpeg

I created my own bash script that will create videos on demand with different resolutions and bit rates. I used "ffmpeg" tool do that, "ffmpeg" is a must, hence I can not use any ...
9 votes
2 answers
48k views

How do I use ffmpeg's -filter_complex

I am using FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.3 and it doesn't allow me to use -filter_complex. It shows: ffmpeg: unrecognized option '-filter_complex' I want to overlay 2 videos, how ...
0 votes
0 answers
55 views

ffmpeg lock's up pc

I have an i7-10700kx16. With 64g ram and 2 2tb SSD, The board is a z590-p. The video card is UHD 630 CML GT2. I install Ubuntu 23.04 and the ver of Ubuntu. Every time I to use Kdenlive or FFmpeg from ...
0 votes
0 answers
220 views

How to show ffmpeg progress with kdialog?

I have found here here a script that provides a GUI interaction in order to trim/cut media files. I have tried to improve it a bit. Now it involves a file picker to select the file, a timestamp window ...
1 vote
1 answer
676 views

Shell script works manually but doesn't work correctly in Crontab

I have a Python script to record audio/video using the "subprocess" module to execute ffmpeg commands, as follows: def kill_ffmpeg_process(args): for proc in psutil.process_iter(['pid', '...
2 votes
2 answers
7k views

Upgrading ffmpeg from v4.4.3 to v6 with apt in 22.04

I'm trying to install the latest ffmpeg version on Ubuntu 22.04. Using ubuntuhandbook's guide proved no success. The commands in the guide are: sudo add-apt-repository ppa:savoury1/ffmpeg6 sudo add-...
1 vote
0 answers
274 views

ffmpeg output doesn't have the audio

I'm working on a 24/7 music streaming channel. This script should stream the bg.mp4 on loop and play mp3 files from a folder called mp3. Currently streaming the mp4 file on loop works but no audio is ...
15 votes
1 answer
31k views

Converting a .VOB file into .mp4 or other format to decrease the video size

I have a folder that contains few .VOB format file. The folder actually contains a movie and typically a movie of that length would occupy 2 to 5 GB but the folder I have is 18 GB! Is there any way I ...
1 vote
1 answer
6k views

Can not install "libudev-dev" on Ubuntu 22.04

I am trying to compile FFMPEG from source because I need to manually build it with AMD AMF drivers to get GPU hardware acceleration. Following Ubuntu FFMPEG build instructions: https://trac.ffmpeg.org/...
5 votes
2 answers
8k views

screen recording with ffmpeg

I need to record but only the active window AND without audio: I'm using this command but it records all screen (with application bar) ffmpeg -f x11grab -video_size 1920x1080 -framerate 25 -i :0.0+...
1 vote
1 answer
2k views

Ffmpeg Can Not Open "display"

I get this error when I type in the terminal: ffmpeg -f x11grab -y -r 30 -s 1920x1080 -i :0.0 -vcodec huffyuv out.avi I am using Ubuntu 21.10, and after typing into the terminal echo DISPLAY, I get &...
0 votes
1 answer
304 views

Tons of software disappeared after 20-04 dist-upgrade

I'm on 20.04, procrastinating on updating to 22.04 (older system, need to research performance implications first). I kept getting "partial upgrade" messages, and wanted them to go away, so ...
1 vote
2 answers
189 views

How to batch change a file extention

I have a bunch of mp3 files that I would like to change the extension of into m4bs, in the terminal for audiobooks. I want to convert/change the name of each indivicual mp3. I am pretty sure I can ...
3 votes
3 answers
7k views

Chrome in Ubuntu 21.10 only achieves video acceleration with VP9, not with H.264, resulting in higher CPU usage

I'm checking with the developers tools, and with VP9 on youtube, I get Vpx decode, but with H264, I get FFMpeg only. I'm launching with the flags: --ignore-gpu-blocklist --use-gl=desktop --enable-...
2 votes
0 answers
290 views

getting black screen while trying to record dockerized lxde using ffmpeg

I have created a docker image that has LXDE and TightVNCServer. # Pull base image. FROM ubuntu # Install LXDE and VNC server. RUN apt-get update RUN apt-get install -y xvfb RUN DEBIAN_FRONTEND=...
0 votes
0 answers
172 views

how to add watermark ffmpeg custom duration

I'd like to ask, how to add a watermark in ffmpeg at a certain duration? for example I have a 2 minute video, I want the watermark to appear at 1:15 - 1:25 how to do it?
0 votes
2 answers
4k views

ffmpeg library libfdk-aac.so.1 absence ubuntu 22.04

Good morning, I had install ffmpeg by web site: https://trac.ffmpeg.org/wiki/CompilationGuide/Ubuntu. I removed all install problems. But i had problem when launch ffmpeg command "ffmpeg: error ...
3 votes
2 answers
437 views

How to calculate the UDP input Bitrate and Output Bitrate

How to Calculate the UDP Bitrate and information(UDP Input bitrate and UDP Output bitrate) Like ffprobe Input #0, mpegts, from 'udp://269.1.1.104:1001': Duration: N/A, start: 25881.121689, bitrate: ...
16 votes
3 answers
40k views

How do you install avconv on Ubuntu 18.04?

I am trying to install avconv by running the following command, but the library doesn't exist anymore for Ubuntu 18.04. sudo apt-get install avconv It is told on other Ubuntu forums to replace the ...
3 votes
1 answer
1k views

Why does `ffmpeg` depend on desktop-related packages?

I'm a sysadmin and I wanted to install ffmpeg and its libraries to my Ubuntu server as one of user's web-app requires it to transcode audio files. But why does it depend on so many packages that aren'...
1 vote
0 answers
369 views

Kdenlive 22.08.3 Stabilize menu item missing

I am running Kdenlive 22.08.3 on my Ubuntu 22.04.1 desktop. I have a video clip which I want to stabilize. When selecting this clip I should get a "Stabilize" menu item in the menu Clip ->...
0 votes
1 answer
178 views

Calculate video total video length and output as total with respective folder

I'm working with some videos and I want to measure the total length of videos each folder contains and output it with the respective folder. Current structure is like this. . └── Parent folder/ ├──...
2 votes
1 answer
246 views

mp3splt bsed on time and silence

How can I split an mp3 into 3 min chunks with the closest silence place/mark. mp3splt -t 3.0 -a -p th=-50,min=1,rm audobook.mp3 I tried the above but still mp3splt split the mp3 file into 3-min ...
0 votes
0 answers
50 views

Is there problem with 'read' command in Bash, or in Bash itself when using multiprocessing, or may be I make some mistake?

First to mention that I do not have lot of experiences with Bash scripting. Here is the problem that I observe: When I execute read command and inside the cycle I run background processes, the read ...
0 votes
1 answer
2k views

Convert .MOV video file from Iphone to playable .mp4 file

I record some video form my Iphone and I get .MOV files using vcodec hevc. As is, it's unplayable and unusable on editing soft. So I tried to convert it to .mp4 file using ffmpeg comand: ffmpeg -i ...
0 votes
0 answers
370 views

How can I use ffmpeg to convert from mp4 to avi for use in Davinci Resolve without massive increase in filesize?

I have an mp4 file that I'd like to edit within Davinci Resolve. Due to licensing issues, the free version of Resolve cannot edit videos that are encoded using h.264. I'd like to use ffmpeg. I ...
1 vote
1 answer
982 views

Convert MKV to audio only in Linux

I am trying to convert a video (recorded with OBS) from MKV to audio only (e.g. MP3 or OGG) in k(Ubuntu). I tried this command first : ffmpeg -i myVideo.mkv -acodec libvorbis output.ogg the result ...
1 vote
0 answers
599 views

how to have ffmpeg delay 1 minute to system then run stream?

i want to restream with ffmpeg , how do i make it delay 1 minute ( but save to ffmpeg ) then stream ? the reason for the 1 minute delay is because my connection is slow, if it waits 1 minute it might ...
1 vote
0 answers
146 views

gphoto2 movie capture error: no Viewfinder mode for Canon EOS 400D Rebel XTi

I recently got an Canon EOS 400D to use as a webcam for recording videos. I checked gphoto2 documentation to make sure that it can work as a webcam. The documentation says "Yes" for the ...
0 votes
1 answer
286 views

NVENC or Laptop Screen, but Not Both!

Dell Precision M6800 NVIDIA GK104GLM [Quadro K5100M] Ubuntu Studio 22.04 LTS Fully updated (sudo apt update && sudo apt full-upgrade) This answer seemed to be the most promising to get NVENC ...
0 votes
1 answer
135 views

ffmpeg: no background sound

I can see my video but I cannot hear some background sound. This is the command I'm using: ffmpeg -f x11grab -video_size 1366x768 -framerate 20 -i :11 /home/userx/Desktop/out.mpg How can I enable ...

1
2
3 4 5
18