Because the file contains "HI" (Hearing Impaired) tracks, these subtitles may either be hardcoded (burned into the video) or soft-coded (selectable multiplex tracks).
pattern = r"jawanikanukshas(\d+)ep(\d+).*.mkv" for file in os.listdir("."): match = re.search(pattern, file) if match: season, episode = match.groups() new_name = f"Jawani Ka Nukshas - Sseason.zfill(2)Eepisode.zfill(2).mkv" os.rename(file, new_name) # Check codec result = subprocess.run(["ffprobe", "-v", "error", "-select_streams", "v:0", "-show_entries", "stream=codec_name", "-of", "default=noprint_wrappers=1:nokey=1", new_name], capture_output=True, text=True) if result.stdout.strip() == "hevc": print(f"new_name uses HEVC. Consider converting if needed.") jawanikanukshas01ep03t04720phevcwebdlhi work
: Download it directly from the official VideoLAN Organization page. It plays virtually any codec, including HEVC, out of the box without requiring extra plugins. Because the file contains "HI" (Hearing Impaired) tracks,