Not sure of the best place to put this - I hope this finds the right audience
I've been going through some video files to sort out the ones with subtitles and
decided to add this to my swiss army knife type toolkit.
The toolkit is written in FPC/lazarus but I generally run up test files in dos
batch first.
I thought someone might find the batch files of use or helpful in other ways.
To use them as designed you need ffmpeg/ffprobe (not included)
There are examples of using ffmpeg to extract video/audio/subs codecs
Identify zero lenght files in batch
Use delayed variable expansion
and a few other things that may help batch writing.
Just unrar into a directory with media files below it and run mediasort.bat
It will just create some .lst files and allow you to do nothing or to move
the files based on existence of subtitles sections.
I havn't found a way to identify empty subtitle sections yet though.
Anyway - maybe someone will find this useful
jack616
+ Reply to Thread
Results 1 to 2 of 2
-
-
While I'm here - a quick update including some
simple fixes for issues
also allows better filetype control
and identifies humax .TS sidecar files
Probably the last itteration in batch format
but feel free to ask - if I'm about I'll try to help.
PS there is a skip=1 option in the ffprobe files
this may or may not be needed depending on your installed ffprobe version.
I'm not sure why I get this and dnont have time to chase it.
Similar Threads
-
[FFMPEG BATCH SCRIPT] Remux MP4 to MKV removing all details data!
By Cauptain in forum Video ConversionReplies: 3Last Post: 12th Aug 2021, 03:38 -
Need ffmpeg help. Extract frame every 10 sec and do it in a batch.
By widuljewic in forum Newbie / General discussionsReplies: 5Last Post: 16th Jun 2020, 07:12 -
How to batch extract audio from avi files?
By Nico Darko in forum AudioReplies: 6Last Post: 28th Apr 2020, 03:34 -
access and load video files to google foto via dos batch
By marcorocchini in forum Newbie / General discussionsReplies: 4Last Post: 21st Jan 2020, 23:29 -
FFMPEG: how to batch extract all audio streams into separate mono files?
By marcorocchini in forum Newbie / General discussionsReplies: 1Last Post: 14th Aug 2019, 15:21