Carl Eugen Hoyos
26902f2ef0
lavf/webvttenc: Always write hours in the timestamp with two characters.
...
Fixes ticket #7442 .
Reviewed-by: Reto Kromer
2018-09-19 18:07:32 +02:00
James Almer
e3981c5a21
avformat/dashenc: Format VP9 profile as decimal instead of Hexadecimal
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-17 14:29:46 -03:00
Karthick Jeyapal
422be081a3
avformat/dashenc: Format VP9 bitdepth as decimal instead of Hexadecimal
...
For example bitdepth should be printed as 10 instead of 0A. Thanks to Hendrik Leppkes for pointing this out
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-17 14:29:40 -03:00
Karthick Jeyapal
7ff3d2594f
avformat/dashenc: Format VP9 level as decimal instead of hexadecimal
...
Commit ID 63c69d51c7
fixed the bug in vpcc, get_vp9_level() function, causing this change.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-17 14:29:40 -03:00
James Almer
63c69d51c7
avformat/vpcc: fix values in VP9 level detection heuristics
...
The levels are stored as decimal values, not hexadecimal.
Reviewed-by: James Zern <jzern@google.com>
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-15 18:06:58 -03:00
Jason Stevens
384dcd66a2
libavformat/mxfenc: fix dnxhr ul typo
...
byte 8 of dnxhr codec ul should be 0x0D
Signed-off-by: Jason Stevens <jay@wizardofthenet.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-15 20:00:45 +02:00
Carl Eugen Hoyos
0a12af2185
lavf/davs2: Do not mix declarations and code.
...
Fixes the following warning:
libavformat/davs2.c:39:5: warning: ISO C90 forbids mixed declarations and code
2018-09-14 20:55:51 +02:00
hwren
0caa33c60b
lavf: add raw AVS2 demuxer
...
Signed-off-by: hwren <hwrenx@126.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-09-12 12:13:53 +08:00
Steven Liu
2e5860799b
Revert "lavf: add raw AVS2 demuxer"
...
This reverts commit 1e20ed4382
.
2018-09-12 12:11:25 +08:00
Steven Liu
1e20ed4382
lavf: add raw AVS2 demuxer
...
Signed-off-by: hwren <hwrenx@126.com>
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-09-12 11:21:59 +08:00
Mark Thompson
ff21d4735e
lavf/Makefile: Fix standalone build of AVS2 muxer
...
Found-by: Paul B Mahol <onemda@gmail.com>
2018-09-11 22:36:58 +01:00
hwren
ed0bd0a71b
lavf: add raw avs2 muxer
...
Signed-off-by: hwren <hwrenx@126.com>
2018-09-11 21:48:49 +01:00
James Almer
092cbbfa74
avformat/tcp: re-add checks for setsockopt return values
...
Originally added in 0ed0af595b
and lost
by mistake in ef71ef5f30
.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-11 15:48:55 -03:00
James Almer
ef71ef5f30
Merge commit '8c76bfacf663ff71cee5264a74d0f9c86addd325'
...
* commit '8c76bfacf663ff71cee5264a74d0f9c86addd325':
tcp: Use ff_connect_parallel for RFC 8305 style connecting
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:54:59 -03:00
James Almer
762c2b5dcd
Merge commit '9b4c3f5aadf54ffd2a6e15746b1fd736379883c4'
...
* commit '9b4c3f5aadf54ffd2a6e15746b1fd736379883c4':
network: Add RFC 8305 style "Happy Eyeballs"/"Fast Fallback" helper function
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:54:30 -03:00
James Almer
f3881c04e9
Merge commit '6a9c00c09d2bc50c0ea64ba092b2f4afc46aa978'
...
* commit '6a9c00c09d2bc50c0ea64ba092b2f4afc46aa978':
tls_openssl: Fix checks for SSL_ERROR_WANT_WRITE in nonblocking operation
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:18:52 -03:00
James Almer
03210fe138
Merge commit '22f98ac19cf29f22b3e1d10314df9503f06fe683'
...
* commit '22f98ac19cf29f22b3e1d10314df9503f06fe683':
network: Check for EINTR in ff_poll_interrupt
Merged-by: James Almer <jamrial@gmail.com>
2018-09-11 13:17:38 -03:00
Karthick Jeyapal
44ee858b6d
avformat/dashenc: Remove muxer overhead from Bandwidth field in DASH manifest
...
Fixes bug id #7386
Muxer overhead calculations was intented for HLS playlist as Apple's mediastreamvalidator tests were failing.
But applying the same fix for DASH manifest proved counterproductive, as Bandwidth can be used for segment name templates.
2018-09-11 17:31:09 +05:30
Karthick Jeyapal
606879ec42
avformat/dashenc: Add CODECS tag to HLS master playlist
2018-09-11 17:30:27 +05:30
Jason Stevens
5632044939
libavformat/mxfenc: add missing dnxhr mxfcontainer essence ULs
...
Add missing dnxhr mxf container essence ULs to the mxf encoder.
This fixes dnxhr mxf files being quarantined by Avid Media Composer.
Signed-off-by: Jason Stevens <jay@wizardofthenet.com>
Reviewed-by: Baptiste Coudurier
2018-09-10 23:17:54 +02:00
James Almer
edafb9f529
avformat/movenc: remove experimental checks for AV1 streams
...
The spec has been finalized.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-09 17:26:09 -03:00
Justin Ruggles
d2047c14c0
Use QT format for audio sample descriptors depending on stsd version.
...
ISOBMFF does not allow AudioSampleEntryV1 in stsd version 0, so
assume the descriptor format is QTFF SoundDescriptionV1. ISOBMFF does
not define a version 2.
This fixes audio decoding for some MP4 files generated with Apple
tools. The additional fields present in SoundDescriptionV1/V2 need to
be read in order to correctly read additional boxes that contain
information required for decoding the stream.
Fixes #7376 .
Also see: https://github.com/HandBrake/HandBrake/issues/1555
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2018-09-09 19:52:53 +01:00
Dale Curtis
8ef7fb86d6
avformat/utils: Don't calculate duration using AV_NOPTS_VALUE for start_time.
...
Found by ClusterFuzz, https://crbug.com/879852
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-09 12:01:07 +02:00
John Stebbins
4cfb01d6ae
lavf/movenc: Fail when codec tag is invalid for format
...
Fixes ticket #6897
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-08 19:08:36 -03:00
John Stebbins
981178f3b0
lavf/movenc: Add GoPro metadata to permitted mp4 "codecs"
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-08 19:08:35 -03:00
John Stebbins
3318ac5b9a
lavf/mov: factor out setting codec_id
...
Since it is performed in all cases now.
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-08 19:08:35 -03:00
John Stebbins
c9a992d931
lavf/mov: add AVCodecTag entry for GoPro metadata
...
This allows for validation of the track type
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-08 19:08:34 -03:00
Paul B Mahol
a5278b672a
avcodec: add RemotelyAnywhere Screen Capture decoder
2018-09-08 15:59:10 +02:00
Steven Liu
7bb90a9449
avformat/dashdec: minus minBufferTime when there have value
...
fix ticket 7382
2018-09-06 13:40:56 +08:00
Marton Balint
6aaf1b504c
avformat/mxfdec: do not use sound essence descriptor quantization bits for bits_per_coded_sample
...
It refers to the uncompressed quantization, therefore is not correct for AAC.
Also change mxf_set_pts to work based on current edit unit if
bits_per_coded_sample is not available.
Fixes error messages in the sample of ticket #7366 .
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-09-05 22:41:09 +02:00
Steven Liu
ad9b4ecc26
avformat/dashdec: refine compute current fragment for presentation_timeoffset mode
...
fix ticket id: #7369 #7382 .
use ((wallclock - availability_start_time) * timescale -presentation_timeoffset) / duration
Signed-off-by: Steven Liu <lq@onvideo.cn>
2018-09-05 14:33:53 +08:00
Steven Liu
d0be0de065
avformat/dashdec: reindent code for previous commit
...
Signed-off-by: Steven Liu <lq@onvideo.cn>
2018-09-05 14:21:33 +08:00
Steven Liu
8eac027cd1
avformat/dashdec: add min_buffer_time process logic
...
if there have min_buffer_time in playlist, use the min_buffer_time
value for realtime.
Signed-off-by: Steven Liu <lq@onvideo.cn>
2018-09-05 14:20:52 +08:00
Steven Liu
e35e915465
avformat/dashdec: add trace message for get the logic output message
...
Signed-off-by: Steven Liu <lq@onvideo.cn>
2018-09-05 14:19:43 +08:00
Steven Liu
a222798ef3
avformat/dashdec: reindent code for previous commit
...
Signed-off-by: Steven Liu <lq@onvideo.cn>
2018-09-05 14:17:03 +08:00
Steven Liu
28578e6143
avformat/dashdec: remove redundant code
...
Signed-off-by: Steven Liu <lq@onvideo.cn>
2018-09-05 14:16:29 +08:00
Steven Liu
e134c20374
avformat/dashdec: refine adaptionset attribute members
...
Signed-off-by: Steven Liu <lq@onvideo.cn>
2018-09-05 14:15:47 +08:00
Steven Liu
f499679e17
avformat/dashdec: refine mpd element of attribute name availabilityEndTime
...
Signed-off-by: Steven Liu <lq@onvideo.cn>
2018-09-05 14:13:56 +08:00
Steven Liu
fbd8746efa
avformat/hlsenc: rename option from use_localtime to strftime
...
fix ticket: 7393
indent option name to segment
Signed-off-by: Steven Liu <lq@chinaffmpeg.org>
2018-09-05 14:08:18 +08:00
Marton Balint
23fe072e43
avformat/libsrt: fix merge of payload_size option
...
Fixes a compile error and re-adds pkt_size as a url?option as well.
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-09-03 09:46:42 +02:00
James Almer
11cec34829
avformat/av1: zero initialize the seq_params struct
...
Signed-off-by: James Almer <jamrial@gmail.com>
2018-09-02 23:27:51 -03:00
James Almer
768b07e3bc
Merge commit 'f25117a4286505b38c12466ef04459471de3c1b0'
...
* commit 'f25117a4286505b38c12466ef04459471de3c1b0':
libsrt: Pass the correct pointer for the passphrase
Merged-by: James Almer <jamrial@gmail.com>
2018-09-02 19:21:35 -03:00
James Almer
de33b3e457
Merge commit 'a507af97eef468238d545ff954a39d7432832e54'
...
* commit 'a507af97eef468238d545ff954a39d7432832e54':
avformat/libsrt: add latency options and deprecate tspbdelay
Merged-by: James Almer <jamrial@gmail.com>
2018-09-02 19:11:45 -03:00
James Almer
b1b0e53258
Merge commit 'ea8ae27a5e112d06fd5625f640e40849e6313f0c'
...
* commit 'ea8ae27a5e112d06fd5625f640e40849e6313f0c':
avformat/libsrt: add payload size option
Merged-by: James Almer <jamrial@gmail.com>
2018-09-02 19:11:23 -03:00
James Almer
fb4a12cda4
Merge commit 'e368b0cbfa3fdc627c331e34556f8e39296d04d5'
...
* commit 'e368b0cbfa3fdc627c331e34556f8e39296d04d5':
tls_mbedtls: Use non-deprecated header file
Merged-by: James Almer <jamrial@gmail.com>
2018-09-02 19:10:14 -03:00
James Almer
41cd5af325
Merge commit '23be4eebf8aaa7519b12b2a49e5c5c6c4d076e6a'
...
* commit '23be4eebf8aaa7519b12b2a49e5c5c6c4d076e6a':
build: Group external library protocols separately
Merged-by: James Almer <jamrial@gmail.com>
2018-09-02 16:50:45 -03:00
Nicolas George
b09a092edd
lavf/libsmbclient: return AVERROR_EOF for EOF.
...
Fix trac ticket #7387 .
2018-09-02 18:37:09 +02:00
Marton Balint
1124df0397
avformat/libsrt: add pkt_size parameter to libsrt
...
Also make sure we set the URL context max packet size accordingly.
Based on a patch by Tudor Suciu <tudor.suciu@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2018-09-01 21:57:59 +02:00
Dale Curtis
320b631a99
avformat/mov: Error on too large stsd entry counts.
...
Entries are always at least 8 bytes per the parsing code, so if we
see an impossible entry count avoid massive allocations. This is
similar to an existing check in mov_read_stsc().
Since ff_mov_read_stsd_entries() does eof checks, an alternative
approach could be to clamp the entry count to atom.size / 8.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2018-09-01 19:26:40 +02:00
Martin Storsjö
8c76bfacf6
tcp: Use ff_connect_parallel for RFC 8305 style connecting
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2018-08-31 12:26:52 +03:00