<p>yes, VLC supports that with the <code>EXTVLCOPT</code> custom tag.</p>

<p>example:</p>

<pre><code>#EXTINF:-1,Abenobashi ED - Anata No Kokoro Ni (In Your Heart)
#EXTVLCOPT:sub-file=/p/Documents/mus/lyrics/Abenobashi ED - Anata No Kokoro Ni (In Your Heart).srt
#EXTVLCOPT:subsdec-encoding=UTF-8
Abenobashi ED - Anata No Kokoro Ni (In Your Heart).flv
</code></pre>

<p>Note that the path must be absolute and remote files are (unfortunataly) unsupported.</p>

<p>Alternatively you may change the <code>sub-autodetect-path</code> in <code>vlcrc</code> and add more search paths.</p>

CC BY-SA 3.0
2016-06-27T09:11:31.227Z
2016-06-27T09:11:31.227Z
eadmaster
<p>I have a folder that contains around 51 videos and another folder with their respective subtitles.  </p>

<p>I don't want to merge the folders into one folder so I was wondering if there's a way to store subtitle <code>srt</code> files location (or at least a folder location for all subtitles) in an <code>m3u</code> playlist file along with the video files locations. </p>

<p><strong>Note:</strong> Video file format is <code>flv</code>.</p>

<video><file-formats><subtitles><playlist>
Is it possible to store subtitle srt files in an m3u playlist file?
Yahya KACEM
# Is it possible to store subtitle srt files in an m3u playlist file?

(Asked by: username_0 on 2013-05-29)

I have a folder that contains around 51 videos and another folder with their respective subtitles.

I don't want to merge the folders into one folder so I was wondering if there's a way to store subtitle `srt` files location (or at least a folder location for all subtitles) in an `m3u` playlist file along with the video files locations.

**Note:** Video file format is `flv`.

**Tags:** video, file-formats, subtitles, playlist


---

## 1 answers

### Answer by username_1 on 2016-06-27. Score: 2

yes, VLC supports that with the EXTVLCOPT custom tag.
example:
#EXTINF:-1,Abenobashi ED - Anata No Kokoro Ni (In Your Heart)
#EXTVLCOPT:sub-file=/p/Documents/mus/lyrics/Abenobashi ED - Anata No Kokoro Ni (In Your Heart).srt
#EXTVLCOPT:subsdec-encoding=UTF-8
Abenobashi ED - Anata No Kokoro Ni (In Your Heart).flv

Note that the path must be absolute and remote files are (unfortunataly) unsupported.
Alternatively you may change the sub-autodetect-path in vlcrc and add more search paths.


---

