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
0answers
22 views

Cannot use any fonts including system fonts

ffmpeg -y -i "/storage/0040-18A0/Music Videos on YouTube/TO be synced/ICSM dance.mkv" -c:s copy -q:s 0 -c:a copy -c:d copy -c:v mpeg2video -q:v 0 -map_metadata 0 -vf "scale=1920:-1,...
0
votes
0answers
21 views

How to get HRTF sound on Linux

I recently switched from macOS to Ubuntu, and there's only one thing I miss: It's the Boom3D application, which allows you to apply effects on music, especially the "Spatial Audio" effect ...
0
votes
1answer
17 views

avconv Unknown encoder 'libx264' i try all solution but not working

I have this problem with avconv: Unknown encoder 'libx264' For adding subtitle I use: avconv -i video.mp4 -map 0:0 -map 0:1 -c:v libx264 -aspect 16:9 -q:v 1 -b:v 512k -strict -2 -c:a aac -ac 2 -...
0
votes
0answers
45 views

I want to convert gif to png

I have application that creates thumbnails for documents provided. It is scripted in python using preview-generator lib. when I'm trying to convert .gif file to .png using lib it gives me following ...
1
vote
1answer
42 views

ffmpeg: mp4 to camera: Conversion

I found the following question and tried to send a mp4 video to my camera: Is there any way ffmpeg send video to /dev/video0 on Ubuntu? I used the following command: ffmpeg -re -i fakezoom.mp4 -map 0:...
0
votes
0answers
36 views

ffmpeg streaming fails to stream over internet to twitch.tv

I did already streaming to twitch.tv with command: ffmpeg -stream_loop -1 -i 9stream.wav -f dshow -i audio="mic" -f dshow -i audio="realTek" -filter_complex "[0:a]volume=2[...
1
vote
1answer
31 views

How to replace integrated subtitle with external subtitle using ffmpeg?

I want to replace the subtitle present in Stream #0:6(eng) with an external subtitle.ass video information Input #0, matroska,webm, from 'input.mkv': Metadata: creation_time : 2021-03-06T17:59:...
1
vote
1answer
58 views

How to change default audio track using FFmpeg?

I want to change the default audio track from Portuguese to English in the file input.mkv. The video contains 4 Audio Tracks: Portuguese (Default), Spanish, English and Japanese. I would also like to ...
1
vote
2answers
156 views

How to convert MKV to MP4 using ffmpeg keeping all video, audio tracks and subtitles?

I have been trying to convert mkv to mp4 using ffmpeg -i input.mkv -vcodec copy -acodec copy output.mp4 The input.mkv has two different audio track and one subtitle . But the problem I am getting is ...
0
votes
0answers
111 views

xvfb-run Could not get a valid VA display org.freedesktop.DBus.Properties.Get

When I try xvfb-run google-chrome I get error about Could not get a valid VA display Here the full command : /usr/bin/xvfb-run -a -e --listen-tcp --server-num 49 --server-args="-ac -screen 0 ...
0
votes
2answers
36 views

How does one get Firefox media playing on Ubuntu 20.04?

I have a brand new Ubuntu 20.04 running on my new computer. YouTube videos play without a glitch, but no other audio/video can play. H/W accelerator is off. When I try to install ffmpeg, I end up ...
0
votes
2answers
167 views

What is the difference of installing ffmpeg through snap and apt-get?

I was not able to view built-in videos on twitter and other websites so I wanted to install ffmpeg. I ran the command snap install ffmpeg and it didn't work but after running the command sudo apt-get ...
1
vote
2answers
118 views

How can I convert an .mkv file to .mp4 and keep the subtitles?

I've been trying to convert an .mkv file into .mp4. With VLC the subtitles got lost. Then I've been trying ffmpeg: ffmpeg -i video.mkv -codec copy video.mp4 The conversion has been very fast, the ...
0
votes
0answers
35 views

How to live stream(raw format/bytes) audio from pulseaudio sink to a local UDP server?

Im using tricks from following link and able to record audio into file Record a program's output with PulseAudio I have been tweaking commands and trying to stream bytes to a UDP server. This is ...
0
votes
0answers
76 views

Re-wrapping MXF OP1a media into MXF OP-Atom files

I have app the records MXF's in OP1a and I need to re-wrap them into OP-Atom files. Is there an FFMpeg command that I can use in terminal that will do this? I need to batch re-wrap a files and this ...
1
vote
0answers
34 views

How Can I Record System Audio and Send it to a Named Pipe on a Headless System?

I've got a named pipe at ~/audio/stream that I want to send a copy of all my system audio to. The other side of this pipe is being read by a docker container and played using aplay. I know the other ...
1
vote
1answer
216 views

