summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.h
AgeCommit message (Collapse)Author
2025-10-15Disable use of stream IDs if there are duplicates, rather than rewriting.Carl Hetherington
It turns out that FFmpeg decoders (e.g. flv, see FFmpeg 25faaa311a74efdfdc4fed56996d7338ed807488) check stream IDs and sometimes create new streams if they see one that they didn't see before. If we change stream IDs we break this. Here we try to use stream indices in cases where the IDs are duplicated. We also account for the case where a new stream appears during examination. This wasn't covered by tests until the FFmpeg commit mentioned above, were the flv decoder creates a new stream during examination of boon_telly.mkv.
2023-03-03Setup ffmpeg log callback in dcpomatic_setup() instead of in FFmpeg.Carl Hetherington
2023-03-03Cleanup: remove unused variable.Carl Hetherington
2022-04-22Use libdcp's warnings.hCarl Hetherington
2022-01-11Use a separate AVFrame for each stream when decoding.Carl Hetherington
This seems to be what ffplay does and it feels like it makes sense as frames may be built from multiple packets AFAICS.
2021-09-13Fix missing subtitles embedded in files decoded by FFmpeg (#2060).Carl Hetherington
Since the FFmpeg 4.4 update it seems that AVSubtitle::pts is no longer set (it's AV_NOPTS_VALUE, i think). Instead we apparently need to get the PTS from the packet, which in turn requires the stream's timebase.
2021-05-01Switch decoding to ffmpeg send/receive API.Carl Hetherington
2021-04-07Assorted C++11/formatting cleanups.Carl Hetherington
2021-03-02Remove FFmpeg::_packet.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-07-26Ignore FFmpeg warnings in a nicer way.Carl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2018-02-27Remove some unused code.Carl Hetherington
2018-02-27Add a load of explicit keywords.Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-05-18Use optional<> for _video_stream.Carl Hetherington
2016-03-01Stop erroneous addition of text subtitles to the lists (whenCarl Hetherington
an image subtitle is completed with a rect count of zero) which subsequently cause hangs while the decoder looks for these phantom text subtitles. Fixes #812.
2016-02-15Support SSA subtitles embedded within FFmpeg files.Carl Hetherington
2016-02-01Subtitle "to" times used to be stored against their "from" times.Carl Hetherington
Sadly an example shows that from times are not unique. This patch uses a hash of stuff from the first AVSubtitle as the key.
2015-09-26Fix problems with subtitles when there is a non-zero PTS offsetCarl Hetherington
in FFmpegDecoder. This offset was not being taken into account for subtitles prior to this commit.
2015-08-26Separate FFmpegSubtitlePeriod.Carl Hetherington
2015-06-30Write FFmpeg log output to our log file.Carl Hetherington
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-06-02Handle multiple audio streams in a single piece of contentCarl Hetherington
in a similar way to the V1 patch.
2014-12-05Some include tidying.Carl Hetherington
2014-06-27Fix confusion about subtitle codec pointers.Carl Hetherington
2014-05-22Set up all FFmpeg decoders in one method.Carl Hetherington
2014-05-02Revert "Hack around crash on exist of tests due to race between ~FFmpeg and ↵Carl Hetherington
__cxa_finalize." This reverts commit fde38b664c98205dd4fe3721b125469d5dd2ecbe.
2014-05-02Hack around crash on exist of tests due to race between ~FFmpeg and ↵Carl Hetherington
__cxa_finalize.
2013-11-24Various joining fixes.Carl Hetherington
2013-11-23Tidy up a bit.Carl Hetherington
2013-11-23Use FileGroup in FFmpeg.Carl Hetherington
2013-11-20Only do long probes of FFmpeg content with the examiner, not the decoder.Carl Hetherington
2013-06-25Basics of FFmpeg examiner works.Carl Hetherington
2013-06-21Split examiner parts off decoder.Carl Hetherington