I have a work around:
# Generate a temp thumbnail video which we will insert back into
${THUMBNAIL}
# Because for some reason taking an image input is broken! :(
ffmpeg -loop 1 -i ${THUMBNAIL} -t ${THUMBNAIL_HOLD_SECONDS} -c:v libx264
-qp 0 -crf 0 -preset veryfast ${TMP_DIR}/temp_thumbnail.mkv
THUMBNAIL=${TMP_DIR}/temp_thumbnail.mkv
Then i just have to match the timebase of the generated video and it works.
I thought about using -c:v copy, which works, is about 10 times slower, but
also creates 10 times the disk space, and I bet writing and then reading
back from the disk is more costly than the compression.
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".