Questions tagged [ffmpeg]

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

264 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
2k views

Outputing video and audio from file to virtual webcam and microphone

I'm currently trying to get a simple way to share a video with audio using Zoom (but not using the screen sharing). The only way to really do it is to have the video sent to a virtual webcam and the ...
HughT's user avatar
  • 51
5 votes
0 answers
2k views

Turned my DSLR into a webcam but Chrome does not recognize it

I followed this other post and managed to turn my DSLR into a webcam successfully. To test it, I can see the live video in applications like guvcview and my DSLR is recognized as Dummy video device (...
Mehran's user avatar
  • 1,787
4 votes
0 answers
2k views

Converting from shorten (.shn) audio files with error: "failed to read data from input file using format"

Since I can't find the answer here and I would like to be able to do so the next time I need to do this, here is how to convert shorten (.shn) audio files to another format that ffmpeg can handle (e.g....
bvargo's user avatar
  • 554
4 votes
0 answers
1k views

Supply correct pixel format & parameters from gphoto2 feeding into ffmpeg using v4l2loopback

I have Nikon D3300 camera and want to feed video output into my computer as part of live streaming with OBS. I successfully installed v4l2loopback as well as gphoto2 on my Ubuntu 18.04. I already had ...
haxpor's user avatar
  • 209
4 votes
0 answers
850 views

Video plays fine on VLC but black screen on Totem

I have created a video (with no audio track) by C++ code which plays fine on VLC but shows black screen (with the same duration) on Totem. What is wrong with the file? totem video0.mp4 --gst-debug-...
ar2015's user avatar
  • 417
4 votes
0 answers
1k views

avconv pipe to v4l2loopback device

I use v4l2loopback module to create two video device. My intention is to pipe output from primary video device to these two virtual devices. I can do that using ffmpeg: ffmpeg -f video4linux2 -s ...
vlad2005's user avatar
3 votes
0 answers
2k views

How to capture infrared stream from webcam using ffmpeg?

I'm able to capture from my webcam using ffmpeg, but it's real color. But my webcam is advertised as having IR capability. How do I access this? When I run ffmpeg -f v4l2 -list_formats all -i /dev/...
Michael's user avatar
  • 1,135
3 votes
1 answer
2k views

How to concat mp4 files with ffmpeg without having artefacts

To concat two mp4 or ts files (I've both formats) ffmpeg offers some calls that I've tried. Both "concat protocol" (for h264 TS files) and "Concat demuxer" (for h264 PS files) produce artifacts that ...
kanehekili's user avatar
  • 6,362
3 votes
0 answers
1k views

How to stream my screen using rtsp (like ip camera)?

Hy all, At work, we migrated all computers at ubuntu 18.04. Before migration, we used windows 10 and Desk Camera app to recording screens and we used that to put in NVR like a IP Camera for ...
Florin Militaru's user avatar
3 votes
2 answers
425 views

Is it possible to combine two movie files into one, interleaved like a zipper using ffmpeg?

imagine you have two movie clips, each one has the same fps and geometry and total number of pics,now take the first pic of the first clip and place the first pic of the second clip after it, than ...
sharkant's user avatar
  • 1,311
3 votes
0 answers
1k views

Why ffmpeg error while trying to play live stream on a defined output device rather than on the default one?

I'm using Ubuntu 14.04. The aplay -L command produces the following output. **** List of PLAYBACK Hardware Devices **** card 0: PCH [HDA Intel PCH], device 0: ALC269VB Analog [ALC269VB Analog] ...
the_naive's user avatar
  • 265
3 votes
1 answer
6k views

how to get vdpau hardware acceleration using ffmpeg on ubuntu?

I am developing a multimedia player using ffmpeg. I am trying hard to get hardware acceleration through ffmpeg using vdpau hardware accelerator. I didn't get any success so far. Below I have mentioned ...
Raju's user avatar
  • 131
3 votes
0 answers
985 views

Open broadcaster not installing

I'm trying to install Open Broadcaster: https://obsproject.com/download#linux but I'm getting these errors: The following packages have unmet dependencies: obs-studio : Depends: libavcodec-ffmpeg56 ...
Costa Michailidis's user avatar
3 votes
0 answers
429 views

Hue (tint, color) correction using avconv

I'm trying to make a demonstration of orange and blue color timing. I've been told I can do this in the YIQ domain by increasing the level of I and decreasing Q. So I want to take a video, rotate the ...
Damian Yerrick's user avatar
3 votes
0 answers
1k views

mpd crashes on database update

Mpd (latest version from repositories, Ubuntu 14.10) crashes when refreshing the database. At first it crashed on every m4a file, even with the necessary libraries (libmad0) installed and up to date. ...
oneindelijk's user avatar
3 votes
0 answers
3k views

avconv/ffmpeg - audio slowly drifts out of sync, original is in sync

Almost all of the instructions I've read about drifting audio sync is regarding live screen recording. I'm simply trying to truncate useless video from the end of a raw DV file in an effort to prepare ...
MALON's user avatar
  • 155
3 votes
0 answers
618 views

Splitting audio channels using pulseaudio

My mission is record desktop using avconv (ffmpeg) + record microphone input + use sphinx program which also need the same microphone for voice control. Now, the problem is that if I start sphinx ...
chao's user avatar
  • 131
3 votes
1 answer
4k views

How to stream a local video file over Internet using avconv/avserver?

As FFmpeg is going to be dropped from Ubuntu, it will be important to know how to broadcast videos over Intrnet using avconv. An official guide is available, but it doesn't give much information how ...
Naveen's user avatar
  • 9,365
3 votes
1 answer
2k views

Is there a way to convert cached webex files to some other format?

How can I convert webex files in the temp cache to generally usable media formats?
IAMA Sockpuppet's user avatar
2 votes
0 answers
444 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
2 votes
0 answers
985 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
0 answers
286 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
2 votes
1 answer
735 views

Unable to Install ffmpeg in Databricks Environment

I used to install ffmpeg without any problem by running sudo apt-get -y install ffmpeg as a shell command in Databricks. Suddenly, I've been getting a 404 error in some of the links as you can see in ...
fine-cloud-47's user avatar
2 votes
0 answers
1k 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-...
N00buntu's user avatar
2 votes
0 answers
258 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]....
Grannik's user avatar
  • 21
2 votes
0 answers
593 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 ...
Jamie Hutber's user avatar
2 votes
0 answers
996 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] ...
Monkeybus's user avatar
  • 141
