trying to direct stream mp4 with embedded subtitles

I took a mkv and remuxed it using Subler to get a mp4.

 

if I enable the subtitle track then it forces transcoding on the video, if I disable it, it direct streams.

 

logs: http://pastebin.com/3BtaiDjx

 

xml:









 

I tested out the resulting MP4 with QuickTime player and it plays the subtitles fine, so I'm not sure what is wrong with the file. I'm also not sure why Subler is adding a mjpeg track.

 

MP4 should be replayed natively on aTV - "direct play".

"Direct stream" refers to a container swap on the fly - why should PMS change the mp4 container?

However, is aTV happy with your audio codec (DCA)? I don't know...

Maybe your file is not being direct played - nor direct streamed - but the audio is re-encoded?

The ATV3 doesn't play the DTS(DCA) audio stream but converts the audio to AC3 on the fly whether I have subtitles enabled or not.

Should I try creating a new file from remuxing the MKV into MP4, keeping the h264 video, but converting the audio to ac3 and tell Subler to copy the subtitle track?  That way that the transcoder never kicks in?

My understanding was that if I had the subtitle embedded in the MP4 file that PMS wouldn't have to re-encode the video for the ATV3 to play it.

As to "direct play" vs "direct stream", I didn't know the proper name.

There is no subtitle renderer in PlexConnect currently, this may be causing the transcoding to kick in when viewing subs.

>>Should I try creating a new file from remuxing the MKV into MP4, keeping the h264 video, but converting the audio to ac3 and tell Subler to copy the subtitle track?  That way that the transcoder never kicks in?

Yes. And aTV/iOS should be able to handle the video/audio and subtitle. Make sure you use "select and hold" to bring up the subtitle menu while replaying. The button on the PrePlayScreen won't work in that case - I guess.

I couldn't figure out how to get Subler to create an AC3 track so I ended up using ffmpeg.

ffmpeg -i The.Wolverine.mkv -map 0:0 -c:v:0 copy -map 0:1 -c:a:0 ac3 -ab:2 640k -map 0:3 -c:s:0 mov_text ~/Desktop/output.m4v

This command:

-map 0:0 -c:v:0 copy

copies the video stream (video stream 0),

-map 0:1 -c:a:0 ac3 -ab:2 640k

converts the DTS into AC3 (audio stream 0)

-map 0:3 -c:s:0 mov_text

and uses the 3rd MKV track (there are 4 tracks, counting starts at 0, this is the 2nd subtitle track)

~/Desktop/output.m4v

writing the resulting file into a m4v file.

I then set subtitles to "none" in PMS/plexconnect, started to watch the file.  Used the long press on "ok" (I never realized that menu option existed during playing), went to the subtitle section and enabled the english track and voila, working subtitles! 

Thanks for all the help!  It's really not clear that enabling subtitles in plexconnect is going to force the video to transcode and that you need to use the long press during the movie to enable subs though.  You might want to make that more clear in the FAQ.

>>Thanks for all the help!  It's really not clear that enabling subtitles in plexconnect is going to force the video to transcode and that you need to use the long press during the movie to enable subs though.  You might want to make that more clear in the FAQ.

Known issue - we are working on improvements here...

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.