Marton Balint
b72a7b96f8
avformat: factorize iso 8601 timestamp writer to a dictionary avutil function
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-08-17 23:45:41 +02:00
Marton Balint
593987810e
avutil/parseutils: dont assume standard time when parsing a timestamp
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-07-11 01:06:23 +02:00
Marton Balint
b18d6c5800
avdevice/decklink: fix mingw portability
...
Fixes ticket #5669 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-27 02:12:07 +02:00
Marton Balint
cf0a05668b
avdevice/decklink: add support for setting input packet timestamp source
...
Reviewed-by: Deti Fliegl <deti@fliegl.de >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-26 19:18:06 +02:00
Marton Balint
da89c6e37c
avdevice/decklink: add support for audio and video input selection
...
Reviewed-by: Deti Fliegl <deti@fliegl.de >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-26 19:18:02 +02:00
Marton Balint
8f9fa49bd8
avdevice/decklink: add support for setting duplex mode
...
This patch also makes BlackMagic drivers v10.6.1 a hard requirement.
Reviewed-by: Deti Fliegl <deti@fliegl.de >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-26 19:17:56 +02:00
Marton Balint
e22760aafd
avdevice/decklink: always free decklink resources on error
...
Reviewed-by: Deti Fliegl <deti@fliegl.de >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-26 19:17:52 +02:00
Marton Balint
38d75fe906
avdevice/decklink: factorize device finder function
...
Reviewed-by: Deti Fliegl <deti@fliegl.de >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-26 19:17:45 +02:00
Marton Balint
4ce0a77ec8
avdevice/decklink: remove unused itermode iterators
...
Reviewed-by: Deti Fliegl <deti@fliegl.de >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-26 19:17:40 +02:00
Marton Balint
1fc85d8511
avdevice/decklink: factorize cleanup function to common code
...
Reviewed-by: Deti Fliegl <deti@fliegl.de >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-26 19:17:37 +02:00
Marton Balint
340cea9f22
avdevice/decklink_dec: fix bitrate calculations
...
Reviewed-by: Deti Fliegl <deti@fliegl.de >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-26 19:17:29 +02:00
Marton Balint
e07b8d68f5
avformat/mux: do not call write_packet with a flush packet if header is not written
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-20 00:27:26 +02:00
Marton Balint
517fe64406
avformat/mux: do not call write_header multiple times if it fails the first time
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-20 00:27:26 +02:00
Marton Balint
e32857f30e
ffplay: ensure that we buffer at least 1 second of content
...
In order to do that, we keep track of the total duration of packets in a packet
queue.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-19 23:35:22 +02:00
Marton Balint
8594a8fbf9
ffplay: factorize checking if a stream needs additional packets
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-19 23:35:22 +02:00
Marton Balint
cc16229d91
avformat/udp: replace packet_gap with bitrate option
...
We haven't had a stable release since the packet_gap addition, so probably it
is worth reworking the option to something that makes more sense to the end
user. Also add burst_bits option to specify maximum length of bit bursts.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-19 22:55:57 +02:00
Marton Balint
0a06569487
avformat/udp: do not accumulate packet_gap delay errors
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-19 22:54:57 +02:00
Marton Balint
9da27fb579
avformat/mux: factorize header writing code
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-13 22:43:22 +02:00
Marton Balint
301ead1313
avformat/mux: call deinit if write_header fails
...
Docs clearly states that av_write_trailer should only be called if
avformat_write_header was successful, therefore we have to deinit if we return
failure.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-13 22:43:22 +02:00
Marton Balint
4bee44007a
avformat/mxfdec: check if source_package is NULL
...
Fixes ticket #5554 .
Reviewed-by: Tomas Härdin <tomas.hardin@codemill.se >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-06-13 22:43:22 +02:00
Marton Balint
0d0b9397d6
avformat/movenc: remove useless if and reindent
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-05-31 00:35:16 +02:00
Marton Balint
15005701b5
avformat/movenc: propagate shift_data errors properly
...
The second one is not explicitly needed, as res is not reset, but it is there
for consistency.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-05-31 00:35:16 +02:00
Marton Balint
37d201aad9
ffplay: simplify display code
...
And get rid of frame_queue_prev.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-05-31 00:33:50 +02:00
Marton Balint
215a2d7678
ffplay: force setting alsa buffer size
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-05-07 17:18:26 +02:00
Marton Balint
ee94b1a50a
ffplay: convert to codecpar
...
Tested-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-04-12 23:41:15 +02:00
Marton Balint
a07934d51b
ffplay: fix silence insertion on error or pause
...
Insertion of silence was a bit broken since
df34b70098 because the info whether or not the
source buffer supposed to be silence must be kept between callbacks. Failing to
do so causes rogue samples from the last buffer to be presented, I guess even a
crash can occur under some circumstances.
This patch uses a NULL audio_buf to keep the silence state across audio
callbacks.
Reviewed-by: Lukasz Marek <lukasz.m.luki2 at gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-04-04 23:24:58 +02:00
Marton Balint
99f2a59c2f
avcodec/utils: fix packet duration of frames with discarded paddings
...
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-28 23:40:12 +02:00
Marton Balint
8ff0f6ae82
avformat/segment: set format options for all segments
...
Fixes ticket #5318 .
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-26 23:26:27 +01:00
Marton Balint
65efcaeb84
avformat/mov: read start_pad from edit list start time if codec is aac
...
Related to ticket #2324 , #2325 .
Stream duration still need to be fixed...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-20 19:51:28 +01:00
Marton Balint
25f707694c
avformat/utils: increase detected start_time with skip_samples
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-20 19:51:05 +01:00
Marton Balint
48a96383fa
tests/gapless: add gapless aac tests
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-20 19:50:15 +01:00
Marton Balint
c3c7a879ba
avutil/dict: add warning to docs about invalidating existing entries when adding a new entry
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-15 00:55:16 +01:00
Marton Balint
a740263d7e
avutil/dict: do not realloc entries when deleting a non-existing item
...
Deleting a non-existing item should not invalidate existing entries returned
with av_dict_get.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-15 00:55:16 +01:00
Marton Balint
67bef4cffa
avcodec/aactab: do not use floats for constants
...
This may improve the precision of the fixed point encoder/decoder for some
compilers and architectures.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-15 00:47:38 +01:00
Marton Balint
0418b0253a
ffmpeg: remove hardcoded 'now' creation_time support
...
Every date parsing routine now uses av_parse_time which handles 'now' and
provides greater precision as well. This change also enables the segmenter
muxer to set the proper 'now' creation time at the beginning of each segment.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-03 01:37:22 +01:00
Marton Balint
28fbdece79
avformat: use ff_standardize_creation_time for formats writing all format string metadata
...
Reviewed-by: wm4 <nfxjfg@googlemail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-03 01:37:18 +01:00
Marton Balint
e7dd97b5d8
avformat/utils: add a function to standardize creation time
...
This can be used for formats which write all format metadata as string to
files, therefore non-standard creation times such as 'now' will be parsed.
The standardized creation time is UTC ISO 8601 with microsecond precision.
Reviewed-by: wm4 <nfxjfg@googlemail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-03-03 01:37:12 +01:00
Marton Balint
e22bd239c0
avformat/mov: do not leak memory on ffio_read_size failure
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-28 23:00:45 +01:00
Marton Balint
4840effe42
avformat/mov: merge mov_read_custom functions
...
This also fixes reading gapless metadata when the entries do not start with the
mean atom. Such samples can be found here:
https://hydrogenaud.io/index.php/topic,93310.0.html
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-28 23:00:45 +01:00
Marton Balint and Vittorio Giovara
5e555f9300
mpeg12enc: always write closed gops for intra only outputs
...
Reviewed-by: Michael Niedermayer <michaelni@gmx.at >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-22 19:08:56 -05:00
Marton Balint
3a4232a1a0
avformat/asfenc: write group_mutual_exclusion_objects for audio on multiple languages
...
Improves streaming compatibility with Windows Media Services. Also tested for
compatilbility in Windows Media Player, Windows Media ASF Viewer and VLC.
This version of the patch only writes exclusion among audio streams, therefore
choosing a subtitle language should be possible independently of audio language.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-21 23:24:09 +01:00
Marton Balint
308ac2f7e2
ffmpeg: init input streams before opening encoders
...
Codec options of streams detected during avformat_find_stream_info are not set
therefore without this patch we initialize the encoders with decoder info
based on decoders without options.
This cause problems for probed DVB teletext streams where
avctx->subtitle_header depend on the txt_format setting.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-19 21:55:25 +01:00
Marton Balint
6c905dd3c2
avcodec/libzvbi-teletextdec: use common functions for matching data_unit_id and data_identifier
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-19 21:50:19 +01:00
Marton Balint
51afd9f4e1
avformat/dvbtxt: add raw demuxer for dvb teletext probing
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-19 21:50:16 +01:00
Marton Balint
ae51f9bd6c
avutil/parseutils: remove 2112 date from fate test
...
It is not supported on 32bit.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 20:13:15 +01:00
Marton Balint
a573e6c103
avformat/utils: remove ff_iso8601_to_unix_time
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:51:14 +01:00
Marton Balint
66e85a180a
avformat/matroskaenc: use ff_parse_creation_time_metadata
...
Also increase precision to microsecs, and avoid writing creation_time as a
simple tag metadata item.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:51:14 +01:00
Marton Balint
ad17cc9744
avformat/mxfenc: use ff_parse_creation_time_metadata
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:51:14 +01:00
Marton Balint
5f64f3d8cf
avformat/movenc: use ff_parse_creation_time_metadata
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:51:14 +01:00
Marton Balint
5c20bc8f47
avformat/gxfenc: use ff_parse_creation_time_metadata
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:51:14 +01:00
Marton Balint
83b01ed212
avformat/ffmenc: use ff_parse_creation_time_metadata
...
FYI this muxer bails out on parse error and not just warn the user.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:51:14 +01:00
Marton Balint
bf0607b6db
avformat/dvenc: use ff_parse_creation_time_metadata
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:51:14 +01:00
Marton Balint
ea1bf08a4c
avformat/asfenc: use ff_parse_creation_time_metadata
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:51:14 +01:00
Marton Balint
e942454daf
avformat/utils: add ff_parse_creation_time_metadata
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:51:14 +01:00
Marton Balint
f834f0cab6
avutil/parseutils: accept everything in av_parse_time that ff_iso8601_to_unix_time accepts
...
Also parse timezone information previously ignored in ff_iso8601_to_unix_time.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:46:35 +01:00
Marton Balint
3235241061
avutil/parseutils: use microsecond precision when parsing "now" in av_parse_time()
...
Use av_gettime() instead of time(0) for querying current time.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:46:35 +01:00
Marton Balint
35890aaa65
avformat/img2enc: disable atomic file creation by default
...
Currently it is broken when explicitly using the file protocol, it uses an
insecure temporary file name, and in commit b4431c80 disabling the option by
default was already considered. Also it is not very consistent to have such an
option for one particular muxer.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:34:16 +01:00
Marton Balint
0250fc2146
avformat/img2enc: return error if image rename fails
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-14 01:34:16 +01:00
Marton Balint
6d14e32555
lavf/asfenc: add support for setting packet size
...
This can provide a manual workaround for ticket #4230 .
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-05 21:32:14 +01:00
Marton Balint
22bbd6e8b7
lavf/asfenc: add support for storing creation time
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-05 21:32:14 +01:00
Marton Balint
79e4293613
lavf/asfenc: add support for storing languages
...
Checked compatiblity with VLC, Windows Media Player 12 and Windows Media ASF
Viewer 9 series.
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-05 21:32:14 +01:00
Marton Balint
0464767301
lavf/asfenc: check the number of streams in header
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-05 21:32:14 +01:00
Marton Balint
7e6b788f7c
lavf/asfenc: add AVClass to context
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-02-05 21:32:14 +01:00
Marton Balint
6bc610b39e
configure: remove libzvbi GPL dependency
...
The COPYING.LIB file in the zvbi source tree as well as libzvbi.h references
the GNU Library General Public License version 2 since version 0.2.28.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-01-29 01:42:17 +01:00
Marton Balint
995c7a6f5a
lavd/decklink_dec: add support for teletext
...
It uses the libzvbi slicer, therefore teletext capture requires libzvbi.
Reviewed-by: Deti Fliegl <deti@fliegl.de >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-01-29 01:42:15 +01:00
Marton Balint
98e94dff7a
configure: use -ldl for decklink
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-01-29 01:41:54 +01:00
Marton Balint
cfc040a49f
lavf: bump micro version after the new segment muxer options
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-01-29 01:41:09 +01:00
Marton Balint
369a6a6ed4
lavf/segment: add new option segment_clocktime_wrap_duration
...
This option can force the segmenter to only start a new segment if a packet
reaches the muxer within the specified duration after the segmenting clock
time, which makes it more resilient to backward local time jumps, such as leap
seconds or transition to standard time from daylight savings time.
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-01-28 21:35:44 +01:00
Marton Balint
1036a1b8a3
lavf/segment: add support for specifying clock time offset
...
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-01-28 21:35:37 +01:00
Marton Balint
73e4565dff
lavc/libzvbi-teletextdec: add support for setting background opacity
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-01-25 22:15:27 +01:00
Marton Balint
92f2a9dbc5
lavc/libzvbi-teletextdec: remove cmax variable
...
Use VBI_NB_COLORS instead.
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-01-25 22:06:57 +01:00
Marton Balint
fe4a2cbd4d
lavc/libzvbi-teletextdec: use the built-in transparent color for transparent background
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-01-25 22:06:57 +01:00
Marton Balint
fdb2d4b108
lavf/concatdec: do not access packet if av_read_frame returned error
...
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Marton Balint <cus@passwd.hu >
2016-01-10 14:13:16 +01:00
Marton Balint
c413d9e635
ffplay: remove existing AVPicture usage
...
It is deprecated.
Reviewed-by: Paul B Mahol <onemda@gmail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-12-19 14:09:26 +01:00
Marton Balint
752ab408b4
lavu/error: add missing error messages for errors supported on all platforms
...
We need these if we have no strerror_r.
Descriptions are taken from doc/errno.txt except for ENOMEM.
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-12-18 04:04:14 +01:00
Marton Balint
b25adbaaf6
doc/errno: fix description typo for ENAMETOOLONG
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-12-18 04:04:14 +01:00
Marton Balint
97795ba6c3
lavf/mxfdec: fix seeking before the first keyframe
...
Regression since 53f2ef2c4a .
Fixes ticket #5017 .
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-12-08 02:14:44 +01:00
Marton Balint
839eb1c77d
lavfi/select: add support for concatdec_select option
...
This option can be used to select useful frames from an ffconcat file which is
using inpoints and outpoints but where the source files are not intra frame
only.
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-11-25 00:34:29 +01:00
Marton Balint
65406b0bed
concatdec: add option for adding segment start time and duration metadata
...
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-11-25 00:34:29 +01:00
Marton Balint
ba9191ab3a
concatdec: simplify duration calculation in open_next_file
...
If duration is still AV_NOPTS_VALUE when opening the next file, we can assume
that outpoint is not set.
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-11-25 00:34:29 +01:00
Marton Balint
8f60663c8b
concatdec: calculate duration early if outpoint is known
...
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-11-25 00:34:29 +01:00
Marton Balint
bcac6416b8
fate: fix concat demuxer extended test portability
...
Sed \r is not portable, it does not work on freebsd, hopefully tr -d will.
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-11-16 17:55:48 +01:00
Marton Balint and Hendrik Leppkes
c9944f7596
fate: fix concat demuxer extended tests on windows
...
Line endings do matter to md5sum...
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-11-16 11:05:21 +01:00
Marton Balint and Hendrik Leppkes
9bd4f26b55
fate: fix concat demuxer tests on msys/cygwin by using relative paths
...
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-11-16 11:05:19 +01:00
Marton Balint
a01046c90c
fate: add concat demuxer tests
...
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-11-15 19:22:46 +01:00
Marton Balint
d9611864c2
ffprobe: add support for printing packet strings metadata as packet tags
...
ffprobe.xsd already contains the tag element.
Reviewed-by: Stefano Sabatini <stefasab@gmail.com >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-30 20:47:43 +01:00
Marton Balint
5e9f14e4bf
libzvbi-teletextdec: fix AVSubtitleRect pict compatiblity code
...
Only set pict if we got a valid rect.
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-24 16:12:26 +02:00
Marton Balint
03037a4aad
ffplay: use a separate struct for the rescaled YUVA AVSubtitle rectangles
...
Current code segfaults since the deprecation of AVSubtitleRect.pict because it
freed/realloced AVSubtitleRect.pict.data by itself.
The new code stores the generated YUVA AVSubtitle rectangles in their own
struct and keeps the original AVSubtitle structure untouched, because
overwriting it is considered invalid API usage.
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-24 16:12:25 +02:00
Marton Balint
ddc6bd8c95
ffmpeg: add abort_on option to allow aborting on empty output
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-22 19:03:01 +02:00
Marton Balint
5821244b22
ffmpeg: fix ffmpeg.h trailing whitespace
...
How this passed through the commit hook?
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-22 18:56:47 +02:00
Marton Balint
b69b43e2c4
ffmpeg: exit on corrupt packets or decoded frames if exit_on_error flag is present
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-22 05:07:46 +02:00
Marton Balint
e2b416b68e
ffmpeg: factorize checking decoder result
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-22 05:07:46 +02:00
Marton Balint
f4730a5845
ffmpeg: exit on av_write_trailer failure if exit_on_error is set
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-22 05:07:45 +02:00
Marton Balint
a1240c0522
ffmpeg: log failed av_write_trailer
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-22 05:07:45 +02:00
Marton Balint
df239b7619
concatdec: fix file_start_time calculation regression
...
Fixes ticket #4924 .
Found-by: Jaroslav Šnajdr <jsnajdr@gmail.com >
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-17 18:38:52 +02:00
Marton Balint
148418a2bc
ffplay: eliminate stream_component_close forward declaration
...
No change in fuctionality.
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-12 00:07:38 +02:00
Marton Balint
4ce75387cd
ffplay: close streams and AVFormatContext in the main thread
...
To avoid race conditions.
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-12 00:07:38 +02:00
Marton Balint
80b6cc4214
concatdec: fix metadata memleak on error
...
Fixes Coverity CID 1323077.
Reviewed-by: Nicolas George <george@nsup.org >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-10-05 00:16:12 +02:00
Marton Balint
26a0cd1b4b
lavf: add V as a video stream specifier which is not an attached picture
...
Reviewed-by: Michael Niedermayer <michael@niedermayer.cc >
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-09-02 21:35:21 +02:00
Marton Balint and Tomas Härdin
95584ddac4
mxfdec: set AVFMT_SEEK_TO_PTS demuxer flag
...
Since 53f2ef2c4a seeking is done using PTS.
Signed-off-by: Marton Balint <cus@passwd.hu >
2015-08-14 14:20:25 +02:00