profile configure for RMVB
RMVB doesn't seem to be supported by Serviio on windows server 2012 essential. I have been trying to get it work in Serviio, Also i have upgraded FFMPEG.exe, which seems to support the RMVB as RV40. please see the attached FFMPEG output info for my test video.
what I tried is adding a new line
<Matches container="rmvb" vCodec="rv40"
in config profile in one container for ps3 prfile.
<!-- transcode MKV with MPEG2 video, remux into mpeg2ts -->
<!-- transcode AVI with AVC video -->
<Video targetContainer="mpegts" targetACodec="ac3" targetVCodec="mpeg2video" maxVBitrate="20000">
<Matches container="matroska" vCodec="mpeg2video" />
<Matches container="matroska" vCodec="vp8" />
<Matches container="avi" vCodec="h264" />
<Matches container="avi" vCodec="mjpeg" />
<Matches container="avi" vCodec="dvvideo" />
<Matches container="rmvb" vCodec="rv40" />
<Matches container="flv" />
<Matches container="ogg" />
</Video>
Then I restarted the service, which failed to start with following log,
2012-11-28 23:46:11,983 ERROR [XmlUtils] XML Profiles.xsd didn't pass validation, reason: cvc-enumeration-valid: Value 'rmvb' is not facet-valid with respect to enumeration '[*, mp4, asf, mpegvideo, mpeg, mpegts, matroska, avi, flv, wtv, ogg, 3gp, rtp, rtsp, applehttp]'. It must be a value from the enumeration.
2012-11-28 23:46:11,983 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:156)
at org.serviio.MediaServer.main(MediaServer.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
It seems that the profile manager explicitly excludes the RMVB format from its known enumerations. then I tried to use the "*" to replace the "RMVB". tried to restart the service, then a different error in log,
2012-11-28 23:53:14,859 ERROR [XmlUtils] XML Profiles.xsd didn't pass validation, reason: cvc-enumeration-valid: Value 'rv40' is not facet-valid with respect to enumeration '[vc1, mpeg4, msmpeg4, mpeg2video, mpeg1video, h264, h263, wmv2, mjpeg, flv, vp6, vp8, theora, dvvideo]'. It must be a value from the enumeration.
2012-11-28 23:53:14,874 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:156)
at org.serviio.MediaServer.main(MediaServer.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher$2.run(Unknown Source)
It looks the profile manager is limiting both the media file extension and media format.
would it be possible to add RMVB and RV10-40 as its enumeration if there is no legal issues? as the FFMPEG is already supporting them.
Thanks
Weicheng