What’s The Difference Between A Codec,Container And Video Format?

http://www.ghacks.net/2011/09/07/whats-the-difference-between-a-codec-container-and-video-format/

By MartinBrinkmann on in Tutorials- Last Update: 7

Do you know that video codecs, video containers andvideo formats are three different things? If not, then this guidemight be for you. I'm trying to keep it as simple as possible, whichmeans that this will not be as detailed as it could be. Afterwardsyou will be able to distinguish between codecs, containers and videoformats.

Lets start with the video format. A format consistsbasically of a set of rules and parameters that define the video.This is the native resolution, color depth, the frames per secondamong other parameters. Video format examples are the DVD videoformat, the 3GP video format or 1080p and 1080i formats.

A video codec acts as a interpreter for the videoformat or formats it supports. Devices and software use codecs tocompress and decompress video.

It is used by video players to determine how thevideo needs to be played correctly on the system. Many video playerson a computer system come with their own set of binary codecs thatonly they can use. Codec packs on the other hand install codecssystem wide so that applications like Windows Media Player can makeuse of them to play specific video formats.

A container more or less bundles multiple files. Forvideos, this is usually the video and audio track. More advancedcontainer formats can include other data types as well like menus forexample. Popular container formats are avi, mkv or mov.

One advantage of using a container for a video isthat programs can use different codecs for the tracks of the video.It is therefor possible to use one codec for the video and one forthe audio, which is often preferable to using a single codec.

To paraphrase: The video format sets the rules, thecodec interprets them and a container format is a meta format thatbundles multiple files into one container.

Related Articles

  • Findout which audio or video codec is missing

  • FixBroken Video Codecs With Codec Sniper

  • Findout which codec is missing for playback

What’s The Difference Between A Codec, Container And Video Format?相关推荐

  1. OpenCV VideoWriter报错: FFMPEG: tag ‘MP4V‘ is not supported with codec id 12 and format mp4解决方法

    一.问题代码 几个月前有段代码能正常执行的,部分代码如下: def buildVideoByCV():videoMake = cv2.VideoWriter()fourcc = cv2.VideoWr ...

  2. 解决:OpenCV: FFMPEG: tag 0x5634504d/‘MP4V‘ is not supported with codec id 12 and format ‘mp4 / MP4

    代码: fourcc = cv2.VideoWriter_fourcc('M', 'P', '4', 'V') 问题描述: 利用python 的opencv包把图片合并为视频(mp4格式)时出现如下报 ...

  3. 解决:OpenCV: FFMPEG: tag 0x5634504d/‘MP4V‘ is not supported with codec id 12 and format ‘mp4 / MP4 (MP

    问题描述: 利用python 的opencv包把图片合并为视频(mp4格式)的时候发现错误. OpenCV: FFMPEG: tag 0x5634504d/'MP4V' is not supporte ...

  4. OpenCV: FFMPEG: tag 0x5634504d/‘MP4V‘ is not supported with codec id 12 and format ‘mp4 / MP4

  5. android media codec,Android MediaCodec

    MediaCodec是什么? MediaCodec类为开发者提供了能访问到Android底层媒体Codec(Encoder/Decoder)的能力,它是Android底层多媒体基础架构的一部分(通常和 ...

  6. SitePoint播客#63:有两个网站

    Episode 63 of The SitePoint Podcast is now available! This week your hosts are Patrick O'Keefe (@iFr ...

  7. FFMpeg4.0相关结构体和函数

    文章目录 相关指令 相关结构体 av_register_all() 已废弃无需添加 avformat_network_init() 初始化网络封装库 AVFormatContext结构体 AVDict ...

  8. 防抖技术 | OpenCV实现视频稳流

    点击上方"小白学视觉",选择加"星标"或"置顶" 重磅干货,第一时间送达 本文转自|OpenCV学堂 这篇文章分享了一个视频防抖的策略,这个 ...

  9. atitit.mp4 视频文件多媒体格式结构详解

    atitit.mp4 视频文件多媒体格式结构详解 1. 一.基本概念1 2. MP4文件概述2 3. mp4是由一个个"box"组成的,2 4. 典型简化mp43 5. Fragm ...

最新文章

  1. php.ini文件找不到
  2. 用自然语言指导强化学习agent打游戏,这是斯坦福的最新研究
  3. 21%转化率,海淘用户都在买什么?
  4. php const 字符串,我可以使用字符串连接在PHP中定义一个类CONST吗?
  5. java8 java9 接口 interface
  6. springaop----springaop的使用(一)
  7. python jsonrpc_python-jsonrpc框架实现JsonRPC协议的web服务
  8. flash插件android 6.0.1,flash player 10.1
  9. 在线 IDE,支持 C-sharp, PHP, JavaScript - CodeRun
  10. 为知共享——让工作更轻松
  11. 怎样在PDF文档中添加插入图片
  12. 研发和测试在多国陆续展开 全球央行数字货币研发驶入快车道
  13. ubuntu 18.04 安装NVIDIA驱动 cuda/cudnn + tensorflow-gpu + pytorch
  14. [转载]工科硕士毕业14年,谈谈我的经验教训
  15. 广州去香港的N种方法
  16. ZigBee无线传感网络的地址分配机制
  17. R语言与数据分析(3)-R软件安装
  18. 外包的水太深了,18k的阿里外包不太敢去.....
  19. SpaceX星际飞船将于2024年发射日本通信卫星
  20. English语法_并列连词-or

热门文章

  1. mysql学习笔记-使用通配符模糊查找
  2. 计算机专业在哪里盖章好,毕业生就业证明去哪盖章
  3. 群晖产品优势及案例介绍
  4. 基于卷积的图像分类识别(七):SENet
  5. Java中数组转List的四种方式
  6. 实现多方位网络营销的一些技巧
  7. 实用技巧:快速提高电脑性能
  8. Python判断if语句
  9. 计算机教室的开场白,信息技术课的开头
  10. 数据分析思维笔记(基础)