Support reading keyframes files from ffmpeg/avconv
This commit is contained in:
parent
d0779e7ed7
commit
c4dae9e783
1 changed files with 2 additions and 0 deletions
|
@ -93,6 +93,8 @@ std::vector<int> Load(agi::fs::path const& filename) {
|
|||
|
||||
if (header == "# keyframe format v1") return agi_keyframes(is);
|
||||
if (boost::starts_with(header, "# XviD 2pass stat file")) return other_keyframes(is, xvid);
|
||||
if (boost::starts_with(header, "# ffmpeg 2-pass log file, using xvid codec")) return other_keyframes(is, xvid);
|
||||
if (boost::starts_with(header, "# avconv 2-pass log file, using xvid codec")) return other_keyframes(is, xvid);
|
||||
if (boost::starts_with(header, "##map version")) return other_keyframes(is, divx);
|
||||
if (boost::starts_with(header, "#options:")) return other_keyframes(is, x264);
|
||||
|
||||
|
|
Loading…
Reference in a new issue