FFmpeg git repo
Go to file
Marton Balint 8d92f59d11 avformat/file: fail for non-numerical arguments to pipe:
Before this patch, the implementation of pipe: inputs/outputs would
silently fall back to stdin/stdout for any argument not successfully
parsed by strtol().

This patch introduces an explicit error for any non-numerical arguments,
which should avoid user confusion as in #10977.

New behavior:

$ cat /tmp/video.mkv | ./ffmpeg -i pipe:aa -acodec copy -vcodec copy -f matroska pipe:1 | cat >/tmp/out.mkv

[pipe @ 0x5618c7bcf740] Non-numerical argument "aa" to pipe:
[in#0 @ 0x5618c7bced00] Error opening input: Invalid argument
Error opening input file pipe:aa.
Error opening input files: Invalid argument

Based on the patch of Nils Goroll <nils.goroll@uplex.de>.

Signed-off-by: Marton Balint <cus@passwd.hu>
2024-05-07 23:38:05 +02:00
compat avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
doc lavc/qsvenc: add support for oneVPL string API 2024-05-07 11:06:37 +08:00
ffbuild ffbuild/libversion.sh: add shebang 2024-04-09 15:34:53 +02:00
fftools fftools/ffprobe: Avoid overflow when calculating DAR 2024-05-05 11:56:29 +01:00
libavcodec avcodec/diracdec: Don't use EDGE_WIDTH from mpegpicture.h 2024-05-07 13:24:32 +02:00
libavdevice avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
libavfilter avfilter/vf_scale: properly reinitialize framesync 2024-05-05 21:37:07 -03:00
libavformat avformat/file: fail for non-numerical arguments to pipe: 2024-05-07 23:38:05 +02:00
libavutil lavu/riscv: add hwprobe() for CPU detection 2024-05-06 22:09:41 +03:00
libpostproc avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
libswresample avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
libswscale swscale/output: Fix integer overflow in yuv2rgba64_full_1_c_template() 2024-05-06 03:00:40 +02:00
presets
tests avutil/opt: add an unsigned option type 2024-05-04 21:17:40 -03:00
tools tools: add target_enc_fuzzer.c 2024-04-24 02:52:16 +02:00
.gitattributes
.gitignore
.mailmap
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog lavc/qsvenc: add support for oneVPL string API 2024-05-07 11:06:37 +08:00
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile tools: add target_enc_fuzzer.c 2024-04-24 02:52:16 +02:00
README.md
RELEASE RELEASE: update after 7.0 branch 2024-04-02 13:02:39 -03:00
configure lavc/qsvenc: add support for oneVPL string API 2024-05-07 11:06:37 +08:00

README.md

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides means to alter decoded audio and video through a directed graph of connected filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.