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.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
stephy_22 pe Simpatie.ro
Femeie
25 ani
Prahova
cauta Barbat
25 - 53 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [VIDEO] Find Out if Videos in Given Folder Contain a Subtitle Track Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
Mrrrr
AdMiN

Inregistrat: acum 19 ani
Postari: 2374
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 3 ore
   
Pagini: 1  

Mergi la