<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									macOS/Linux: Find PGD/VOBSUB subtitle and extract it with ffmpeg - Home Theatre				            </title>
            <link>https://www.tweaking4all.com/forum/home-theatre/macos-linux-find-pgd-vobsub-subtitle-and-extract-it-with-ffmpeg/</link>
            <description>Tweaking4All.com Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Tue, 21 Jul 2026 00:46:27 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>macOS/Linux: Find PGD/VOBSUB subtitle and extract it with ffmpeg</title>
                        <link>https://www.tweaking4all.com/forum/home-theatre/macos-linux-find-pgd-vobsub-subtitle-and-extract-it-with-ffmpeg/#post-6168</link>
                        <pubDate>Wed, 12 Nov 2025 10:50:36 +0000</pubDate>
                        <description><![CDATA[To find if our video file has a PGS or VOBSUB video track, we first need to find what subtitles are available in the video file:
ffprobe video.mkv 2&gt;&amp;1 | grep Subtitle
This will gen...]]></description>
                        <content:encoded><![CDATA[<p>To find if our video file has a PGS or VOBSUB video track, we first need to find what subtitles are available in the video file:</p>
<pre contenteditable="false">ffprobe video.mkv 2&gt;&amp;1 | grep Subtitle</pre>
<p><br />This will generate something like this:</p>
<pre contenteditable="false">Stream #0:3(eng): Subtitle: subrip (srt) (default) (forced)
Stream #0:4(eng): Subtitle: subrip (srt)
Stream #0:5(eng): Subtitle: subrip (srt) (hearing impaired)
Stream #0:6(dut): Subtitle: subrip (pgs)</pre>
<p>&nbsp;</p>
<p>We're looking for a Dutch (dut) PGS subtitle, so that would be stream #0:6 in this example.</p>
<p>Now we can extract this PGS subtitle as a SUP file:</p>
<pre contenteditable="false">ffmpeg -i filename.mkv -map 0:s:6 -c:s copy -f sup output.sup</pre>
<p>&nbsp;</p>
<p><em>(here "<strong>0:s:6</strong>" stands for stream <strong>#0:6</strong> - the pgs subtitle we want)</em><br /><br />No you can use <a href="https://github.com/SubtitleEdit/subtitleedit/releases" target="_blank" rel="noopener">Subtitle Edit</a> (only available for Windows, so you will need a virtual machine or a Windows PC) to convert this with OCR to a plain text SRT.</p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/home-theatre/">Home Theatre</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/home-theatre/macos-linux-find-pgd-vobsub-subtitle-and-extract-it-with-ffmpeg/#post-6168</guid>
                    </item>
							        </channel>
        </rss>
		