remove any data streams when using concat muxer
the scte_35 data stream can cause an ffmpeg error
This commit is contained in:
parent
e7f256468e
commit
19205b6847
@ -508,7 +508,7 @@
|
|||||||
(concat (simple-format #f "ffconcat version 1.0\nfile ~a/~a\nfile ~a/~a\n" recordings-directory bn1 recordings-directory bn2))
|
(concat (simple-format #f "ffconcat version 1.0\nfile ~a/~a\nfile ~a/~a\n" recordings-directory bn1 recordings-directory bn2))
|
||||||
(port (mkstemp! (mythconverg-input-file-name)))
|
(port (mkstemp! (mythconverg-input-file-name)))
|
||||||
(tmpfile (port-filename port))
|
(tmpfile (port-filename port))
|
||||||
(cmd (simple-format #f "~a -y -safe 0 -f concat -i ~a -codec copy -map 0 ~a/~a && touch --reference='~a/~a' ~a/~a && mv ~a/~a ~a/~a.premerge && mv ~a/~a ~a/." ffmpeg-bin tmpfile working-directory bn1 recordings-directory bn1 working-directory bn1 recordings-directory bn1 recordings-directory bn1 working-directory bn1 recordings-directory)))
|
(cmd (simple-format #f "~a -y -safe 0 -f concat -i ~a -codec copy -map 0 -map -0:d ~a/~a && touch --reference='~a/~a' ~a/~a && mv ~a/~a ~a/~a.premerge && mv ~a/~a ~a/." ffmpeg-bin tmpfile working-directory bn1 recordings-directory bn1 working-directory bn1 recordings-directory bn1 recordings-directory bn1 working-directory bn1 recordings-directory)))
|
||||||
(simple-format port concat) (force-output port) (close-port port)
|
(simple-format port concat) (force-output port) (close-port port)
|
||||||
(shell-command-to-string cmd)
|
(shell-command-to-string cmd)
|
||||||
(mythutil-rebuild (re-create-record-data (list (cons 'chanid chanid) (cons 'starttime starttime))))
|
(mythutil-rebuild (re-create-record-data (list (cons 'chanid chanid) (cons 'starttime starttime))))
|
||||||
|
Loading…
Reference in New Issue
Block a user