Docker: go get from a private GitHub repo

I'm trying to run a container that will expose a golang service from a package that I have on a private GitHub repo. Since I am working with GCE, my starter image is google/debian:wheezy. After...

Adding 'timeout' flag to ffprobe/ffmpeg causes it to fail immediately

If I run ffprobe -timeout 20 -v trace -print_format json -show_format -show_streams 'http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_2mb.mp4', the command fails immediately with a...

ffmpeg audio - video sync issue (audio ahead of video) - while screen recording using x11grab

While screen-recording using the below ffmpeg options I consistently get audio ahead of video, delay is in the order of few seconds ffmpeg cmd: ffmpeg -y -f x11grab -thread_queue_size 1024...

How can I convert any random byte string to a playable mp3 file in python3.6?

I have random bytes of data which I need to convert to mp3 format(although it might be noise). And I should be able to play the (noisy) mp3 file. from pydub import AudioSegment from pydub.playback...

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

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

Problem using FFmpeg to convert MKV with A/52 B audio (aka E-AC3) to AAC

I've got a number of MKV files which are (per VLC) encoded with A/52 B (aka E-AC3) audio codecs. I would like to convert these to AAC, but I'm having trouble doing this with FFmpeg. The command...

FFMPEG sync video from image2pipe with audio from RTMP

I have an rtmp url, and i need to put overlay using opencv and keeping audio. It works well, exept for syncronization between audio and video. with this command ffmpeg -re -y -f image2pipe -i - -i...

Download a video from blob:https url from eventive

I want to download a video from eventive but the tag contains a blob url (blob:https://watch.eventive.org/**************). I have been reading some answers to similar questions but they all...

why FFMPEG process is slow?

I tried to process 4gb video using ffmpeg on server with 1 CPU & 2GB RAM but the command is hanged for 5 mins then starts and process very slowly. Following is the console output: *Command* ffmpeg...

Using ffmpeg results in undesirable motion blur

I am trying to convert a video with the best quality possible. The problem is, no matter which command arguments I use, a motion blur appears (the first image is converted, the second is the...

need help using ffmpeg to "concat" multiple audio files (webm, mp4) to make one longer MP3 of audio

I have done some searching (for several hours) and tried to manipulate many examples to work for me, but I still keep coming up empty here. I am using linux-mint 19, with ffmpeg installed. I have...

How to check if a video has sound in Python?

I would just like a True if a video has audio or False if it does not have audio. I feel like I'm almost there using subprocess. I get info about the video file running ffprobe and splitting the...

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: video parameters incompatible with DNxHD

I'm trying to convert mp4 to mov, however ffmpeg is having issues with the video conversion: Stream #0:0 -> #0:0 (h264 (native) -> dnxhd (native)) I've tried several of suggested configuration...

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

File (mp3) concatenation issues using FFmpeg

I want to concatenate some MP3 files using the FFmpeg concatenation protocol. Here is a successful try: $ ffmpeg -loglevel panic -i...

ffmpeg aresample has no effect while it works in ffplay

I have a .ts file which is missing frames 20 seconds into the file. I'd like to fill the missing parts with silence. This works using the following command with ffplay: ffplay -i...

FFMPEG - Multi Track, Multi Channel file to discrete mono files

I have files which are multi track, and multi channel (ie, track 1 may be 5.1, track 2 may be stereo, track 3 may be stereo etc) I am looking to output every channel from every track into its own...

ffmpeg error MPEG-1/2 does not support 3/1 fps

Im trying to broadcast my desktop to web page via ffserver but Im getting this error MPEG-1/2 does not support 3/1 fps Error initializing output stream 0:1 -- Error while opening encoder for...

How to: stream with ffmpeg and nginx rtmp, Ubuntu

nginx installed with https://nginx.org/en/linux_packages.html in Ubuntu 18.04 sudo apt -y install curl gnupg2 ca-certificates lsb-release ; echo "deb http://nginx.org/packages/ubuntu `lsb_release...

FFMPEG keeping quality when reducing FPS and streaming over RTSP with rtsp-simple-server

I'm using the rtsp-simple-server (https://github.com/aler9/rtsp-simple-server) and feed the RTSP Server with a FFMPEG stream. I use a docker compose file to start the stream: version:...

FFMpeg returns error: Unrecognized option 'master_pl_name'

I used this command (described at the processing message bellow) on my application several times before and always worked well. Now returns that error. '/usr/bin/ffmpeg' '-y' '-threads' '12' '-i'...

FFMPEG Stream to Instagram Via instafeed.me OR YellowDuck

I'm trying to do video stream via RTMP to Instagram with FFMPEG I'm able to do it to facebook and twitter, but instagram is an other beast... when I create a live broadcast in instafeed or...

I want to merge mp3 files on ubuntu

I want to merge mp3 files into one file using this command : ffmpeg -i "concat:file_1.mp3|file_2.mp3|file_3.mp3|file_4.mp3" -c copy test.mp3 But i get this error : [mp3 @ 0x5629416b4880] Invalid...

ffmpeg x11grab to streamable format

2 FFMPEG process (1) generating a ffmpeg x11grab to a .mp4 (2) take the .mp4 and restream it simultaneously to multiple rtmp endpoints *ISSUE* the generated file in (1) have this error "moov atom...

FFMPEG loudnorm filter does not work in combination with silenceremove filter

I want to consistently normalize audio files for TTS model training. The output audio files should meet the following criteria: mono channel sample rate of 22050 Hz wav format no silence at...

Can not download a streamable m3u8 link with IDM and ffmpeg

This is the link: https://v13.phephim.xyz/vod/v2/packaged:mp4/6005b3591918ee01c9ef67e4/playlist.m3u8 It's ok to play the link with play-hls-m3u8 chrome extension or by the site...

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

How to make ffmpeg re-encode an vp9 webm with alpha into a vp9 webm with alpha

I am trying to find optimal parameters for encoding a transparent video using ffmpeg in my scenario, and as a test, I have been re-encoding a pre-made transparent .webm (vp9 with alpha channel,...