Page 1 of 1
disabling subtitles using VLM
Posted: 12 Jun 2017 05:24
by barjunk
Found this page:
https://wiki.videolan.org/VSG:Subtitles:Disable/
There isn't good information to implement this in VLM, maybe it isn't currently possible.
Would like to disable subtitles because vlc currently can't parse embeded vobsub within file container and causes playback to pause.
new channel1 broadcast enabled
setup channel1 option sub-track-id=0
setup channel1 output #standard{access=http,mux=ts,dst=192.168.6.6,port=8080}
setup channel1 input file:////media/externalUSB/Movies/Red.m4v
control channel1 play
Thanks for any advice.
Re: disabling subtitles using VLM
Posted: 12 Jun 2017 14:31
by Jean-Baptiste Kempf
Use the no-spu option
Re: disabling subtitles using VLM
Posted: 13 Jun 2017 04:35
by barjunk
Did try that from the command line, but didn't seem to work.
I'll add it as an option in vlm config and report back.
My current solution was to rename the library to something else, and then it didn't try to load it.
Re: disabling subtitles using VLM
Posted: 13 Jun 2017 04:55
by barjunk
Even with the no-spu option, I still get the messages below.
If I rename the library file from /usr/lib/i386-linux-gnu/vlc/plugins/codec/libspudec_plugin.so to old_libspudec_plugin.so, I don't get them at all (which is what I would expect if the no-spu option was chosen).
It seems my expectations are wrong.
I noticed someone was trying to test a SPCTE-27 decoder but no one ever provided samples.
Let me know if one is still needed.
[b6e02550] core mux debug: adding a new input
[b6e02550] mux_ts mux debug: adding input codec=spu pid=70
[b6e02550] mux_ts mux debug: - lang=eng
[abb7d270] [Media: channel1] spudec decoder debug: invalid starting packet (size < 4 or pts <=0)
[abb7d270] [Media: channel1] spudec decoder debug: spu size: 0, i_pts: 50916612 i_buffer: 2
[abb7d270] [Media: channel1] spudec decoder debug: invalid starting packet (size < 4 or pts <=0)
[abb7d270] [Media: channel1] spudec decoder debug: spu size: 0, i_pts: 96089712 i_buffer: 2
[abb7d270] [Media: channel1] spudec decoder debug: invalid starting packet (size < 4 or pts <=0)
[abb7d270] [Media: channel1] spudec decoder debug: spu size: 0, i_pts: 115179889 i_buffer: 2
[b6e02550] mux_ts mux debug: adjusting rate at -5422077/216878 (18/409)
[abb7d270] [Media: channel1] spudec decoder debug: invalid starting packet (size < 4 or pts <=0)
[abb7d270] [Media: channel1] spudec decoder debug: spu size: 0, i_pts: 118945356 i_buffer: 2
[abb7d270] [Media: channel1] spudec decoder debug: invalid starting packet (size < 4 or pts <=0)
[abb7d270] [Media: channel1] spudec decoder debug: spu size: 0, i_pts: 123287378 i_buffer: 2
[abb7d270] [Media: channel1] spudec decoder debug: invalid starting packet (size < 4 or pts <=0)
[abb7d270] [Media: channel1] spudec decoder debug: spu size: 0, i_pts: 128551001 i_buffer: 2
Re: disabling subtitles using VLM
Posted: 14 Jun 2017 13:12
by Jean-Baptiste Kempf
--no-spu from the command line?
Yes, I'd like a SCTE-27 sample.
Re: disabling subtitles using VLM
Posted: 14 Jun 2017 15:59
by barjunk
Same result. I should have shared that earlier.
Re: disabling subtitles using VLM
Posted: 15 Jun 2017 07:29
by barjunk
Could you please suggest a good way to produce a workable sample?
Re: disabling subtitles using VLM
Posted: 21 Jun 2017 03:46
by barjunk
That sample that I have is 1.3G...that seems a little big.
I tried to use dd to create a smaller version, but then learned the index, etc is at the end of the video.
Any suggestion is welcome to try and produce a reduced file size.
Re: disabling subtitles using VLM
Posted: 06 Jul 2017 17:04
by barjunk
Here is a sample of the command line I was using to create a needed sample.
ffmpeg -ss 00:00:00 -i Python_09.m4v -t 00:01:00 -c:v copy -c:a copy -c:s copy SCTE-27-sample.m4v
However, when I look at the resulting video, the streams don't seem to be properly mapped.
Any suggestions on how I might create a proper copy so you can have a SCTE-27 sample, would be greatly appreciated.
Re: disabling subtitles using VLM
Posted: 28 Aug 2017 04:51
by barjunk
Update
setup <channel name> option no-spu
Does work to disable subtitles.
The errors still occur, but do not seem to impact the stream.