2 votes
2 answers
2k 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; ...
Parul Mishra's user avatar
2 votes
0 answers
256 views

Is it possible to install only parts of the ffmpeg headers?

I am trying to use the ffmpeg headers in a dockerized ubuntu environment. If I install all of the ffmpeg header files there it will use up to 900 mbs in image size. This seems not good for my usecase, ...
Till Schulte's user avatar
2 votes
0 answers
3k views

GLIBC_2.27 not found when launching applications through Nautilus

I have VSCode installed and never experienced this issue before, but now after I installed some web camera utilities and video conversion I seemed unable to launch VSCode from Nautilus. What works: ...
user1502776's user avatar
2 votes
0 answers
721 views

How to reliably watch local 4k video at > 2x speed?

I'm using VLC ("VideoLAN") on Linux to play 4k video I have recorded. I'm trying to quickly review long segments so I want to play the video faster, at least 5x. But when I exceed 2.9x the video ...
Michael's user avatar
  • 1,135
2 votes
1 answer
2k views

How to add subtitles a complete folder using ffmpeg in linux

I need to batch subtitles with ffmpeg , the srt file has got the same name of the video file associated, for example : file1.mkv with file1.srt, ... file8.mp4 with file8.srt how can I perform a batch ...
Alaa Al-ashari's user avatar
2 votes
0 answers
2k views

v4l2 How to trigger automatic exposure adjusting?

I have automatic exposure set, but it reacts very slowly and sometimes not at all (but with cheese it works fine). I'm taking timelapse pictures with following command: ffmpeg -f video4linux2 -s ...
user279078's user avatar
2 votes
1 answer
3k views

How to remove chapters from mkv metadata

How do you remove chapters from mkv metadata on command line? Can ffpmeg be used for this?
Mikey's user avatar
  • 103
2 votes
0 answers
3k views

Ubuntu 18.04.1 playing MP4 doesn't work

Installed on three (one dell latitude laptop, one dell all-in-one and one ASUS desktop) systems Ubuntu 18.0.1. After install cannot play, with standard installed Totem player, on any of the systems ...
defossez's user avatar
  • 161
2 votes
1 answer
814 views

Play mp4 video file, by piping avconv to avplay on Ubuntu 14?

On Ubuntu 14.04, there is avconv/avplay instead of ffmpeg/ffplay; version is: $ avconv -version avconv version 11.3-6:11.3-1~trusty, Copyright (c) 2000-2014 the Libav developers built on Apr 13 ...
sdaau's user avatar
  • 3,046
2 votes
0 answers
399 views

ffmpeg avi xvid for Pyle Car Stereo

