ercanserteli / condenser

Condenser allows you to extract speech audio from video files, based on subtitle timings. By omitting the audio outside of speech, it increases the language per second that you are getting exposed to.
https://ercanserteli.com/condenser
GNU General Public License v3.0
33 stars 7 forks source link

Logging improvements #13

Closed artjomsR closed 6 months ago

artjomsR commented 10 months ago

Show files that are missing subtitles

I find this especially useful when dealing with large amount of files from different sources. Saves time comparing them 1 by 1

Example output:

Exception: There are videos with no subtitles and no corresponding subtitle files:
D:\condenser_test\bb.m4a
D:\condenser_test\dd.m4a

Show filename on error

Happened with this error for me, so I tidied it up so it's easier to see the problem file: Exception: Could not probe video C:\Users\User\Desktop\test.mp4 with ffprobe: b''