The penetration of new energy sources such as wind power is increasing, which consequently increases the occurrence rate of subsynchronous oscillation events. However, existing subsynchronous oscillation source-identification methods primarily analyze fixed-mode oscillations and rarely consider time-varying features, such as frequency drift, caused by the random volatility of wind farms when oscillations occur. This paper proposes a subsynchronous oscillation source-localization method that involves an enhanced short-time Fourier transform and a convolutional neural network (CNN). First, an enhanced STFT is performed to secure high-resolution time-frequency distribution (TFD) images from the measured data of the generation unit ports. Next, these TFD images are amalgamated to form a subsynchronous oscillation feature map that serves as input to the CNN to train the localization model. Ultimately, the trained CNN model realizes the online localization of subsynchronous oscillation sources. The effectiveness and accuracy of the proposed method are validated via multimachine system models simulating forced and natural oscillation events using the Power Systems Computer Aided Design platform. Test results show that the proposed method can localize subsynchronous oscillation sources online while considering unpredictable fluctuations in wind farms, thus providing a foundation for oscillation suppression in practical engineering scenarios.