Bug #1848

Some subtitles when loading from USB drive, hang ST on video playback (PS3)

Added by Rural Hunter almost 7 years ago. Updated almost 7 years ago.

Status:FixedStart date:01/09/2014
Priority:HighDue date:
Assignee:Andreas Smas% Done:

100%

Category:Video playback
Target version:4.4
Found in version:latest Platform:PS3

Description

I just got one sample. Everytime I tried to play it, PS3 hangs up. I player it fine before. So I got an old version on hand(compliled on 11/29) and found it still plays fine with that version. Another strange thing is the same file also plays fine on NTFS driver with latest version(though srt subtitles is not loaded successfully).
Log from the latest version(PS3 hangs):
00:01:27.362: navigator [INFO]:Opening file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.mkv
00:01:27.801: THREADS [DEBUG]:Created thread PC:mp (0x10300d5)
00:01:27.803: THREADS [DEBUG]:Created thread video decoder (0x10300d6)
00:01:27.804: THREADS [DEBUG]:Created thread video player (0x10300d7)
00:01:27.804: vp [DEBUG]:Waiting for event
00:01:27.804: vp [DEBUG]:Playing file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.mkv flags:0x1
00:01:27.806: media [DEBUG]:Settings initialized for URL file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.mkv
00:01:27.809: AVSYNC [DEBUG]:Set to 0 ms
00:01:27.810: SVSYNC [DEBUG]:Set to 0s
00:01:28.142: Video [DEBUG]:Starting playback of file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.mkv (matroska,webm)
00:01:28.142: Probe [DEBUG]: Stream #0: Video: h264 (High), yuv420p, 1280x534 [PAR 1:1 DAR 640:267]
00:01:28.143: Probe [DEBUG]: Stream #1: Audio: dca (DTS), 48000 Hz, 5.1, fltp, 1536 kb/s
00:01:28.148: Subscanner [DEBUG]:Starting subtitle scan for Man of Steel (imdbid:tt0770828) year:0 season:-1 episode:-1 duration:8583 opensubhash:5abf8bda1c0583a7
00:01:28.149: THREADS [DEBUG]:Created thread subscanner (0x10300d8)
00:01:28.149: Video [DEBUG]:Scanning for subs in file:///dev_usb000/Video/ for Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi
00:01:28.150: Video [DEBUG]: Stream #0: Video: h264 (High), yuv420p, 1280x534 [PAR 1:1 DAR 640:267]
00:01:28.175: VDEC [DEBUG]:Opening codec h264 level 42 using 54157309 bytes of RAM
00:01:28.178: VDEC [DEBUG]:Cell accelerated codec created using 54157309 bytes of RAM
00:01:28.179: Video [DEBUG]: Stream #0: Codec created
00:01:28.179: Video [DEBUG]: Stream #1: Audio: dca (DTS), 48000 Hz, 5.1, fltp, 1536 kb/s
00:01:28.179: Video [DEBUG]: Stream #1: Codec created
00:01:28.180: THREADS [DEBUG]:Created thread audio decoder (0x10300dc)
00:01:28.187: Video [DEBUG]:Selecting audio track libav:1
00:01:28.187: audio [DEBUG]:Codec changed to dca
00:01:28.190: AUDIO [DEBUG]:The state is 0
00:01:28.191: AUDIO [DEBUG]:PS3 audio port 0 opened (8 channels)
00:01:28.191: Audio [DEBUG]:Converting from [5.1 48000Hz fltp] to [7.1 48000Hz flt]
00:01:29.754: THREADS [DEBUG]:Thread 0x10300d8 (subscanner) exiting
00:01:29.756: Video [DEBUG]:Selecting subtitle track file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.chs.srt
00:01:29.756: Subtitles [DEBUG]:Trying to load file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.chs.srt
00:01:30.767: PANIC [EMERG]:Thread video player (0x10300d7) crashed (r=0x80010005)

