Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
|
Nou pe simpatie: simpacurly69
 | Femeie 24 ani Bucuresti cauta Barbat 35 - 70 ani |
|
|
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
|
| pus acum 1 luna#1 |
|
|
Two ways - powershell or cmd
1. PowerShell
Replace colored text with your specific paths before running the command.
Get-ChildItem -Path "C:\Path\To\Your\Videos" -Filter *.mkv | ForEach-Object { $hasSub = & "D:\ffmpeg\bin\ffprobe.exe" -v error -select_streams s -show_entries stream=index -of csv=p=0 "$($_.FullName)" if ($hasSub) { Write-Host "[SUBTITLES FOUND] $($_.Name)" -ForegroundColor Green } else { Write-Host "[NO SUBTITLES] $($_.Name)" -ForegroundColor Red } } |
2. Command Prompt
Videos in given folder.
| for %F in ("C:\Path\To\Your\Videos\*.mkv") do @("D:\ffmpeg\bin\ffprobe.exe" -v error -select_streams s -show_entries stream=index -of csv=p=0 "%F" | findstr . >nul && echo HAS SUBS: "%~nxF" || echo NO SUBS: "%~nxF") |
Videos in current folder.
| for %F in ("*.mkv") do @("D:\ffmpeg\bin\ffprobe.exe" -v error -select_streams s -show_entries stream=index -of csv=p=0 "%F" | findstr . >nul && echo HAS SUBS: "%~nxF" || echo NO SUBS: "%~nxF") |
Source: Gemini
_______________________________________

|
|
| |
|
| pus acum 1 luna#2 |
|
|
To check the main folder and all subfolders:
Get-ChildItem -Path "C:\Path\To\Your\Videos" -Filter *.mkv -Recurse | ForEach-Object { $hasSub = & "D:\ffmpeg\bin\ffprobe.exe" -v error -select_streams s -show_entries stream=index -of csv=p=0 "$($_.FullName)" if ($hasSub) { Write-Host "[SUBTITLES FOUND] $($_.FullName)" -ForegroundColor Green } else { Write-Host "[NO SUBTITLES] $($_.FullName)" -ForegroundColor Red } } |
Or if you run it in the current path, replace:
| -Path "C:\Path\To\Your\Videos" |
with
_______________________________________

|
|
| |
|