Is Android Media Codec like "video / mp4v-es" the same as MPEG-4 Part 2 (MPEG-4 Visuals)?

I have less knowledge about codecs. I know that codec means Decode / Encode.In codecs will be built on mobile phones, and external libraries can be used as an alternative. The codecs play a large role in Audio \ Video, in which the format is encoded as a file and decoded for playback.

Problem:

Android api 16 comes with MediaCodec , which can work with encoding / decoding. MediaCodec contains constant flags

"video / MP4V-e"

Is it the same as MPEG-4 part 2 format (MPEG-4 Visual Format) .

Note. There is an MPEG-4 part 10 format, which is an H.264 (AV) format. I just want to receive confirmation or any documentation or links to blogs that can help me with this.

+4
source share
2 answers

Yes.

By default, "video / mp4v-es" maps to the Google MPEG4 Part-2 video ad codec. See media_codecs_google_video_xml for more details . However, on a real device, it will be implemented with a hardware video codec, since software-video codecs will work intensively in processors.

For MPEG4 Part 10 (H.264), you must use "video / avc".

+3
source

, , MP4V-ES / MPEG-4, RTP- RTP.

RFC, , - RTP - , , .

RFC, : https://tools.ietf.org/html/rfc6416

+1

Source: https://habr.com/ru/post/1630041/


All Articles