Luca Barbato
3b52e9da10
segment: reorder seg_write_header allocation
...
As pointed by Paul B Mahol <onemda@gmail.com> the previous code could
lead to null pointer dereference.
13 years ago
Paul B Mahol
4246032216
segment: fix null pointer dereference
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
0c1759ac4b
segment: implement wrap around
...
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.
13 years ago
Nicolas Noirbent
62a22b2865
segment: fix FPE when segment_list_size is 0
...
With the added benefit that allowing -segment_list_size 0 makes it
possible to keep all segment entries in the list file.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
02e8f03296
segment: introduce segmented chain muxer
...
It behaves similarly to image2 muxer
13 years ago
Michael Niedermayer
0556eee43f
segmenter: loose rindex()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Clément Bœsch
539399d4d1
AVOptions: rename remaining FF_OPT_TYPE_* to AV_OPT_TYPE_*.
13 years ago
Michael Niedermayer
dbd117240a
segment: Fix typo in segment_basename
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Michael Niedermayer
5cdcc44e41
segment: replace strdup() by av_strdup()
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
13 years ago
Luca Barbato
13c9958751
segment: extend options
...
let set an alternate path for the segment files.
13 years ago
Luca Barbato
1786c7f844
segment: basic pattern support and playlist output
...
Yet another option half implemented, more will follow...
13 years ago
Luca Barbato
82df8c3997
segment: introduce segmented chain muxer
...
Initial test code, the filename isn't yet guessed and the file index
isn't printed yet.
13 years ago