FAQ  •  Register  •  Login

Profile help MP4

<<

dayen

Serviio newbie

Posts: 5

Joined: Sun Aug 23, 2015 12:55 pm

Post Tue Aug 02, 2016 11:19 pm

Profile help MP4

Hello i'm currently using this profile:
  Code:
<Profile id="sam_hu" name="Samsung TV / player (HU-series)" extendsProfileId="1">
      <ContentDirectoryMessageBuilder>org.serviio.upnp.service.contentdirectory.SamsungDLNAMessageBuilder</ContentDirectoryMessageBuilder>
      <ResourceTransportProtocolHandler>org.serviio.upnp.protocol.http.transport.SamsungWiseLinkProtocolHandler</ResourceTransportProtocolHandler>
      <Detection>
         <UPnPSearch>
            <FriendlyName>(^\[TV\][A-Z]{2}\d{2}(E|F)[A-Z]?\d{3,4}.*)|^\[TV\] Samsung</FriendlyName>
            <ModelNumber>(1\.0)|(AllShare1\.0)</ModelNumber>
         </UPnPSearch>
         <HttpHeaders>
            <!-- for BD players -->
            <User-Agent>(.*SEC_HHP_BD-[EF].*)|(.*SEC_HHP_\[(HT|BD)\][EF].*)</User-Agent>
         </HttpHeaders>
      </Detection>
      <DeviceDescription>
         <ExtraElements>
              &lt;sec:ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:ProductCap&gt;
            &lt;sec:X_ProductCap&gt;smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec&lt;/sec:X_ProductCap&gt;
         </ExtraElements>
      </DeviceDescription>
      <MediaFormatProfiles>
         <MediaFormatProfile mime-type="video/x-mkv">MATROSKA</MediaFormatProfile>
         <MediaFormatProfile mime-type="video/x-msvideo" name="">AVI</MediaFormatProfile>
         <MediaFormatProfile mime-type="audio/x-flac">FLAC</MediaFormatProfile> 
      </MediaFormatProfiles>
      <ContentDirectoryDefinitionFilter>org.serviio.upnp.service.contentdirectory.definition.SamsungContentDirectoryDefinitionFilter</ContentDirectoryDefinitionFilter>
      <H264LevelCheck>FILE_ATTRIBUTES</H264LevelCheck>
      <Transcoding>
         <!-- only transcode wtv files -->
          <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="ac3" aBitrate="384">
            <Matches container="wtv"/>
         </Video>
       <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
         <Matches container="mpegts" aCodec="truehd" />
       </Video>
       <!-- comment line just to break the settings up -->
       <Audio targetContainer="lpcm" forceInheritance="true">
            <Matches container="mp4"/>
            <Matches container="ogg"/>
            <Matches container="adts"/>
            <Matches container="mp2"/>
            <Matches container="wavpack"/>
            <Matches container="mpc"/>
            <Matches container="ape"/>
            <Matches container="asf"/>
         </Audio>
      </Transcoding>
      <OnlineTranscoding>
         <Video targetContainer="mpegts" targetACodec="ac3" aBitrate="384">
            <Matches container="applehttp" vCodec="h264"/>
         </Video>
         <Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="asf"/>
            <!-- mms -->
            <Matches container="flv"/>
            <!-- transcoding all flv streams, even h264, to avoid premature disconnects, to avoid this, use Samsung C/D profile -->
         </Video>
      </OnlineTranscoding>
      <AutomaticImageRotation>true</AutomaticImageRotation>
      <LimitImageResolution>false</LimitImageResolution>
      <Subtitles>
         <SoftSubs mime-type="smi/caption"/>
      </Subtitles>
   </Profile>


But i have a problem with all file like that:
  Code:
General
Complete name               : D:\Film\Doc\Cocaine pt1.mp4
Format                      : MPEG-4
Format profile              : Base Media / Version 2
Codec ID                    : mp42
File size                   : 312 MiB
Duration                    : 34mn 15s
Overall bit rate mode       : Variable
Overall bit rate            : 1 275 Kbps
Encoded date                : UTC 2016-08-01 08:16:29
Tagged date                 : UTC 2016-08-01 08:16:50
Writing application         : mp4creator 1.6.1d

