0

I am able to record video in mp4 and 3gp formats in android.But how can I record and save video in .mkv format.Is it possible to do this in android.Is android supports .mkv format.Please provide solution.

Thank you...

revathi
  • 11
  • 5

2 Answers2

1

You can check all the supported formats of android in Audio,Video and Images. Supported Media Formats in Android

UserSharma
  • 432
  • 5
  • 20
  • 1
    I've already checked it.It tells that android supports .mkv format.But how can I record.I tried a lot.But didn't get any solution from google. – revathi May 10 '16 at 11:49
  • @revathi use can use this link for recording tutorial https://androidcookbook.com/Recipe.seam;jsessionid=9ACF6480A5FD9DDFEDE7ED6CD35C97EF?recipeId=1375 – UserSharma May 10 '16 at 11:57
  • Thank you. It's useful. I've done recording with .3gp and .mp4 formats.But I want some more formats. – revathi May 10 '16 at 12:12
  • I think .mkv is not a container format.It's container format is Matroska. .mkv is file extension. – revathi May 10 '16 at 12:25
  • Yes mkv is the file extention used for Matroska containers. Here is an FAQ: https://www.matroska.org/technical/guides/faq/index.html – maxbit89 May 10 '16 at 13:11
0

I think it is possible. But mkv isn't a video format it's a container format where you can put in multiple videos and audio lines. mkv can contain many video and audio format, and if you are able to view them depends on your player/recorder. And i think you won't record in this format instead "convert"(pack) it. you can use ffmpeg:

"FFmpeg on Android"

"Is there any way to port ffmpeg command to Android without root the device?"

Community
  • 1
  • 1
maxbit89
  • 625
  • 1
  • 7
  • 25