mirror of
https://github.com/odrling/Aegisub
synced 2025-04-11 22:56:02 +02:00
Support reading keyframes files from ffmpeg/avconv
This commit is contained in:
parent
d0779e7ed7
commit
c4dae9e783
@ -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…
x
Reference in New Issue
Block a user