Category "ffmpeg"

React native - Which is the best way to compress video before upload to server?

We are using ffmpeg library (https://github.com/tanersener/react-native-ffmpeg) but with large videos this task is taking too long time, up to 4 minutes or more

Is it safe to ignore the error "Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option Error while decoding stream"?

I was encoding a video with subtitles and I got the error, "Invalid UTF-8 in decoded subtitles text; maybe missing -sub_charenc option. Error while decoding str

Invalid radius value in BlurMask Ffmpeg

I'm using boxblur filter to blur specific area of video using cropping library, when i fire command sometimes it works well but sometimes it's showing me error.

Crossfade Animation with multiple Images using Ffmpeg

I'm creating video with Multiple images using Ffmpeg and i'm using given link - (Remember most important thing is All the images have different sizes) https://s

how can I slow down a video (I lower pitch by a semitone) with FFMPEG?

I have an old black and white film with audio that was recorded on a phonograph and the playback speed of the audio is a semi-tone higher than it should be. Ho

When Grabbing a File through JFileChooser why does this fail?

I'm trying to understand Java Swing GUIs. So I created a simple GUI to select a File. When I attempt to use the FFMPEG wrapper to get file information I get the

Why pyav package in python can not recognize h264_cuvid codec while ffmpeg can do?

I have a python script as below to read byte_stream from video. I want to use h264_cuvid code to do GPU hardware accelerating instead of CPU encoding or decodin

Ffmpeg - How can I create HLS multiple language streams, in multiple qualities?

Preface I'm working on converting videos from 4k to multiple qualities with multiple languages but am having issues with the multiple languages overlaying, some

FFMPEG: using filters for adding transparent watermark

how can i combine these two lines of code for adding transparent watermark (with Dynamic size) ffmpeg -i 1.gif -i logo.png -filter_complex "[1]format=rgba,color

FFmpeg concat creating corrupted video part (Media Info provided)

I am using concat to join a list of video files with the following command ffmpeg -f concat -safe 0 -i filesList.txt -c copy output.mp4 The issue here is that

How can I loop one frame with ffmpeg? All the other frames should point to the first with no changes, maybe like a recusion

I want to make a long video from a single image in ffmpeg. I need it to be fastly encodeable and at the end the video should have a small file size. Is it pos

How to convert ffmpeg complex_filter to ffmpeg-python

I am trying to learn to convert ffmpeg command line background blur filter to ffmpeg-python format. '-lavfi' and [0:v]scale=ih*16/9:-1,boxblur=luma_radius=min(h

Problem decoding h264 over RTP TCP stream

I'm trying to receive RTP stream encoding h264 over TCP from my intercom Hikvision DS-KH8350-WTE1. By reverse engineering I was able to replicate how Hikvision

Ffmpeg won't cut excerpt of video correctly

I am using a DOS batch to automate and cut excerpts of various high definition videos (mkv's with more than 1GB each). The script is very convenient and runs fa

Why does CreateDXGIFactory occupy GPU even if I call it's release interface

First I run the following code: IDXGIFactory* pFactory; HRESULT hr = CreateDXGIFactory(__uuidof(IDXGIFactory1), (void**)(&pFactory)); if (FAILED(hr)

ffmpeg: Add multichannel audio stream (ac3 to aac)

I want my first audio stream to be stereo (by default) and my second to be multichannel (5.1 surround) in my .mp4 video. There's no problem in replacing the ste

FFmpeg library in WPF

I am building a softwere that can decode and encode using Wpf and c#, and I want to do that using, FFmpeg libary. I saw the ffmpeg autogen warpper but I couldn'

Why RTP doesn't support multiple streams to one port but RTSP does?

I use ffmpeg for streaming a video using RTP protocol. Why I can't send multiple streams to one RTP port, but RTSP that uses RTP can? I started a RTSP server th

FFmpeg pipe input, error while transcoding from WebM to MP4

I am trying to record a video from pipe input using FFMPEG. The pipe input is in WebM format i.e. the video codec is VP8 and the audio codec is OPUS. I am able

FFMPEG with moviepy

I'm working on something that concatenate videos and adds some titles on through moviepy. As I saw on the web and on my on pc moviepy works on the CPU and takes