ALSA buffer xrun induced by low quality source in ffmpeg capture

I am attempting to transfer some old Video 8 tapes to my computer, though an EasyCap USB stick and the motherboard's sound line-in, on Ubuntu. I believe the arguments are correctly laid out below...

mplayer build with address sanitizer (asan)

I am trying to build mplayer using clang with the address sanitizer flag. However, I keeps getting errors when I execute make. Here is the full output log including the commands I used. Any help...

ffmpeg concat: "Unsafe file name"

Trying to convert a bunch of mts-files into a big mp4-file: [email protected]:/mnt/backupsystem/archive2/Videos/20151222/PRIVATE/AVCHD/BDMV$ ~/bin/ffmpeg-git-20160817-64bit-static/ffmpeg -v...

error: opus in MP4 support is experimental, add '-strict -2' if you want to use it

I am trying to convert some MKV to MP4 with ffmpeg, and I keep getting the error below. Any thoughts? I have installed ffmpeg and installed: sudo apt install -y libopus-dev libmp3lame-dev...

FFmpeg error: Unable to find a suitable output format for ''

I'm new to ffmpeg as well as Android programming. I'm trying to load a video from a URL and crop it with ffmpeg. I want to save that video to a file. This is the command I found online: "-i " +...

How to compile FFmpeg as static (single file)

I would like to compile FFmpeg 4.1.3 as static or single file, After compiled. It's shared binary. Here is what I do Install the dependencies apt-get -y install build-essential autoconf automake...

How to solve issue with ffmpeg being stuck at 'Opening an input file'

I am using a capture card to capture HDMI audio from another machine. On my host, output of arecord -l is as follow: **** List of CAPTURE Hardware Devices **** Home directory not accessible:...

Regular expression to parse ffmpeg info

Here is my code: Input #0, mpegts, from 'tcp://127.0.0.1:3456': Duration: N/A, start: 1809.522000, bitrate: N/A Program 256 Metadata: service_name : AIR_CH_521_6M ...

Unknown V4L2 pixel format equivalent for yuvj420p

I am trying to pipe a mp4 video located in Videos/video.mp4 to a virtual webcam device located at /dev/video0. I tried running: ffmpeg -re -i Videos/video.mp4 -map 0:v -f v4l2 /dev/video0 and I...

Documented ffmpeg commands not recognized by ffmpeg

I'm trying to use options like, ldash and http_opts, as the dash muxer docs describe but FFmpeg doesn't recognize them. I'm on the latest released version of ffmpeg, v4.2.2. I see the changes in...

gphoto2 pipe:: Invalid data found when processing input

So I have been following this tutorial https://medium.com/nerdery/dslr-webcam-setup-for-linux-9b6d1b79ae22 and when I got to the point to actually take a photo with the camera I have no issues but...

ffmpeg flip horizontally webcam to virtual video camera

I need to horizontally flip my webcam image for a meeting. I tried the instructions in this site https://wiki.archlinux.org/index.php/Webcam_setup#Applications</Webcam setup> which uses v4l2 and...

Puzzled with file descriptor in Bash (ffmpeg video capture)

I am trying to use file descriptors in Bash and found a problem I cannot solve. I have to read a video stream coming from the standard output of a command executed in a coproc. This piece of code...

'arecord' works but FFMPEG 'cannot open audio device'

On my Linux-based QNAP NAS, I can successfully record my Loopback audio device using: # arecord -D default:CARD=Loopback test.wav However, FFMPEG cannot use this same audio device. It returns: ...

FFmpeg ignoring output pixel format

I am using ffmpeg 4.2.2 on an Ubuntu 20.04 machine to clone the video stream of a USB webcam so that multiple applications can use the same feed. To achieve this, I simply clone to a v4l2 loop...

FFmpeg v4l2 copying unstable

Prelude I am using ffmpeg 4.2.2 on an Ubuntu 20.04 machine to clone the feed of a USB webcam (v4l2 device as /dev/video0) so that multiple applications may access the feed. I used this ffmpeg...

improve video size ffmpeg webcam stream

I am trying to use a webcam Logitech Quickcam 9000 to do IRL stream from a Raspberry 3 using Raspberry Pi OS current version, I have FFmpeg installed and no matter what I try the video resolution...

H.264 video file size from camera is much bigger than x264 output

I have a UVC camera which supports h264 protocol. we can see the h264 listed below when we list all formats supported. msm8909:/data # ./ffmpeg -f v4l2 -list_formats all -i /dev/video1 ffmpeg...

ffmpeg command execution never stops

I am trying to concatenate 3 videos of different resolutions and overlaying 2 videos as transition effects(though the chroma key color removal is not yet implemented) between videos using below...

FFMpeg - Overlay not being shown when enable=between parameter is added

I am using below command to add transitions effect between videos using overlays such that when one videos is about to finish, the overlay gets visible. Before showing overlays, I have to add...

How to Forward MJPG Webcam to Virtual Video Device using FFmpeg?

I have a webcam that looks like this: $ ffmpeg -f v4l2 -list_formats all -i /dev/video0 [video4linux2,v4l2 @ 0x55fe6d48a240] Compressed: mjpeg : Motion-JPEG : 1920x1080 1280x720...

How to use FFMPEG on Python/Windows10 with Pipe for Screen recording?

I'd like to record the screen with ffmpeg as it seems to be the only player out there who can record a region of the screen along with the mouse cursor. The following code was adapted from...

ffmpeg: kmsgrab to v4l2 loopback device

I've been trying to pipe my screen into a v4l2 loopback device (as a hack to share screen during calls on wayland). This is what I tried so far: $ sudo modprobe vl42loopback $ sudo ffmpeg -device...

Using ffmpeg to livestream webcam video over UDP from Pocketbeagle running linux, what is missing?

I've been reading up on a lot of questions pertaining to ffmpeg and streaming a live feed from a webcam, and have gotten pretty close but I am just missing something small. I have a Pocketbeagle...

ffmpeg: chroma key (greenscreen filter) a short video continuosly loopling into a live video

I know how to chroma key / greenscreen filter a background of a video stream and replace it by an image using v4l2loopback. After running $ sudo modprobe v4l2loopback my code is as follows: $...

FFMPEG on Windows Server "Unknown encoder 'libfaac'"

I am doing this on a Windows server and is not already answered as per the other question on here on a Linux server. Im using FFMPEG on a project handling video uploads and I keep getting an issue...

FFMPEG-PHP Error "Sample rate index in program config element does not match the sample rate index configured by the container."

Am using FFMPEG installed on a Windows server. I have a PHP webpage that uploads and trims videos using FFMPEG, when I upload MP4's with AAC audio, especially videos over 100mb, I get the...

How can I capture simple video input with audio from a capture device

I'm using ffmpeg on Arch linux and trying to convert some old video to digital. The setup is pretty straightforward and if I connect to the capture device with VLC I get the video and audio just...

Flutter FFMPEG: Error setting profile baseline

Flutter-ffmpeg unable to set profile parameter. (I need to use profile so the rendered video can be played on WhatsApp). I am converting.bmp images into a mp4 video. Other I have tested other...

Why can't I duplicate an MJPEG stream from a webcam to a V4L2 Loopback Device on Linux?

I'm trying to duplicate a USB webcam device V4L2 stream (/dev/video0) to a V4L2 Loopback Device (/dev/video99) at the highest resolution and framerate possible with the hardware available on a...