ffmpeg unknown decoder 'libx265'

When I try to make a new video with ffmpeg using this command ffmpeg -f image2 -pattern_type glob -framerate 12 -crf 10 -vcodec libx265 -i *.jpg output.mp4 I get this error message Unknown decoder ...
0
votes
0answers
88 views

Not able to play some streaming videos on Firefox

I'm using Ubuntu 20.04LTS and Firefox 85.0.1 (64-bit). Some YouTube videos play normally but others don't. Video from some other websites are not playing. When not able to play a video from Udemy, I ...
0
votes
1answer
60 views

Using Kubuntu to accelerate FFmpeg using Nvidia GPU

I’ve installed Kubuntu so that I can run FFmpeg to join a large number of tiff files into a video. The tiffs are produced by a video enhance program that exports each frame of the video as a tiff. I’...
1
vote
0answers
97 views

Raspberry Pi 3 - How to install FFMPEG using python newest version

I'm trying to install FFMPEG on Raspberry Pi 3, with libx265 support (H265 coding). The main purpose is to batch transcode h264 videos on my HD and convert them to h265 to save space on disk. I found ...
1
vote
1answer
86 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
1answer
537 views

Could not find tag for codec pcm_s16le in stream #1, codec not currently supported in container

I have a very old .AVI file and am trying to convert this into MP4 format with FFMPEG Here is my current command to try and convert: ffmpeg -i aVideo.avi -s 1980x1080 -c:a copy aNewVideo.mp4 I am ...
1
vote
0answers
50 views

FFmpeg: Trying to encode all video files in folders and subfolders

I'm trying the following: Encode all videofiles that are in the folder/directory and below (in subfolders/directories) only encode videofiles bigger than 2 GB encode to h265 including all audio en ...
0
votes
1answer
39 views

I want to create a video of same resolution as of image

I am able to create a video from image and audio.I am using a single image.The problem is that as i crop the image and creates video again then image pixels get burst in that video. I am using this ...
4
votes
1answer
236 views

ffmpeg freezes using webcam at 1080p or 60fps - Logitech Streamcam OBS Studio

