Replies: 2 comments 3 replies
-
not currently possible but you could run something like this: for file in *.mp4; do
ffmpeg -i "${file}" -map_metadata 0 -map 0 -ignore_unknown -c copy "${file}"-fixed.mp4
done |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for this and all you do! I can now run this as a script on all files before editing to save the step of fixing files individually. One remaining issue... it copies both files with correct duration and incorrect duration. Would anyone be able to help with a conditional statement that first checks if the file needs to be fixed so that it only runs on incorrect files? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to do a batch fix incorrect durations or to call Lossless Cut via CLI in order to do so?
Beta Was this translation helpful? Give feedback.
All reactions