Forced transcoding of mpg files

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.

Forced transcoding of mpg files

Postby lemmy » Tue Jun 11, 2013 3:23 am

I had version 1.54 and noticed that some .mpg files (MPEG2 video AC3 audio) that had once played fine now had [tsmuxer] beside of them and when I would click on them they wouldn't play. I had to put "mpg" in the "skip transcode for the following extensions" and everything worked fine again. I upgraded to 1.82.0 and I have a similar problem except instead of [tsmuxer] it is [Mencoder] that is beside of the file...and of course it plays, but it is re-encoding it. I had to once again put "mpg" in the "skip transcode" option. Is there some reason PS3MS thinks these files won't play on the PS3 and need transcoding?

Code: Select all
Complete name                    : K:\VIDEO\video.mpg
Format                           : MPEG-PS
File size                        : 881 MiB
Duration                         : 17mn 1s
Overall bit rate                 : 7 233 Kbps

ID                               : 224 (0xE0)
Format                           : MPEG Video
Format version                   : Version 2
Format profile                   : Main@Main
Format settings, Matrix          : Default
Duration                         : 17mn 1s
Bit rate mode                    : Variable
Bit rate                         : 6 754 Kbps
Nominal bit rate                 : 9 032 Kbps
Width                            : 720 pixels
Height                           : 480 pixels
Display aspect ratio             : 4/3
Frame rate                       : 29.970 fps
Standard                         : NTSC
Colorimetry                      : 4:2:0
Scan type                        : Interlaced
Scan order                       : Top Field First
Bits/(Pixel*Frame)               : 0.652
Stream size                      : 822 MiB (93%)

ID                               : 128 (0x80)
Format                           : AC-3
Format/Info                      : Audio Coding 3
Duration                         : 17mn 1s
Bit rate mode                    : Constant
Bit rate                         : 192 Kbps
Channel(s)                       : 2 channels
Channel positions                : L R
Sampling rate                    : 48.0 KHz
Stream size                      : 23.4 MiB (3%)

Format                           : DVD-Video
Posts: 33
Joined: Tue Jun 30, 2009 5:14 am

Re: Forced transcoding of mpg files

Postby lemmy » Tue Jun 11, 2013 3:39 am

Here is the debug.log file.

Also, I am running the latest version of Java and Win XP SP3 with an AMD FX8320 CPU and 4MB RAM.
(3.74 KiB) Downloaded 18 times
Posts: 33
Joined: Tue Jun 30, 2009 5:14 am

Re: Forced transcoding of mpg files

Postby lemmy » Tue Jun 18, 2013 3:22 am

It seems like you get a better response with "ps3ms stopped working" than you do if you follow the "Problem Reporting Guidelines" :roll: Oh well.
Posts: 33
Joined: Tue Jun 30, 2009 5:14 am

Re: Forced transcoding of mpg files

Postby Raptor399 » Sat Jun 22, 2013 10:04 am

Or people just don't know the answer to your question because it is difficult to answer. ;-)

Apparently PMS thinks your .mpg file needs transcoding for the PS3.
Alas, the log file does not say how PMS came up with that conclusion.
I see that MediaInfo library loaded just fine, so I would expect this line to kick in:

Code: Select all
Supported = f:mpegps|mpegts    v:mpeg1|mpeg2|mp4|h264    a:ac3|lpcm|aac|mpa        m:video/mpeg

On first sight, your video ought to match. Your MediaInfo dump says:

Code: Select all
Format                     : MPEG-PS

Format                     : MPEG Video
Format version             : Version 2

Format                     : AC-3

This should be a perfect match for that "Supported" line.

So the real question is "why does RendererConfiguration.isCompatible() return false for your file?" - by adding "mpg" to the "skip transcode" option your are forcing this to return true.

This leads via FormatConfiguration.match() to SupportSpec.match(). As you can see, plenty of opportunity to return false there! ;-)

Luckily the "Supported" line only mentions the format, video codec and audio codec, so those are the only options that might return false.

So to find out why your particular video doesn't match, we will have to examine those values, retrace their origin and find out why they don't match. I don't have the time to delve into that now.

As you can see, answering your question is far from trivial. You may even be on to something bigger here.

Thanks for reporting this. :-)
Project Member
Posts: 1916
Joined: Thu Mar 10, 2011 12:06 am

Re: Forced transcoding of mpg files

Postby chocolateboy » Sun Jun 23, 2013 12:00 am

Or just upload a sample as requested in the Problem Reporting Guidelines.
Project Member
Posts: 2577
Joined: Wed Sep 16, 2009 10:05 am

Return to General Help and Support

Who is online

Users browsing this forum: Bing [Bot], geb724, Majestic-12 [Bot] and 26 guests