summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_file_encoder.cc
AgeCommit message (Collapse)Author
2022-08-04wip: got stuck... because PlayerVideo is related to the render sizeadjust-sizingCarl Hetherington
because its subtitles are prepared for the _video_container_size that the Player knows about. I think the only way around this would be to store the subs in PlayerVideo in some independent way and to scale/convert to bitmap later.
2022-07-10Fix failure to close exported files.Carl Hetherington
2022-06-12Add Prores 4444 support (#2263).Carl Hetherington
2022-06-12Rename PRORES -> PRORES_HQCarl Hetherington
2022-06-06Remove unused H246_PCM export code.Carl Hetherington
2022-05-26Cleanup: use some more make_shared.Carl Hetherington
2022-04-20Use std::vector in AudioBuffers (#2236).Carl Hetherington
2022-04-07Cleanup: remove unused parameter to PlayerVideo::force.Carl Hetherington
2022-03-30Fix writing of planar audio to export buffers in some cases (#2223).Carl Hetherington
Previously we did not take into account alignment padding that can exist with FLTP samples; each channel's block of samples can have a gap between. This doesn't happen with the normal 1024 sample blocks; only when flushing at the end, when we write shorter blocks. Not doing this right meant that we were passing uninitialised memory to aacenc which sometimes responded by returning an EINVAL due to one of its internal calculations returning a NaN.
2021-09-27Various alignment tidying/fixups.Carl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-08-03Fix build with newer FFmpeg.Carl Hetherington
2021-08-03Some const-correctness.Carl Hetherington
2021-07-15C++11 tidying.Carl Hetherington
2021-05-01Switch encoding to ffmpeg send/receive API.Carl Hetherington
2021-05-01Remove some FFmpeg-related warnings by using AVStream::codecpar.Carl Hetherington
2021-02-17Assorted C++11 tidying.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-27Use enum class for VideoRange.Carl Hetherington
2021-01-07BOOST_FOREACH.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-11-23Remove swaroop variant.Carl Hetherington
2020-11-20Try to enable all streams in MOV exports.Carl Hetherington
This is a speculative fix which I haven't tested.
2020-11-16Make sure we use limited ("video") range data when exporting.Carl Hetherington
Our export formats all currently use limited range but we weren't making sure data fed to the encoders was limited range. Should fix #1832.
2020-09-01Build fixes for Boost >= 1.73Carl Hetherington
Forward-ported-from: d1e9749ca290673639a49d693a8fe5c6557cc2de
2020-08-17Tidy up resource management of FFmpegFileEncoders so that theyCarl Hetherington
are cleaned up correctly when an error occurs. Adapted from dfac61382f1719f0a879747de43cbc5f9115c2d7 in master.
2020-08-05Allow export with one audio stream per channel.v2.15.95Carl Hetherington
2020-07-26Ignore FFmpeg warnings in a nicer way.Carl Hetherington
2020-06-16Give a better error.v2.15.80Carl Hetherington
2019-12-01Fix audio pts accuracy from previous.Carl Hetherington
2019-11-30More accurate calculation of export video pts; may fix #1663.Carl Hetherington
Also specify audio pts on the way in to the encoder to stop FFmpeg complaining.
2019-11-13Fix warning.Carl Hetherington
2019-10-27Fix thinko in previous.Carl Hetherington
2019-10-27Protect cross-thread access to _pending_images.Carl Hetherington
2019-10-26Prevent calls to erase with invalid keys.Carl Hetherington
2019-07-22swaroop: support creation of H264 with 24-bit PCM.Carl Hetherington
2019-07-21Use 128kbit per channel for audio export.v2.15.14Carl Hetherington
2019-07-21swaroop: fix encryption of files encoded from DCP.Carl Hetherington
2019-07-15swaroop: beginnings of DCP -> ecinema support.v2.15.12Carl Hetherington
2019-05-10Put Time types in dcpomatic namespace.Carl Hetherington
2019-01-27Better error from avformat_alloc_output_context2.Carl Hetherington
2018-11-21Tidy and fix logging.Carl Hetherington
2018-11-06Do image crop/scale/window in the butler prepare threads.Carl Hetherington
2018-11-06Switch PlayerVideo::always_rgb to a new ::force and use it in FFmpegFileEncoder.Carl Hetherington
2018-11-06Remove some unused parameters.Carl Hetherington
2018-11-06Add some code to help with profiling the player.Carl Hetherington
2018-09-09Split parts of FFmpegEncoder into FFmpegFileEncoder.Carl Hetherington