disabling subtitles using VLM

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
barjunk
Blank Cone
Blank Cone
Posts: 10
Joined: 24 Apr 2017 06:24

disabling subtitles using VLM

Postby barjunk » 12 Jun 2017 05:24

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: disabling subtitles using VLM

Postby Jean-Baptiste Kempf » 12 Jun 2017 14:31

Use the no-spu option
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

barjunk
Blank Cone
Blank Cone
Posts: 10
Joined: 24 Apr 2017 06:24

Re: disabling subtitles using VLM

Postby barjunk » 13 Jun 2017 04:35

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.

barjunk
Blank Cone
Blank Cone
Posts: 10
Joined: 24 Apr 2017 06:24

Re: disabling subtitles using VLM

Postby barjunk » 13 Jun 2017 04:55

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: disabling subtitles using VLM

Postby Jean-Baptiste Kempf » 14 Jun 2017 13:12

--no-spu from the command line?

Yes, I'd like a SCTE-27 sample.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

barjunk
Blank Cone
Blank Cone
Posts: 10
Joined: 24 Apr 2017 06:24

Re: disabling subtitles using VLM

Postby barjunk » 14 Jun 2017 15:59

Same result. I should have shared that earlier.

barjunk
Blank Cone
Blank Cone
Posts: 10
Joined: 24 Apr 2017 06:24

Re: disabling subtitles using VLM

Postby barjunk » 15 Jun 2017 07:29

Could you please suggest a good way to produce a workable sample?

barjunk
Blank Cone
Blank Cone
Posts: 10
Joined: 24 Apr 2017 06:24

Re: disabling subtitles using VLM

Postby barjunk » 21 Jun 2017 03:46

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.

barjunk
Blank Cone
Blank Cone
Posts: 10
Joined: 24 Apr 2017 06:24

Re: disabling subtitles using VLM

Postby barjunk » 06 Jul 2017 17:04

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.

barjunk
Blank Cone
Blank Cone
Posts: 10
Joined: 24 Apr 2017 06:24

Re: disabling subtitles using VLM

Postby barjunk » 28 Aug 2017 04:51

Update


setup <channel name> option no-spu

Does work to disable subtitles.

The errors still occur, but do not seem to impact the stream.


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 6 guests