Maintaining environment state between subprocess.Popen commands?

I'm writing a deployment engine for our system, where each project specifies his custom deployment instructions. The nodes are running on EC2. One of the projects depends on a from source version...

error is coming lib-faac-dev not found

i installed faac from here http://sourceforge.net/projects/faac/files/faac-src/faac-1.28/faac-1.28.tar.gz/ and then m running this command which is giving me this error basicall i want to install...

Unmet dependencies when installing OpenCV

I am on ubuntu 12.10 and I want to install OpenCV. I am following the tutorial on this website and when I try the second step, meaning sudo apt-get install build-essential checkinstall git cmake...

starting to develop for jack-audio

I'm quite new to developing on linux, so sorry for the dumb question. I'm trying to develop something with jack, and when I try to install the development headers and libraries, I have the...

Playing sound in pyo and python

I am trying out the pyo for python. I installed the pyo for ubuntu using these commands from the homepage: sudo apt-get install libjack-jackd2-dev libportmidi-dev portaudio19-dev liblo-dev sudo...

"command not found" but the "package is already the newest version"

So I want to run a code, and I get error command not found, but when I try to install it, it says that it is fully installed, I'am so confused. I'm running Debian 7 Wheezy bash: libavcodec-dev:...

Installing PyAudio in OpenSuse 42.1 Leap Linux error: command 'gcc' failed with exit status 1

I am using a OpenSuse linux 42.1 leap 64 bit operating system. I wanted to use PyAudio library and used 'pip install PyAudio' but i am not able to install it as the 'error: command 'gcc' failed...

Can apt-get autoremove remove system files?

I tried to install Python 3 on my Ubuntu 16.04.4 LTS and while using apt i found this: The following packages were automatically installed and are no longer required: cabextract gcc-5-base:i386...

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...

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...

Can't synchronize frame from two webcam streams side by side using ffmpeg

i'm trying to stream two webcam in sbs mode using ffmpeg websocket. It works but there is a delay of some second between the two scene. Here is what I do : ffmpeg -f v4l2 -framerate 30...

Unable to host Speech Recognition and Sound Playing Application on Docker

I have an application that takes voice input from microphone, performs speech recognition and plays certain music files based on the cue words recognized. This application is in Python and...

ffmpeg error: Too large number of skipped frames xxxxx > 60000

I try to record on RasperryPI from usb Cam (/dev/video0) using segments to obtain sliced video. The command I'm using is: ffmpeg -input_format mjpeg -video_size 640x480 -i /dev/video0 -y -y -f...

How to create animation in html output using R Markdown

Here is the list of things I've tried. --- title: "test_gif" output: html_document --- ``` {r, animation.hook='gifski', dev='png', interval=0.2} library(gganimate) ggplot(airquality, aes(Day,...

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...

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...

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...

Raspberry Pi 4 OBS Virtual camera

I wrote this bash file, but not working. I think RPI just 32bit and the package what I found 64bit. Do you have any idea, how to find 32bit version of the package or how can I solve the problem? I...

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...

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...

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...

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...