FAQ  •  Register  •  Login

[SOLVED] Codec: MPEG-4 Video (DX50)

<<

alexb

Serviio newbie

Posts: 13

Joined: Mon Feb 27, 2012 9:29 am

Post Sat Jan 31, 2015 5:21 pm

[SOLVED] Codec: MPEG-4 Video (DX50)

Good evening!

Tried to search through the forum for my issue, but no success, so starting a ne thread...

I have a Sony Bravia KDL-50w817b. Serviio has Sony TV 2013/14 profile choosen.

When i try to watch *.avi files on my TV with codec DX50 - i get only sound, no picture and "unsupported content" message on-screen

alike file but with XVID plays just fine and all of that files was playing just OK at my old KDL-40ex500 TV, seems with transcoding or what... anyways is there any chance to make it work?

PS. what option is better for audio channel - keep original or downmix to stereo, if i have soundbar connected with TV via optical cable? soundbar supports DD, DTS and has 7.1 emulation.

Thanks in advance!
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sat Jan 31, 2015 7:39 pm

Re: Codec: MPEG-4 Video (DX50)

I suppose that "Sony Bravia 2013/2014" profile was selected on serviio console ?


You can try to edit the ./serviio/config/profiles.xml file then edit the 2013/2014 profile section like this (from serviio 1.5 version):

  Code:
   <Profile id="sony2013" name="Sony Bravia TV (2013/14)" extendsProfileId="1">
      <!-- this is WIP, should be included in the inheritance tree if possible -->
      <!-- 2013 models
             Codec list supported : http://pdf.crse.com/manuals/13MW802111/FR/codeclist.html#5
             - Still images: JPEG (*.jpg / *.jpe / *.jpeg), MPO (*.mpo), RAW (*.arw)
             - Music: LPCM, MP1L1 / MP1L2 / MP1L3 / MP2L1 / MP2L2 / MP2L3 / MP2.5L3 (*.mp3), AAC-LC / HE-AAC v1/v2 (*.mp4 / *.m4a / *.3gp / *.3g2), WMA9 (*.wma)
             - Video: MPEG1 / MPEG2PS / AVCHD , MP4, Xvid, Motion JPEG, VC1, MKV, 3gpp, MOV, WebM
          -->
      <Detection>
         <UPnPSearch>
            <FriendlyName>BRAVIA (KDL-\d{2}W[56789]\d{2}[AB].*)|(KD-\d{2}X[89]\d{3}[AB].*)</FriendlyName>
         </UPnPSearch>
      </Detection>
      <DeviceDescription>
         <!-- act as WMP so that the TV doesn't show root categories -->
         <ModelName>Windows Media Player Sharing</ModelName>
         <ModelNumber>3.0</ModelNumber>
         <Manufacturer>Microsoft Corporation</Manufacturer>
      </DeviceDescription>
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SonyDLNAMessageBuilder</ContentDirectoryMessageBuilder>
      <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.WMPContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
      <MediaFormatProfiles>
         <!-- Rename native WMA formats to those supported by the tv -->
         <MediaFormatProfile mime-type="audio/x-ms-wma" name="WMABASE">WMA_BASE</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/x-ms-wma" name="WMAFULL">WMA_FULL</MediaFormatProfile>
         <!-- Rename 3gp profiles that can be played as AVC -->
         <MediaFormatProfile mime-type="video/mp4" name="AVC_MP4_MP_SD_AAC_MULT5">AVC_3GPP_BL_QCIF15_AAC</MediaFormatProfile>
         <!-- Rename native avi formats to those supported by the tv -->
         <MediaFormatProfile mime-type="video/avi" name="">AVI</MediaFormatProfile>
         <!-- Rename native mpeg2ts with h264+ac3/aac formats to those supported by the tv (aac support is not advertised by the renderer but it works) -->
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3,AVC_TS_HD_24_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_HD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3,AVC_TS_HD_24_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_SD_AC3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3,AVC_TS_HD_24_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_HD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3,AVC_TS_HD_24_AC3,AVC_TS_HD_60_AC3,AVC_TS_HD_EU">AVC_TS_MP_SD_AAC_MULT5</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T,AVC_TS_HD_24_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_HD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T,AVC_TS_HD_24_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_AC3_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T,AVC_TS_HD_24_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_HP_HD_MPEG1_L2_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T,AVC_TS_HD_24_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_HP_SD_MPEG1_L2_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T,AVC_TS_HD_24_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_HD_AAC_MULT5_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T,AVC_TS_HD_24_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_AAC_MULT5_T</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T,AVC_TS_HD_24_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_MPEG1_L3</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/vnd.dlna.mpeg-tts" name="AVC_TS_HD_50_AC3_T,AVC_TS_HD_24_AC3_T,AVC_TS_HD_60_AC3_T,AVC_TS_HD_EU_T">AVC_TS_MP_SD_MPEG1_L3_T</MediaFormatProfile>
         <!-- Rename transcoded mpeg2ts with h264 to one of the TV's supported profiles -->
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_AC3_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_HP_HD_MPEG1_L2_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_HP_SD_MPEG1_L2_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_HD_AAC_MULT5_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_AAC_MULT5_ISO</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/mpeg" name="AVC_TS_HD_50_AC3_ISO,AVC_TS_HD_24_AC3_ISO,AVC_TS_HD_60_AC3_ISO,AVC_TS_HD_EU_ISO">AVC_TS_MP_SD_MPEG1_L3_ISO</MediaFormatProfile>
      </MediaFormatProfiles>
      <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
      <Transcoding>
         <!-- Transcode all h264 video with HIGH/MAIN > Level 4.2 on MPEG-TS stream with MPEG2VIDEO and ac3 audio transcoding -->
         <!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" DAR="16:9" forceInheritance="true">
            <Matches container="*" vCodec="h264" profile="high_10" />
            <Matches container="*" vCodec="h264" profile="high_444" />
            <Matches container="*" vCodec="h264" profile="high_422" />
            <Matches container="*" vCodec="h264" profile="high" levelGreaterThan="4.2" />
            <Matches container="*" vCodec="h264" profile="main" levelGreaterThan="4.2" />
         </Video>
         <!-- Remux containers with h264 video + AC3 audio to MPEG-TS stream without transcoding -->
         <!-- Remux matroska/mpeg2video + AC3 audio to MPEG-TS stream without transcoding -->
         <Video targetContainer="mpegts" forceInheritance="true">
            <Matches container="avi" vCodec="h264" aCodec="ac3" />
            <Matches container="flv" vCodec="h264" aCodec="ac3" />
            <Matches container="wtv" vCodec="h264" aCodec="ac3" />
            <Matches container="matroska" vCodec="mpeg2video" aCodec="ac3" />
         </Video>
         <!-- Remux all other h264 video to MPEG-TS stream with ac3 audio transcoding -->
         <!-- Remux all other matroska/mpeg2video to MPEG-TS stream with ac3 audio transcoding -->
         <Video targetContainer="mpegts" targetACodec="ac3" forceInheritance="true">
            <Matches container="*" vCodec="h264" aCodec="truehd" />
            <Matches container="*" vCodec="h264" aCodec="flac" />
            <Matches container="avi" vCodec="h264" />
            <Matches container="flv" vCodec="h264" />
            <Matches container="wtv" vCodec="h264" />
            <Matches container="matroska" vCodec="mpeg2video" />
            <Matches container="mpegts" vCodec="h264" aCodec="mp3" />
         </Video>
         <!-- All Others video/audio codec will be transcoded into mpeg2ts, mpeg2video and ac3 audio -->
         <!-- expected profile MPEG_TS_SD_EU/MPEG_TS_SD_NA/MPEG_TS_SD_KO -->
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" DAR="16:9" targetACodec="ac3" forceInheritance="true">
            <Matches container="mpegts" vCodec="vc1" />
            <Matches container="flv" />
            <!-- example: flv/vp6/mp3 -->
            <Matches container="wtv" />
            <Matches container="ogg" />
            <Matches container="rm" />
            <!--Matches container="3gp" vCodec="mpeg4" /-->
            <!--Matches container="3gp" vCodec="h263" /-->
            <!-- digital camera video formats -->
            <Matches container="avi" vCodec="mjpeg" />
            <Matches container="mp4" vCodec="mjpeg" />
            <Matches container="asf" vCodec="vc1" aCodec="wmapro" />
            <Matches container="avi" vCodec="dvvideo" />
            <Matches container="mp4" vCodec="dvvideo" />
            <!-- DivX -->
            <Matches container="avi" vCodec="mpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
            <Matches container="avi" vCodec="msmpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
         </Video>
         <Audio targetContainer="lpcm" forceInheritance="true">
            <Matches container="flv" />
            <Matches container="rtp" />
            <Matches container="rtsp" />
            <Matches container="flac" />
            <Matches container="ogg" />
            <Matches container="adts" />
         </Audio>
      </Transcoding>
      <HardSubsTranscoding>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" DAR="16:9" />
      </HardSubsTranscoding>
      <LimitImageResolution>false</LimitImageResolution>
   </Profile>


