summaryrefslogtreecommitdiffstats
path: root/media_profiles.xml
diff options
context:
space:
mode:
authorPawit Pornkitprasan <p.pawit@gmail.com>2011-11-27 20:54:43 +0700
committerPawit Pornkitprasan <p.pawit@gmail.com>2011-11-27 20:54:43 +0700
commit4129e4146e8845757f4b5d4658e08f5ea2d4e6bc (patch)
tree728466daa68c7202555325eea096a4ab58addb92 /media_profiles.xml
parente35a08e74840903da6deedb562285ca523031c0b (diff)
downloaddevice_samsung_aries-common-4129e4146e8845757f4b5d4658e08f5ea2d4e6bc.zip
device_samsung_aries-common-4129e4146e8845757f4b5d4658e08f5ea2d4e6bc.tar.gz
device_samsung_aries-common-4129e4146e8845757f4b5d4658e08f5ea2d4e6bc.tar.bz2
Add video editor media_profiles from tuna with resolution reduced
Still doesn't work due to the lack of hardware encoder
Diffstat (limited to 'media_profiles.xml')
-rw-r--r--media_profiles.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/media_profiles.xml b/media_profiles.xml
index b30048f..7c50b43 100644
--- a/media_profiles.xml
+++ b/media_profiles.xml
@@ -70,6 +70,15 @@
<!ELEMENT AudioDecoderCap EMPTY>
<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
+<!ELEMENT VideoEditorCap EMPTY>
+<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
+<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
+<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
+<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
+<!ELEMENT ExportVideoProfile EMPTY>
+<!ATTLIST ExportVideoProfile name (h264|h263|m4v) #REQUIRED>
+<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
+<!ATTLIST ExportVideoProfile level CDATA #REQUIRED>
]>
<!--
This file is used to declare the multimedia profiles and capabilities
@@ -212,4 +221,27 @@
-->
<VideoDecoderCap name="wmv" enabled="false"/>
<AudioDecoderCap name="wma" enabled="false"/>
+ <VideoEditorCap maxInputFrameWidth="1280"
+ maxInputFrameHeight="720" maxOutputFrameWidth="1280"
+ maxOutputFrameHeight="720"/>
+ <!--
+ The VideoEditor Export codec profile and level values
+ correspond to the values in OMX_Video.h.
+ E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline
+ and level 4096 means OMX_VIDEO_AVCLevel41.
+ Please note that the values are in decimal.
+ These values are for video encoder.
+ -->
+ <!--
+ Codec = h.264, Baseline profile, level 4.1
+ -->
+ <ExportVideoProfile name="h264" profile= "1" level="4096"/>
+ <!--
+ Codec = h.263, Baseline profile, level 0
+ -->
+ <ExportVideoProfile name="h263" profile= "1" level="1"/>
+ <!--
+ Codec = mpeg4, Simple profile, level 3
+ -->
+ <ExportVideoProfile name="m4v" profile= "1" level="16"/>
</MediaSettings>