There’s no universal “safe” duration. Guidelines vary by country, but a common rule of thumb is ≤30 secondsmay be tolerated under fair use/dealing. However:
Even short clips can be infringing.
Rights holders can enforce claims.
Best practice: obtain permission or use public domain/CC‑licensed recordings.
Consult a copyright attorney for project‑specific advice.