-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Looks like changes to FFMPEG have rendered this script inert. Attempting to run this script against any file with a basic command ./script_name.sh "/path/to/file" results in a failed attempt.
I modified the script with set -x and found the following error
+ msg='Correct number of black segments found'
+ finalarray=("${breaktimes[@]}")
+ '[' 12 -gt 12 ']'
+ openingstartblack=40.123
+ openingendblack=40.666
+ openingduration=0.543
+ ep1blackstart=730.563
+ ep1blackend=731.105
+ ep1blackdur=0.542
+ ep2blackstart=1421
+ ep2blackend=1421.5
+ ep2blackdur=0.5
+ '[' split = testrun ']'
+ '[' split = split ']'
+ echo '/home/username/OTA2MP4/Working/PJ Masks - S01E01E02.mp4 - Correct number of black segments found'
/home/username/OTA2MP4/Working/PJ Masks - S01E01E02.mp4 - Correct number of black segments found
+ ffmpeg -y -nostdin -loglevel quiet -ss 00:00:00 -i '/home/username/OTA2MP4/Working/PJ Masks - S01E01E02.mp4' -t 40.123 unset opening.mp4
+ [[ 1 != 0 ]]
+ echo 'error writing /home/username/OTA2MP4/Working/PJ Masks - S01E01E02.mp4 opening credits'
error writing /home/username/OTA2MP4/Working/PJ Masks - S01E01E02.mp4 opening credits
Additionally, using the -c=c or -c=r flag results in this error.
ffmpeg action (-c) not set properly.
I am currently running FFMPEG Version 7:3.4.8-0ubuntu0.2
daslicious
Metadata
Metadata
Assignees
Labels
No labels