1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
Go to file
Bodecs Bela 8811d6d9a0 avformat/hlsenc: hls_start_number_source and start_number
start_number option starts the playlist sequence number
(#EXT-X-MEDIA-SEQUENCE) from the specified number. Unless hls_flags
single_file is set, it also specifies starting sequence numbers of
segment and subtitle filenames. Sometimes it is usefull to have unique
starting numbers at each run, but currently it is only achiveable by
setting this parameter manually.
This patch enables to specify start_number source parameter by
introducing hls_start_number_source with 3 possible values:
generic/epoch/datetime. This ensures to set start sequence number
automatically for practically unique numbers. Generic option is the
default and this is the curent behaviour: start_number option value
specifies the start sequence number. (start_number default value is 0)
If hls_start_number_source is set to epoch, then the start number will
be the seconds since epoch (1970-01-01 00:00:00). If set to datetime,
then the start sequence number will be based on the current date/time
value as YYYYmmddHHMMSS. e.g. 20161231235659.
Hls speficication allows 64 bit integers as sequence numbers. This patch
also changes some code where only 32 bit integer values were handled
correctly.

Reviewed-by: Moritz Barsnick <barsnick@gmx.net>
Signed-off-by: Bela Bodecs <bodecsb@vivanet.hu>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2017-01-12 20:43:10 +08:00
compat compat/atomics: rename header guards 2016-12-02 20:08:54 -03:00
doc avformat/hlsenc: hls_start_number_source and start_number 2017-01-12 20:43:10 +08:00
libavcodec avcodec/mathops: add missing header for ff_reverse 2017-01-11 21:18:03 -03:00
libavdevice avdevice/decklink_enc: do not reference this after freeing it 2016-12-27 01:11:59 +01:00
libavfilter lavfi: use an audio frame pool for each link of the filtergraph 2017-01-12 10:22:52 +01:00
libavformat avformat/hlsenc: hls_start_number_source and start_number 2017-01-12 20:43:10 +08:00
libavresample Bump minor versions after 3.2 branchpoint to seperate release 2016-10-26 20:52:42 +02:00
libavutil x86inc: Avoid using eax/rax for storing the stack pointer 2017-01-09 16:00:29 +01:00
libpostproc Bump minor versions after 3.2 branchpoint to seperate release 2016-10-26 20:52:42 +02:00
libswresample swresample/resample: remove swri_resample function 2016-12-14 06:48:34 +07:00
libswscale swscale/swscale: Fix dereference of stride array before null check 2016-12-23 21:47:47 +01:00
presets
tests fate/psd : add test for 256 color 2017-01-11 22:25:21 +01:00
tools tools/zmqsend: Do not truncate fgetc() return 2016-12-24 14:46:25 +01:00
.gitattributes
.gitignore
.travis.yml
arch.mak
Changelog avcodec: add Newtek SpeedHQ decoder 2017-01-11 16:02:10 +01:00
cmdutils_common_opts.h cmdutils: add show_demuxers and show_muxers 2016-11-08 01:56:31 +01:00
cmdutils_opencl.c
cmdutils.c cmdutils: remove duplicate windows.h include 2016-11-16 15:06:16 +01:00
cmdutils.h cmdutils: add show_demuxers and show_muxers 2016-11-08 01:56:31 +01:00
common.mak
configure configure: Fix standalone compilation of the ljpeg encoder. 2017-01-05 11:44:04 +01:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
ffmpeg_cuvid.c doc: fix spelling errors 2016-10-21 23:58:47 +02:00
ffmpeg_dxva2.c
ffmpeg_filter.c ffmpeg_filter: fix several logic failures 2016-11-24 16:27:55 +01:00
ffmpeg_opt.c ffmpeg: Add an option "qsv_device" to choose proper node for QSV child device (vaapi or dxva2) 2017-01-11 20:21:09 +00:00
ffmpeg_qsv.c ffmpeg: Add an option "qsv_device" to choose proper node for QSV child device (vaapi or dxva2) 2017-01-11 20:21:09 +00:00
ffmpeg_vaapi.c ffmpeg_vaapi: fix choice of decoder_format 2016-09-29 01:23:52 +02:00
ffmpeg_vdpau.c
ffmpeg_videotoolbox.c
ffmpeg.c ffmpeg: remove stop_encoding variable and related code, it is dead / unused code 2016-12-28 19:19:15 +01:00
ffmpeg.h ffmpeg: Add an option "qsv_device" to choose proper node for QSV child device (vaapi or dxva2) 2017-01-11 20:21:09 +00:00
ffplay.c ffplay: add startup volume option 2016-12-25 12:51:21 -08:00
ffprobe.c lavc: Add spherical packet side data API 2016-12-07 14:40:06 -05:00
ffserver_config.c ffserver_config: Check for failure to allocate FFServerIPAddressACL 2016-12-22 19:23:08 +01:00
ffserver_config.h ffsrever: Make the status page bitexact if any stream is bitexact 2016-11-29 19:26:26 +01:00
ffserver.c ffserver: local OOB write with custom program name 2017-01-08 03:50:56 +01:00
INSTALL.md
library.mak
LICENSE.md lavfi/f_ebur128: relicense to LGPL 2016-11-27 20:46:20 +01:00
MAINTAINERS MAINTAINERS: update 2016-12-27 18:24:31 +01:00
Makefile
README.md
RELEASE RELEASE: Update for past 3.2 branch 2016-10-26 20:52:43 +02:00
version.sh

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.