INDExOS / media-for-mobile

Media for Mobile
Other
456 stars 178 forks source link

Video transcoding Error #57

Open SachinYedle opened 7 years ago

SachinYedle commented 7 years ago

Hi I using this library for video transcoding only. It is working fine with captured videos. But I tried with youtube video of size 6.7 MB, after transcoding its size became 28 MB. Not getting how??

ahmadarslan13 commented 6 years ago

Did you able to record video with no error? I have got some issue after record the video it plays very fast i don't know and did not find the issue

SachinYedle commented 6 years ago

Actually I tried to transcode the video and it was giving above error...

After adjusting videobitrate it works.

On Mon 23 Apr, 2018, 4:15 PM ahmadarslan13, notifications@github.com wrote:

Did you able to record video with no error? I have got some issue after record the video it plays very fast i don't know and did not find the issue

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/INDExOS/media-for-mobile/issues/57#issuecomment-383532905, or mute the thread https://github.com/notifications/unsubscribe-auth/AMv1F9h5xUWlYnMwcxsWaMHy6Tpdxo1fks5trbC6gaJpZM4L8F94 .

ahmadarslan13 commented 6 years ago

Can you please guide me what would be the video rate to solve this issue?

SachinYedle commented 6 years ago

videoMimeType = "video/avc"; videoBitRateInKBytes = 400; videoFrameRate = 30;

videoIFrameInterval = 1;

audioMimeType = "audio/mp4a-latm";

audioBitRate = 96 * 1024;