I need to use my Logitech Streamcam webcam at 1080p (1920x1080) at 60fps but it neither work in OBS Studio, nor in guvcview nor if I want to save the output as a video file, ffmpeg freezes :( Thanks ...
0
votes
0answers
138 views

Installing ffmpg 3.4.8 on 20.04

I'm trying to install ffmpeg 3.4.8 on my wsl ubuntu 20.04 distro. apt madision and snap only offer me 4.2.* versions. Building from source fails with: gcc is unable to create an executable file. If ...
0
votes
0answers
91 views

ffmpeg / ffplay DSLR help

I use the following command with ffmpeg to create a virtual webcam in linux 18.04 for my DSLR camera: gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f ...
0
votes
0answers
28 views

FFmpeg application is not working with Ubuntu 20.04 with Lubuntu Desktop application

Recently, we have installed Ubuntu 20.04 on our local server and Lubuntu desktop environment on it. We've installed FFmpeg application ( 4.2.4-1ubuntu0.1) on it to record the screen of the users who ...
1
vote
1answer
72 views

FFmpeg broken after upgrade to 20.04

After upgrading Ubuntu from 18.04 to 20.04, ffmpeg no longer works. Running FFmpeg with any arguments (or none) prints this message: $ ffmpeg ffmpeg: error while loading shared libraries: libcdio.so....
0
votes
0answers
27 views

ffmpeg and alsa dummy interface for server

I have a server which has X and a decent desktop/WM. Now, I wrote a simple python script which goes to a webinar, and I run it like this : First : DISPLAY=:0 python3 myscript.py & And then : ...
1
vote
3answers
494 views

Changing sample format and bit depth on audio files with ffmpeg

I recorded and mixed down a CD worth of homemade music with Ardour and stupidly exported all the songs in 48 kHz and 24 bit. Now I need it in 44,1 and 16 bit in order to have CDBaby take it and give ...
0
votes
0answers
84 views

How to run pynput and FFMPEG script using CRONTAB?

I need to start three python3 scripts and a shell script using crontab. These scripts should run at the same time without any delay. Each script runs exactly for one minute. For instance, I have ...
0
votes
1answer
47 views

CronJobs not working on video script

I've basically installed ffmpeg on a vps with 20.04 ubuntu I am trying to create a video in /home/ubuntu/video folder - so i am asking script to select all jpeg files in that folder ffmpeg -f image2 -...
0
votes
0answers
97 views

ffmpeg takes screenshots all at once

I am trying to use ffmpeg to grab screenshots of twitch streams. This is my command: ffmpeg -i https://stream-link.m3u8 -ss 30 -frames:v 10 -r 1 -f image2 /home/me/Desktop/images/image-dataset/my-...
1
vote
1answer
184 views

How to make ffmpeg-normalize work on Ubuntu?

In the past I had ffmpeg-normalize, now I don't, I don't remember how did I get it. Now I tried to install it with pip3, but when I type ffmpeg-normalize... it says ffmpeg-normalize: command not found
0
votes
0answers
198 views

Help with ffmpeg complex_filter using v360 and overlay

I've got a Mobius action camera that I have mounted on my bicycle handlebars. My goal is to process the captured video to first correct lens distortion and second to overlay an image of lines that ...
0
votes
0answers
25 views

FFMPEG Not Working For Long Commands

Here's the command I'm executing: ffmpeg -i videoSD.mp4 -ss 7 -t 3 parts/0.mp4 -ss 25 -t 3 parts/1.mp4 -ss 44 -t 3 parts/2.mp4 -ss 63 -t 3 parts/3.mp4 -ss 82 -t 3 parts/4.mp4 -ss 101 -t 3 parts/5.mp4 -...
2
votes
2answers
179 views

Shorten a .gif file with ffmpeg

Is it possible to shorten a .gif file through FFmpeg? I need to upload a .gif but the service I'm using only allows a max filesize of 30mb (the file is 35.4mb)
1
vote
1answer
253 views

FFMPEG can not open display error for :1

i am using Xvfb for starting X server on display 1 and x11vnc is also set for -display :1 along with fluxbox as window manager on Ubuntu 20.04 LTS like using below commands sudo -i -u ubuntu Xvfb :1 +...
3
votes
1answer
400 views

saving the first and second 2 minutes of a wmv video in Ubuntu Terminal

How can I cut the first two min of a 10 min video and save it as first_2min.wmv and then the second 2 min saved as second_2min.wmv without any change to the settings of the video in Ubuntu command ...
0
votes
0answers
33 views

How I can I add audio to my ffmpeg cli

I want to add audio to my ffmpeg cli bellow ffmpeg -framerate 25 -video_size 1920x1080 -f x11grab -i :0.0 -vf format=yuv420p http://localhost:8080/feed.ffm
0
votes
0answers
103 views

ffmpeg feed.ffm: Server returned 404 Not Found

Im following this article https://www.acmesystems.it/ffmpeg and Im trying to stream my desktop to web page. But when I start ffserver and when I run this command ffmpeg -framerate 25 -video_size ...
1
vote
0answers
380 views

Cannot update FFmpeg library?

I am running Ubuntu 20.04. When using the Software Updater I notice that it indicates that there is a security update for the FFmpeg library available. However, the selection box is not ticked. And I ...
0
votes
0answers
85 views

Why the vedio and audio is not simultaneously be recorded?

The rtsp url is rtsp://admin:xxxxxx@192.168.xx.xxx/stream1,i dance and sing before my ip-camera simultaneously,to dump the stream into a mkv file during the time with ffmpeg : ffmpeg -i rtsp://admin:...
0
votes
1answer
91 views

Why can't record audio in the speaker and mic at the same time?

List sound card info on my pc. pacmd list-sources |grep name: name: <alsa_input.usb-SN0002-02.analog-mono> name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor> name: <...
1
vote
2answers
2k views

error :Queue input is backward in time when to capture audio with ffmpeg

Show all sound card in my pc. pacmd list-sources |grep name: name: <alsa_output.pci-0000_00_1b.0.analog-stereo.monitor> name: <alsa_input.pci-0000_00_1b.0.analog-stereo> Now to ...
-1
votes
1answer
288 views

convert multivideos from 1080p to 720p and add watermarks? [closed]

i will ask again i have many videos like series (dark - la casa de papel - game of thrones ) all of them without any subtitle or watermark first i burn subtitles with handbrake sec i use ffmpeg to ...
2
votes
2answers
122 views

Converting directory full of h264 to images

first time here. Please be gentle. let me know what I missed out on and I will correct it. my question is similar to this. So, I am hoping to get an answer for my specific query too. How can I convert ...
1
vote
1answer
415 views

Error when installing opencv (any version) on Ubuntu 18.04

I got an error in make command in opencv. [/usr/bin/ld: /usr/local/lib/libavcodec.a(vc1dsp_mmx.o): relocation R_X86_64_PC32 against symbol `ff_pw_9' can not be used when making a shared object; ...
0
votes
0answers
49 views

cron job @reboot does not start my script.sh

I have a script named script.sh (for ffmpeg) and located /home/beachcam/bin/script.sh that I use to stream my webcam feed to youtube. The script works fine if I manually launch it in the terminal. I ...

1
2 3 4 5
15