Ticket #1242 (closed defect: wontfix)

Opened 10 months ago

Last modified 6 days ago

Subtitles positive time shift: subpicture heap is full

Reported by: chriddy Assigned to: hartman
Priority: normal Milestone: 0.9.0-test1
Component: Subtitles Version: 0.8.6 (bugfix)
Severity: normal Keywords:
Cc: Platform(s): all
Difficulty: unknown Work status: Not started

Description

VLC media player 0.8.6c on windows and linux

Using a subtitle file in .srt format and then setting a positive time shift results in the errors:

main error: subpicture heap is full
subsdec warning: can't get spu buffer

The subtitles are then not displayed. Negative time shift values work correctly. A large number of the above errors is thrown right when the video is started. Later, an error appears every few seconds (presumably when a subtitle is supposed to be displayed).

See Videolan forum thread
http://forum.videolan.org/viewtopic.php?f=2&t=38895&p=120648#p120648

Earlier reports include
http://forum.videolan.org/viewtopic.php?f=12&t=38656&p=119489&hilit=subpicture+heap#p119489
http://forum.videolan.org/viewtopic.php?f=12&t=36147&p=111138&hilit=subpicture+heap#p111138
http://forum.videolan.org/viewtopic.php?f=12&t=15354&start=0&st=0&sk=t&sd=a&hilit=subpicture+heap (MacOS X)

Change History

09/30/07 20:08:57 changed by funman

  • version set to 0.8.6.
  • milestone set to 0.9.0-test1.

01/17/08 17:01:03 changed by funman

did you try 0.9.0 ( http://nightlies.videolan.org ) ?

01/18/08 17:37:41 changed by chriddy

I have just tried vlc-0.9.0-svn-20080117-1004-win32. The interface has changed from 0.8.x and there is apparently no option to set a delay for the subtitles. One could of course argue that this fixes the problem :-)

01/19/08 13:19:06 changed by funman

if i remember well there must be a shortcut to do that, it shouldn't have changed from 0.8.x to 0.9.0

01/21/08 18:58:18 changed by chriddy

There are indeed shortcuts to raise/lower the subtitle delay. Funny thing is, I can't reproduce the error in 0.8.6.c on Win32 when I lower the delay via the hotkey (pressed hotkey many times until subtitles far ahead of audio, so I suppose delay is negative although I don't know the precise value). The error appears only when setting a negative delay via File->Open File->Advanced Settings before starting playback.

01/21/08 21:36:02 changed by chriddy

Whoops, seems I slept there. Of course negative values work okay, the bug is about the positive delays. Will try again soon.

03/11/08 09:22:54 changed by jb

update on this bug, please ?

03/11/08 19:31:34 changed by chriddy

Ok, here's what I've got:

1) vlc 0.8.6c 1a) set delay (in 1/10 secs) in Open File -> Advanced Settings, then start playback delay>=3, see errors above. delay 0,1,2, and negative values work ok. 1b) set delay = 0, then start playback and adjust delay up (ctrl-h) or down (ctrl-j): both ways work ok.

03/11/08 19:53:00 changed by funman

please base your tests on 0.9.0 (nightly build). no developer is using 0.8.6 anymore

03/12/08 19:22:12 changed by chriddy

Well, this was a bug about 0.8.6 from the beginning. If bugs are not fixed any more for this version, shouldn't we maybe just close the ticket?

Regarding 0.9.0: vlc-0.9.0-git-20080312-0902-win32 hangs upon starting playback when an .srt subtitle file is selected. Tried with several movies that work okay w/o subtitles.

03/12/08 21:14:12 changed by funman

if the bug still exists in 0.9.0 then it should not be closed ;) please try 0.9.0 from time to time until you can reproduce the bug, deleting your preferences might help

05/10/08 17:11:07 changed by funman

  • status changed from new to closed.
  • resolution set to wontfix.

works fine on 0.9.0