Losing subtitles with ogg file

*nix specific usage questions
spd106
New Cone
New Cone
Posts: 2
Joined: 11 Oct 2007 22:08

Losing subtitles with ogg file

Postby spd106 » 11 Oct 2007 22:21

I'm using Ubuntu 7.04 with VLC version 0.8.6 from the universe repository.

When I view the ogg video from this page http://screencasts.ubuntu.com/Installin ... _Dual-Boot
with the associated Subrip .srt file -> http://screencasts.ubuntu.com/videos/20 ... l_boot.srt
it shows the first 9 subtitles then misses the next 11 and picks up at subtitle 21.

The mov and mp3 versions of the video work fine, only the ogg file seems to be affected. I have tried these files in Totem and Mplayer and they don't show this issue.

Can anyone help me track down the problem?

Thanks

P.S. This issue was first raised by a member of the Ubuntu screencasts team.
https://lists.ubuntu.com/archives/ubunt ... 00093.html

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Losing subtitles with ogg file

Postby funman » 12 Oct 2007 03:59

I confirm that using last development version.

Applying this diff fix the problem.

It seems there is is a problem when a subtitle starts immediately after another one has stopped.

Code: Select all

--- 20061204_installing_dual_boot.srt 2007-10-12 03:57:49.000000000 +0200 +++ 20061204_installing_dual_boot.srt.new 2007-10-12 03:55:26.000000000 +0200 @@ -35,7 +35,7 @@ and we can see that if we go to My Computer, there is my Ubuntu CD. 10 -00:00:38,742 --> 00:00:42,728 +00:00:39,000 --> 00:00:42,728 While we are here, if I right-click and select autoplay 11 @@ -43,7 +43,7 @@ or if I insert the CD whilst Windows is running, 12 -00:00:45,555 --> 00:00:51,539 +00:00:45,556 --> 00:00:51,539 this application starts up, showing some Windows based open source applications 13

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: Losing subtitles with ogg file

Postby funman » 12 Oct 2007 04:03

the issue showing up only with ogg/theora might be a race condition (the theora video being 1024x768, that might require some more time to decode).

spd106
New Cone
New Cone
Posts: 2
Joined: 11 Oct 2007 22:08

Re: Losing subtitles with ogg file

Postby spd106 » 12 Oct 2007 12:44

Thanks for the replies,

The first thing I thought to do was go back over the srt and make sure there were no overlaps, but it didn't seem to have any effect. Plus there are earlier subtitles that have an overlap and don't trigger the disappearance.

Code: Select all

3 00:00:03,564 --> 00:00:07,256 In this screencast we are going to look at dual boot installing Ubuntu. 4 00:00:07,256 --> 00:00:10,590 That means running Windows and Ubuntu side by side on the same computer. 5 00:00:10,590 --> 00:00:16,084 We have a computer here that has got Windows already installed and we want to install Ubuntu,
As the video was rather old and the encoding scripts we use have changed since it was made, we ran it through the new script and that seems to have fixed the problem.
http://screencasts.ubuntu.com/~popey/20 ... 40x480.ogg

There is still the issue of the very first subtitle not being shown though, the current workaround seems to be to insert a short blank subtitle at the beginning (say 100 ms).

Steve


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests