PS3MS works great for the most part, the on-the-fly transcoding working for all my 720p MKVs. However, I've noticed that whenever the bitrate peaks too high in a certain movie/TV show I get a stutter/skip whilst streaming.
To combat this, I've been manually transcoding those MKVs that contain AC3 by simply using tsMuxeR to .m2ts before streaming - this gives me stable files that purely stream without any on-the-fly transcoding taking place (which I presume is giving me the hiccups, since I don't get any skipping/hiccuping when streaming ready-transcoded .m2ts files) (it also gives me the bonus of being able to transfer these files directly to the PS3's HD to play should I want to).
Using tsMuxeR on its own simply works for the files that have AC3 audio.
Now, I've been trying to duplicate this for MKVs which contain DTS, and I'm struggling to duplicate how the on-the-fly transcoder is doing things.
From what I can tell I think I ultimately have to produce a .m2ts file that has PCM audio which the PS3 passes as DTS to the amp - since the PS3 won't play DTS embedded in an .m2ts unless it's reading from a Blu-Ray disc?
I'm using Linux and from looking at the debug.log have copied the mencoder command that seems to run whenever PS3MS does the on-the-fly encoding:
- Code: Select all
mencoder -ss 0 input_file.mkv -quiet -quiet -really-quiet -msglevel statusline=-1:mencoder=-1 -channels 2 -ovc copy -of rawaudio -mc 0 -noskip -oac copy -af volume=0 -quiet -quiet -srate 48000 -o outputfile
Now, when I do this manually all seems to go well, and the file is created (mediainfo says that it is a 720p H264 video file with PCM sound). However, when I try and use PS3 MS to stream it, I just get a blank screen and lots of messages such as this in debug.log:
- Code: Select all
Sending stream with premature end : 1245184 bytes of get/0$2$2$1$1$0/output.m2ts. Reason: Broken pipe
I've also tried using the program Pcm2Tsmu.exe on the audio file which mencoder spits out, which is supposed to create a tsMuxeR-compliant PCM stream, but I just get the same results.
Can anyone help to give me some pointers on where I'm going wrong, and what I need to do to manually transcode these files to .m2ts. I don't want to further losslessly transcode the DTS to AC3, or transcode the video at all...