
2023/05/01 12:27 1/2 How to change the camera encoder
ODROID Wiki - https://wiki.odroid.com/
'ODROID-N2' on this page refers to the ODROID-N2 series
(N2, N2+, N2L).
The H.265(HEVC) codec is supported only 4Gb RAM model.
If you set HEVC your 2Gb RAM N2 model, It has a plobme for playback.
How to change the camera encoder
The ODROID-C4/N2 support the H.265(HEVC) and H.264(AVC) codec Encoder.
And you can select the codec for video capturing by Camera on the Android.
Also you can customize your own settings to capture Camera's video & audio codecs.
MAIN
Please following the commands on the ODROID-C4/N2 board.
target
$ cd /odm
$ vi default.prop
And change the configuration xml file name of media.settings.xml.
Default Setting
...
media.settings.xml=vendor/etc/media_profiles_V1_0_h264.xml
...
Codec Selection table
Video codec / Audio codec path
H.264(AVC)/ACC /vendor/etc/media_profiles_V1_0_h264.xml
H.265(HEVC)/ACC /vendor/etc/media_profiles_V1_0_hevc.xml
H.264(AVC)/ARMWB /system/etc/media_profiles_V1_0.xml
If you have ODROID-N2/N2+ with 4Gbyte RAM, Edit /odm/env.ini
target
$ cd /odm