DVBS codec subtitles

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
Gujs
Blank Cone
Blank Cone
Posts: 74
Joined: 22 Oct 2004 19:28

DVBS codec subtitles

Postby Gujs » 28 Aug 2006 18:01

Hello,

when i am streaming subtitles with dvbs codec, the subtitles doesn't position right. How can i get them positioned in the bottom of the movie and centered.

Thanks

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 28 Aug 2006 18:53

The easiest way is to reset preferences as this is the default.

Gujs
Blank Cone
Blank Cone
Posts: 74
Joined: 22 Oct 2004 19:28

Postby Gujs » 28 Aug 2006 19:19

I tried that, but i always get them on the top left corner on client side VLC. I know that i can change position with options Encoding X coordinate and Encoding Y coordinate. But then i can't get them always in the botom center of the screen. I use VLC 0.8.5.

And can you tell me what format of subtitles works with dvbs codec. For now i foud just sub/idx format to work.

Thanks

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 28 Aug 2006 21:41

DVB subs is a format and the only supported source during transcode within VLC is DVD subs. VOBSub (.idx .sub) is supported by VLC and to the best of my knowledge is the only supported format in which VLC supports positional information. This is not DVB subs. In VOBSub the positional information can not be changed and is the same as the original. This must be changed at the source or with an editor.

Correction: VLC also supports positional information for Advanced Sub Station Alpha (.ssa .ass).
Last edited by DJ on 29 Aug 2006 19:31, edited 2 times in total.

Gujs
Blank Cone
Blank Cone
Posts: 74
Joined: 22 Oct 2004 19:28

Postby Gujs » 28 Aug 2006 22:00

If I play the movie with this subtitles, they appear in the bottom centered. But if i stream them with dvbs codec i get them in the upper left corner. Maybe dvbs codec doesn't read position information corectly.

Thanks

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 28 Aug 2006 22:11

I suppose this is possible. Have you tried adjusting the client's preferences for DVB subs?

You could also try doing a local transcode and playback to see if there are issues. Remember that DVB subs are only going to be applicable in the MPEG TS container.

Gujs
Blank Cone
Blank Cone
Posts: 74
Joined: 22 Oct 2004 19:28

Postby Gujs » 28 Aug 2006 22:53

If i set subpicture position in dvbsub preferences it does nothing for position of subtitles which are in mpeg ts stream. If I change coordinates it works, but then they are not perfectly centered because of different size of lines in subtitles.

Cooordinate works for both, client and server,

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 29 Aug 2006 00:27

Another method that can work is to embed the sub into the video during transcode to stream. If the source is not a MPEG PS or TS file the FPS=<framerate> option must be used along with "Subtitles overlay". This method does NOT stream the sub, but instead embeds the sub into the video. Subs must also be one language only.

This method will also make a MP4 compatible transcode for QT that will not normally do subs. But keep in mind that MKV used as a source currently does not work for compatibility but will play in VLC.

Gujs
Blank Cone
Blank Cone
Posts: 74
Joined: 22 Oct 2004 19:28

Postby Gujs » 29 Aug 2006 13:08

I know that i can get subtitles on the video, but then if i transcode movie, and change his default size, subtitles get realy ugly. I don't have a problem like that with dvbs subtitles.

I found compromise for now, that i position subtitles with otions sout-dvbsub-x=160 and sout-dvbsub-y=450. It isn't perfect, but they are positioned on the bottom of the movie.

It would be fine if there would be an optio sout-dvbsub-position, just like dvbsub-position.

dvbsub-position shoud position subtitles on viewing the movie, but it doesn't work at all. I can set it to whatever i wan't, but it doesn't change dvbs position.

DJ
Cone Master
Cone Master
Posts: 8206
Joined: 01 Jan 2006 04:30
Location: Koloa, Hawaii USA

Postby DJ » 29 Aug 2006 19:38

Perhaps one of the Developers will see this and shed some light on the issue.

I have tried to offer all that I know on this topic and have not run across any problematic subs to try moving them.

Gujs
Blank Cone
Blank Cone
Posts: 74
Joined: 22 Oct 2004 19:28

Postby Gujs » 29 Aug 2006 19:46

Thaks for your help and i hope that there will be some solution in the future.

dmcgahon
New Cone
New Cone
Posts: 1
Joined: 28 Sep 2006 15:58

DVB Subtitle Positioning

Postby dmcgahon » 28 Sep 2006 16:14

I can confirm that DVB subtitle positioning is broken with 0.8.6 SVN.

Gujs
Blank Cone
Blank Cone
Posts: 74
Joined: 22 Oct 2004 19:28

Postby Gujs » 09 Oct 2006 22:45

i now got some dvd to try and stream subtitles. And original subtitles from dvd does position centered.

I was always try to stream subtitles along with xvid file which was transcoded to mpeg2 ts stream with size 720x576. This way didn't work. Does somebody know how could i solve problem just for that way of streaming subtitles in dvbs codec.

Gujs
Blank Cone
Blank Cone
Posts: 74
Joined: 22 Oct 2004 19:28

Postby Gujs » 16 Apr 2007 19:06

Now I tested this and it seems that it was fixed with this commit in trunk
[url]http://trac.videolan.org/vlc/changeset/19150[/url

If I want to set just vertical or horizontal position separately of subtitles it doesn't work. Vlc positions it by default:

Code: Select all

new film vod mux mp2t setup film output #transcode{venc=ffmpeg{keyint=25,bframes=3},vcodec=mp2v,vb=8000,fps=25,acodec=mpga,ab=256,channels=2,width=720,canvas-height=576,scodec=dvbs} setup film input "/home/gregor/Share/Home/D/Filmi/Final Destination III/Final.Destination.3.DVDRip.XviD-DiAMOND.avi" setup film option start-time=300 setup film option sout-dvbsub-y=450 setup film enabled
This option desn't position subs where I specified, but if I add

Code: Select all

setup film option sout-dvbsub-x=100
option, vlc positions subtitles, But then I lose centering of subtitles in the middle of the screen.

Is it necessary to specify both options or I missed something else?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 19 guests