Log from 11/29 version(Good):
00:00:16.442: navigator [INFO]:Opening file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.mkv
00:00:16.676: THREADS [DEBUG]:Created thread PC:mp (0x18200f1)
00:00:16.678: THREADS [DEBUG]:Created thread video decoder (0x18200f2)
00:00:16.679: THREADS [DEBUG]:Created thread video player (0x18200f3)
00:00:16.679: vp [DEBUG]:Waiting for event
00:00:16.679: vp [DEBUG]:Playing file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.mkv flags:0x1
00:00:16.681: media [DEBUG]:Settings initialized for URL file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.mkv
00:00:16.684: AVSYNC [DEBUG]:Set to 0 ms
00:00:16.686: SVSYNC [DEBUG]:Set to 0s
00:00:17.161: Video [DEBUG]:Starting playback of file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.mkv (matroska,webm)
00:00:17.162: Probe [DEBUG]: Stream #0: Video: h264 (High), yuv420p, 1280x534 [PAR 1:1 DAR 640:267]
00:00:17.162: Probe [DEBUG]: Stream #1: Audio: dca (DTS), 48000 Hz, 5.1, fltp, 1536 kb/s
00:00:17.169: Subscanner [DEBUG]:Starting subtitle scan for 瓒呬汉锛氶挗閾佷箣韬¯ (imdbid:tt0770828) year:0 season:-1 episode:-1 duration:8583 opensubhash:5abf8bda1c0583a7
00:00:17.171: THREADS [DEBUG]:Created thread subscanner (0x18200f4)
00:00:17.171: Video [DEBUG]:Scanning for subs in file:///dev_usb000/Video/ for Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi
00:00:17.172: Video [DEBUG]: Stream #0: Video: h264 (High), yuv420p, 1280x534 [PAR 1:1 DAR 640:267]
00:00:17.198: VDEC [DEBUG]:Opening codec h264 level 42 using 54157309 bytes of RAM
00:00:17.205: VDEC [DEBUG]:Cell accelerated codec created using 54157309 bytes of RAM
00:00:17.209: Video [DEBUG]: Stream #0: Codec created
00:00:17.211: Video [DEBUG]: Stream #1: Audio: dca (DTS), 48000 Hz, 5.1, fltp, 1536 kb/s
00:00:17.212: Video [DEBUG]: Stream #1: Codec created
00:00:17.213: THREADS [DEBUG]:Created thread audio decoder (0x18200f8)
00:00:17.294: Video [DEBUG]:Selecting audio track libav:1
00:00:17.298: audio [DEBUG]:Codec changed to dca
00:00:17.380: AUDIO [DEBUG]:The state is 1
00:00:17.394: AUDIO [DEBUG]:PS3 audio port 0 opened (8 channels)
00:00:17.396: Audio [DEBUG]:Converting from [5.1 48000Hz fltp] to [7.1 48000Hz flt]
00:00:18.677: THREADS [DEBUG]:Thread 0x18200f4 (subscanner) exiting
00:00:18.678: Video [DEBUG]:Selecting subtitle track file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.chs.srt
00:00:18.678: Subtitles [DEBUG]:Trying to load file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.chs.srt
00:00:23.744: THREADS [DEBUG]:Waiting for thread 0x18200f2
00:00:23.745: Video [DEBUG]:Stopped playback of file:///dev_usb000/Video/Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.mkv
00:00:23.758: THREADS [DEBUG]:Thread 0x18200f2 (video decoder) exiting
00:00:23.758: THREADS [DEBUG]:Thread 0x18200f2 joined
00:00:23.796: THREADS [DEBUG]:Waiting for thread 0x18200f8
00:00:23.805: THREADS [DEBUG]:Thread 0x18200f8 (audio decoder) exiting
00:00:23.805: THREADS [DEBUG]:Thread 0x18200f8 joined
00:00:23.806: VDEC [DEBUG]:Freeing picture list
00:00:23.807: VDEC [DEBUG]:Free picture 0x42692838
00:00:23.807: VDEC [DEBUG]:Free RSX mem 498de90 +1025280
00:00:23.808: VDEC [DEBUG]:Free picture 0x40b6be90
00:00:23.808: VDEC [DEBUG]:Free RSX mem 41bb690 +1025280
00:00:23.809: VDEC [DEBUG]:Free picture 0x40fc9a00
00:00:23.809: VDEC [DEBUG]:Free RSX mem 4d8b150 +1025280
00:00:23.811: VDEC [DEBUG]:Cell decoder closed

Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.chs.srt (103 KB) Rural Hunter, 01/11/2014 12:32 PM

Associated revisions

Revision 48016228
Added by Andreas Smas almost 7 years ago

Fix broken buffer handling for external subtitles (Recent regression)

Fixes #1848

Change included in version 4.3.701

History

#1 Updated by Leonid Protasov almost 7 years ago

Please recheck on the latest 4.3.698...

#2 Updated by Rural Hunter almost 7 years ago

It still hangs. I will check which change actually brings this when I get time.

#3 Updated by Rural Hunter almost 7 years ago

This bug is introduced by this change: https://showtimemediacenter.com/projects/showtime/repository/revisions/086958de63f82405a780b1f0c1ab772c4525c8bb

The version before this change plays fine and starting from this version, the playback hangs PS3

#4 Updated by Andreas Smas almost 7 years ago

Can you attach the SRT file? Man.of.Steel.2013.720p.BluRay.x264.DTS-WiKi.chs.srt

#5 Updated by Leonid Protasov almost 7 years ago

  • Priority changed from Normal to High
  • Target version set to 4.4

#6 Updated by Leonid Protasov almost 7 years ago

  • Subject changed from Some video file playback hangs PS3 to Some subtitles from USB hang video playback (PS3)

#7 Updated by Leonid Protasov almost 7 years ago

  • Subject changed from Some subtitles from USB hang video playback (PS3) to Some subtitles when loading from USB drive, hang ST on video playback (PS3)

#8 Updated by Rural Hunter almost 7 years ago

the srt file attached.

#9 Updated by Andreas Smas almost 7 years ago

  • Status changed from New to Accepted

Seems to be a recently introduced buf in the UTF16 -> UTF8 converter

#10 Updated by Andreas Smas almost 7 years ago

  • Status changed from Accepted to Fixed
  • % Done changed from 0 to 100

Applied in changeset git|commit:48016228b00b929d534db248271905bf69977279.

Also available in: Atom PDF