Recognizing undefined subtitles

For help and support with PS3 Media Server in general
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply.

Recognizing undefined subtitles

Postby Chaoz » Mon Feb 02, 2009 6:30 am

The PS3 can't recognize .mkv files with internal subtitles that are undefined. Usually on the transcoded folder, it'll list all the available subtitles. Is there a way to make unlabeled subtitles show up?
Chaoz
 
Posts: 45
Joined: Mon Jan 19, 2009 10:26 pm

Re: Recognizing undefined subtitles

Postby ExSport » Mon Feb 02, 2009 1:13 pm

I already posted it on code.google.com page month ago?
I am not sure but when I tested nonpublic v1.04, I saw in #Transcode# folder UND language tag displayed :mrgreen:
ExSport
 
Posts: 2168
Joined: Mon Jan 19, 2009 5:40 pm

Re: Recognizing undefined subtitles

Postby Chaoz » Mon Feb 09, 2009 6:46 pm

Just tried it on 1.04, still doesn't work. I don't see any 'UND' file.
Chaoz
 
Posts: 45
Joined: Mon Jan 19, 2009 10:26 pm

Re: Recognizing undefined subtitles

Postby Chaoz » Fri Feb 13, 2009 11:15 pm

bump
Chaoz
 
Posts: 45
Joined: Mon Jan 19, 2009 10:26 pm

Re: Recognizing undefined subtitles

Postby shagrath » Sat Feb 14, 2009 12:19 am

"und" should shows up... if not, that means the ffmpeg parsing output does not recognize well the subtitles track
check the log something about "Input #0, matroska, from <yourvideo>", and the following lines
shagrath
Project Lead
 
Posts: 2668
Joined: Wed Jan 14, 2009 1:39 pm

Re: Recognizing undefined subtitles

Postby ExSport » Sat Feb 14, 2009 1:23 am

ExSport wrote:I already posted it on code.google.com page month ago?
I am not sure but when I tested nonpublic v1.04, I saw in #Transcode# folder UND language tag displayed :mrgreen:

Already remembered where I saw it.
It was AVI so there are all audio tracks as UND, so don't know if und is displayed also on MKV files...
ExSport
 
Posts: 2168
Joined: Mon Jan 19, 2009 5:40 pm

Re: Recognizing undefined subtitles

Postby Chaoz » Sat Feb 14, 2009 2:14 am

shagrath wrote:"und" should shows up... if not, that means the ffmpeg parsing output does not recognize well the subtitles track
check the log something about "Input #0, matroska, from <yourvideo>", and the following lines


Should I post more? I couldn't post the whole thing as it was too large.

[Thread-43] DEBUG 17:11:26.205 Input #0, matroska, from 'C:\Users\Chaoz\Desktop\[yibis]_One_Piece_388_[720p][23ADFA12].mkv':
[Thread-43] DEBUG 17:11:26.205 Duration: 00:23:40.03, start: 0.000000, bitrate: N/A
[Thread-43] DEBUG 17:11:26.205 Stream #0.0: Video: h264, yuv420p, 1280x720, 23.98 tb(r)
[Thread-43] DEBUG 17:11:26.205 Stream #0.1: Audio: aac, 48000 Hz, stereo, s16
[Thread-43] DEBUG 17:11:26.205 Stream #0.2: Subtitle: 0x0000
[Thread-43] DEBUG 17:11:26.205 Stream #0.3: Attachment: 0x0000
[Thread-43] DEBUG 17:11:26.205 Stream #0.4: Attachment: 0x0000
[Thread-43] DEBUG 17:11:26.205 Stream #0.5: Attachment: 0x0000
[Thread-43] DEBUG 17:11:26.205 Stream #0.6: Attachment: 0x0000
[Thread-43] DEBUG 17:11:26.205 Output #0, image2, to 'pipe:':
[Thread-43] DEBUG 17:11:26.205 Stream #0.0: Video: mjpeg, yuvj420p, 320x180 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 23.98 tb(c)
[Thread-43] DEBUG 17:11:26.205 Stream mapping:
[Thread-43] DEBUG 17:11:26.205 Stream #0.0 -> #0.0
[Thread-43] DEBUG 17:11:26.205 Press [q] to stop encoding
[Thread-43] DEBUG 17:11:26.206 video:12kB audio:0kB global headers:0kB muxing overhead -100.175747%
[pool-5-thread-1] DEBUG 17:11:26.209 EOF
[pool-5-thread-1] DEBUG 17:11:26.210 Ready to Stop: true
[pool-5-thread-1] DEBUG 17:11:26.456 Media info: mimeType: video/mp4 / container: matroska / bitrate: 0 / size: 270271011 / codecV: h264 / duration: 00:23:40.030 / width: 1280 / height: 720 / frameRate: 23.98 / codecA: aac / sampleFrequency: 48000 / nrAudioChannels: 2 / thumb size : 11676
[Thread-41] DEBUG 17:11:26.459 End of analysis
Chaoz
 
