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

Hard-Link video and audio files downloaded with YT-DLP together

So, on my Ubuntu 20.04 machine I have a ton of videos on my hard drive, some downloaded with YouTube-DL while others were downloaded with YT-dlp. I have a bad habit of using the -k flag which keeps ...
user avatar
0 votes
0 answers
15 views

davinci dont show videos on ubuntu [closed]

screenshot how it looks Hi. I'm new user of Linux. I have Mint. I wanted to edit my wideo using Davinci. After following few tutorials it,s finally on my computer, but now I can't play video inside of ...
user avatar
0 votes
0 answers
40 views

How can I choose which audio and subtitle tracks to keep when converting from MKV to MP4 with FFMPEG?

I have an .mkv file where there's 2 Audio tracks and 2 Subtitle tracks (SRT format). I want to convert that .mkv to mp4 and have it have Audio track #2 and Sub track #2 as the ones to play when I ...
user avatar
  • 1
0 votes
1 answer
36 views

22.04: How to resolve "libdbus-1-dev : Depends: libdbus-1-3 (= 1.12.20-2ubuntu4) but 1.12.20-3~devacom is to be installed"?

I've been trying to compile a couple of things (ffmpeg, smooth) and I run into this dbus error. It seems to be related to Ubuntu 22.04 because I did not have a problem compiling ffmpeg in 18.04 or 20....
user avatar
  • 85
0 votes
1 answer
71 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 ...
user avatar
0 votes
1 answer
61 views

How to use ffmpeg to decrease video file size drastically

I've looked around, but all I can find is people asking how to decrease file size without losing quality. I don't care about quality, I just want to get the smallest file size I can. I'd prefer to ...
user avatar
0 votes
0 answers
15 views

ffmpeg, possibility /dev/video0 image shot when it is busy?

in case of using ffmpeg, is possible to make on the same device /dev/video0 screenshot when device is in use? ffmpeg -f video4linux2 -i /dev/video0 -f image2 -frames:v 1 -qscale:v 2 pipe:1 > test....
user avatar
  • 768
0 votes
0 answers
26 views

Workout the ffmpeg settings used to create a mp4

I am almost 99% sure this is a particularly useless question. As you can see the codec information and they are identical. The information on the left does not work,when sharing with whatsapp, the ...
user avatar
0 votes
1 answer
27 views

Recursively process video files to make space

I've maxed the storage space I have and I would like to make some space. I've thought of converting all files to mkv and down-scaling high resolution files to a lower resolution. So to convert mp4 to ...
user avatar
0 votes
0 answers
15 views

BD (BlueRay Disk) not complete readable anymore, recover films via Hex-Editor and Avidemux

By the "aging process" some BDs are not complete readable anymore. If so named rpts-Files on BD will be corrupted the respective films will not be indicated by e.g. Nautilus, the BD-recorder ...
user avatar
0 votes
0 answers
32 views

How to perform a looping task in Terminal [duplicate]

I have files like these: 01 - A.wav 02 - B.wav 03 - C.wav an so on until 15 - BLA.wav I want to convert with ffmpeg those .wav files to .mp4 with background I've been already made. And the command ...
user avatar
0 votes
0 answers
6 views

FFmpeg reclocation error and no version information available when running ffmpeg

When ffmpeg is executed, a relocation error and no version information available appears. The device is Jetsonano and the environment is Ubuntu 18.04 and the camera is using picam2. I installed gcc ...
user avatar
0 votes
0 answers
96 views

Remove all metadata from an audio (Opus) file except for a few tags via CLI?

The few tags I want to preserve are: artist name, track title, date, album title, album artwork. I can do this with MP4 files using exiftool like: exiftool -all= -tagsfromfile @ -artist -album -title ...
user avatar
  • 111
0 votes
1 answer
38 views

Using --enable-libvmaf turns FFmpeg compilation to non-free

I have successfully compiled using instructions at this link with some modifications to libvmaf code section: wget https://github.com/Netflix/vmaf/archive/v2.3.0.tar.gz & -Dbuilt_in_models=false ...
user avatar
1 vote
1 answer
122 views

FFmpeg for Super Resolution : libtensorflow_framework Relink Error & vaSyncBuffer undefined symbol

