Greetings -- My last couple of prints, I noticed that I wasn't getting my "extratime". The log told me that my version of ffmpeg didn't support it, even though it was the version I built locally on my Pi last December.
pi@octocore:/opt/DuetLapse/octocore/railcore-localdomain $ more 15379_21-05-17T16˸40˸44.log
2021-05-17 16:40:45,112 -
2021-05-17 16:40:45,114 - ################### Options selected for this run #####################
2021-05-17 16:40:45,114 - #Environment Settings:
2021-05-17 16:40:45,115 - # printer = railcore.localdomain
2021-05-17 16:40:45,116 - # basedir = /opt/DuetLapse
2021-05-17 16:40:45,116 - # poll = 5
2021-05-17 16:40:45,117 - # logtype = both
2021-05-17 16:40:45,118 - # verbose = False
2021-05-17 16:40:45,118 - # os = Linux
2021-05-17 16:40:45,119 - # host = 0.0.0.0
2021-05-17 16:40:45,119 - # port = 0
2021-05-17 16:40:45,120 - # pid = 15379
2021-05-17 16:40:45,120 - # keeplogs = False
2021-05-17 16:40:45,121 - # novideo = False
2021-05-17 16:40:45,122 - # deletepics = False
2021-05-17 16:40:45,122 - # maxffmpeg = 2
2021-05-17 16:40:45,123 - # keepfiles = False
2021-05-17 16:40:45,123 - #Execution Setings:
2021-05-17 16:40:45,124 - # dontwait = False
2021-05-17 16:40:45,125 - # seconds = 0
2021-05-17 16:40:45,126 - # detect = layer
2021-05-17 16:40:45,127 - # pause = no
2021-05-17 16:40:45,128 - # standby = False
2021-05-17 16:40:45,128 - #Camera1 Settings:
2021-05-17 16:40:45,129 - # camera1 = web
2021-05-17 16:40:45,130 - # weburl1 = http://octocore.localdomain:8081/snapshot
2021-05-17 16:40:45,131 - # Video Settings:
2021-05-17 16:40:45,132 - # extratime = 4.0
2021-05-17 16:40:45,133 - ###################################################################
2021-05-17 16:40:45,133 -
2021-05-17 16:40:45,432 -
2021-05-17 16:40:45,433 - ************************************************************************************
2021-05-17 16:40:45,434 - Warning: This version of ffmpeg does not support -extratime
2021-05-17 16:40:45,434 - -extratime has been set to 0
2021-05-17 16:40:45,435 - ************************************************************************************
2021-05-17 16:40:45,758 -
2021-05-17 16:40:45,759 - ###############################################################
2021-05-17 16:40:45,760 - Connected to printer at railcore.localdomain using Duet version 3.3RC2 and API access using rr_model
2021-05-17 16:40:45,761 - ###############################################################
2021-05-17 16:40:45,761 -
2021-05-17 16:40:45,762 -
2021-05-17 16:40:45,763 - ##########################################################
2021-05-17 16:40:45,764 - Will start capturing images on first layer change
2021-05-17 16:40:45,764 - ##########################################################
2021-05-17 16:40:45,765 -
2021-05-17 16:40:45,766 -
2021-05-17 16:40:45,767 - ##########################################################
2021-05-17 16:40:45,767 - Video will be created when printing ends.
2021-05-17 16:40:45,768 - On Linux - press Ctrl+C one time to stop capture and create video.
2021-05-17 16:40:45,769 - On Windows - Ctrl+C will NOT create a video. You must use the http listener
2021-05-17 16:40:45,769 - ##########################################################
2021-05-17 16:40:45,770 -
even though the filter showing tpad was there:
pi@octocore:/opt/DuetLapse $ ffmpeg -filters | grep tpad
ffmpeg version git-2020-12-24-29cef1b Copyright (c) 2000-2020 the FFmpeg developers
built with gcc 8 (Raspbian 8.3.0-6+rpi1)
configuration: --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib --extra-libs='-lpthread -lm -latomic' --arch=armel --enable-gmp --enable-gpl --enable-libass --enable-libdrm --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopus --enable-librtmp --enable-libsnappy --enable-libsoxr --enable-libssh --enable-libvorbis --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-mmal --enable-nonfree --enable-omx --enable-omx-rpi --enable-version3 --target-os=linux --enable-pthreads --enable-openssl --enable-hardcoded-tables
libavutil 56. 62.100 / 56. 62.100
libavcodec 58.115.102 / 58.115.102
libavformat 58. 65.100 / 58. 65.100
libavdevice 58. 11.103 / 58. 11.103
libavfilter 7. 94.100 / 7. 94.100
libswscale 5. 8.100 / 5. 8.100
libswresample 3. 8.100 / 3. 8.100
libpostproc 55. 8.100 / 55. 8.100
... tpad V->V Temporarily pad video frames.
pi@octocore:/opt/DuetLapse $
I rebuilt ffmpeg again following the instructions in the GitHub pages, but other than seeing that I do have the new version, the log still shows that "Warning: This version of ffmpeg does not support -extratime"
The extra time feature was working fine a couple of months ago.
Any ideas, or places to check?
Thanks,
John