mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Use genpts
This commit is contained in:
parent
6d702e3786
commit
ae2cdab9f1
@ -157,6 +157,8 @@ func getVideoKeyframes(path string, video_idx uint32, kf *Keyframe) error {
|
||||
"-loglevel", "error",
|
||||
"-select_streams", fmt.Sprintf("V:%d", video_idx),
|
||||
"-show_entries", "packet=pts_time,flags",
|
||||
// some avi files don't have pts, we use this to ask ffmpeg to generate them (it uses the dts under the hood)
|
||||
"-fflags", "+genpts",
|
||||
"-of", "csv=print_section=0",
|
||||
path,
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user