Posts: 45
Joined: Mon Jan 19, 2009 10:26 pm

Re: Recognizing undefined subtitles

Postby shagrath » Sat Feb 14, 2009 3:26 pm

no it's ok
I will fix that for next version
shagrath
Project Lead
 
Posts: 2668
Joined: Wed Jan 14, 2009 1:39 pm

Re: Recognizing undefined subtitles

Postby jozua » Sat May 16, 2009 4:30 pm

I'm getting the same results with PS3Mediaserver 1.10.5, compiled my own ffmpeg on debian 5.0.

Part of the output from ffmpeg -i on a file that shows correctly in the media server:
Stream #0.0(jpn): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1(jpn): Audio: vorbis, 48000 Hz, stereo, s16
Stream #0.2(eng): Subtitle: 0x0000

And part of the output from a different file that does not show it has a subtitle track:
Stream #0.0(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 23.98 tbr, 1k tbn, 47.95 tbc
Stream #0.1: Audio: vorbis, 48000 Hz, stereo, s16
Stream #0.2: Subtitle: 0x0000

Since it doesn't show it has a subtitle track i can't play it with subtitles, even trough the transcoding folder. However it shows up with undetermined audio track. Before i had this working on a different machine after setting up "und" as audio and subtitle preference/priority. Maybe i'm missing something with the compilation of ffmpeg?
If anyone who reads this has any ideas what to try i'd like to hear it, i've been trying to solve this for a couple days now and its beginning to give me headaches :)
Maybe i should try it out on Ubuntu again, seemed to work there.

[edit] i've added the debug.log from my machine
[edit2] ffmpeg info:
FFmpeg version SVN-r18855, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --prefix=/usr/local --enable-gpl --enable-nonfree --enable-shared --enable-postproc --enable-avfilter --enable-avfilter-lavf --enable-pthreads --enable-x11grab --enable-bzlib --enable-libamr-nb --enable-libamr-wb --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libfaadbin --enable-libgsm --enable-libmp3lame --enable-libnut --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib
libavutil 50. 3. 0 / 50. 3. 0
libavcodec 52.29. 0 / 52.29. 0
libavformat 52.32. 0 / 52.32. 0
libavdevice 52. 2. 0 / 52. 2. 0
libavfilter 0. 5. 0 / 0. 5. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on May 16 2009 16:58:51, gcc: 4.3.2
[edit3]
ok, i've just tried it out on ubuntu 9.04 and there ffmpeg shows me the same thing for the files, but now ps3mediaserver sees an undetermined subtitle on the faulty file, seems ffmpeg is not at fault here.
Attachments
debug.tgz
(66.8 KiB) Downloaded 56 times
jozua
 
Posts: 11
Joined: Sat May 16, 2009 4:23 pm

Re: Recognizing undefined subtitles

Postby jozua » Sun May 17, 2009 12:25 pm

Well, i've seem to have found a work-around for my issue.

This morning i installed Ubuntu 9.0.4 on my box, same as the laptop i tested it on and where it worked.
However, the problem persisted.

After that i compared the packages and source lists, but on both systems they were alike, output from the apps used weren't much different either (mplayer, mencoder, pms).
I took a closer look at the PMS config and started copying options from the laptop to my box (laptop was using original config). None of the options i thought were the cause solved the problem (yes, i restarted PMS before every try).
After that a systematically went through every configuration option and came to the thumbnail generation. On my laptop it was set to 1s, on my box at 180s. I had set this up because thumbnails at 1s into the video usually just fetches a black screen or with a series constantly the same thumbnail.
After i set the thumbnail generation on my box to 1s it suddenly worked again like expected.

Maybe the cause of this problem is with a timeout somewhere in one of the software packages (mencoder/mplayer/pms)?
In any case, the subtitle tracks now get guessed correctly again and show up as english or undetermined in the transcode folder.
On some files it still doesn't produce a thumbnail (shows up as the green play button icon), but it still identifies the subtitles. however these files had subtitles that had a correct language code (english) and weren't undetermined. It might be a problem that only exists with undetermined subtitles.

Well i fixed it for me when i set the thumbnails back to 1s, so i'll leave it at that.

I noted this here for future reference, if someone has an idea of what happened here or has the same problem at least i gave my input so far.
My box has a AMD Athlon 64 3500+ processor with 1,5 Gb memory. Should be fast enough to at least generate a few thumbnails :)

Thanks for a great app btw, this thing really beats down any other mediaserver i've tried so far!
jozua
 
Posts: 11
Joined: Sat May 16, 2009 4:23 pm


Return to General Help and Support

Who is online

Users browsing this forum: Yahoo [Bot] and 18 guests