Hardware acceleration
It took a while, but I have a hardware accelerated ffmpeg intallation using the h264_qsv codec (intel!),
which enables me to transcode on my GPU, which is confirmed working.
Obviously I like to add this to the ..../config/application-profiles.xml (specific: Ios profile, see below) but
on a restart I receive this error:
2016-02-19 04:55:16,682 ERROR [XmlUtils] XML Profiles.xsd didn't pass validation, reason: cvc-enumeration-valid: Value 'h264_qsv' is not facet-valid with respect to enumeration '[mpeg2video, wmv2, flv, h264]'. It must be a value from the enumeration.
2016-02-19 04:55:16,682 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
java.lang.RuntimeException: org.serviio.profile.ProfilesDefinitionException: Profiles XML file is not valid (according to the schema). Check the log.
at org.serviio.profile.ProfileManager.parseProfilesFromFile(ProfileManager.java:183)
at org.serviio.profile.ProfileManager.loadProfiles(ProfileManager.java:157)
at org.serviio.MediaServer.main(MediaServer.java:127)
Where can I tell serviio that it 'knows' about this codec?
---
xml file:
<Profile id="ios" name="iOS" extendsProfileId="1" alwaysEnableTranscoding="true" selectable="false">
<!-- http://developer.apple.com/library/ios/ ... tions.html -->
<Transcoding>
<!-- only play mp4/h264_qsv(main3 and less)/aac natively -->
<Video targetContainer="applehttp" targetVCodec="h264_qsv" targetACodec="aac" forceStereo="true" forceVTranscoding="true">
<Matches container="*" vCodec="h264_qsv" profile="high" levelGreaterThan="4.1"/>
</Video>
<Video targetContainer="applehttp" targetVCodec="h264_qsv" targetACodec="aac" forceStereo="true">
<Matches container="3gp" />
<Matches container="asf" />
<Matches container="avi" />
<Matches container="flv" />
<Matches container="matroska" />
<Matches container="mpeg" />
<Matches container="mpegts" />
<Matches container="mpegvideo" />
<Matches container="ogg" />
<Matches container="rm" />
<Matches container="wtv" />
<Matches container="mp4" vCodec="mpeg4" />
<Matches container="mp4" vCodec="msmpeg4" />
<Matches container="mp4" aCodec="ac3" />
</Video>
<Audio targetContainer="mp3">
<Matches container="flac" />
<Matches container="ogg" />
<Matches container="lpcm" />
<Matches container="adts" />
<Matches container="asf" />
<Matches container="wavpack" />
<Matches container="mpc" />
<Matches container="ape" />
</Audio>
</Transcoding>
<OnlineTranscoding>
<Video targetContainer="applehttp" targetVCodec="h264_qsv" targetACodec="aac" forceStereo="true">
<Matches container="*" />
</Video>
</OnlineTranscoding>
<GenericTranscoding>
<Video targetContainer="applehttp" targetVCodec="h264_qsv" targetACodec="aac" forceStereo="true" />
</GenericTranscoding>
<AlternativeQualities>
<Quality type="MEDIUM">
<Transcoding>
<Video targetContainer="applehttp" targetVCodec="h264_qsv" targetACodec="aac" forceStereo="true" maxVBitrate="1000" maxHeight="480">
<Matches container="*" />
</Video>
</Transcoding>
<OnlineTranscoding>
<Video targetContainer="applehttp" targetVCodec="h264_qsv" targetACodec="aac" forceStereo="true" maxVBitrate="1000" maxHeight="480">
<Matches container="*" />
</Video>
</OnlineTranscoding>
<GenericTranscoding>
<Video targetContainer="applehttp" targetVCodec="h264_qsv" targetACodec="aac" forceStereo="true" maxVBitrate="1000" maxHeight="480"/>
</GenericTranscoding>
</Quality>
<Quality type="LOW">
<Transcoding>
<Video targetContainer="applehttp" targetVCodec="h264_qsv" targetACodec="aac" forceStereo="true" aSamplerate="22050" maxVBitrate="500" maxHeight="240">
<Matches container="*" />
</Video>
</Transcoding>
<OnlineTranscoding>
<Video targetContainer="applehttp" targetVCodec="h264_qsv" targetACodec="aac" forceStereo="true" aSamplerate="22050" maxVBitrate="500" maxHeight="240">
<Matches container="*" />
</Video>
</OnlineTranscoding>
<GenericTranscoding>
<Video targetContainer="applehttp" targetVCodec="h264_qsv" targetACodec="aac" forceStereo="true" aSamplerate="22050" maxVBitrate="500" maxHeight="240"/>
</GenericTranscoding>
</Quality>
</AlternativeQualities>
<Subtitles>
<HardSubs>
<TextBased supported="true" />
</HardSubs>
</Subtitles>
<ThumbnailsResolution>HD</ThumbnailsResolution>
<AutomaticImageRotation>true</AutomaticImageRotation>
</Profile>