Why does the recording quality differs from android sample ? #985
Replies: 2 comments 1 reply
-
Hello, The video resolution is not all for video quality. Try use exactly same paramaters (iframe interval, resolution, fps and bitrate) and you will get a similar result and, of course, similar size. |
Beta Was this translation helpful? Give feedback.
-
Thank you for this fast reply and well explanation. You're right with such bitrate I've observed the same quality, however I have noticed some frame drop in the video, but that's not so important. |
Beta Was this translation helpful? Give feedback.
-
Hello,
As I'm looking to improve the quality of the recording, I've made several quality comparison on different repository by using the same phone (pixel 4a), i've noticed the quality of recording on theses sample : https://github.com/android/camera-samples/tree/main/Camera2Video https://github.com/android/camera-samples/tree/main/CameraXVideo are better than the samples on this project ( like the RtmpActivity) , all sample configured with 1280*720 , also the size of the recorded videos in the android sample are 4 times bigger than in the sample of this project and with the same video length.
As far i know they are using the same video encoder H264
I probably missed some parameters in my test and I would like to understand what makes such big differences.
Beta Was this translation helpful? Give feedback.
All reactions