Eco-aesthetics is a philosophy that combines ecology and aesthetics to study the relationship between man, nature and society, and is a discipline that includes the concept of sustainable development. In traditional humanities and arts, there are many aesthetic ideas that fit with it. If these ideas can be extracted and used in education and teaching, it would be able to vigorously promote the development of ecological aesthetics and implement the concept of green sustainable development. Therefore, the purpose of this paper is to analyze the ecological aesthetics in the traditional humanities and arts. Through the retrospective analysis of the previous literature, this paper realized that the traditional analysis method has the limitations of being incomplete and in-depth. In order to fully extract the ecological aesthetic ideas in traditional art, this paper proposed a factor analysis method (FA), and analyzed and compared several selected humanities and art works. The results showed that in the selected traditional works of art, the ecological aesthetic ideas mainly include the idea of letting nature and inaction govern, the idea of Feng Shui and the Five Elements and Eight Trigrams, the idea of harmony between man and nature or the idea of maintaining balance between man and nature, the idea of transforming nature to serve human beings. In addition, in order to understand the advantages of the algorithm in this paper, this paper compared the analysis results of the FA algorithm and the traditional algorithm. It was concluded that the average time of FA was about 200ms per article, which was lower than 1/2 of the time of traditional algorithm; the average accuracy of FA was 89.3%, which was 13.7% higher than that of traditional algorithm. This showed that the use of FA in this paper to analyze the ecological aesthetics in traditional humanities and arts has the characteristics of being faster and more accurate.