Category "ffmpeg"

How to catch a FFMPEG exception with subprocess?

I'm doing some work on subtitles and some videos have 1 subtitle track, others have 2 subtitle tracks. For those that have 2, I use the 2nd one (index = 1). I'm

How to create random pass names in ffmpeg?

Normally, when using ffmpeg, you define a name for the "pass" information to be stored in a file when enconding videos with 2 (or more) passes, e.g.: ffmpeg -i

select a screen section ffmpeg c++ on macos

I am trying to record the screen on macos, with ffmpeg. I would like to be able to select a section of the screen instead of the whole desktop. I tried to set s

How to convert m3u8 file to mp4 video using nodeJS with a remote S3 input

The objective is to convert .m3u8 file(hls stream) to .mp4 video inside my NodeJS application. I've tried doing the same using ffmpeg on console and that works

Linux ffmpeg utomatic encoder selection failed for output stream

I'm having an issue with doing basically anything in ffmpeg. When I input basic ffmpeg -i filename.mp4 filename.mp3 or ffmpeg -i video.mp4 -b:a 192K -vn music.m

Discord.Py ffmpeg was not found

@commands.command() async def play(self, ctx, url): ctx.voice_client.stop() FFMPEG_OPTIONS = {'before_options': 'reconnect 1 -reconnect_str

Libav API: How to modify the start time of an audio stream?

Currently, I am working on a new feature for my software using the Libav API. I was able to merge a video file with and audio file, the output is an MP4 file an

How to merge several audio files using Libav API?

Currently, I am implementing a new feature of my software using the Libav API. This is the requirement: to merge a list of audio files (MP3 and WAV) and create

Thumbnail creation using azure function nodejs

I am trying to use azure function to create thumbnail(png) from .mp4 file uploaded to azure storage location. Azure function is automatically triggered when a n

c++, ffmpeg tanscoding: time_base differs depending on the container

I transcode video (mkv and mp4). When mkv transcoded to mkv, output is fine (output video fps and duration are same as input), but if mkv transcoded to mp4, out

Real time livestreaming - RPI FFmpeg and H5 Player

I work at a telehealth company and we are using connected medical devices in order to provide the doctor with real time information from these equipements, the

How can i set environment variable for ffmpeg.exe using uwp c# code?

set environment variable for ffmpeg.exe using code in C# UWP?

Select song sample rate

I have a folder with several mp3's and I needed to separate (copy) all the 4800 hz sample rate files to another folder. I have a folder "General Audios" and I c

How to reduce apk size when using FFmpeg

App is developed it's size is hardly 30MB and when integrated FFmpeg Library its size goes to 135MB which is Too much. Anyone know anything?

Does "precision" of audio files have importance during training ASR systems?

I am resampling audio files with 8 kHz into 16 kHz by torchaudio. An example of an original file: Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 8000 Hz

Generating timestamps in webm transport stream with ffmpeg

I am recording screen capture of my Electron app to a file, as suggested here: Save captured video to file in Electron It works great, but the file is a “

Using ffmpeg, jpg to mp4 to mpegts, play with HLS M3U8, only first TS file plays - why?

Before posting I have searched and found similar questions on stackoverflow (I list some below) - none have helped me towards a solution, hence this post. The d

How to extract encoded transport stream frames from a video file?

Searching for a method to extract from video stream (.m2t or .ts file) a certain frames as is, encoded. OpenCV also extracts frames easily but decodes them imme

FFmpeg drawtext's fontfile unable to load

I have This Parisienne-type Font file and I want to write on a gif using that font but the output font is never Parisienne, it always comes out as normal Arial

Unrecognized option 'stimeout'

Unrecognized option 'stimeout', is popping up when i'm using the command: ffmpeg -re -rtsp_transport tcp -y -stimeout 1000000 -i "rtsp://admin:[email protected]