Page 1 of 1

Playlist with subtitles

Posted: 15 Nov 2015 21:57
by cuddlyable3
Can you help me make a playlist of video clips, each with subtitles? In Windows I can give this command line:

>"C:\Program Files\VideoLAN\VLC\vlc" "F:\songs\Sorry Her Lot.webm" --sub-file="F:texts\SHL.srt"

It correctly plays the video "Sorry Her Lot" with its subtitle file.

Question #1: Is there a way to make VLC exit and return to the command prompt automatically after the video?

My attempts to make a playlist are unsuccessful. There are too many videos to fit in one command line. When I run multiple command lines in a .BAT file, the subtitles do not appear and VLC has to be closed manually after each video. When I list the video files in a .m3u file and ask VLC to open the .m3u file, it doesn't understand.

Question #2: How do I make a playlist of video clips with their subtitle files that works in Windows Vista?
caleb.bradley@getmail.no

Re: Playlist with subtitles

Posted: 16 Nov 2015 12:48
by mederi
Try :sub-file instead of --sub-file in your command line, then save the playlist (Media > Save Playlist to File...) and check the saved playlist file.

Re: Playlist with subtitles

Posted: 16 Nov 2015 23:49
by cuddlyable3
Thank you for the help, I was unaware of the playlist file format .xpsf. Now I just edit an existing .xpsf file by adding content within tags <track>....</track> in Notepad, remembering to tell it that this is NOT a .txt file.

This works for me :) but it is tedious to have to enter the length of each video clip in secondsx1000, and to give each a sequential <vlc-id> number, to be repeated inside the tag <extension>....</extension>. I suggest the window at

Media>Open Multiple Files...>Open Media>File

could be improved these purposes by:
* letting one build a playlist of files with the option offered SEPARATELY for each video to use a different subtitle file
* letting one reload an existing playlist which would then be shown expanded for editing.