FFmpeg git repo
Go to file
Steven Liu 96d70694ae avformat/dashdec: add dash demuxer base version
ffmpeg need a dash demuxer for demux the dash formats base on
https://github.com/samsamsam-iptvplayer/exteplayer3/blob/master/tmp/ffmpeg/patches/3.2.2/000001_add_dash_demux.patch

TODO:
1. support multi bitrate dash.

v2 fixed:
1. from autodetect to disabled
2. from camelCase code style to ffmpeg code style
3. from RepType to AVMediaType
4. fix variable typo
5. change time value from uint32_t to uint64_t
6. removed be used once API
7. change 'time(NULL)`, except it is not 2038-safe.' to av_gettime and av_timegm
8. merge complex free operation to free_fragment
9. use API from snprintf to av_asprintf

v3 fixed:
1. fix typo from --enabled-xml2 to --enable-xml2

v4 fixed:
1. from --enable-xml2 to --enable-libxml2
2. move system includes to top
3. remove nouse includes
4. rename enum name
5. add a trailing comma for the last entry enum
6. fix comment typo
7. add const to DASHContext class front
8. check sscanf if return arguments and give warning message when error
9. check validity before free seg->url and seg
10. check if the val is null, before use atoll

v5 fixed:
1. fix typo from mainifest to manifest

v6 fixed:
1. from realloc to av_realloc
2. from free to av_free

v7 fixed:
1. remove the -lxml2 from configure when require_pkg_config

v8 fixed:
1. fix replace filename template by av_asprintf secure problem

v9 modified:
1. make manifest parser clearly

v10 fixed:
1. fix function API name code style
2. remove redundant strreplace call
3. remove redundant memory operation and check return value from get_content_url()
4. add space between ) and {
5. remove no need to log the value for print

v11 fixed:
1. from atoll to strtoll
Suggested-by: Michael Niedermayer <michael@niedermayer.cc>

v12 fixed:
1. remove strreplace and instead by av_strreplace
Suggested-by: Nicolas George <george@nsup.org>

v13 fixed:
1. fix bug: cannot play:
http://dash.edgesuite.net/akamai/bbb_30fps/bbb_30fps.mpd
Reported-by: Andy Furniss <adf.lists@gmail.com>

v14 fixed:
1. fix bug: TLS connection was non-properly terminated
2. fix bug: No trailing CRLF found in HTTP header
Reported-by: Andy Furniss <adf.lists@gmail.com>

v15 fixed:
1. play youtube link: ffmpeg -i $(youtube-dl -J "https://www.youtube.com/watch?v=XmL19DOP_Ls" | jq -r ".requested_formats[0].manifest_url")
2. code refine for timeline living stream
Reported-by: Ricardo Constantino <wiiaboo@gmail.com>

v16 fixed:
1. remove the snprintf and instead by get_segment_filename make safety
2. remove unnecessary loops
3. updated xmlStrcmp and xmlFree to av_* functions
4. merge code repeat into one function
5. add memory alloc faild check
6. update update_init_section and open_url
7. output safety error message when filename template not safe
Suggested-by : wm4 <nfxjfg@googlemail.com>

v17 fixed:
1. add memory alloc faild check
2. fix resource space error at free_representation

v18 fixed:
1. add condition of template format

v19 fixed:
1. fix typo of the option describe

v20 fixed:
1. add the c->base_url alloc check
2. make the DASHTmplId same to dashenc

v21 fixed:
1. remove get_repl_pattern_and_format and get_segment_filename
2. process use dashcomm APIs

v22 fixed:
1. modify the include "dashcomm.h" to include "dash.h"
2. use internal API from dash_fill_tmpl_params to ff_dash_fill_tmpl_params

Signed-off-by: Steven Liu <lq@onvideo.cn>
Signed-off-by: samsamsam <samsamsam@o2.pl>
2017-09-09 08:32:03 +08:00
compat compat/cuda/ptx2c: strip CR from each line 2017-08-30 11:20:34 +02:00
doc avfilter: add Haas stereo enhancer 2017-09-08 18:29:53 +02:00
ffbuild build: Allow generating dependencies as a side-effect of assembling 2017-06-21 17:00:29 -03:00
libavcodec avcodec/vp9: Add tile threading support 2017-09-08 10:25:40 -04:00
libavdevice lavd: drop QTKit indev 2017-09-04 17:19:58 +02:00
libavfilter lavfi/coreimage: reduce dependency scope from QuartzCore to CoreImage 2017-09-08 18:55:19 +02:00
libavformat avformat/dashdec: add dash demuxer base version 2017-09-09 08:32:03 +08:00
libavresample build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
libavutil lavu/timer.h: add Linux Perf API support 2017-09-08 18:51:05 +02:00
libpostproc postproc: remove usage of deprecated QP_STORE_T define 2017-08-30 14:44:27 -03:00
libswresample swresample/resample: Fix flush refelction length 2017-08-16 00:54:17 +02:00
libswscale utils: Do not expand a macro with 'defined' in it 2017-08-25 13:44:57 +01:00
presets
tests checkasm: use perf API on Linux ARM* 2017-09-08 18:51:05 +02:00
tools build: Generalize yasm/nasm-related variable names 2017-06-21 17:00:29 -03:00
.gitattributes
.gitignore build: add support for building .cu files via nvcc 2017-05-15 11:46:50 +02:00
.travis.yml build: Prefer NASM assembler over YASM 2017-06-21 17:00:30 -03:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog avfilter: add Haas stereo enhancer 2017-09-08 18:29:53 +02:00
INSTALL.md
LICENSE.md
MAINTAINERS lavd: drop QTKit indev 2017-09-04 17:19:58 +02:00
Makefile dxva: add support for new dxva2 and d3d11 hwaccel APIs 2017-06-27 18:05:02 +02:00
README.md
RELEASE
cmdutils.c
cmdutils.h
cmdutils_opencl.c cmdutils_opencl: Fix read of uinitialized cl_mem 2017-05-11 13:02:12 +02:00
configure avformat/dashdec: add dash demuxer base version 2017-09-09 08:32:03 +08:00
ffmpeg.c ffmpeg: send EOF pts to filters. 2017-09-08 10:31:07 +02:00
ffmpeg.h dxva: add support for new dxva2 and d3d11 hwaccel APIs 2017-06-27 18:05:02 +02:00
ffmpeg_cuvid.c
ffmpeg_filter.c ffmpeg: Support setting the hardware device to use when filtering 2017-06-14 22:27:07 +01:00
ffmpeg_hw.c avconv_hw: Free device on initialisation failure 2017-06-18 17:07:25 +01:00
ffmpeg_opt.c ffmpeg_opt: add proper deprecation guards to lowres code 2017-08-30 22:45:00 -03:00
ffmpeg_qsv.c
ffmpeg_videotoolbox.c
ffplay.c ffplay: add support for more SDL pixel formats when rendering video 2017-08-10 22:08:40 +02:00
ffprobe.c ffprobe: use consistent string for unspecified color_range value 2017-09-07 13:26:44 +02:00
ffserver.c
ffserver_config.c
ffserver_config.h

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 a mean to alter decoded Audio and Video through chain of 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.
  • ffserver is a multimedia streaming server for live broadcasts.
  • 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.