Joakim Roubert
55f03d8726
hlsenc: Add parameter -hls_allow_cache
...
The -hls_allow_cache parameter enables explicitly setting the
EXT-X-ALLOW-CACHE tag in the manifest file. That tag indicates
whether the client MAY or MUST NOT cache downloaded media
segments for later replay.
Valid values are 1 (=YES) or 0 (=NO) and the EXT-X-ALLOW-CACHE
will not show in the manifest for other values (or if
-hls_allow_cache is not used.
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-10-03 20:20:28 +03:00
Michael Niedermayer
97cb9b6cbb
Revert "avformat/img2dec: reduce bmppipe probe score"
...
This seems not needed anymore
This reverts commit 321c3cd1a97b9307760c3ebb175296590c382eca.
Found-by: carl
2014-10-03 14:15:02 +02:00
Vignesh Venkatasubramanian
a9b10e1510
lavf/webm_dash: some fields should go into Representation
...
Width, Height and Sample Rate should be in the AdaptationSet tag
only if all the contained representations have the same width,
height and sampling rate. Otherwise they should go into the
Representation tag. This patch adds this functionality and a fate
test for the same.
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-02 19:20:05 +02:00
Michael Niedermayer
0d92b0d5f4
avutil/avstring: Factor av_match_list() out
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-02 18:51:05 +02:00
Carl Eugen Hoyos
81cee700f7
Support decoding 32bit pcm audio in mov.
...
Such files are written by Convergent Design's Odyssey 7Q recorder.
2014-10-02 10:04:43 +02:00
Carl Eugen Hoyos
6efe4137ce
Stop demuxing wtv on eof.
...
Fixes ticket #3991 .
Fixes ticket #3995 .
Fixes ticket #3997 .
Reviewed-by: Peter Ross
Reviewed-by: Paul B Mahol
2014-10-02 09:41:57 +02:00
Benoit Fouet
c29d999f71
avformat/mxfenc: add jpeg2000 support.
...
Fixes ticket #1542
reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-02 04:19:37 +02:00
Michael Niedermayer
8cde94ec0d
avformat/flvenc: fix codec_id_text check
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-02 03:58:54 +02:00
Vignesh Venkatasubramanian
b1071db3df
lavf/webm_dash: Fix incorrect bandwidth computation
...
Fix incorrect bandwidth computation in some cases. When the cue end
descriptor is null (i.e.) start_time_ns == -1, existing bandwidth
computed (if any) should be returned rather than returning 0.
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-01 20:47:18 +02:00
Vignesh Venkatasubramanian
8acb76567a
lavf/webm_dash: fix hardcode in cues_end computation
...
Fix an incorrect hard code in cues_end computation. Updating the fate
test reference files related to the fix as well. The earlier computation
was clearly wrong as the cues_end field was greater than the file size
itself in some cases.
Signed-off-by: Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-01 20:47:11 +02:00
Michael Niedermayer
f2e53808e3
avformat/movenc: automatically set AVC-Intra tag
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-01 16:39:20 +02:00
Michael Niedermayer
23f0e2edec
avformat/movenc: AVC Intra support
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-10-01 16:39:13 +02:00
wm4
c8422f04a3
avformat/aviobuf: fix avio_flush() for read streams
...
avio_flush() did nothing useful for read streams. Fix it to behave as
expected, and discard the currently read buffer properly.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-30 21:31:08 +02:00
Jeffrey Wescott
07de0db74b
avformat/flvenc: When using "-c:d copy", don't require a codec for passing the AMF metadata through from input to output.
2014-09-30 20:27:07 +02:00
Clément Bœsch
55180b3299
Kill timed SRT
2014-09-30 20:21:14 +02:00
Alexander Drozdov
08ccc474b7
RTMP: fix FD leak in rtmp_open()
...
If we setup AVIO interrupt callback and it will be returns 1 on socket
timeouts and we try to connect to non-existing streams on some servers
(like nginx-rtmp) we got FD leak.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-30 11:26:25 +02:00
Michael Niedermayer
a2d5f6b9db
Merge commit '19133e96d30e3f80dbae236ef081aedef419a6bf'
...
* commit '19133e96d30e3f80dbae236ef081aedef419a6bf':
lavf: fix memleaks in avformat_find_stream_info()
Conflicts:
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-29 21:25:09 +02:00
Michael Niedermayer
77ab7407c2
Merge commit 'a05f5052fef3b3743fab7846da12861d8a8098ec'
...
* commit 'a05f5052fef3b3743fab7846da12861d8a8098ec':
sdp: Make opus declaration conform to the spec
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-29 20:26:15 +02:00
Justin Ruggles
19133e96d3
lavf: fix memleaks in avformat_find_stream_info()
...
When AVFMT_FLAG_NOBUFFER is set, the packets are not added to the
AVFormatContext packet list, so they need to be freed when they are
no longer needed.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2014-09-29 17:54:25 +00:00
Timothy B. Terriberry
a05f5052fe
sdp: Make opus declaration conform to the spec
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-09-29 13:48:42 +03:00
Michael Niedermayer
3f5095f213
avformat/hlsenc: fix outter typo
...
Found-by: beastd
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-29 00:19:43 +02:00
Michael Niedermayer
b1a0fccd02
avformat/hlsenc: export inner muxer timebase
...
Fixes "Non-monotonous DTS in output stream 0:0"
Fies Ticket 3797
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-28 22:27:33 +02:00
Joakim Roubert
3edb9aaea6
avformat/hlsenc: Added parameter -hls_allow_cache
...
The -hls_allow_cache parameter enables explicitly setting the
EXT-X-ALLOW-CACHE tag in the manifest file. That tag indicates
whether the client MAY or MUST NOT cache downloaded media
segments for later replay.
Valid values are 1 (=YES) or 0 (=NO) and the EXT-X-ALLOW-CACHE
will not show in the manifest for other values (or if
-hls_allow_cache is not used.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-28 03:09:05 +02:00
Clément Bœsch
71f6275169
avformat/assdec: make sure to free allocated data in case of error
2014-09-27 17:49:49 +02:00
Clément Bœsch
0e6bad1229
avformat/assenc: mux an event header if none are found in extradata
2014-09-27 17:32:14 +02:00
Clément Bœsch
3a6fa38fb1
avformat/assdec: add myself to Copyright
2014-09-27 17:32:14 +02:00
Clément Bœsch
0aa5c5a89e
avformat/assdec: reindent after previous commit
2014-09-27 17:32:13 +02:00
Clément Bœsch
9ec52e5533
avformat/assdec: make sure "Comments:" events end up in the header
2014-09-27 17:32:13 +02:00
Clément Bœsch
ff5f5cbb46
avformat/assdec: output ASS packets
...
After this the order from the original file is stored through readorder
when doing ffmpeg -i input.ass -c copy output.mkv.
And now that the ASS muxer honors the ReadOrder, extracting the ass back
(without transcoding) restores the original order.
2014-09-27 17:32:13 +02:00
Andreas Cadhalpun
883e98bc25
probe: Bump the score for mime type matching
...
It should be more trustworthy than extension matching.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
2014-09-26 20:56:16 +02:00
Peter Ross
1964251be7
libavformat/iff: print error message when DSDIFF compression type is not supported
...
Signed-off-by: Peter Ross <pross@xvid.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-26 12:51:40 +02:00
Michael Niedermayer
b0458e62c8
Merge commit '4d5b99dacdbb56373e5abe2ad35fc87b5c0c5bd2'
...
* commit '4d5b99dacdbb56373e5abe2ad35fc87b5c0c5bd2':
caf: Give context structure a consistent name
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-26 12:24:00 +02:00
Clément Bœsch
9ae83ece8a
avformat/srtdec: simpler and more lenient probing
...
Fixes Ticket #3935 .
2014-09-26 11:12:41 +02:00
wm4
7dd2005e1a
avformat: add SUP/PGS subtitle demuxer
...
Signed-off-by: Clément Bœsch <u@pkh.me>
2014-09-26 10:35:14 +02:00
Diego Biurrun
4d5b99dacd
caf: Give context structure a consistent name
2014-09-26 00:44:41 -07:00
Carl Eugen Hoyos
88c937fdc8
Autodetect jpg images.
...
Based on 2d3842f5 by Michael Niedermayer.
Fixes ticket #2541 .
2014-09-26 00:06:41 +02:00
Michael Niedermayer
ce6e46be72
avformat/img2dec: enable generic seeking for image pipes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-25 17:47:45 +02:00
Michael Niedermayer
6d35aba167
avformat/img2dec: initialize pkt->pos for image pipes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-25 17:16:14 +02:00
Michael Niedermayer
2497914a18
avformat/img2dec: pass error code and signal EOF
...
Found-by: Daemon404
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-25 16:20:23 +02:00
Michael Niedermayer
1dbdcb4a8c
avformat/img2dec: fix error code at EOF for pipes
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-25 15:22:42 +02:00
Michael Niedermayer
454f98b881
Merge commit '4620affa24eedb167482198aa04126bcedd05620'
...
* commit '4620affa24eedb167482198aa04126bcedd05620':
m4vdec: K&R formatting cosmetics
Conflicts:
libavformat/m4vdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-25 14:02:55 +02:00
Michael Niedermayer
59f4966756
Merge commit '86a361081d3eb4e999d75bc2a462f01d88cbd2e5'
...
* commit '86a361081d3eb4e999d75bc2a462f01d88cbd2e5':
lmlm4: K&R formatting cosmetics
Conflicts:
libavformat/lmlm4.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-25 13:51:43 +02:00
Michael Niedermayer
8f3d3e5f83
Merge commit '95d312d6c82e7485f43c3ddda0f369af0e41c83b'
...
* commit '95d312d6c82e7485f43c3ddda0f369af0e41c83b':
concat: K&R formatting cosmetics
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-25 13:45:30 +02:00
Gabriel Dume
4620affa24
m4vdec: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2014-09-25 01:58:51 -07:00
Gabriel Dume
86a361081d
lmlm4: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2014-09-25 01:44:32 -07:00
Gabriel Dume
95d312d6c8
concat: K&R formatting cosmetics
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
2014-09-25 01:44:31 -07:00
Michael Niedermayer
6441d522e9
Merge commit '2f172f1ae984b763c06069adb51d0053b3834f4b'
...
* commit '2f172f1ae984b763c06069adb51d0053b3834f4b':
rtsp: Clear the session id on redirects
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-25 01:08:44 +02:00
Michael Niedermayer
d8ddac363e
Merge commit 'ddf5fb71ee9c8b2d9a23c0f661a84896cd7050fc'
...
* commit 'ddf5fb71ee9c8b2d9a23c0f661a84896cd7050fc':
rtpenc: HEVC/H.265 support
Conflicts:
Changelog
libavformat/rtpenc.c
libavformat/rtpenc_hevc.c
libavformat/version.h
See: 6821a5a4adcb40c458356e8bb90416dd8f5dd6b2
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-25 00:17:36 +02:00
Michael Niedermayer
b8d3f7fc21
Merge commit 'a2efbecc4ed12d287cf29856418c4da4a7648d95'
...
* commit 'a2efbecc4ed12d287cf29856418c4da4a7648d95':
libavformat: Move avc mp4 startcode parsing to a shared file
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-25 00:09:42 +02:00
Martin Storsjö
2f172f1ae9
rtsp: Clear the session id on redirects
...
This fixes handling redirects in case the server provided a session
id within the redirect reply.
Signed-off-by: Martin Storsjö <martin@martin.st>
2014-09-24 23:34:02 +03:00