I am trying to do Super Resolution with FFmpeg following this thread from Video Stackexchange : How do the super resolution filters in FFmpeg work ?. SYSTEM : Ubuntu 20.04 Nvidia 510 (verified using ...
user avatar
  • 183
0 votes
0 answers
43 views

How do I make audio work with pulseaudio in systemd?

I'm trying to live stream my website to the rtmp server via pulseaudio, ffmpeg and chromium in ubuntu 20.04. Everything works great if I execute the following commands in shell: pulseaudio& ffmpeg ...
user avatar
0 votes
0 answers
26 views

ffmpeg (libx265) output : qCompress : 0.60

Is there any detailed description of qCompress ? What I have found : http://www.ffmpeg.org/doxygen/0.8/structAVCodecContext.html
user avatar
1 vote
0 answers
32 views

Converting videos to single codec format

I simply want to convert videos, any video codec format(ex: HEVC, MPEG4) to AVC(H.264/x264) .mp4 container with audio codec AAC. I don't want to resize (scale) the video, I don't want to change its ...
user avatar
0 votes
1 answer
537 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-...
user avatar
0 votes
0 answers
104 views

Why is ffmpeg and vlc able run RTSP stream but gstreamer is unable to?

When executing this command (gst-launch-1.0 rtspsrc location=rtsp://--- --gst-debug=3) I get this output: Image Not sure how to make sense of this because my RTSP stream is sending via TCP. Also, this ...
user avatar
1 vote
0 answers
207 views

gphoto2 /FFmpeg: Could not write header for output file #0 (incorrect codec parameters ?):

First question here as I have been finding answers to everything else I had issues with previously, thanks to all who contribute here.. I followed this guide to use gphoto2 and ffmpeg to use my Fuji X-...
user avatar
0 votes
0 answers
33 views

Thumbnails do not appear in ramfs I set as they did before Kubuntu 21.10

I am using Kubuntu 21.10, fully updated with 16GB of ram. I have dolphin file manager set to generate thumbnails for all photos/videos. I have many stored on external encrypted drives, so I wanted to ...
user avatar
0 votes
1 answer
113 views

Hide input ffmpeg command from terminal (htop) when its running on Ubuntu 18.04

I want to hide input ffmpeg cmd from terminal when it is running, how can I do it? hide ffmpeg cmd
user avatar
  • 11
0 votes
2 answers
307 views

Install FFmpeg on Ubuntu 20.04 failed

Connection failed [IP: 91.189.88.142 80] Err:4 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 ffmpeg amd64 7:4.2.4-1ubuntu0.1 Connection failed [IP: 91.189.88.142 80] E: Failed to ...
user avatar
  • 1
0 votes
1 answer
161 views

How to convert subfolder in a directory using ffmpeg in ubuntu

I was looking for a code to convert video files in a directory where it has multiple subfolders for each video file. I want to run a batch code so it can convert the video files and save them where ...
user avatar
2 votes
0 answers
74 views

Screencast monitor and speakers using ffmpeg: audio delay problem

Question? The task is to record simultaneously everything that we see on the monitor and hear from the speakers. I wrote the following script: Set the variable: speaker=alsa_output.pci-[my speakers]....
user avatar
  • 21
0 votes
0 answers
39 views

Why my MP4 video does not play except with ffplay?

I have some mp4 videos that I cannot play on ubuntu. (in Windows, they play well) These videos when double clicked call the "Videos" application with a black screen When called by VLC Media ...
user avatar
2 votes
1 answer
52 views

ffmpeg-normalize not working in Python

I have ffmpeg-normalize installed through pip3 It seems to work from the terminal but I need to run it through python subprocess. Everytime I try to run it the error says: /bin/sh: 1: ffmpeg-normalize:...
user avatar
1 vote
1 answer
113 views

ffmpeg Cannot 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 what should i do to make it work? I am using ubuntu 21.10 After typing into the ...
user avatar
  • 11
0 votes
0 answers
77 views

Cannot open display :0.0, error 1

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 what should i do to make it work?
user avatar
  • 11
0 votes
0 answers
42 views

Autorun script after boot with delay

I would need some help of this forum. I have a script which uses ffmpeg and when I run it from the terminal ./kamera1.sh it works all fine. Now I would like to autorun the script eg. 3 minutes after ...
user avatar
  • 1
0 votes
0 answers
91 views

How can I use ffmpeg to record my screen with its input and output audios?

I was trying to use ffmpeg to record my screen with its audios. I'm basing myself on the commands used on this answer. I know that I can record my screen without the audio by using the command: ffmpeg ...
user avatar
  • 371
0 votes
0 answers
45 views

Can't use my kinect 2 for skype and zoom but it works with ffmpeg

Hello ubuntu lovers, I have compiled and loaded the kernel driver module "gspca-kinect2" on the github below because I wanted that my kinect 2 was detected as webcam for skype,but it did not ...
user avatar
  • 349
0 votes
0 answers
160 views

What command line options for ffmpeg for separate audio and video output to dynamically set devices for streaming

Is there an useful way within Ubuntu OS from command line for separation of video and audio for streaming. For video being streamed to a network port (client media player connecting through udp://, ...
user avatar
0 votes
0 answers
18 views

Is there a way to play ffplay with click?

For some reason all the movies I work with cannot be played with the ubuntu Video application or VLC. Right now the only way to play them is using the excellent player ffplay from the console. My ...
user avatar
0 votes
0 answers
32 views

Media Players Eating Up All The RAM Upon Playing Video Files

Everytime I tries to open a local video file (e.g. mp4 and mkv format) with VLC, SM Player, MVP Player, or any other video players, it uses up all the RAM which leads to computer crash. I thought ...
user avatar
2 votes
1 answer
297 views

Converting multiple WebMs to MP4

So, I've been researching how to convert all WebM videos to MP4 in a directory. I've looked for about half an hour for results, but unfortunately, Google isn't being my best friend. I found a simple ...
user avatar
0 votes
0 answers
52 views

File size barely changing with compression; Is this how compression(encoding?) performs, as expected?

Answered Newbie here, this board has helped me leagues so far, thanks for that. My request today is for those more seasoned with this sort of thing to point out any areas I might be making mistakes in,...
user avatar
2 votes
1 answer
670 views

How to convert AVI to MP4 using FFMPEG?

I am using this script to convert an avi file into a mp4 file ffmpeg -i video.avi video.mp4 The resulting file I got is encoded using H264 but the video is flawed. What am I doing wrong? I would like ...
user avatar
  • 139
-1 votes
1 answer
931 views

How to use ffmpeg to convert video to avi without compression?

I am using this command to convert a .mp4 video file to avi: ffmpeg -i video.mp4 video.avi But the .avi file I got is compressed with FMP4 and I can't open it in VirtualDub. How can I create an .avi ...
user avatar
  • 139
1 vote
1 answer
330 views

Converting .mov for Davinci Resolve

When using Davinci Resolve, "H.264 and 265 require the paid version on Linux" FFMpeg comes boxed with Ubuntu, and can be used to convert video files. What filetype should they be converted ...
user avatar
  • 388
2 votes
0 answers
144 views

How to merge multiple video files with different codecs? MP4/H.265

I have a very very very ugly script to merge multiple files of my football games (I have 10 cameras a game) and now I am starting to make highlights of each game. But some of the cameras have ...
user avatar
0 votes
0 answers
78 views

Unexpected output from ffmpeg in bash script

I'm fairly new to writing bash scripts. I wrote a script with the goal of fixing HEVC encoded MP4 files that are missing the ctts atom. It is based on this script from a Plex forum user. The script ...
user avatar
1 vote
0 answers
268 views

VLC plays an mp4 but mpv doesn't

I have videos that I have ripped off a streaming site, the vast majority play with mpv. One or two, I get the error: [ffmpeg/demuxer] mov,mp4,m4a,3gp,3g2,mj2: Invalid sample size -3 [ffmpeg/demuxer] ...
user avatar
  • 131
0 votes
0 answers
19 views

spec computer i5 gen2 ram 8gb linux 18.4 can running ffmpeg +nginx (HLS Server)?

back to my problem, my ffmpeg can't output audio using the h.264 codec (libx264) with the target from the destination USB UVC HDMI capture card to HLS streaming.. my question : does my computer spec ...
user avatar
0 votes
0 answers
267 views

ffmpeg alsa can not capture audio from UVC USB HDMI capture card to HLS server

in the same context before, I have been helped by brother ( llogan ) on Oct 15 at 16:35 , by using syntax his suggestion, and i've tried it, at first i got the sound stuttering, then it went back to ...
user avatar
2 votes
1 answer
588 views

Converting MKV to MP4 Using FFMPEG

I'm using the following line to convert for f in *.mkv; do ffmpeg -i "$f" -c:v copy -c:a aac -b:a 256k "${f%%mkv}mp4";&& rm "{$f}.mkv"; done i need this to also ...
user avatar
  • 31
1 vote
0 answers
17 views

How to install libmysqld-dev on ubuntu 18.04? [duplicate]

I have looked through many forums but can't find how to install libvdpau-dev on Ubuntu 18.04.6. Can you help me? ~$ sudo apt-get install libvdpau-dev Reading package lists... Done Building ...
user avatar
  • 11
0 votes
0 answers
77 views

Audio sync issue while using FFMPEG transition command

ffmpeg -i inputVideo1.mp4 -i inputVideo2.mp4 -filter_complex xfade=transition=fade:duration=5:offset=2 outputVideo.mp4 I am trying to apply this type of command between 2 video clips where the first ...
user avatar
0 votes
1 answer
480 views

`ffmpeg` doesn't recognize input from pipe for merging mp4 via concat demuxer

I want to merge mp4 files via the concat demuxer and cannot get it to work with a script. I am using the script from another AskUbuntu answer, called concatmp4 here: #!/usr/bin/env bash if [ $# -lt 1 ...
user avatar
  • 3,902

1
2 3 4 5
17