I've been trying to transcode video files so they play on my Pyle PLDN74BTI car stereo. I have some sample media of the twilight zone that plays just fine. I'm using ffmpeg -i to display the codec ...
buildmaestro's user avatar
2 votes
1 answer
2k views

How to use h264_mmal hardware decoder in RaspberryPi 3 in Snappy Ubuntu Core?

I have a program that makes use of the h264_mmal hardware accelerated decoder in Raspberry Pi 3. The same executable works fine on the same Raspberry Pi board if the OS is Ubuntu-Mate with gpu_men set ...
waiwai444's user avatar
2 votes
0 answers
350 views

Why does installed version differ than what apt-cache madison indicates?

I recently installed ffmpeg on an Ubuntu 14.04 LTS server. When I run ffmpeg -version the output is: ffmpeg version N-81995-gd790e48 Copyright (c) 2000-2016 the FFmpeg developers I installed this ...
smeeb's user avatar
  • 315
2 votes
0 answers
633 views

Ubuntu 16.04 Opencv 3.1.0 Cannot open video source

I am using Ubuntu 16.04 and Anaconda 3.5. I was successfully able to build OpenCV 3.1.0 from the git repository. My make command is as followed cmake -D CMAKE_BUILD_TYPE=RELEASE \ -D ...
Adam Baker's user avatar
2 votes
3 answers
4k views

How to convert video along with audio in h264 ffmpeg?

ffmpeg ffmpeg version 3.1.1 Copyright (c) 2000-2016 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4) configuration: --enable-libmfx --enable-nonfree libavutil 55....
Vanns's user avatar
  • 341
2 votes
0 answers
1k views

Compiler can't find libswresample library

I'm currently trying to compile this teamspeak bot on Ubuntu. My issue is that when trying to compile it, I get the following error: CMake Error at /usr/share/cmake-3.0/Modules/...
mattrick's user avatar
  • 141
2 votes
1 answer
1k views

Cannot convert .wav file to .txt file using pocketsphinx

I'm new to to this Ubuntu. I'm using Ubuntu mate: Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release: 16.04 Codename: Xenial Previously I had normal Ubuntu and I had installed ...
Praveen Talavar's user avatar
2 votes
1 answer
284 views

How can I repair broken softwares?

I want to install ffmpeg as Documented here . but some errors are accurates when I want install on terminal: The following packages have unmet dependencies: libfaac-dev : Depends: libfaac0 (= 1.28-6)...
Huseyin's user avatar
  • 762
2 votes
2 answers
3k views

I uninstalled Chromium. Why still extra ffmpeg codecs for the chromium browser in ubuntu update?

Chromium kept crashing on the gmail webpage (aw snap) and I have uninstalled it and installed goggle chrome. In software updater, I see "extra ffmpeg codecs for the chromium browser" is this for ...
Jesse Zhuang's user avatar
2 votes
0 answers
703 views

PulseAudio channel map at run time

Could I map (Swap) the channel at run time. I am using the ffmpeg to record the both video and audio from two logitech cam/mic and bluetooth mic. Now currently at the starting of recording bluetooth ...
Prakash V Holkar's user avatar
2 votes
1 answer
2k views

mp4v and mp4a in Ubuntu VLC

In 13.10, I have this error in VLC: [0x7f529c0038a0] main decoder error: no suitable decoder module for fourcc `mp4v'. VLC probably does not support this sound or video format. [0x7f529c004470] main ...
user1122069's user avatar
2 votes
0 answers
6k views

TCP 5454 and 554 connection refused for rtsp streming via ffmpeg

I am trying to convert my rtmp streaming to rtsp streaming using ffmpeg. the following code is doing the convert `ffmpeg -i rtmp://xxxxx.com/live/live1 -f rtsp rtsp://xxxxx.com:5454/test1-rtsp.mpg` ...
Moovendra Dhinesh babu's user avatar
2 votes
1 answer
3k views

Error while adding a watermark to mp4 with FFmpeg

I try to watermark an mp4 file with ffmpeg and the following command : ffmpeg -i originalvideo.mp4 -vf « movie=watermark.png [wm];[in][wm] overlay=0:0:1 [out]« watermarkedvideo.mp4 after some ...
Tahola's user avatar
  • 131
2 votes
0 answers
3k views

Xubuntu 12.10 and FFMPEG webcam

Having a problem running ffmpeg to an ffserver in a brand new install of Xubuntu 12.10. I just installed Xubuntu 12.10 from scratch, then installed ffmpeg. I plugged in my webcam (mind you I have ...
jfreak53's user avatar
  • 1,022

1
2 3 4 5 6