Page 1 of 2

How to Only Transcode audio and stream video without any transcoding to PS4?

Posted: Wed Dec 06, 2017 8:23 am
by KhizerK3
Hi Guys,

I have been using UMS for a while now for watching media on PS4. As most of the files nowadays have DTS audio and PS4 media player does not support DTS audio, so playing directly from USB on PS4 causes audio not supported problem.

While using UMS, this problem is solved but I see lots of degradation in video quality. I want to somehow, transcode only audio using UMS and let the video stay untouched by UMS. Is that possible? If so, kindly help me on this.

Regards,

Re: How to Only Transcode audio and stream video without any transcoding to PS4?

Posted: Mon Feb 12, 2018 10:25 pm
by Vick
Hello there, Great Job!

I use UMS with Sharp Aquos, all i need is work fine. I read a lot of post here but, i still can't make this:
MKV container
Video x264
Audio DTS
Tv can read directly x264, but can't read DTS audio

and in this case UMS transode all / video and audio
Please give a hint, how to USM remux/transcode only audio, and passthru the video.

Yhank You in advance!

Re: How to Only Transcode audio and stream video without any transcoding to PS4?

Posted: Mon Feb 12, 2018 10:36 pm
by Nadahar
UMS calls everything "transcode" even if it use one or more of the original streams as they are. If your renderer configuration is correct so that it transcodes to a h264 format and the h264 if withing the configured level specification, UMS will do just that when transcoding.

Re: How to Only Transcode audio and stream video without any transcoding to PS4?

Posted: Tue Feb 13, 2018 6:10 am
by Vick
Ok, i understand...
My question is how to describe to UMS transcode only DTS audio from MKV file?

Re: How to Only Transcode audio and stream video without any transcoding to PS4?

Posted: Tue Feb 13, 2018 9:20 am
by valib
Guys have you tried to set FFmpeg as primary transcode engine and on its setting page set "Remux video with tsMuxeR when possible instead of transcoding"? It could copy video as it is and transcode audio to PCM format. Try it and send the log following the rules written in red above.

EDIT: of course when video has external subtitles then video will be always transcoded and tsMuxeR not used.

Re: How to Only Transcode audio and stream video without any transcoding to PS4?

Posted: Tue Feb 13, 2018 9:37 am
by Vick
Yes, but i thing that someting in renderer is not ok. In settings for ffmpeg and mencoder is checked remux when is possible. USM stream video and audio, but TV don't support DTS audio.
Let's do it!

Re: How to Only Transcode audio and stream video without any transcoding to PS4?

Posted: Tue Feb 13, 2018 10:20 am
by valib
@Vick you are right that your Aquos.conf is wrong. First of all the UserAgentSearch should not be used and for recognition could be used only the

Code: Select all

UpnpDetailsSearch = SharpDMR
and than you should set the UMS default renderer to "Unknown renderer" to let the UMS to recognise the renderer.
Second you should set

Code: Select all

MediaInfo = true
to enable the setting of supported formats to let UMS to decide which format should be transcoded and which could be only muxed. Please do it, test it and send the log again.

EDIT: sorry I ovelooked the log protocols supported by your TV and as you can see

Code: Select all

TRACE 2018-02-12 23:30:27.784 [cling-6] Received GetProtocolInfo from "SharpDMR (00:25:92:9b:85:ed)": 
Sink:
  http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVHIGH_FULL
  http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_FULL
  http-get:*:video/x-ms-wmv:DLNA.ORG_PN=WMVMED_BASE
  http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_LRG
  http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_MED
  http-get:*:image/jpeg:DLNA.ORG_PN=JPEG_SM
  http-get:*:video/mp4:DLNA.ORG_PN=AVC_MP4_BL_CIF15_AAC_520
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=AVC_TS_NA_T
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_60_AC3_T
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA_T
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_NA
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO_T
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_KO
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_T
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU_AC3_T
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_SD_EU
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA_T
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_NA
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO_T
  http-get:*:video/vnd.dlna.mpeg-tts:DLNA.ORG_PN=MPEG_TS_HD_KO
  http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_NA_ISO
  http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_KO_ISO
  http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_KO_ISO
  http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_HD_NA_ISO
  http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_NA_ISO
  http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_AC3_ISO
  http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_TS_SD_EU_ISO
  http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_PAL
  http-get:*:video/mpeg:DLNA.ORG_PN=MPEG_PS_NTSC
  http-get:*:audio/vnd.dlna.adts:DLNA.ORG_PN=AAC_ADTS_320
  http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMAFULL
  http-get:*:audio/x-ms-wma:DLNA.ORG_PN=WMABASE
  http-get:*:audio/mpeg:DLNA.ORG_PN=MP3
  http-get:*:audio/mp4:DLNA.ORG_PN=AAC_ISO_320
  http-get:*:audio/3gpp:DLNA.ORG_PN=AAC_ISO_320
  http-get:*:audio/L16;rate=48000;channels=2:DLNA.ORG_PN=LPCM
  http-get:*:audio/L16;rate=48000;channels=1:DLNA.ORG_PN=LPCM
  http-get:*:audio/L16;rate=44100;channels=2:DLNA.ORG_PN=LPCM
  http-get:*:audio/L16;rate=44100;channels=1:DLNA.ORG_PN=LPCM
there is not supported MKV video so it should be transcoded but You can try what I recommended.

Re: How to Only Transcode audio and stream video without any transcoding to PS4?

Posted: Tue Feb 13, 2018 11:33 am
by Vick
Thank You Valib, i will try this evening ;) I replay You soon!

Re: How to Only Transcode audio and stream video without any transcoding to PS4?

Posted: Tue Feb 13, 2018 6:41 pm
by Vick
With "unknown renderer" is working ;) Now i must to learn how to write exact *.conf to my TV. Thank You!
With Yours help of course.
Have a nice day!

Re: How to Only Transcode audio and stream video without any transcoding to PS4?

Posted: Wed Feb 14, 2018 10:25 am
by valib
@Vick can You provide the log after playing the MKV video with the DTS audio?