VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. 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
    Image Attached Files
    Quote Quote  
  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.
    Image Attached Files
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!