Skip an I-frame that does not have a numeric PTS
In some older video files, ffprobe returns N/A (and possibly other non-numeric data) when it can't determine the PTS. These cause problems and ruin a transcode.
This commit is contained in:
parent
bbb2c1ebf7
commit
a16b9aaa99
@ -370,6 +370,8 @@
|
||||
;; for some reason, ffmpeg's i-frame # is 2 less than that mythtv reports
|
||||
;; after frame 0
|
||||
;; (i-frame offset time)
|
||||
((not (number? (first (car l))))
|
||||
(type-9/33-marks (cdr l) acc))
|
||||
((null? acc)
|
||||
(type-9/33-marks (cdr l) (list (list (fourth (car l)) (second (car l)) (inexact->exact (round (* (- (first (car l)) start_pts) 1000)))))))
|
||||
(#t
|
||||
|
Loading…
x
Reference in New Issue
Block a user