Among the languages that have distinctive vowel length, there are some where it may only occur in stressed syllables, e.g. in the Alemannic German dialect and Egyptian Arabic.
In Japanese, most long vowels are the results of the phonetic change of diphthongs; au and ou became ō, iu became yū, eu became yō, and now ei is becoming ē.