I just add these lines :
<!-- DivX -->
<Matches container="avi" vCodec="mpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />
<Matches container="avi" vCodec="msmpeg4" vFourCC="div3,div4,div5,divx,dm4v,dx50" />

Then you can first start to simply add vFourCC="dx50" value and if you see some other problem, add other div3, div4... values.

After profiles.xml editing, you have to restart serviio service (not server) or reboot the PC to reload profile.
<<

alexb

Serviio newbie

Posts: 13

Joined: Mon Feb 27, 2012 9:29 am

Post Sat Jan 31, 2015 9:23 pm

Re: Codec: MPEG-4 Video (DX50)

Awesome!

Those 3 lines just made things up and everything works with no problems now.

Thank you very much! Serviio rocks as always :)
<<

Illico

User avatar

DLNA master

Posts: 4646

Joined: Fri Jul 23, 2010 8:08 am

Location: France

Post Sun Feb 01, 2015 8:28 am

Re: [SOLVED] Codec: MPEG-4 Video (DX50)

Nice.

What is your region? US, UK, EU, etc ?

Thanks.
<<

alexb

Serviio newbie

Posts: 13

Joined: Mon Feb 27, 2012 9:29 am

Post Mon Feb 02, 2015 11:40 pm

Re: [SOLVED] Codec: MPEG-4 Video (DX50)

Illico wrote:Nice.

What is your region? US, UK, EU, etc ?

Thanks.



Think it has to be CIS region for this w817b, as I am from Belarus and TV was assembled in Russia.
<<

crisyda

Serviio newbie

Posts: 2

Joined: Tue May 08, 2018 10:12 pm

Post Wed Nov 20, 2019 11:24 pm

Re: [SOLVED] Codec: MPEG-4 Video (DX50)

Hi friends,
This profile is working well for me.
dx50, fmp4 etc, transcode well
Try it please, and if it can be improved, tell me
Regards

profiles.xml
(167.37 KiB) Downloaded 367 times

Return to Sony

Who is online

Users browsing this forum: No registered users and 14 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.