The difference in meaning comes from the context, not the pronunciation.
For example:
* "He lived a long and fulfilling life." (long life)
* "The butterfly lived a short but beautiful life." (short life)
Both sentences use the same pronunciation of "lived", but the meaning is different based on the surrounding words and the overall sentence structure.