summaryrefslogtreecommitdiff
path: root/src/lib/player.cc
AgeCommit message (Collapse)Author
2016-02-26Allow changes to colours of FFmpeg subtitles (#795).Carl Hetherington
2016-02-15Fix scaling of subtitles to be more correct when stretching the fonts.Carl Hetherington
2016-02-15Remove debugging.Carl Hetherington
2016-02-15Support SSA subtitles embedded within FFmpeg files.Carl Hetherington
2016-02-12Rename SubRip -> TextSubtitle.Carl Hetherington
2015-11-08Add appearance dialog for SubRip subtitles.Carl Hetherington
2015-10-30Make sure we have a subtitle if we're trying to reference it.Carl Hetherington
2015-10-30Make it possible to do more stuff when there is missing DCP content in a ↵Carl Hetherington
project.
2015-10-26Reinstate subtitle speed-up patch 526fd6de4c80a7ac9614a1cb0209efff7b171cd5 ↵Carl Hetherington
but only for preview.
2015-10-22Various multi-reel fixes.Carl Hetherington
* _video_frames_enqueued -> _position * some int -> Frame replacements * Call Writer::ref_write when there is nothing to encode / write for one frame. * Assume Encoder::encode is called once per output video frame. * Possibly correct some off-by-1 overlap bugs. * Don't reset _last_written on FAKE write as I believe there is no need.
2015-10-15Fix invalid Interop subtitle times in some cases.Carl Hetherington
Use a much higher "timecode rate" (1000 rather than 24) when representing the time of subtitles internally so that accuracy is preserved and we don't end up rounding things up to give out of range results.
2015-10-12Rename split-by-video content slightly; fix referencing to multi-reel DCPs.Carl Hetherington
2015-10-09Logging improvements to allow prettier displays in the server GUI.Carl Hetherington
2015-10-06Comment.Carl Hetherington
2015-10-061. Set correct FrameRateChanges for subtitle content; they shouldCarl Hetherington
be made from the subtitle's "native" rate so that subtitle times are corrected when the DCP rate is not the same. 2. After this we only need the best overlap rate for SndfileContent so move the code. Also fix it as it never found overlaps before.
2015-10-04Fix subtitle timing under trim.Carl Hetherington
2015-09-28Changes to DCP rate must update player pieces.Carl Hetherington
Piece contains a copy of the DCP video rate so we need new pieces if this changes. Fixes #699.
2015-09-16Back-end for very basic and hacky VF support for a DCP imported as content.Carl Hetherington
2015-09-14Lots of #include <iostream>s for Arch.Carl Hetherington
2015-09-11Fix assertion failure when processors return fewer channels than the DCP has.Carl Hetherington
2015-09-09Use SRC_LINEAR for speed when analysing audio (#685).Carl Hetherington
2015-09-05Don't bother with audio in the film viewer.Carl Hetherington
2015-08-31Apply reverse of recent dcp_to_content_video fix to content_video_to_dcp.Carl Hetherington
2015-08-27Fix Player::dcp_to_content_video with similar but not equal content/DCP ↵Carl Hetherington
frame rates.
2015-08-26Revert "Replace _floor with _round in dcp_to_content_video. _floor breaksCarl Hetherington
playback on Win XP 32 as the player keeps requesting the same frame from the decoder rather than the next one." This reverts commit e386b94425586760374d8e1cb16be99af09cf07f. The actual cause of the Win XP 32 bug appears to be -ffast-math.
2015-08-25Purge rint() and use llrint and friends.Carl Hetherington
2015-08-25Replace _floor with _round in dcp_to_content_video. _floor breaksCarl Hetherington
playback on Win XP 32 as the player keeps requesting the same frame from the decoder rather than the next one.
2015-08-25Reflect colour conversion changes in player / waveform viewer.Carl Hetherington
2015-08-23Use the correct font to render subtitles in preview / burn-in (#663).Carl Hetherington
2015-08-20Fix assertion failure with overlapping video content (#666).Carl Hetherington
2015-07-29Replace Time::frames with Time::frames_round and Time::frames_floor.Carl Hetherington
I believe both are necessary; doing floor instead of round caused #648.
2015-07-24Fix mistaken clamp to length_after_trim after adding trim_start.Carl Hetherington
2015-07-16Remove debug output.Carl Hetherington
2015-07-16float -> double in a few places.Carl Hetherington
2015-07-15Remove unused PlayerStatistics stuff.Carl Hetherington
2015-07-15Fix confusion about what dcp_to_content_audio should be doing.Carl Hetherington
2015-07-14Express trims using ContentTime so that they do not changeCarl Hetherington
when DCP frame rate is changed (#637).
2015-07-14Slightly cleaner implementations of Player::dcp_to_content_video and vice versa.Carl Hetherington
2015-07-14Tests of Player::dcp_to_content_video, content_video_to_dcp andCarl Hetherington
dcp_to_content_audio with some subtle and hopefully reasonable fixes.
2015-07-14Fix mistaken use of wrong enum.Carl Hetherington
2015-07-14Look at more then one piece of video content when required for separate-eye ↵Carl Hetherington
3D (#635).
2015-07-09Prevent assertion failure when using DCP content with no audio.Carl Hetherington
2015-07-02Fix typo causing #626.Carl Hetherington
2015-07-01Go back to player having a playlist and not assuming it uses the film's content.Carl Hetherington
2015-06-25Make player decide whether subtitles should be burnt based onCarl Hetherington
content settings rather than using the film's settings. Remove film property of burn-subtitles.
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-06-19No-op; variable renaming.Carl Hetherington
2015-06-18Fix check for overlap to be less greedy.Carl Hetherington
2015-06-17Hence Player does not need Playlist.Carl Hetherington
2015-06-17Use Film's ContentChanged rather than Playlist's.Carl Hetherington