Profile help MP4
- 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>
<sec:ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:ProductCap>
<sec:X_ProductCap>smi,DCM10,getMediaInfo.sec,getCaptionInfo.sec</sec:X_ProductCap>
</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 ?