I personally haven’t tried substituting frozen or canned for fresh peaches in this recipe but I think you can use them if that’s what you have available. If using frozen peaches: you probably need to add 5 to 10 minutes to your cooking time. If using canned peaches: remember that they are sweeter and have a more concentrated flavour than fresh so taste and adjust sugar as needed.