Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
46 views

Libavformat.so no longer found after upgrade

I just updated to Ubuntu 24.04 LTS and Audacity can no longer find the FFmpeg Library. Specifically, libavformat.so in order to convert audio files. I have FFmpeg fully installed. Any thoughts?
animal_chin's user avatar
0 votes
0 answers
54 views

ffmpeg in ubuntu slower than on win11

Completely new clean Ubuntu 24.04 desktop install, performance power mode, installed ffmpeg 6.1.1-3ubuntu5, installed s-tui for power monitoring. Testing video recompression with -c:v libx265 -crf 27 ...
Charon ME's user avatar
  • 196
0 votes
0 answers
21 views

output's bitrate is vary from specified bitrate for ogg file using ffmpeg

I'm trying to convert a wav file into an ogg file. I set bitrate=320k, but the output's bitrate is about 289. this is command that I use: ffmpeg -i audio.wav -ar 44100 -ac 2 -ab 320k output.ogg do ...
Zahra M's user avatar
0 votes
1 answer
71 views

Video format not supported in Opera snap

I was asked for help with Opera installed on Ubuntu 24.04 via Snap not playing some videos. I've heard about the issue with ffmpeg version Opera uses, but thought it was about opera installed via APT. ...
Aenye_Cerbin's user avatar
1 vote
1 answer
90 views

ffmpeg x11grab on ubuntu: increase FPS

