In the HTC camcorder even you choose the encoding method as MPEG it would save the file as 3gp, but with this it will save the file as mp4. I had to modify a few smali files to get it working.
This is only changing the extension. The videos are already being recorded in an mpeg-4 stream, they are just being created with a .3gp extension. This is really only for people who need the extension to be mp4 for some specific reason.
I have tested this a bit so be sure to back up your original HTCCamera.apk just in case.
Download it here.
As you can see below, nothing with the encoding has changed.
In recovery:
mount system
adb shell
mv /system/app/HTCCamera.apk /system/app/HTCCamera.apk_
exit
adb push HTCCamera.apk /system/app/
adb shell
chmod 0644 /system/app/HTCCamera.apk
exit
adb reboot
This is only changing the extension. The videos are already being recorded in an mpeg-4 stream, they are just being created with a .3gp extension. This is really only for people who need the extension to be mp4 for some specific reason.
I have tested this a bit so be sure to back up your original HTCCamera.apk just in case.
Download it here.
As you can see below, nothing with the encoding has changed.
In recovery:
mount system
adb shell
mv /system/app/HTCCamera.apk /system/app/HTCCamera.apk_
exit
adb push HTCCamera.apk /system/app/
adb shell
chmod 0644 /system/app/HTCCamera.apk
exit
adb reboot
Last edited: