summaryrefslogtreecommitdiff
path: root/libavformat/segment.c
Commit message (Collapse)AuthorAge
* avformat/segment: Use av_malloc_array()Michael Niedermayer2014-05-05
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '87a3ea3192bf5e4aafa08bca8686a2b577eae818'Michael Niedermayer2014-04-30
|\ | | | | | | | | | | | | | | | | | | * commit '87a3ea3192bf5e4aafa08bca8686a2b577eae818': segment: Report the current media sequence Conflicts: libavformat/segment.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * segment: Report the current media sequenceLuca Barbato2014-04-30
| | | | | | | | Useful for debugging mostly.
* | Merge commit '5c08ae4f37281441188447cd04dcaf7cd7ce031f'Michael Niedermayer2014-04-29
|\| | | | | | | | | | | | | | | | | | | | | | | * commit '5c08ae4f37281441188447cd04dcaf7cd7ce031f': segment: Add an option to prepend a string to the list entries Conflicts: doc/muxers.texi libavformat/segment.c See: 5e278c19c752d65fdc1da1ceb599b091f71a4b4b Merged-by: Michael Niedermayer <michaelni@gmx.at>
| * segment: Add an option to prepend a string to the list entriesEnrique Arizón Benito2014-04-29
| | | | | | | | | | | | Useful to generate lists with absolute urls. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
| * hls, segment: fix splitting for audio-only streams.Anton Khirnov2013-04-27
| | | | | | | | CC:libav-stable@libav.org
| * segment: fix NULL pointer dereference in seg_write_header()Xi Wang2012-11-14
| | | | | | | | | | | | | | | | Since the pointer `oc' is NULL, oc->oformat->name will cause a null pointer dereference. This patch changes it to seg->oformat->name. Signed-off-by: Xi Wang <xi.wang@gmail.com> Signed-off-by: Martin Storsjö <martin@martin.st>
* | avformat/HLS: modified EXT-X-MEDIA-SEQUENCE header in order to follow the ↵Willy Aubry2014-03-03
| | | | | | | | | | | | | | | | | | | | HLS standard When using the wrap option the EXT-X-MEDIA-SEQUENCE header of the playlist file was reset instead of being incremented. It is now incremented by one for every media URI removed from the playlist file as the standard states. Signed-off-by: Willy Aubry <waubry@viotech.net> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/segment: drop pointless variable oc from seg_write_packet()Stefano Sabatini2014-01-21
| |
* | lavf/segment: remove duplicated and inconsistent cleanup code in ↵Stefano Sabatini2014-01-21
| | | | | | | | | | | | | | | | seg_write_packet() In particular, avoid to leave around the seg->avf pointer to freed structure, and fix crash with: ffmpeg -f lavfi -i testsrc -c:v h264 -map 0 -f segment foo-%d.ts
* | lavf/segment: increase logging level for message with segment start informationStefano Sabatini2013-12-18
| | | | | | | | Help debugging.
* | lavf/segment: add a few log messages when avio_open2() failsStefano Sabatini2013-11-25
| |
* | lavf/segment: add segment_list_entry_prefix optionStefano Sabatini2013-11-25
| | | | | | | | | | | | | | | | | | This option allows to add a prefix to the segment list entry filenames. Also set by default the list entry filenames to the corresponding segment basename, consistent with the HLS muxer. Based on an idea by Steven Liu <lingjiujianke@gmail.com>.
* | lavf/segment: simplify logic and fix !=0 check on segment_end return valueStefano Sabatini2013-10-15
| | | | | | | | A successfull return value can be > 0.
* | lavf/segment: log segments as they end to AV_LOG_VERBOSEBilly Shambrook2013-10-15
| | | | | | | | Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | lavf/segment: simplify segment_count updateStefano Sabatini2013-10-15
| | | | | | | | Now segment_count mark the segment_count of the current segment.
* | Reinstate proper FFmpeg license for all files.Thilo Borgmann2013-08-30
| |
* | lavf/segment: use AV_OPT_TIME_DURATION for time_deltaStefano Sabatini2013-07-11
| | | | | | | | Simplify.
* | lavf/segment: reindent after last commitStefano Sabatini2013-07-11
| |
* | lavf/segment: add initial_offset optionStefano Sabatini2013-07-11
| | | | | | | | Should address trac ticket #2224.
* | segment: copy metadataMichael Niedermayer2013-03-18
| | | | | | | | | | | | Fixes Ticket2230 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | lavf/segment: add support to ffconcat segment listStefano Sabatini2013-03-07
| |
* | lavf/segment: fix DTS inconsistencies with -reset_timestampsStefano Sabatini2013-02-06
| | | | | | | | | | | | | | | | | | | | | | The DTS needs to be resynched against the segment start PTS, or the resulting DTS may result < PTS. Reported-by: Owen Jones <riots6@gmail.com> See thread: Subject: [FFmpeg-user] pts/dts error using reset_timestamps while splitting a DVD Date: Sat, 19 Jan 2013 08:58:27 +0000
* | lavf/segment: extend PTS debugging log with -reset_timestampsStefano Sabatini2013-02-06
| |
* | lavf/segment: use correct spelling and value for EXT-X-ALLOW-CACHE tagCarl Eugen Hoyos2013-02-03
| | | | | | | | | | | | | | | | | | Replace wrong "EXT-X-ALLOWCACHE" with "EXT-X-ALLOW-CACHE", and value 1/0 with YES/NO, as per spec. Fix trac ticket #2228. Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
* | lavf/segment: exit immediately in case of invalid stream specifierStefano Sabatini2013-01-23
| | | | | | | | | | Avoid duplicated confusing error message, and propagate error code from the failing avformat_match_stream_specifier() call.
* | lavf/segment: avoid failure in case -flags +live and -segment_times/frames ↵Stefano Sabatini2013-01-23
| | | | | | | | | | | | | | are specified The conflict does not apply any longer, since the M3U8 segment target duration is re-computed every time a new segment is added to the list.
* | lavf/segment: drop now pointless segment_list_close() functionStefano Sabatini2013-01-23
| |
* | lavf/segment: mark #EXT-X-ENDLIST in M3U8 only at the end of streamStefano Sabatini2013-01-23
| | | | | | | | | | | | Should fix immediate playback termination. In particular, should fix trac ticket #2172.
* | lavf/segment: provide link to HTML M3U8 draft, also fix mentioned version in ↵Stefano Sabatini2013-01-22
| | | | | | | | docs
* | lavf/segment: do not auto-select a video stream with attached_pic dispositionStefano Sabatini2013-01-19
| | | | | | | | In particular, fix trac ticket #2138.
* | lavf/segment: move reference stream selection code to a dedicated functionStefano Sabatini2013-01-19
| |
* | lavf/segment: remove now unused field list_max_segment_timeStefano Sabatini2013-01-19
| |
* | lavf/segment: add support to segment list file entries sliding window listingStefano Sabatini2013-01-19
| | | | | | | | In particular, should fix trac ticket #1842.
* | lavf/segment: add SegmentListEntry and use itStefano Sabatini2013-01-19
| | | | | | | | | | This patch is propedeutic to the incoming patch which adds support to sliding window segment listing.
* | lavf/segment: add segment_frames optionStefano Sabatini2012-12-28
| | | | | | | | This is meant to address trac ticket #1483.
* | lavf/segment: add reference_stream optionStefano Sabatini2012-12-28
| |
* | lavf/segment: provide more debug feedback when a new segment startsStefano Sabatini2012-12-14
| |
* | lavf/segment: add missing flags to segmenter option constantsStefano Sabatini2012-12-14
| |
* | lavf/segment: add segment_start_number optionStefano Sabatini2012-12-13
| | | | | | | | Consistent with the image2 muxer.
* | lavf/segment: add function set_segment_filename()Stefano Sabatini2012-12-13
| | | | | | | | Factorize.
* | lavf/segment: add reset_timestamps optionStefano Sabatini2012-12-11
| | | | | | | | | | | | | | The new options reset the timestamps at each new segment, so that the generated segments will have timestamps starting close to 0. It is meant to address trac ticket #1425.
* | lavf/segment: remove silly assert(), improve feedbackStefano Sabatini2012-12-09
| | | | | | | | | | The code should not assert in case of invalid user input. Fails gracefully instead.
* | lavf/segment: fix value for the M3U8 EXT-X-MEDIAStefano Sabatini2012-11-20
| | | | | | | | | | | | | | | | | | From the M3U8 specification: |The EXT-X-MEDIA-SEQUENCE tag indicates the sequence number of the first |URI that appears in a Playlist file. Previously it was using the list index number. Also remove now unused list_count field.
* | lavf/segment: do not pre-increment segment_idx valueStefano Sabatini2012-11-20
| | | | | | | | | | Increment the value just when a new segment with the given index is started. Simplify logic, improve readability.
* | lavf/segment: unbreak behavior for segment muxerStefano Sabatini2012-11-20
| | | | | | | | | | | | | | | | The segment muxer presumes the use of AVFMT_GLOBALHEADER, ssegment should be use in case of formats which requires no global headers. Regression introduced when merging 0826d8513d14f54da0b519360813327d5836b7fc.
* | lavf/segment: consistently use "seg" in segment_start()Stefano Sabatini2012-11-20
| |
* | lavf/segment: do not copy codec_tag when not availableChanMin Kim2012-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Some muxers do not allow stream if codec_tag is incompatible. Sometimes the passed input codec's codec_tag is not compatible with the output muxer. Because the codec_tag field of the segment muxer cannot be set, ffmpeg.c doesn't know how to handle these cases. Signed-off-by: ChanMin Kim <kcm1700@gmail.com> Signed-off-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | segment: fix null ptr derefMichael Niedermayer2012-11-05
| | | | | | | | | | Fixes CID732220 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* | Merge commit '88058d9a994f42e4e9ed4e67baf696bbfe53128c'Michael Niedermayer2012-10-11
|\| | | | | | | | | | | | | | | | | | | | | * commit '88058d9a994f42e4e9ed4e67baf696bbfe53128c': vc1dec: Set chroma reference field from REFFIELD for 1REF field pictures segment: support applehttp style list Conflicts: libavformat/segment.c Merged-by: Michael Niedermayer <michaelni@gmx.at>