media_profiles_lynx.xml 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <!-- Copyright (C) 2010 The Android Open Source Project
  3. Licensed under the Apache License, Version 2.0 (the "License");
  4. you may not use this file except in compliance with the License.
  5. You may obtain a copy of the License at
  6. http://www.apache.org/licenses/LICENSE-2.0
  7. Unless required by applicable law or agreed to in writing, software
  8. distributed under the License is distributed on an "AS IS" BASIS,
  9. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  10. See the License for the specific language governing permissions and
  11. limitations under the License.
  12. -->
  13. <!DOCTYPE MediaSettings [
  14. <!ELEMENT MediaSettings (CamcorderProfiles,
  15. EncoderOutputFileFormat+,
  16. VideoEncoderCap+,
  17. AudioEncoderCap+,
  18. VideoDecoderCap,
  19. AudioDecoderCap)>
  20. <!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
  21. <!ELEMENT EncoderProfile (Video, Audio)>
  22. <!ATTLIST EncoderProfile quality (high|low) #REQUIRED>
  23. <!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
  24. <!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
  25. <!ELEMENT Video EMPTY>
  26. <!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
  27. <!ATTLIST Video bitRate CDATA #REQUIRED>
  28. <!ATTLIST Video width CDATA #REQUIRED>
  29. <!ATTLIST Video height CDATA #REQUIRED>
  30. <!ATTLIST Video frameRate CDATA #REQUIRED>
  31. <!ELEMENT Audio EMPTY>
  32. <!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
  33. <!ATTLIST Audio bitRate CDATA #REQUIRED>
  34. <!ATTLIST Audio sampleRate CDATA #REQUIRED>
  35. <!ATTLIST Audio channels (1|2) #REQUIRED>
  36. <!ELEMENT ImageEncoding EMPTY>
  37. <!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
  38. <!ELEMENT ImageDecoding EMPTY>
  39. <!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
  40. <!ELEMENT Camera EMPTY>
  41. <!ATTLIST Camera previewFrameRate CDATA #REQUIRED>
  42. <!ELEMENT EncoderOutputFileFormat EMPTY>
  43. <!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
  44. <!ELEMENT VideoEncoderCap EMPTY>
  45. <!ATTLIST VideoEncoderCap name (hevc|h264|h263|m4v|wmv) #REQUIRED>
  46. <!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
  47. <!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
  48. <!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
  49. <!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
  50. <!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
  51. <!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
  52. <!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
  53. <!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
  54. <!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
  55. <!ELEMENT AudioEncoderCap EMPTY>
  56. <!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma) #REQUIRED>
  57. <!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
  58. <!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
  59. <!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
  60. <!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
  61. <!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
  62. <!ATTLIST AudioEncoderCap minChannels (1|2) #REQUIRED>
  63. <!ATTLIST AudioEncoderCap maxChannels (1|2) #REQUIRED>
  64. <!ELEMENT VideoDecoderCap EMPTY>
  65. <!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
  66. <!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
  67. <!ELEMENT AudioDecoderCap EMPTY>
  68. <!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
  69. <!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
  70. ]>
  71. <!--
  72. This file is used to declare the multimedia profiles and capabilities
  73. on an android-powered device.
  74. -->
  75. <MediaSettings>
  76. <!-- Each camcorder profile defines a set of predefined configuration parameters -->
  77. <CamcorderProfiles cameraId="0">
  78. <EncoderProfile quality="2160p" fileFormat="mp4" duration="60">
  79. <Video codec="h264"
  80. bitRate="72000000"
  81. width="3840"
  82. height="2160"
  83. frameRate="60" />
  84. <Audio codec="aac"
  85. bitRate="96000"
  86. sampleRate="48000"
  87. channels="1" />
  88. </EncoderProfile>
  89. <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
  90. <Video codec="h264"
  91. bitRate="33000000"
  92. width="1920"
  93. height="1080"
  94. frameRate="60" />
  95. <Audio codec="aac"
  96. bitRate="96000"
  97. sampleRate="48000"
  98. channels="1" />
  99. </EncoderProfile>
  100. <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
  101. <Video codec="h264"
  102. bitRate="12000000"
  103. width="1280"
  104. height="720"
  105. frameRate="30" />
  106. <Audio codec="aac"
  107. bitRate="96000"
  108. sampleRate="48000"
  109. channels="1" />
  110. </EncoderProfile>
  111. <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
  112. <Video codec="h264"
  113. bitRate="6000000"
  114. width="720"
  115. height="480"
  116. frameRate="30" />
  117. <Audio codec="aac"
  118. bitRate="96000"
  119. sampleRate="48000"
  120. channels="1" />
  121. </EncoderProfile>
  122. <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
  123. <Video codec="h264"
  124. bitRate="1200000"
  125. width="352"
  126. height="288"
  127. frameRate="30" />
  128. <Audio codec="aac"
  129. bitRate="96000"
  130. sampleRate="48000"
  131. channels="1" />
  132. </EncoderProfile>
  133. <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
  134. <Video codec="h264"
  135. bitRate="512000"
  136. width="320"
  137. height="240"
  138. frameRate="30" />
  139. <Audio codec="aac"
  140. bitRate="96000"
  141. sampleRate="48000"
  142. channels="1" />
  143. </EncoderProfile>
  144. <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
  145. <Video codec="h264"
  146. bitRate="128000"
  147. width="176"
  148. height="144"
  149. frameRate="30" />
  150. <Audio codec="amrnb"
  151. bitRate="12200"
  152. sampleRate="8000"
  153. channels="1" />
  154. </EncoderProfile>
  155. <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="60">
  156. <Video codec="h264"
  157. bitRate="48000000"
  158. width="3840"
  159. height="2160"
  160. frameRate="30" />
  161. <!-- Audio settings are not used for timealpse video recording -->
  162. <Audio codec="aac"
  163. bitRate="96000"
  164. sampleRate="48000"
  165. channels="1" />
  166. </EncoderProfile>
  167. <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
  168. <Video codec="h264"
  169. bitRate="22000000"
  170. width="1920"
  171. height="1080"
  172. frameRate="30" />
  173. <!-- Audio settings are not used for timealpse video recording -->
  174. <Audio codec="aac"
  175. bitRate="96000"
  176. sampleRate="48000"
  177. channels="1" />
  178. </EncoderProfile>
  179. <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
  180. <Video codec="h264"
  181. bitRate="12000000"
  182. width="1280"
  183. height="720"
  184. frameRate="30" />
  185. <!-- Audio settings are not used for timealpse video recording -->
  186. <Audio codec="aac"
  187. bitRate="96000"
  188. sampleRate="48000"
  189. channels="1" />
  190. </EncoderProfile>
  191. <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
  192. <Video codec="h264"
  193. bitRate="6000000"
  194. width="720"
  195. height="480"
  196. frameRate="30" />
  197. <!-- Audio settings are not used for timealpse video recording -->
  198. <Audio codec="aac"
  199. bitRate="96000"
  200. sampleRate="48000"
  201. channels="1" />
  202. </EncoderProfile>
  203. <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
  204. <Video codec="h264"
  205. bitRate="1200000"
  206. width="352"
  207. height="288"
  208. frameRate="30" />
  209. <!-- Audio settings are not used for timealpse video recording -->
  210. <Audio codec="aac"
  211. bitRate="96000"
  212. sampleRate="48000"
  213. channels="1" />
  214. </EncoderProfile>
  215. <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
  216. <Video codec="h264"
  217. bitRate="192000"
  218. width="176"
  219. height="144"
  220. frameRate="30" />
  221. <!-- Audio settings are not used for timealpse video recording -->
  222. <Audio codec="amrnb"
  223. bitRate="12200"
  224. sampleRate="8000"
  225. channels="1" />
  226. </EncoderProfile>
  227. <EncoderProfile quality="highspeedlow" fileFormat="mp4" duration="60">
  228. <Video codec="h264"
  229. bitRate="72000000"
  230. width="1920"
  231. height="1080"
  232. frameRate="240" />
  233. <!-- audio setting is ignored -->
  234. <Audio codec="aac"
  235. bitRate="96000"
  236. sampleRate="48000"
  237. channels="1" />
  238. </EncoderProfile>
  239. <EncoderProfile quality="highspeedhigh" fileFormat="mp4" duration="60">
  240. <Video codec="h264"
  241. bitRate="72000000"
  242. width="1920"
  243. height="1080"
  244. frameRate="240" />
  245. <!-- audio setting is ignored -->
  246. <Audio codec="aac"
  247. bitRate="96000"
  248. sampleRate="48000"
  249. channels="1" />
  250. </EncoderProfile>
  251. <EncoderProfile quality="highspeed1080p" fileFormat="mp4" duration="60">
  252. <Video codec="h264"
  253. bitRate="72000000"
  254. width="1920"
  255. height="1080"
  256. frameRate="240" />
  257. <!-- audio setting is ignored -->
  258. <Audio codec="aac"
  259. bitRate="96000"
  260. sampleRate="48000"
  261. channels="1" />
  262. </EncoderProfile>
  263. <ImageEncoding quality="90" />
  264. <ImageEncoding quality="80" />
  265. <ImageEncoding quality="70" />
  266. <ImageDecoding memCap="20000000" />
  267. </CamcorderProfiles>
  268. <CamcorderProfiles cameraId="1">
  269. <EncoderProfile quality="2160p" fileFormat="mp4" duration="60">
  270. <Video codec="h264"
  271. bitRate="48000000"
  272. width="3840"
  273. height="2160"
  274. frameRate="30" />
  275. <Audio codec="aac"
  276. bitRate="96000"
  277. sampleRate="48000"
  278. channels="1" />
  279. </EncoderProfile>
  280. <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
  281. <Video codec="h264"
  282. bitRate="33000000"
  283. width="1920"
  284. height="1080"
  285. frameRate="60" />
  286. <Audio codec="aac"
  287. bitRate="96000"
  288. sampleRate="48000"
  289. channels="1" />
  290. </EncoderProfile>
  291. <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
  292. <Video codec="h264"
  293. bitRate="12000000"
  294. width="1280"
  295. height="720"
  296. frameRate="30" />
  297. <Audio codec="aac"
  298. bitRate="96000"
  299. sampleRate="48000"
  300. channels="1" />
  301. </EncoderProfile>
  302. <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
  303. <Video codec="h264"
  304. bitRate="6000000"
  305. width="720"
  306. height="480"
  307. frameRate="30" />
  308. <Audio codec="aac"
  309. bitRate="96000"
  310. sampleRate="48000"
  311. channels="1" />
  312. </EncoderProfile>
  313. <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
  314. <Video codec="h264"
  315. bitRate="1200000"
  316. width="352"
  317. height="288"
  318. frameRate="30" />
  319. <Audio codec="aac"
  320. bitRate="96000"
  321. sampleRate="48000"
  322. channels="1" />
  323. </EncoderProfile>
  324. <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
  325. <Video codec="h264"
  326. bitRate="512000"
  327. width="320"
  328. height="240"
  329. frameRate="30" />
  330. <Audio codec="aac"
  331. bitRate="96000"
  332. sampleRate="48000"
  333. channels="1" />
  334. </EncoderProfile>
  335. <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
  336. <Video codec="h264"
  337. bitRate="128000"
  338. width="176"
  339. height="144"
  340. frameRate="30" />
  341. <Audio codec="amrnb"
  342. bitRate="12200"
  343. sampleRate="8000"
  344. channels="1" />
  345. </EncoderProfile>
  346. <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
  347. <Video codec="h264"
  348. bitRate="22000000"
  349. width="1920"
  350. height="1080"
  351. frameRate="30" />
  352. <!-- Audio settings are not used for timealpse video recording -->
  353. <Audio codec="aac"
  354. bitRate="96000"
  355. sampleRate="48000"
  356. channels="1" />
  357. </EncoderProfile>
  358. <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
  359. <Video codec="h264"
  360. bitRate="12000000"
  361. width="1280"
  362. height="720"
  363. frameRate="30" />
  364. <!-- Audio settings are not used for timealpse video recording -->
  365. <Audio codec="aac"
  366. bitRate="96000"
  367. sampleRate="48000"
  368. channels="1" />
  369. </EncoderProfile>
  370. <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
  371. <Video codec="h264"
  372. bitRate="6000000"
  373. width="720"
  374. height="480"
  375. frameRate="30" />
  376. <!-- Audio settings are not used for timealpse video recording -->
  377. <Audio codec="aac"
  378. bitRate="96000"
  379. sampleRate="48000"
  380. channels="1" />
  381. </EncoderProfile>
  382. <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
  383. <Video codec="h264"
  384. bitRate="1200000"
  385. width="352"
  386. height="288"
  387. frameRate="30" />
  388. <!-- Audio settings are not used for timealpse video recording -->
  389. <Audio codec="aac"
  390. bitRate="96000"
  391. sampleRate="48000"
  392. channels="1" />
  393. </EncoderProfile>
  394. <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
  395. <Video codec="h264"
  396. bitRate="192000"
  397. width="176"
  398. height="144"
  399. frameRate="30" />
  400. <!-- Audio settings are not used for timealpse video recording -->
  401. <Audio codec="amrnb"
  402. bitRate="12200"
  403. sampleRate="8000"
  404. channels="1" />
  405. </EncoderProfile>
  406. <ImageEncoding quality="90" />
  407. <ImageEncoding quality="80" />
  408. <ImageEncoding quality="70" />
  409. <ImageDecoding memCap="20000000" />
  410. </CamcorderProfiles>
  411. <CamcorderProfiles cameraId="2">
  412. <EncoderProfile quality="2160p" fileFormat="mp4" duration="60">
  413. <Video codec="h264"
  414. bitRate="72000000"
  415. width="3840"
  416. height="2160"
  417. frameRate="60" />
  418. <Audio codec="aac"
  419. bitRate="96000"
  420. sampleRate="48000"
  421. channels="1" />
  422. </EncoderProfile>
  423. <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
  424. <Video codec="h264"
  425. bitRate="33000000"
  426. width="1920"
  427. height="1080"
  428. frameRate="60" />
  429. <Audio codec="aac"
  430. bitRate="96000"
  431. sampleRate="48000"
  432. channels="1" />
  433. </EncoderProfile>
  434. <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
  435. <Video codec="h264"
  436. bitRate="12000000"
  437. width="1280"
  438. height="720"
  439. frameRate="30" />
  440. <Audio codec="aac"
  441. bitRate="96000"
  442. sampleRate="48000"
  443. channels="1" />
  444. </EncoderProfile>
  445. <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
  446. <Video codec="h264"
  447. bitRate="6000000"
  448. width="720"
  449. height="480"
  450. frameRate="30" />
  451. <Audio codec="aac"
  452. bitRate="96000"
  453. sampleRate="48000"
  454. channels="1" />
  455. </EncoderProfile>
  456. <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
  457. <Video codec="h264"
  458. bitRate="1200000"
  459. width="352"
  460. height="288"
  461. frameRate="30" />
  462. <Audio codec="aac"
  463. bitRate="96000"
  464. sampleRate="48000"
  465. channels="1" />
  466. </EncoderProfile>
  467. <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
  468. <Video codec="h264"
  469. bitRate="512000"
  470. width="320"
  471. height="240"
  472. frameRate="30" />
  473. <Audio codec="aac"
  474. bitRate="96000"
  475. sampleRate="48000"
  476. channels="1" />
  477. </EncoderProfile>
  478. <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
  479. <Video codec="h264"
  480. bitRate="128000"
  481. width="176"
  482. height="144"
  483. frameRate="30" />
  484. <Audio codec="amrnb"
  485. bitRate="12200"
  486. sampleRate="8000"
  487. channels="1" />
  488. </EncoderProfile>
  489. <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="60">
  490. <Video codec="h264"
  491. bitRate="48000000"
  492. width="3840"
  493. height="2160"
  494. frameRate="30" />
  495. <!-- Audio settings are not used for timealpse video recording -->
  496. <Audio codec="aac"
  497. bitRate="96000"
  498. sampleRate="48000"
  499. channels="1" />
  500. </EncoderProfile>
  501. <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
  502. <Video codec="h264"
  503. bitRate="22000000"
  504. width="1920"
  505. height="1080"
  506. frameRate="30" />
  507. <!-- Audio settings are not used for timealpse video recording -->
  508. <Audio codec="aac"
  509. bitRate="96000"
  510. sampleRate="48000"
  511. channels="1" />
  512. </EncoderProfile>
  513. <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
  514. <Video codec="h264"
  515. bitRate="12000000"
  516. width="1280"
  517. height="720"
  518. frameRate="30" />
  519. <!-- Audio settings are not used for timealpse video recording -->
  520. <Audio codec="aac"
  521. bitRate="96000"
  522. sampleRate="48000"
  523. channels="1" />
  524. </EncoderProfile>
  525. <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
  526. <Video codec="h264"
  527. bitRate="6000000"
  528. width="720"
  529. height="480"
  530. frameRate="30" />
  531. <!-- Audio settings are not used for timealpse video recording -->
  532. <Audio codec="aac"
  533. bitRate="96000"
  534. sampleRate="48000"
  535. channels="1" />
  536. </EncoderProfile>
  537. <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
  538. <Video codec="h264"
  539. bitRate="1200000"
  540. width="352"
  541. height="288"
  542. frameRate="30" />
  543. <!-- Audio settings are not used for timealpse video recording -->
  544. <Audio codec="aac"
  545. bitRate="96000"
  546. sampleRate="48000"
  547. channels="1" />
  548. </EncoderProfile>
  549. <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
  550. <Video codec="h264"
  551. bitRate="192000"
  552. width="176"
  553. height="144"
  554. frameRate="30" />
  555. <!-- Audio settings are not used for timealpse video recording -->
  556. <Audio codec="amrnb"
  557. bitRate="12200"
  558. sampleRate="8000"
  559. channels="1" />
  560. </EncoderProfile>
  561. <ImageEncoding quality="90" />
  562. <ImageEncoding quality="80" />
  563. <ImageEncoding quality="70" />
  564. <ImageDecoding memCap="20000000" />
  565. </CamcorderProfiles>
  566. <CamcorderProfiles cameraId="3">
  567. <EncoderProfile quality="2160p" fileFormat="mp4" duration="60">
  568. <Video codec="h264"
  569. bitRate="48000000"
  570. width="3840"
  571. height="2160"
  572. frameRate="30" />
  573. <Audio codec="aac"
  574. bitRate="96000"
  575. sampleRate="48000"
  576. channels="1" />
  577. </EncoderProfile>
  578. <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
  579. <Video codec="h264"
  580. bitRate="33000000"
  581. width="1920"
  582. height="1080"
  583. frameRate="60" />
  584. <Audio codec="aac"
  585. bitRate="96000"
  586. sampleRate="48000"
  587. channels="1" />
  588. </EncoderProfile>
  589. <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
  590. <Video codec="h264"
  591. bitRate="12000000"
  592. width="1280"
  593. height="720"
  594. frameRate="30" />
  595. <Audio codec="aac"
  596. bitRate="96000"
  597. sampleRate="48000"
  598. channels="1" />
  599. </EncoderProfile>
  600. <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
  601. <Video codec="h264"
  602. bitRate="6000000"
  603. width="720"
  604. height="480"
  605. frameRate="30" />
  606. <Audio codec="aac"
  607. bitRate="96000"
  608. sampleRate="48000"
  609. channels="1" />
  610. </EncoderProfile>
  611. <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
  612. <Video codec="h264"
  613. bitRate="1200000"
  614. width="352"
  615. height="288"
  616. frameRate="30" />
  617. <Audio codec="aac"
  618. bitRate="96000"
  619. sampleRate="48000"
  620. channels="1" />
  621. </EncoderProfile>
  622. <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
  623. <Video codec="h264"
  624. bitRate="512000"
  625. width="320"
  626. height="240"
  627. frameRate="30" />
  628. <Audio codec="aac"
  629. bitRate="96000"
  630. sampleRate="48000"
  631. channels="1" />
  632. </EncoderProfile>
  633. <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
  634. <Video codec="h264"
  635. bitRate="128000"
  636. width="176"
  637. height="144"
  638. frameRate="30" />
  639. <Audio codec="amrnb"
  640. bitRate="12200"
  641. sampleRate="8000"
  642. channels="1" />
  643. </EncoderProfile>
  644. <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="60">
  645. <Video codec="h264"
  646. bitRate="48000000"
  647. width="3840"
  648. height="2160"
  649. frameRate="30" />
  650. <!-- Audio settings are not used for timealpse video recording -->
  651. <Audio codec="aac"
  652. bitRate="96000"
  653. sampleRate="48000"
  654. channels="1" />
  655. </EncoderProfile>
  656. <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
  657. <Video codec="h264"
  658. bitRate="22000000"
  659. width="1920"
  660. height="1080"
  661. frameRate="30" />
  662. <!-- Audio settings are not used for timealpse video recording -->
  663. <Audio codec="aac"
  664. bitRate="96000"
  665. sampleRate="48000"
  666. channels="1" />
  667. </EncoderProfile>
  668. <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
  669. <Video codec="h264"
  670. bitRate="12000000"
  671. width="1280"
  672. height="720"
  673. frameRate="30" />
  674. <!-- Audio settings are not used for timealpse video recording -->
  675. <Audio codec="aac"
  676. bitRate="96000"
  677. sampleRate="48000"
  678. channels="1" />
  679. </EncoderProfile>
  680. <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
  681. <Video codec="h264"
  682. bitRate="6000000"
  683. width="720"
  684. height="480"
  685. frameRate="30" />
  686. <!-- Audio settings are not used for timealpse video recording -->
  687. <Audio codec="aac"
  688. bitRate="96000"
  689. sampleRate="48000"
  690. channels="1" />
  691. </EncoderProfile>
  692. <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
  693. <Video codec="h264"
  694. bitRate="1200000"
  695. width="352"
  696. height="288"
  697. frameRate="30" />
  698. <!-- Audio settings are not used for timealpse video recording -->
  699. <Audio codec="aac"
  700. bitRate="96000"
  701. sampleRate="48000"
  702. channels="1" />
  703. </EncoderProfile>
  704. <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
  705. <Video codec="h264"
  706. bitRate="192000"
  707. width="176"
  708. height="144"
  709. frameRate="30" />
  710. <!-- Audio settings are not used for timealpse video recording -->
  711. <Audio codec="amrnb"
  712. bitRate="12200"
  713. sampleRate="8000"
  714. channels="1" />
  715. </EncoderProfile>
  716. <ImageEncoding quality="90" />
  717. <ImageEncoding quality="80" />
  718. <ImageEncoding quality="70" />
  719. <ImageDecoding memCap="20000000" />
  720. </CamcorderProfiles>
  721. <CamcorderProfiles cameraId="4">
  722. <EncoderProfile quality="2160p" fileFormat="mp4" duration="60">
  723. <Video codec="h264"
  724. bitRate="48000000"
  725. width="3840"
  726. height="2160"
  727. frameRate="30" />
  728. <Audio codec="aac"
  729. bitRate="96000"
  730. sampleRate="48000"
  731. channels="1" />
  732. </EncoderProfile>
  733. <EncoderProfile quality="1080p" fileFormat="mp4" duration="60">
  734. <Video codec="h264"
  735. bitRate="33000000"
  736. width="1920"
  737. height="1080"
  738. frameRate="60" />
  739. <Audio codec="aac"
  740. bitRate="96000"
  741. sampleRate="48000"
  742. channels="1" />
  743. </EncoderProfile>
  744. <EncoderProfile quality="720p" fileFormat="mp4" duration="60">
  745. <Video codec="h264"
  746. bitRate="12000000"
  747. width="1280"
  748. height="720"
  749. frameRate="30" />
  750. <Audio codec="aac"
  751. bitRate="96000"
  752. sampleRate="48000"
  753. channels="1" />
  754. </EncoderProfile>
  755. <EncoderProfile quality="480p" fileFormat="mp4" duration="60">
  756. <Video codec="h264"
  757. bitRate="6000000"
  758. width="720"
  759. height="480"
  760. frameRate="30" />
  761. <Audio codec="aac"
  762. bitRate="96000"
  763. sampleRate="48000"
  764. channels="1" />
  765. </EncoderProfile>
  766. <EncoderProfile quality="cif" fileFormat="mp4" duration="60">
  767. <Video codec="h264"
  768. bitRate="1200000"
  769. width="352"
  770. height="288"
  771. frameRate="30" />
  772. <Audio codec="aac"
  773. bitRate="96000"
  774. sampleRate="48000"
  775. channels="1" />
  776. </EncoderProfile>
  777. <EncoderProfile quality="qvga" fileFormat="mp4" duration="60">
  778. <Video codec="h264"
  779. bitRate="512000"
  780. width="320"
  781. height="240"
  782. frameRate="30" />
  783. <Audio codec="aac"
  784. bitRate="96000"
  785. sampleRate="48000"
  786. channels="1" />
  787. </EncoderProfile>
  788. <EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
  789. <Video codec="h264"
  790. bitRate="128000"
  791. width="176"
  792. height="144"
  793. frameRate="30" />
  794. <Audio codec="amrnb"
  795. bitRate="12200"
  796. sampleRate="8000"
  797. channels="1" />
  798. </EncoderProfile>
  799. <EncoderProfile quality="timelapse2160p" fileFormat="mp4" duration="60">
  800. <Video codec="h264"
  801. bitRate="48000000"
  802. width="3840"
  803. height="2160"
  804. frameRate="30" />
  805. <!-- Audio settings are not used for timealpse video recording -->
  806. <Audio codec="aac"
  807. bitRate="96000"
  808. sampleRate="48000"
  809. channels="1" />
  810. </EncoderProfile>
  811. <EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="60">
  812. <Video codec="h264"
  813. bitRate="22000000"
  814. width="1920"
  815. height="1080"
  816. frameRate="30" />
  817. <!-- Audio settings are not used for timealpse video recording -->
  818. <Audio codec="aac"
  819. bitRate="96000"
  820. sampleRate="48000"
  821. channels="1" />
  822. </EncoderProfile>
  823. <EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="60">
  824. <Video codec="h264"
  825. bitRate="12000000"
  826. width="1280"
  827. height="720"
  828. frameRate="30" />
  829. <!-- Audio settings are not used for timealpse video recording -->
  830. <Audio codec="aac"
  831. bitRate="96000"
  832. sampleRate="48000"
  833. channels="1" />
  834. </EncoderProfile>
  835. <EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="60">
  836. <Video codec="h264"
  837. bitRate="6000000"
  838. width="720"
  839. height="480"
  840. frameRate="30" />
  841. <!-- Audio settings are not used for timealpse video recording -->
  842. <Audio codec="aac"
  843. bitRate="96000"
  844. sampleRate="48000"
  845. channels="1" />
  846. </EncoderProfile>
  847. <EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="60">
  848. <Video codec="h264"
  849. bitRate="1200000"
  850. width="352"
  851. height="288"
  852. frameRate="30" />
  853. <!-- Audio settings are not used for timealpse video recording -->
  854. <Audio codec="aac"
  855. bitRate="96000"
  856. sampleRate="48000"
  857. channels="1" />
  858. </EncoderProfile>
  859. <EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="60">
  860. <Video codec="h264"
  861. bitRate="192000"
  862. width="176"
  863. height="144"
  864. frameRate="30" />
  865. <!-- Audio settings are not used for timealpse video recording -->
  866. <Audio codec="amrnb"
  867. bitRate="12200"
  868. sampleRate="8000"
  869. channels="1" />
  870. </EncoderProfile>
  871. <ImageEncoding quality="90" />
  872. <ImageEncoding quality="80" />
  873. <ImageEncoding quality="70" />
  874. <ImageDecoding memCap="20000000" />
  875. </CamcorderProfiles>
  876. <EncoderOutputFileFormat name="3gp" />
  877. <EncoderOutputFileFormat name="mp4" />
  878. <!--
  879. If a codec is not enabled, it is invisible to the applications
  880. In other words, the applications won't be able to use the codec
  881. or query the capabilities of the codec at all if it is disabled
  882. -->
  883. <!--
  884. FIXME : we only check Mpeg4 encorder cap and other codec doesn't check
  885. codec cap
  886. -->
  887. <VideoEncoderCap name="hevc" enabled="true"
  888. minBitRate="64000" maxBitRate="100000000"
  889. minFrameWidth="128" maxFrameWidth="3840"
  890. minFrameHeight="96" maxFrameHeight="2160"
  891. minFrameRate="15" maxFrameRate="30" />
  892. <VideoEncoderCap name="h264" enabled="true"
  893. minBitRate="64000" maxBitRate="100000000"
  894. minFrameWidth="128" maxFrameWidth="3840"
  895. minFrameHeight="96" maxFrameHeight="2160"
  896. minFrameRate="15" maxFrameRate="30" />
  897. <VideoEncoderCap name="h263" enabled="true"
  898. minBitRate="64000" maxBitRate="1000000"
  899. minFrameWidth="128" maxFrameWidth="1920"
  900. minFrameHeight="96" maxFrameHeight="1080"
  901. minFrameRate="15" maxFrameRate="30" />
  902. <VideoEncoderCap name="m4v" enabled="true"
  903. minBitRate="64000" maxBitRate="2000000"
  904. minFrameWidth="128" maxFrameWidth="1920"
  905. minFrameHeight="96" maxFrameHeight="1080"
  906. minFrameRate="15" maxFrameRate="30" />
  907. <AudioEncoderCap name="aac" enabled="true"
  908. minBitRate="758" maxBitRate="288000"
  909. minSampleRate="8000" maxSampleRate="48000"
  910. minChannels="1" maxChannels="1" />
  911. <AudioEncoderCap name="heaac" enabled="true"
  912. minBitRate="8000" maxBitRate="64000"
  913. minSampleRate="16000" maxSampleRate="48000"
  914. minChannels="1" maxChannels="1" />
  915. <AudioEncoderCap name="aaceld" enabled="true"
  916. minBitRate="16000" maxBitRate="192000"
  917. minSampleRate="16000" maxSampleRate="48000"
  918. minChannels="1" maxChannels="1" />
  919. <AudioEncoderCap name="amrwb" enabled="true"
  920. minBitRate="6600" maxBitRate="23050"
  921. minSampleRate="16000" maxSampleRate="16000"
  922. minChannels="1" maxChannels="1" />
  923. <AudioEncoderCap name="amrnb" enabled="true"
  924. minBitRate="5525" maxBitRate="12200"
  925. minSampleRate="8000" maxSampleRate="8000"
  926. minChannels="1" maxChannels="1" />
  927. <!--
  928. FIXME:
  929. We do not check decoder capabilities at present
  930. At present, we only check whether windows media is visible
  931. for TEST applications. For other applications, we do
  932. not perform any checks at all.
  933. -->
  934. <VideoDecoderCap name="wmv" enabled="false"/>
  935. <AudioDecoderCap name="wma" enabled="false"/>
  936. </MediaSettings>