summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg.cc
AgeCommit message (Collapse)Author
2025-07-10Remove compose.hpp includes.Carl Hetherington
sed -i "/include.*compose.hpp/d;" src/lib/*.cc src/wx/*.cc src/wx/*.h src/tools/*.cc src/lib/*.h test/*.cc
2025-07-10Replace String::compose with fmt.Carl Hetherington
sed -i "/Plural-Forms/n;/%100/n;/scanf/n;s/%[123456789]/{}/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc src/lib/po/*.po src/wx/po/*.po src/tools/po/*.po test/*.cc sed -i "s/String::compose */fmt::format/g" src/lib/*.cc src/lib/*.h src/wx/*.cc src/tools/*.cc test/*.cc
2025-01-05Remove some unused includes.Carl Hetherington
2024-11-01Needing length is the same for audio and video, so merge them.Carl Hetherington
2024-01-05Don't use video streams with AV_DISPOSITION_ATTACHED_PIC (#2349).Carl Hetherington
These are seen in MP3 files for cover art.
2024-01-04Cleanup: longer variable name.Carl Hetherington
2023-03-03Setup ffmpeg log callback in dcpomatic_setup() instead of in FFmpeg.Carl Hetherington
2022-11-26Return AVERROR_EOF from the avio_read method when appropriate.Carl Hetherington
2022-11-12Cleanup: whitespace.Carl Hetherington
2022-04-22Improve rejection of "crazy" frame rates (#2238).Carl Hetherington
Firstly, look for other video streams even if one is not suitable. Secondly, ignore very low frame rates as well as very high ones.
2022-04-04Cleanup: move some methods from util to memory_util.Carl Hetherington
2022-04-03C++11 and whitespace cleanups.Carl 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-10-25If there is no end time in an AVSubtitle it seems we should use the ↵Carl Hetherington
AVPacket's duration. This fixes #2110. I don't have a particular justification for it being the right thing to do.
2021-09-13Add another believed-correct subtitle timing fix.v2.15.161Carl Hetherington
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-05-01Tidy up some error handling a little.Carl Hetherington
2021-05-01Remove some FFmpeg-related warnings by using AVStream::codecpar.Carl Hetherington
2021-04-07Assorted C++11/formatting cleanups.Carl Hetherington
2021-02-28Enable multi-threaded decoding with FFmpeg (helps with #1887).Carl Hetherington
2021-02-28C++11 tweaks.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-11-23Remove swaroop variant.Carl Hetherington
2020-07-26Ignore FFmpeg warnings in a nicer way.Carl Hetherington
2020-04-16Some missing checks for allocation failures.Carl Hetherington
2019-12-20Remove our forcing of analyzeduration and probesize as they seem toCarl Hetherington
cause weird problems when scanning some files. The unit test case added here is a case in point: before this patch one stream reported an incorrect channel count and sample rate. It's a bit worrying as these parameters have been in DoM for many years, but perhaps they have become unnecessary / harmful with changes to FFmpeg.
2019-09-29Improve OpenFileError so that it doesn't say "opening for read"v2.15.20Carl Hetherington
in one case where it should say "opening for read/write". Also add some unit tests for ReelWriter.
2019-07-22Ignore video streams with frame rates over 1000 (work-around/fix for #1585).Carl Hetherington
2019-05-14Non-swaroop build fixes.v2.15.4Carl Hetherington
2019-05-13swaroop: basics of encrypted MP4 playback.Carl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2019-02-27Speculative fix for FFmpeg files containing references to other files.Carl Hetherington
2018-11-21Tidy and fix logging.Carl Hetherington
2018-11-21Take Film pointer out of Content.Carl Hetherington
2018-10-19Add decryption support.v2.13.63Carl Hetherington
2018-02-27Remove some unused code.Carl Hetherington
2018-02-01Don't select video streams for which we have no codec; warn in log about ↵Carl Hetherington
streams with no codec (#1184).
2017-05-10Put av_register_all() in the right place.Carl Hetherington
2017-01-04Rename Time::round_up to Time::ceil.Carl Hetherington
2016-10-04Fix subtitle_id to work with _TEXT and _ASS subtitles (fixes #969).Carl Hetherington
2016-08-21Even better open-file error reports.Carl Hetherington
2016-08-18Better errors on open fails; remove unused exception.Carl Hetherington
2016-08-12Move raw_convert into libdcp.Carl Hetherington
2016-07-28Some more fixes missing from 2704fe5.Carl Hetherington
2016-07-08Use strict-experimental with AVCodec to allow import of some DNxHR files.Carl Hetherington
2016-06-13Rename MD5Digester -> Digester.Carl Hetherington
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2016-05-18Partial work on using a no-video FFmpeg file.Carl Hetherington