Mon Oct 14, 2019 3:33 pm by colemanlee
atc98092 wrote:That's an accurate match line, but this statement will not transcode anything. It will transmux the MKV media into the TS container, but will leave the audio and video intact. Since your video is playing, we can leave that alone and just transcode the audio. This is also far less CPU intensive, so doesn't make the computer work hard at all. Just change your first line to:
- Code:
<Video targetContainer="mpegts" targetACodec="ac3" />
If you'd like to see if the audio is improved with a higher bitrate, you can use:
- Code:
<Video targetContainer="mpegts" targetACodec="ac3" aBitrate="512">
Where to put it? I suggest creating a user-profiles.xml file and use it, rather than modifying an existing profile. Any time Serviio is updated, it replaces the profiles.xml file, so your changes are lost. But updates will not alter a user-profiles.xml file, so your changes are safe.
Hi,
Thank you, I did it with your help. Here is the content of my user-profiles.xml:
- Code:
<?xml version="1.0" encoding="UTF-8"?>
<Profiles version="1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.serviio.org/xsd/profiles/v/2.0/Profiles.xsd">
<Profile id="Xiaomi" name="Xiaomi MediaRenderer" extendsProfileId="1">
<Detection>
<UPnPSearch>
<FriendlyName>.*107.*</FriendlyName>
</UPnPSearch>
</Detection>
<Transcoding>
<Video targetContainer="mpegts" targetACodec="aac">
<Matches container="matroska"/>
</Video>
</Transcoding>
</Profile>
</Profiles>
But I have some questions, I sincerely hope you'll help me:
- I can't play fast forward with my remote control when the Matroska video is transcoding. The progress bar is always 100% but time increases in real-time.
--- Does it means the fast forward is unavailable when transcoding? - Is it possible that execute transcoding only when the aCodec=AC-3 in Matroska video? My device could decode the Matroska video with aac aCodec, but Serviio server still transcodes it, it is unnecessary.
---It tried these codes but failed(some videos play muted, some videos can not play and show "unknown error"):
- Code:
<Video targetContainer="mpegts" targetACodec="aac">
<Matches container="matroska" aCodec="ac3"/>
</Video>