I am trying to configure FFMpeg to capture whole FHD screen (browser with videos inside and sounds). The result has too low FPS (from 3 to 15 per second, depending on CLI params, but i need at least ...
dimaninc's user avatar
  • 129
0 votes
2 answers
44 views

Record two specific areas + background sound AND input audio (with ffmpeg)

So how do I record my screen with background sound AND input audio with ffmpeg? And could you also record two areas on the screen at once (so that, for example, another area is displayed at the bottom ...
REX DUNGEUR's user avatar
0 votes
0 answers
62 views

Splitting audio m4b file into separate files based on a cue file

Splitting audio m4b file into separate files based on a cue file How can I split an audio m4b into separate files using a cue file? Note: The m4b file has no chapters that's why I need to use the cue ...
Rick T's user avatar
  • 2,223
0 votes
1 answer
102 views

Accurately batch trim first few seconds of video file with ffmpeg

I have a large number of .mp4 files and I want to trim just the first 3 seconds off of each. I tried using the following command: ffmpeg -i input.mp4 -ss 00:00:03 -vcodec copy -acodec copy output.mp4 ...
Jump's user avatar
  • 1
2 votes
1 answer
183 views

How to merge MP4 video without audio with MP3 file using CLI tools, considering offset

I have a challenge I'm hoping to solve with your expertise. I possess an MP4 video file that lacks audio, and a separate MP3 audio file that I wish to synchronize and merge with the video. The ...
Gosha Spichkin's user avatar
0 votes
0 answers
961 views

Opera browser stopped playing videos

Ubuntu 22.04.3 LTS 64 bit A few days ago Opera One (version: 107.0.5045.15) stopped playing videos on multiple sites where videos used to play OK. I have not knowingly made any changes that might have ...
MitcheCA's user avatar
4 votes
1 answer
458 views

Bulk converting mkv files into mp4 files using only one line of xargs

This answer converts a batch of mp4 into mp3 using a for loop. I want to achieve something similar with only one line of code. After some trial and error, I figured out the following code. ls | grep ....
Raven Cheuk's user avatar
2 votes
1 answer
294 views

How to restart /dev/video

I'm creating a webcam feed the following way: using this Python3 lib: https://github.com/Flashs/virtualvideo plus having v4l2loopback-utils installed (not 100% sure it's needed) enabling the video ...
itarato's user avatar
  • 155
0 votes
0 answers
48 views

mp3gain says file is an MPEG Layer II file, not a layer III file

Seems not to make a difference what value I pass to -g under these conditions where it complains file is an MPEG Layer II file, not a layer III file
fugee ohu's user avatar
0 votes
0 answers
66 views

Popping sounds when recording screen with FFmpeg

I am using FFmpeg (X11Grab and Alsa) to record a virtual screen. I have an Ubuntu server, and I am using xvfb as virtual frame buffer. I launch a browser process using Puppeteer, and record it using ...
Hammad Fida's user avatar
0 votes
1 answer
2k views

How to install latest version of FFmpeg on Ubuntu

I'm currently developing an application that shells out to FFmpeg which will run on Ubuntu in the cloud. I want to install the current version (at the time of this writing, 6.1). If I run sudo apt ...
casperOne's user avatar
  • 117
1 vote
0 answers
400 views

In ubuntu my camera isnt working ,no device found ,both on cheese and google meet

I use Ubuntu on pen-drive and the OS was working well till last night[ 8 Nov] but today after running my code related computer vision, I did have a system software update prior I was about to use ...
Hacker69i's user avatar
0 votes
1 answer
251 views

Slideshow from jpg files

Have an command to make slideshow mp4 from *.jpg files: ffmpeg -r 1/3 -f concat -safe 0 -i <(ls -v *.jpg | sed "s|^|file '$PWD/|") -vf "scale='min(1920,iw)':min'(1080,ih)':...
DJArty's user avatar
  • 29
0 votes
0 answers
524 views

How to convert/encode video files with ffmpeg, using AMD Radeon hardware encoding

Good day, and thanks in advance for any help I am running Ubuntu 22.04 LTS on a PC with an AMD Ryzen 7 5700G CPU and AMD Radeon RX 6600 GPU. I have a large number of video files in MP4 format that I ...
Shmettie's user avatar
0 votes
0 answers
152 views

Regarding ffmpeg in ubuntu 22.04

I need to convert a rtsp and a rtmp link to two different UDP link at the same time using ffmpeg in ubuntu server 22.04. I need to run this as background process only. Also is there any option to ...
Mohammed Fawaz M's user avatar
0 votes
0 answers
319 views

Capture xvfb stream from docker container using webRTC

I have a Windows game .exe file and running the game inside a docker container (In EC2 Linux VM) using xvfb version of the X server. Now I want to Capture X server stream from the docker container to ...
HIMANSHU SAHU's user avatar
0 votes
0 answers
69 views

ffmpeg: how to bulk-compress videos into a subfolder, but only those >1Mb?

Using Anki desktop and AnkiDroid to develop a LSF (French Sign Language) learning deck, I edit cards with written word on front card, signed word in .mp4 on back card. With a ~10k cards right now, I ...
yoannjap's user avatar
  • 111
0 votes
0 answers
107 views

Two processes have different behavior while running with the same command and same binary file

There's an app in Ubuntu server, which runs a FFMPEG instance. That instance keeps working fine. But when I run the same command with the same binary executable in terminal, it exits after 3 or 4 ...
james hofer's user avatar
2 votes
0 answers
521 views

Syncing Audio and Video Streams with FFmpeg to Resolve Timestamp Differences

I've encountered an issue with a video file where the audio and visual streams are out of sync. After some research, I've learned that this might be due to timestamp differences between the two ...
Olasubomi's user avatar
1 vote
1 answer
332 views

How to loop an animated GIF file as a background of a music?

I have a GIF file which is 5 seconds long, and an mp3 which is about 3 minutes long. I want to create a video where the GIF file will be the background animation (replayed repeatedly), and the mp3 ...
Archisman Panigrahi's user avatar
0 votes
1 answer
261 views

ffmpeg undefind symbol: err_set_debug_level

I am using Ubuntu 22.04. My ffmpeg has suddenly stopped working and is giving this error: ffmpeg: symbol lookup error: /lib/x86_64-linux-gnu/libpocketsphinx.so.3: undefined symbol: ...
Delta_G's user avatar
  • 101
1 vote
0 answers
93 views

How to fix video orientation to match properties details dimension using ffmpeg?

When I record videos with my phone while it is vertically orientated the video displays correctly in most media video players. But then I noticed that when I load the video into Blender it displays ...
Harry McKenzie's user avatar
0 votes
1 answer
101 views

ffplay won't play videos in Documents subfolders, firejail configuration issue

I have a subfolder of ~/Documents where I want to store various videos (.mp4 files). I don't particularly want to move them to the ~/Videos folder because they contain other files which are not videos....
Nick Gammon's user avatar
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 ...
Allen Williams's user avatar
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/...
Bitlab's user avatar
  • 1
0 votes
0 answers
116 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 ...
Roman Glos's user avatar
1 vote
1 answer
304 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 ...
RolandiXor's user avatar
  • 51.1k
2 votes
2 answers
187 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 ...
P Simdars's user avatar
  • 259
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 ...
wen's user avatar
  • 1
0 votes
0 answers
167 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 ...
Paul Gregoire's user avatar
0 votes
0 answers
1k 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 ...
Raul's user avatar
  • 1
0 votes
1 answer
250 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 ...
ilie alexandru's user avatar
0 votes
1 answer
57 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 + ...
hasanghaforian's user avatar
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 ...
Stanislav Hosek's user avatar
2 votes
1 answer
1k 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 ...
ilie alexandru's user avatar
1 vote
2 answers
1k views

How to show "live" progress of ffmpeg process with zenity (or yad, or kdialog)?

I have a script to cut/trim media files - initial details here and here; after some more recent adjustments adjustments it looks like this: #!/bin/bash INPUT=$1 eval $(yad --width=400 --form --field=...
cipricus's user avatar
  • 3,526
1 vote
1 answer
730 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', '...
Elias Tommeh's user avatar
2 votes
2 answers
8k 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-...
UlrikHD's user avatar
  • 23
1 vote
0 answers
332 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 ...
JonaPoka's user avatar
0 votes
1 answer
314 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 ...
user2671688's user avatar
4 votes
2 answers
856 views

What is the right parameter for ffmpeg to record audio+video simultaneously?

I have been searching the internet on how to record a streaming playback with video and audio. I found this recipe: ffmpeg -video_size 1920x1080 -framerate 25 -f x11grab -i :0.0 -f pulse -ac 2 -i ...
Adalbert Hanßen's user avatar
1 vote
2 answers
208 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 ...
Migs123's user avatar
  • 11
5 votes
1 answer
3k views

How can I convert my webm screencast to mp4?

Gnome has a built-in screencast tool using ctrl plus shift plus alt plus R. It's a great tool with consistent quality video output! But, I need the output in mp4. I have tried this: ffmpeg -i ...
Costa Michailidis's user avatar
6 votes
3 answers
9k views

trying to (re-)install ffmpeg, but unmet dependencies

I previously tried to follow https://ubuntuhandbook.org/index.php/2022/02/install-ffmpeg-5-0-ubuntu/ in installing ffmpeg 5 on ubuntu 20.04 LTS, that did not work. Now I have upgraded to Ubuntu 22.04....
josh's user avatar
  • 81
2 votes
0 answers
302 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=...
Itzik.B's user avatar
  • 21
1 vote
0 answers
400 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 ->...
Jan's user avatar
  • 199

1
2 3 4 5
18