I found a bunch - most missed a ton of movies and none that I found had the scene so if I wanted to test, I’d have to scroll through the whole movie. I’m guessing I have about 50 movies with forced subs but put a gun to my head I can’t tell you the names or the scenes.
I’ve got 2 so far
Red heat - at the beginning when he’s arresting Victor in the bar (before he rips off the guys leg).
Bourne Identity - about 10 minutes in - he’s being woken up by the police.
Thanks - sorry I’m not being clear - let me try again.
I have about 1700 MKV files for my dics ripped to the computer. I’m guessing between 50 and 100 of them have some forced sub scenes - nazis or klingons or russians.
I’d like to fix the flags on the ones that have forced subs so they play automatically when streaming to plex. I know how to fix the flag but it would save me a ton of time going through my movies if I had a list of movies with forced subs and the scenes so I could test after I fix them since the fix only takes about a minute, it would be great to go through the movies I need to fix in my collection.
So if there was a comprehensive list like this
Red heat - 9:30 minutes in at the beginning when he’s arresting Victor in the bar (before he rips off the guys leg).
Bourne Identity - 10:45 minutes in - he’s being woken up by the police.
but with more movies it would help.
Ah - sorry I guess I’m still not clear - I’m not looking for a program to do it. I’m curious if there is a list on the web - like the one in the link Movie Subtitles - Google Sheets
That, I do not know of, and also considering, that there’a a lot of versions of a single movie/episode in existing out there, like tor*****, and each version is different, regarding video, audio and subs, so I doubt it
And all those lists are invalid if you use a dubbed version of the same movie.
If there would be a way to scan for “number of lines” in a subtitle stream, you could use some heuristic to make a list of candidates for further inspection. Forced subs are usually significantly less “wordy” than a “full” or “SDH” subtitle stream.
I know mkv files can have that kind of statistics in their header. But not every software which can turn out mkv files does write these. So getting this kind of statistics would require a remux of the mkv file with e.g. mkvtoolnix.
Building on OttoKerner’s remarks about using heuristics and scanning for number of subtitle lines.
You can use ffprobe, part of ffmpeg, to list the subtitle streams and number of lines.
With some scripting (not my bailiwick) you could point it at a directory and then eyeball the output to determine which tracks are forced.
Example, using Avatar: ffprobe -loglevel error -select_streams s -show_entries stream=index:stream_tags=title:stream_tags=language:stream_tags=number_of_frames -of csv=p=0 avatar.mkv
The output is stream index, stream language, stream title, and number of frames (which equates to number of subtitle lines). There are many other stream tags which can be listed. I just picked these three as an example.
3,eng,English SDH,3343
4,eng,Na'vi,165
Even without the stream title, it is pretty obvious that stream 4 is the candidate to be forced subtitles.
Thanks - I’m not sure if there is an easy way to do that for all of my movies but I’ll look at it today - never used ffmeg. I’d like to post a list of my movies and people if they care to help can say if they know if the movie has forced and the scene or the time. I’ll post the final results to help others. Can I post it here or is there another part of the forums I should use?
Update - I just spent 3 minutes trying to find the actual direct link for the download for of the file windows and couldn’t find it so I don’t think ffmeg is for me. Tons of information about what you can download not - hey dummy click this link and it downloads the file you are looking for.
If all else fails, feed it into Subtitle Edit
Even without performing the OCR process, you can take a look at the lines and you also see the number of them.
I’m getting great info on this forum - thanks everyone!
Otter- Thanks - I tested with Avatar 11 minutes in -test on how well their na’vi is
Dane, thanks - any way to create a script using subtitle edit - I couldn’t get ffprobe to do anything useful but feeding a movie into subtitle edit got me something.
Is there a way to attach a pdf or xls file with a list of my movies? I figure if anyone wants to give me movies in my list I can check, I can update it. I have 3 columns - movie title - forced yes/no - and time/scene - I’ve only started 3 movies so far but 1500 to go
Here’s a Windows script you can run with ffprobe. Save it as a .bat file (zipped version attached below). Change the path to your movie directory. Put ffprobe.exe in the same directory as the bat file or provide an explicit path.
It finds embedded subtitles. I tested it against files with embedded PGS & SRT subtitles. It does not list external subtitles.
I’m sure there’s a more elegant way to script this. I cobbled this together from what I found with a couple of Google searches.
FOR /r "M:\Movies_HD\" %%I in (*.avi,*.mp4,*.mkv,*.m4v) DO (
Echo %%I >>probe.log
ffprobe -loglevel error -i "%%~fI" -select_streams s -show_entries stream=index:stream_tags=title:stream_tags=language:stream_tags=number_of_frames -of csv=p=0 >>probe.log 2>&1
)
Here’s a sample of the output. I ran it against a directory with 449 HD rips stored on my NAS. It took two to three minutes to analyze all the files.
Fordguy, Thanks so much for writing this for me. I put the probe in my search path.
I have a few hundred movies in my actionadventure folder. All my movies are MKV (no srt) and they all have spaces in the name. e.g. - “Accountant, The - 2016 (2160p, DTS-MA.Core 7.1, R, 127 minutes).mkv”
Is there a way to run the probe file and have it just go through that folder? If so I can run it on my other categories.