
PS App automatically accepts gameplay clips shorter than three minutes at resolutions below 4K. Even a short 4K recording can stay on the console.
Link the console first
Link the PS5 to the app. On the phone, open Game Library, choose Captures and enable the feature. Check Auto-Upload in the console capture settings. For transfers in rest mode the console also needs to stay online.
Source: PlayStation · Captures in PS App
Keep a copy you can edit
Find the original in Media Gallery. If it is too long, make a short edit and check its resolution. Eligible captures can also be uploaded to PS App manually from the gallery. Download the result to the phone while it is available: the app window runs for 14 days from creation.
Source: PlayStation · Captures in PS App, PlayStation · Capture gameplay on PS5
Sources
Interfaces and rules can change. Check the official pages above for current requirements.