Page 1 of 1

VLC, Streaming and Subtitles using MKV's...

Posted: 09 Dec 2011 13:30
by Sylvermoon
Ok...

So my friend and I stream movies to each other using vlc. Regular movies are fine using mkv files...but the second we stream anime or anything subtitled, it gets wonky.

Sometimes we have to transcode, sometimes we don't, if we're using .srt files, it never glitches out and we don't have to use any command lines either.

The problem we are getting is when we use mkv files...we always have to fiddle with the command lines...and then, if it DOES play, it then gets glitchy, the video does. The audio plays fine, but the video has all sorts of delays and tearing.

Can anyone help? Any easy way to play subb'd mkv files over the internet?

We're both running Win7 Pro on quad core machines...I have 4g of ddr3 ram, he has 8.

Thanks much! Any help will be greatly appreciated!

Re: VLC, Streaming and Subtitles using MKV's...

Posted: 10 Dec 2011 03:02
by Sylvermoon
Bumped...someone, please respond!!! Having to extract srt files from mkv's are a painnn!!!! >.>

Re: VLC, Streaming and Subtitles using MKV's...

Posted: 10 Dec 2011 14:23
by TypX
You'll have to be more specific about what you exactly do to stream it.

Re: VLC, Streaming and Subtitles using MKV's...

Posted: 10 Dec 2011 15:29
by Sylvermoon
File, Streaming, Add movie, check use a subtitles file if it's an srt, if not, we leave it unchecked
Hit the STREAM button, then NExt, Add HTTP as Destinations, type in the port number we've opened on our routers, keep Activate Transcoding on (sometimes we don't need this and we don't know exactly why or why not), hit Next
this is where it gets weird with mkv files with subs...sometimes he adds some command line parameters (track info) as to what track number to use (I've never done this as I've only streamed english movies so I can't tell u what it is he actually types in)...and then we hit Stream.

That's it mostly...

Questions:
How come the playlist won't work for streaming? We try and place episodes in the playlist and they won't play one after the other
How come we have to keep switching between port numbers (we've made two each) between videos we play one after the other?

Hope this answers what you need to know.

Thanks again in advance!

Re: VLC, Streaming and Subtitles using MKV's...

Posted: 10 Dec 2011 17:54
by TypX
File, Streaming, Add movie, check use a subtitles file if it's an srt, if not, we leave it unchecked
Hit the STREAM button, then NExt, Add HTTP as Destinations, type in the port number we've opened on our routers, keep Activate Transcoding on (sometimes we don't need this and we don't know exactly why or why not), hit Next
this is where it gets weird with mkv files with subs...sometimes he adds some command line parameters (track info) as to what track number to use (I've never done this as I've only streamed english movies so I can't tell u what it is he actually types in)...and then we hit Stream.

That's it mostly...
Could you please paste the sout=#transcode{}:http{} line?
On my version the default mux seems to be flv. Most video can be streamed without any transcoding with mux=ts (instead of mux=ffmpeg{mux=flv}). Transcoding needs a lot of CPU power for live streaming.

Now the problem is that, afaik, most subtitles in anime are in substation format and I don't know a mux able to stream it correctly. I tried to transcode it but it doesn't seem to work either.
So I somehow fear your only option right now is to hardburn them with :sout=#transcode{venc=x264,soverlay}:http{mux=ts,dst=0.0.0.0:8080/file.ts}

Or to simply setup an http server and let the other one play it in vlc with http://<yourserverip>:<port>/file.mkv
Questions:
How come the playlist won't work for streaming? We try and place episodes in the playlist and they won't play one after the other
See :
http://wiki.videolan.org/Common_Problem ... working.29
How come we have to keep switching between port numbers (we've made two each) between videos we play one after the other?
Works for me.

Re: VLC, Streaming and Subtitles using MKV's...

Posted: 12 Dec 2011 05:39
by Sylvermoon
Here's the code...

{sout=#transcode{soverlay, vb=0, vcodec=h264, venc=x264{bpyramid=none, weightp=0}, acodec=mp4a, ab=96, channels=2, threads=8, sub-track=0} duplicate{dst=standard{access=http, mux=asf, dst=:11666}}

Re: VLC, Streaming and Subtitles using MKV's...

Posted: 12 Dec 2011 16:36
by VLC_help
ASF muxer in VLC isn't the best possible one. You might get better results with TS muxer.