How to include subtitle stream(s) when recording?
Posted: 11 Jul 2014 15:23
I am trying to get VLC to record from my DTMB (Chinese modified version of DVB-T) tuner stick. VLC can already play the stream on the GUI.
This is how I record the stream:
It does record the video and audio correctly, however the subtitles are not recorded!
How can I get the subtitle stream(s) recorded? I am not looking for "soverlay" which renders the subtitles on the video, instead I am looking for a way to preserve the original subtitle streams.
The subtitle codec is "dvbs" (standard DVB subtitles). When playing on the GUI it is displayed correctly.
There are 4 programs (what people normally call "channels") on this frequency, so dumping all the original streams is sub-optimal.
---
Edit:
If I replace the output module "file{...}" with "record", I get a TS file which contains the subtitle. However when opened with VLC and I select the subtitle, it doesn't display the subtitles.
The log says:
--
Edit 2:
Strangely, the "record" module occasionally insert some "encoding error" in the video. This is probably a separate problem.
This is how I record the stream:
Code: Select all
"C:\Program Files\VideoLAN\VLC\vlc.exe" dvb-t://frequency=626000000:bandwidth=0 :program=1 --sub-language=Chinese --sout="#file{m
ux=mkv,dst=Recording/test7.mkv}"
How can I get the subtitle stream(s) recorded? I am not looking for "soverlay" which renders the subtitles on the video, instead I am looking for a way to preserve the original subtitle streams.
The subtitle codec is "dvbs" (standard DVB subtitles). When playing on the GUI it is displayed correctly.
There are 4 programs (what people normally call "channels") on this frequency, so dumping all the original streams is sub-optimal.
---
Edit:
If I replace the output module "file{...}" with "record", I get a TS file which contains the subtitle. However when opened with VLC and I select the subtitle, it doesn't display the subtitles.
The log says:
Code: Select all
avcodec warning: refusing to decode non validated subtitle codec
main debug: using decoder module "dvbsub"
Edit 2:
Strangely, the "record" module occasionally insert some "encoding error" in the video. This is probably a separate problem.