Questions tagged [ffmpeg]

Only questions about programmatic use of the FFmpeg libraries, API, or tools are on topic. Questions about interactive use of the command line tool should be asked on Super User or Video Production. FFmpeg is a free, open source project that produces libraries and programs for handling multimedia data.

Questions about interactive use of the ffmpeg command line tool are off-topic. Please ask them on the Super User or Video Production sites.

Questions here should relate to automating or integrating FFmpeg, or usage of the libav* libraries or API. See also: , , .

FFmpeg is a free, open source project that produces libraries and programs for handling multimedia data. The most notable components are:

  • libavcodec – an audio/video/subtitle codec library used by many other projects.
  • libavformat – an audio/video/subtitle container (de)muxing library.
  • ffmpeg – a command line program for transcoding multimedia files.
  • ffprobe – a command line program for viewing detailed information about multimedia files.
  • ffplay - a command line program for playing media files. It is mostly used as a testbed for the various FFmpeg APIs.

FFmpeg is published under the GNU Lesser General Public License 2.1+ or GNU General Public License 2+ (depending on which options are enabled).

See the FFmpeg documentation and FFmpeg Wiki for additional information.

26084 questions
6
votes
1 answer

Passing FileInputStream and FileOutputStream to ffmpeg to transcode(using JAVE-Java Audio Video Encoding)

I am trying to transcode a *.mov file into a *.mp4 file using JAVE, which calls ffmpeg. Both input file and output file are in InputStream and OutputStream forms. That means I need to pass InputStream and OutputStream as -i and -y parematers for…
Jagan S
  • 61
  • 1
  • 2
6
votes
1 answer

Modifying motion vectors in ffmpeg H.264 decoder

For research purposes, I am trying to modify H.264 motion vectors (MVs) for each P- and B-frame prior to motion compensation during the decoding process. I am using FFmpeg for this purpose. An example of a modification is replacing each MV with its…
qontranami
  • 103
  • 1
  • 9
6
votes
2 answers

How can I get FFmpeg to locate installed libraries when --sysroot is pointing to another directory?

I've been going at this, literally for days. I'm trying to build FFmpeg with libmp3lame for use in an Android application. The build script sets a --sysroot flag that points to the Android NDK directory necessary to build these libraries in a way…
Xaero Degreaz
  • 1,045
  • 11
  • 18
6
votes
5 answers

FFMpeg - Creating Thumbnail for Video file

I am new to php. I have installed ffmpeg in my local iis.. Is it possible to generate a thumbnail image for a flv file.? Please help..
user1006460
  • 104
  • 1
  • 1
  • 5
6
votes
1 answer

Why does recoding video with FFMPEG on Windows always give an error?

I downloaded ffmpeg from http://ramiro.arrozcru.org/ffmpeg-vfwcap-noflip.7z and run it with the command line: ffmpeg -r 25 -f vfwcap -i 0 output.avi but always get the error: ffmpeg -r 25 -f vfwcap -i 0 output.avi FFmpeg version SVN-r22915,…
ALexF
  • 171
  • 1
  • 2
  • 11
6
votes
2 answers

How to view the commands while making FFmpeg?

When I make ffmpeg, I can see following lines CC ffmpeg.o LD ffmpeg_g CP ffmpeg STRIP ffmpeg What is a quick way to find the commands for CC, LD etc. with as less modification to the Makefile?
S B
  • 8,134
  • 10
  • 54
  • 108
6
votes
1 answer

Using ffmpeg with Python 2.7

I have been trying to install pyffmpeg in Python 2.7 unsuccessfully. I found a package for Python 2.6, but I can't get it to work. So, I have been mulling around with 2.7. I've seen previous post from others on this site, but they have not helped.…
suffa
  • 3,606
  • 8
  • 46
  • 66
6
votes
2 answers

Recommendations for real-time pixel-level analysis of television (TV) video

[Note: This is a rewrite of an earlier question that was considered inappropriate and closed.] I need to do some pixel-level analysis of television (TV) video. The exact nature of this analysis is not pertinent, but it basically involves looking at…
Randall Cook
  • 6,728
  • 6
  • 33
  • 68
6
votes
4 answers

EC2 for video-encoding

I have a potential job which will require me to do some video encoding with FFMPEG and x264. I'll have a series of files which I'll need to encode once, then I'll be able to bring down the instances. Since I'm not really sure of the resource…
Naftuli Kay
  • 87,710
  • 93
  • 269
  • 411
6
votes
2 answers

FFMPEG Seeking brings audio artifacts

I'm implementing a audio decoder using ffmpeg. While reading audio and even seeking already works, I can't figure out a way to clear the buffers after seeking so I have no artifacts when the app starts reading audio right after…
6
votes
1 answer

Named pipes and can they stream data?

I asked a previous question here: Stream video from ffmpeg and capture with OpenCV and I want to know more about named pipes in general. Can I use named pipes to stream data? For example, can I continuously add data to the pipe (via ffmpeg) in…
chembrad
  • 887
  • 3
  • 19
  • 33
6
votes
0 answers

FFMPEG wasm - Failed to parse URL

I am getting this: RuntimeError: abort(TypeError: Failed to parse URL from /Users/name/git/ffmpegtestproject/node_modules/@ffmpeg/core/dist/ffmpeg-core.wasm. My package.json looks like this: "dependencies": { "@ffmpeg/core": "^0.11.0", …
Sebastian Berglönn
  • 3,920
  • 2
  • 17
  • 33
6
votes
1 answer

Does FFmpeg currently support AVIF?

I installed FFmpeg using Chocolatey and confirmed that it is the latest version. In order to convert the png file into an avif file, I gave the command as below in the cmd window of the administrator's authority. ffmpeg -i input.png…
user19098011
  • 73
  • 1
  • 3
6
votes
1 answer

How to list the symbols in this WASM module?

I'm looking to do some in-browser video work using good-ol' FFmpeg and Rust. Simple examples, where the caller is interacting with the ffmpeg command-line abound. More complex examples are harder to find. In my case I wish to extract, process and…
Martin Cowie
  • 2,788
  • 7
  • 38
  • 74
6
votes
4 answers

FFMPEG - Can you overlay part of a video with a couple of images?

I need to add an overlay a video and I was wondering if there is an easy way to do this with FFMPEG. I have a set of images (a banner and a portrait) which I would like to overlay at the bottom of my video for part of the duration of the video. For…
Adam
  • 3,014
  • 5
  • 33
  • 59
1 2 3
99
100