Video
ID                          : 1
Format                      : MPEG-4 Visual
Format profile              : Simple@L1
Format settings, BVOP       : No
Format settings, QPel       : No
Format settings, GMC        : No warppoints
Format settings, Matrix     : Default (H.263)
Codec ID                    : 20
Duration                    : 34mn 15s
Bit rate mode               : Variable
Bit rate                    : 1 176 Kbps
Maximum bit rate            : 4 778 Kbps
Width                       : 720 pixels
Height                      : 480 pixels
Display aspect ratio        : 3:2
Frame rate mode             : Constant
Frame rate                  : 30.000 fps
Color space                 : YUV
Chroma subsampling          : 4:2:0
Bit depth                   : 8 bits
Scan type                   : Progressive
Compression mode            : Lossy
Bits/(Pixel*Frame)          : 0.113
Stream size                 : 288 MiB (92%)
Language                    : English
Encoded date                : UTC 2016-08-01 08:16:29
Tagged date                 : UTC 2016-08-01 08:16:49

Audio
ID                          : 2
Format                      : AAC
Format/Info                 : Advanced Audio Codec
Format profile              : LC
Codec ID                    : 40
Duration                    : 34mn 14s
Source duration             : 34mn 15s
Bit rate mode               : Variable
Bit rate                    : 96.0 Kbps
Maximum bit rate            : 135 Kbps
Channel(s)                  : 2 channels
Channel positions           : Front: L R
Sampling rate               : 44.1 KHz
Compression mode            : Lossy
Stream size                 : 23.6 MiB (8%)
Source stream size          : 23.6 MiB (8%)
Language                    : English
Encoded date                : UTC 2016-08-01 08:16:49
Tagged date                 : UTC 2016-08-01 08:16:50



cant figure out what is the problem, someone have a suggestion how to fix ?
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sat Aug 06, 2016 4:22 am

Re: Profile help MP4

Try adding a transcode block for h263:

  Code:
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="*" vCodec="h263" />
 </Video>
You could also add this to your existing transcode block if you really want to transcode to h264.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

dayen

Serviio newbie

Posts: 5

Joined: Sun Aug 23, 2015 12:55 pm

Post Sat Aug 06, 2016 12:44 pm

Re: Profile help MP4

DenyAll wrote:Try adding a transcode block for h263:

  Code:
<Video targetContainer="mpegts" targetVCodec="mpeg2video" targetACodec="ac3" aBitrate="384">
            <Matches container="*" vCodec="h263" />
 </Video>
You could also add this to your existing transcode block if you really want to transcode to h264.


Thanks for reply!
I tried adding the block , but the video and audio are not, however, do not work
<<

dayen

Serviio newbie

Posts: 5

Joined: Sun Aug 23, 2015 12:55 pm

Post Sat Aug 06, 2016 1:39 pm

Re: Profile help MP4

Currently I can see this type of video files with these settings:
  Code:
      <Video targetContainer="mpegts" targetVCodec="h264" targetACodec="ac3" aBitrate="384">
               <Matches container="mp4" vCodec="mpeg4"/>
       </Video>

The problem is that the time bar does not work, you can not navigate in the video and does not show the video duration.
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Aug 07, 2016 12:05 am

Re: Profile help MP4

Try transcoding to mpeg2video instead of h264 and see if that helps.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.
<<

dayen

Serviio newbie

Posts: 5

Joined: Sun Aug 23, 2015 12:55 pm

Post Sun Aug 07, 2016 12:23 am

Re: Profile help MP4

DenyAll wrote:Try transcoding to mpeg2video instead of h264 and see if that helps.


Nope have same problem too :(
<<

DenyAll

DLNA master

Posts: 2257

Joined: Fri Mar 08, 2013 11:16 pm

Location: Adelaide, Australia

Post Sun Aug 07, 2016 12:54 am

Re: Profile help MP4

In that case it may be a limitation of the TV (seeking in transcoded files). I haven't the TV so cant really help, but search the Samsung forum, somebody may have come up with a way to deal with it.
DenyAll
Panasonic Viera FX800A | Panasonic Viera CS610A | Sony PS4 | Sony PS3 | Panasonic DMP-BD79 | Yamaha RX-V500D | iPad | Windows 10 | Serviio 1.10.1 Pro
WinHelper | MediaInfo

Beta Tester, Moderator
Please do not PM me for support as any solution cannot be shared with others.

Return to Transcoding

Who is online

Users browsing this forum: No registered users and 20 guests

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