Newest 'ffmpeg' Questions - Stack Overflow
Les articles publiés sur le site
-
Ffmpeg, drop UDP packet by lenght
6 juin 2017, par Red5goaheadAccording to this post about these HDMI sender with HDbitT protocol (LENKENG , ESYNic ecc.)
there is a problem with FFMpeg.
The HDMI sender broadcast an UDP multicast MPEG-TS stream that can used with vlc but it doesn't work with ffmpeg that can't recognize the stream.
(I solved the problem using VLC as a UDP-HTTP proxy, with http ffmpeg work fine)
[mpegts @ 029c2b00] probed stream 1 failed [mpegts @ 029c2b00] Could not find codec parameters for stream 1 (Unknown: none): unknown codec Consider increasing the value for the ‘analyzeduration’ and ‘probesize’ options
An issue, the most important one, is this stream contain a lots of UDP zero lenght packet .
It would be fine if FFMPEG could avoid these packets. In Windows desktop system, firewall don't allow to drop them out.
-
How to stitch two video with FFmpeg in Android ?
6 juin 2017, par xiaoluoThere are two video, I want to stitch them with FFmpeg in Android likes the following picture, does any one can help me or give me some advice?Thanks!
-
FFMPEG set -ss and -to with string
6 juin 2017, par NewUserI know I can set the start with -ss and end with -to but can someone please help me to format the following so that I can enter the
-ss
and-to
with a string?I want
-ss
to come fromString start = editStart.getText().toString();
and
-to
to come fromString end = editEnd.getText().toString();
Here is my ffmpeg string I want to edit, I have entered
-ss
and-to
to show where I want the above strings to be.String s = "-i" + " " + mVideoUri.toString().replace("file:///", "") + " -filter_complex [1:v][0:v]scale2ref=iw:ih[ovr][base];[ovr]colorchannelmixer=aa=0.7[ovrl];[base][ovrl]overlay[v] -ss -to -map [v]" + directoryToStore + "/" + FileName + mp4; String[] arguments = s.split(" "); ExecuteFFMPEG(arguments);
-
Running PowerShell command in Universal Windows Platform C#
6 juin 2017, par stephenSo I am trying to write a basic application to cut and export a subsection of a video. I have come across (and decided to use) the FFMPEG command line tools to do the cropping. This seemed straight forward (https://stackoverflow.com/a/5047426/6728859), but Universal Windows apps do not support System.Diagnostics.Process. Instead, it was suggested that they do support Powershell, which means I could do it by following (https://blogs.msdn.microsoft.com/kebab/2014/04/28/executing-powershell-scripts-from-c/). However, I get the following errors
Cannot find type System.SystemException in module CommonLanguageRuntimeLibrary
Cannot resolve Assembly or Windows Metadata file 'System.Configuration.Install.dll'
From my limited understanding
System.SystemException
was removed in UWP, and I'm not sure where to findSystem.Configuration.Install.dll
.Now to get PowerShell I had to include
System.Management.Automation
which I got fromC:\Program Files (x86)\Reference Assemblies\Microsoft\WindowsPowerShell\3.0
which doesn't seem correct to me, but I could be wrong.Is it possible to run commands in a UWP, or does anyone have any suggestions?
-
Building OpenCV for macOS with ffmpeg
6 juin 2017, par rudyrykI'm trying to build OpenCV library for macOS with
build_framework.py
script like this:platforms/osx/build_framework.py osx
What I noticed is that
ffmpeg
is not detected while configuring build with CMake:-- Can't find ffmpeg - 'pkg-config' utility is missing
That's looking strange, because I have both
ffmpeg
andpkg-config
installed via Homebrew.Finally, I noticed in CMakeLists.txt the following line:
if(NOT APPLE_FRAMEWORK) find_package(PkgConfig QUIET) endif()
Why is it present in the first place?
Seems like when I remove the
if(NOT APPLE_FRAMEWORK)
condition it runs successfully and configures build withffmpeg
enabled.