aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/segment.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge commit 'e6153f173a49e5bfa70b0c04d2f82930533597b9'Michael Niedermayer2012-09-051-3/+3
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e6153f173a49e5bfa70b0c04d2f82930533597b9': avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member Conflicts: libavcodec/libopenjpegdec.c libavcodec/libopenjpegenc.c libavcodec/libx264.c libavcodec/mpeg12enc.c libavcodec/options_table.h libavcodec/snowenc.c libavcodec/tiffenc.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/af_amix.c libavfilter/af_asyncts.c libavfilter/af_join.c libavfilter/buffersrc.c libavfilter/src_movie.c libavfilter/vf_delogo.c libavfilter/vf_drawtext.c libavformat/http.c libavformat/img2dec.c libavformat/img2enc.c libavformat/movenc.c libavformat/mpegenc.c libavformat/mpegtsenc.c libavformat/options_table.h libavformat/segment.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union memberMartin Storsjö2012-09-041-2/+2
| | | | | | | | Signed-off-by: Martin Storsjö <martin@martin.st>
* | Merge commit '124134e42455763b28cc346fed1d07017a76e84e'Michael Niedermayer2012-09-051-4/+4
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '124134e42455763b28cc346fed1d07017a76e84e': avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member Conflicts: libavcodec/aacenc.c libavcodec/libopenjpegenc.c libavcodec/options_table.h libavdevice/bktr.c libavdevice/v4l2.c libavdevice/x11grab.c libavfilter/af_amix.c libavfilter/vf_drawtext.c libavformat/movenc.c libavformat/options_table.h libavutil/opt.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/segment: add EXT-X-MEDIA-SEQUENCE tag in M3U8 headerStefano Sabatini2012-09-041-0/+3
| |
* | lavf/segment: deprecate "ext" format in favor of "csv"Stefano Sabatini2012-09-041-2/+8
| | | | | | | | The new option name is more descriptive.
* | lavf/segment: add escaping for filename field of the CSV list fileStefano Sabatini2012-09-041-1/+26
| | | | | | | | CSV escaping code is borrowed from ffprobe.c.
* | lavf/segment: set EXT-X-VERSION to 3 rather than to 4Stefano Sabatini2012-09-021-1/+1
| | | | | | | | | | | | | | | | There is nothing we use of the latest version, downgrade version number to increase decoding support. Based on this comment by vel2000: http://ffmpeg.org/trac/ffmpeg/ticket/1642#comment:17
* | lavf/segment: fix computation of M3U8 segment target durationStefano Sabatini2012-08-181-1/+1
| | | | | | | | | | Use ceil on the max duration, rather than approximating it to the nearest integer.
* | lavf/segment: change default value for segment_list_size option, from 5 to 0Stefano Sabatini2012-08-181-1/+1
| | | | | | | | | | This is technically a major compatibility break, but seems the most natural default and what users would expect without reading the docs.
* | lavf/segment: guess list type from list filename suffixStefano Sabatini2012-08-181-2/+9
| |
* | lavf/segment: add M3U8 list supportStefano Sabatini2012-08-181-0/+20
| | | | | | | | Address trac ticket #1642.
* | lavf/segment: compute max list segment durationStefano Sabatini2012-08-181-2/+10
| | | | | | | | This is useful for the M3U8 format incoming patch.
* | lavf/segment: create segment_list_open and close functionsStefano Sabatini2012-08-181-7/+18
| | | | | | | | | | Allow factorization for the incoming patches, and avoid code/logic duplication.
* | lavf/segment: fix bogus segment index rewrapping logicStefano Sabatini2012-08-181-11/+15
| | | | | | | | | | Decouple segment index wrapping and segment count logic. The counter should not be reset since it detects the segment increasing timeframe.
* | lavf/segment: move file description to @file doxyStefano Sabatini2012-08-181-1/+4
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-07-311-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: mpc8: return more meaningful error codes. mpc: return more meaningful error codes. wv,mpc8: don't return apetag data in packets. rtmp: do not warn about receiving metadata packets x86: h264dsp: Adjust YASM #ifdefs x86: yadif: Mark mmxext optimizations as such h264: convert loop filter strength dsp function to yasm. Improve descriptiveness of a number of codec and container long names Conflicts: libavcodec/flvdec.c libavcodec/libopenjpegdec.c libavformat/apetag.c libavformat/mp3dec.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * Improve descriptiveness of a number of codec and container long namesDiego Biurrun2012-07-301-1/+1
| |
* | lavf/segment: add -segment_time_delta optionStefano Sabatini2012-07-101-1/+13
| |
* | lavf/segment: add -segment_times optionStefano Sabatini2012-07-101-6/+85
| | | | | | | | Address trac ticket #1504.
* | lavf/segment: sort optionsStefano Sabatini2012-07-081-1/+1
| |
* | lavf/segment: make use of av_parse_time() when parsing the -segment_time valueStefano Sabatini2012-07-081-5/+14
| | | | | | | | | | | | | | Increase flexibility/consistency. Also rename recording_time field to time, for enhanced consistency/readability.
* | lavf/segment: add segment_list_type option, extend format for the segment ↵Stefano Sabatini2012-07-081-1/+21
| | | | | | | | | | | | | | | | | | list file Add list extended format which specifies in the list file the start and ending time for each segment. This is required to make it available this information to external tools, avoiding the need to perform file analysis in the output segments.
* | lavf/segment: rename SegmentContext.pb to list_pbStefano Sabatini2012-07-041-9/+9
| | | | | | | | | | The new name is more auto-explicative, as the pb is used for the segment list file.
* | lavf/segment: add error log in case of invalid filename templateStefano Sabatini2012-07-031-1/+3
| | | | | | | | Better rather than silently exit.
* | lavf/segment: fix logic for segmenting audio-only inputsStefano Sabatini2012-07-031-1/+2
| | | | | | | | | | | | Also add a comment for clarifying the logic. Fix trac ticket #1290.
* | lavf/segment: add more information in log message in seg_write_packet()Stefano Sabatini2012-07-031-2/+2
| |
* | lavf/segment: remove unused offset variableStefano Sabatini2012-07-031-2/+0
| |
* | lavf/segment: apply misc fixes to the private options internal documentationStefano Sabatini2012-07-031-10/+10
| | | | | | | | | | Option help message tell what the option *does*, not what the set field represents.
* | lavf/segment: slightly simplify fail logic in seg_write_packet()Stefano Sabatini2012-07-031-6/+1
| |
* | lavf/segment: move list filename printing logic from segment_end() to ↵Stefano Sabatini2012-07-031-16/+12
| | | | | | | | | | | | | | | | segment_start() Allow to deal with the list file printing only in a single point, thus simplifying logic, and allow a bit of factorization (no special case needed when printing the first file name of the list).
* | lavf/segment: rename variable "size" to "list_size"Stefano Sabatini2012-07-011-3/+3
| | | | | | | | The new name is more meaningful/less confusing.
* | lavf/segment: pass the top level chained muxer format context to segment_end()Stefano Sabatini2012-07-011-4/+6
| | | | | | | | Consistent with segment_start() and less confusing.
* | lavf/segment: rename segment private context from "c" to "seg" in ↵Stefano Sabatini2012-06-291-5/+5
| | | | | | | | | | | | segment_start() Consistent with the rest of the file, less confusing.
* | lavf/segment: add stream_segment variant of the segment muxerStefano Sabatini2012-06-291-1/+18
| | | | | | | | | | | | | | | | This simplifies usage for segment streaming formats with no global headers, tipically MPEG 2 transport stream "ts" files. The seg class duplication is required in order to avoid an infinite loop in libavformat/utils.c:format_child_next_class().
* | lavf/segment: add some debugging logsStefano Sabatini2012-06-291-0/+6
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-06-151-1/+0
|\| | | | | | | | | | | | | | | | | * qatar/master: af_resample: fix format modifier in debug string for FF_API_SAMPLERATE64 segment: remove unnecessary <strings.h> include fate: add snow hpel tests Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * segment: remove unnecessary <strings.h> includeJanne Grunau2012-06-151-1/+0
| |
* | Merge remote-tracking branch 'qatar/master'Michael Niedermayer2012-04-281-8/+6
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * qatar/master: h264: new assembly version of get_cabac for x86_64 with PIC h264: use one table instead of several for cabac functions h264: (trivial) remove unneeded macro argument in x86/cabac.h libschroedingerdec: check malloc segment: reorder seg_write_header allocation avio: make avio_close(NULL) a no-op mov: Parse EC3SpecificBox (dec3 atom). Conflicts: libavcodec/cabac.c libavcodec/x86/cabac.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * segment: reorder seg_write_header allocationLuca Barbato2012-04-271-8/+6
| | | | | | | | | | As pointed by Paul B Mahol <onemda@gmail.com> the previous code could lead to null pointer dereference.
* | segment: fix null pointer dereferencePaul B Mahol2012-03-221-3/+5
|/ | | | | Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* segment: implement wrap aroundLuca Barbato2012-02-281-2/+6
| | | | | | | | Provide a way to wrap around the segment index so pseudostreaming live through a web server and html5 browser is simpler. Also ensure that 0 (disable) is a valid value across the options providing wrap around.
* segment: introduce segmented chain muxerLuca Barbato2011-12-191-0/+273
It behaves similarly to image2 muxer