11 #include "cores/EdlEdit.h" 26 bool ReadEditDecisionLists(
const CFileItem& fileItem,
const float fFramesPerSecond);
41 bool HasSceneMarker()
const;
150 bool GetNextSceneMarker(
bool bPlus,
const int iClock,
int *iSceneMarker);
155 static std::string MillisecondsToTimeString(
const int iMilliseconds);
160 std::vector<EDL::Edit> m_vecEdits;
161 std::vector<int> m_vecSceneMarkers;
171 EDL::Action m_lastEditActionType{EDL::EDL_ACTION_NONE};
176 bool ReadEdl(
const std::string& strMovie,
const float fFramesPerSecond);
180 bool ReadComskip(
const std::string& strMovie,
const float fFramesPerSecond);
184 bool ReadVideoReDo(
const std::string& strMovie);
188 bool ReadBeyondTV(
const std::string& strMovie);
201 bool AddSceneMarker(
const int sceneMarker);
203 void MergeShortCommBreaks();
209 void AddSceneMarkersAtStartAndEndOfEdits();
bool HasCuts() const
Check if the edit list has EDL cuts (edits with action CUT)
Definition: Edl.cpp:729
double GetTimeAfterRestoringCuts(double seek) const
Provided a given seek time, return the time after correction with the addition of the already surpass...
Definition: Edl.cpp:820
int GetTotalCutTime() const
Get the total cut time removed from the original item because of EDL cuts.
Definition: Edl.cpp:734
int GetLastEditTime() const
Get the last processed edit time (set during playback when a given edit is surpassed) ...
Definition: Edl.cpp:860
bool InEdit(int iSeek, EDL::Edit *pEdit=nullptr)
Check if for the provided seek time is contained within an EDL edit and fill pEdit with the respectiv...
Definition: Edl.cpp:842
const std::vector< int64_t > GetCutMarkers() const
Get the list of EDL cut markers.
Definition: Edl.cpp:768
void SetLastEditActionType(EDL::Action action)
Set the last processed edit action type.
Definition: Edl.cpp:875
const std::vector< int64_t > GetSceneMarkers() const
Get the list of EDL scene markers.
Definition: Edl.cpp:783
const std::vector< EDL::Edit > & GetRawEditList() const
Get the raw EDL edit list.
Definition: Edl.h:76
EDL::Action GetLastEditActionType() const
Get the last processed edit action type (set during playback when a given edit is surpassed) ...
Definition: Edl.cpp:880
bool HasEdits() const
Check if there are any parsed edits in EDL for the current item.
Definition: Edl.cpp:724
void SetLastEditTime(int editTime)
Set the last processed edit time (set during playback when a given edit is surpassed) ...
Definition: Edl.cpp:865
void ResetLastEditTime()
Reset the last recorded edit time (-1)
Definition: Edl.cpp:870
int GetTimeWithoutCuts(int seek) const
Providing a given seek time, return the actual time without considering cut ranges removed from the f...
Definition: Edl.cpp:794
const std::vector< EDL::Edit > GetEditList() const
Get the EDL edit list.
Definition: Edl.cpp:739
Represents a file on a share.
Definition: FileItem.h:102