I've been trying for a while to get text subtitles working through vlm as it works through a normal vlc set up.
I'll explain what I'm trying and what seems not to work:
First of all, everything was tested using the windows (gui) version and a FreeBSD console vlc.
When I play an avi file with vlc (to UDP/RTP/HTTP stream), set the soverlay option and view this stream with vlc, everything works. For the windows version, subtitles were added through the gui, for the console version they were added with the console options and a track id. No transcoding was done to achieve this (is the subtitle sent in a PNG stream?).
When I tried to do the same through vlm (same file ofc) when creating a vod, this happened:
I couldn't select a seperate subtitle. Then again, I noticed that vlm auto picked up the correct subtitles if the naming is correct. Secondly, I could also add it as an input and a 'subt' decoder would try to be load. This resulted in the following error messages:
When adding:
Code: Select all
vod_rtsp debug: - ES subt (/test/trackID=2)
vod_rtsp error: cannot add this stream (unsupported codec: subt)
Can anyone help me out with this? I have no clue how I could ever include these text subtitles without transcoding. I know it's possible since it works in normal vlc, but I have no idea how I could make it work in vlm. If it's just something which hasn't been implemented yet, I don't mind trying to add it myself.
When playing the Matroska:
Code: Select all
stream_out_rtp error: cannot add this stream (unsupported codec:subt)
main error: cannot create packetizer output (subt)
Benny
vod creation script:
Code: Select all
new test vod
setup test input "C:\Documents and Settings\goemansb\Desktop\test.avi"
setup test input "C:\Documents and Settings\goemansb\Desktop\test.srt"
setup test enabled
** EDIT: changed client into 'vlc' since it was also used as server; some reformatting done also