本系列文章讲述DVD-Video所包含文件的功能及结构.

VOB files

An overview to show the logical structure of VOB files, and help you see where all the pieces fit.

MPEG-2 System Stream

A VOB file is an MPEG-2 system stream. This means that it complies 100% with the MPEG-2 system level standard, ISO 13818-1. However, VOB files are a very strict subset of the standard. So while all VOB files are MPEG-2 system streams, not all MPEG-2 system streams comply with the definition for a VOB file.

Pack/sector size

DVD sectors contain 2048 bytes of data, this is also the size of one pack. In MPEG-2 packs are used mainly to group together elements (such as audio and video) that are to be presented simultaneously, and their size is variable. The pack header can also contain timing information used for synchronization.
In DVD-Video each sector is one pack. This adds some overhead, but makes random access to the stream much easier.

Pack contents

Each pack begins with a pack header and contains one or two packets, and no more. The information in one pack is all of one kind, which may be navigation data (a NAV Pack), video, audio, or subpicture.
The NAV pack contains the system header and two fixed length packets called Presentation Control Information (PCI) and Data Search Information (DSI).
The video, audio, and subpicture packs contain only the Packetized Elementary Stream (PES) for the content, and, if needed, a padding packet.

Non-standard stuff

The MPEG-2 system fortunately left provisions for non-standard data in the form of private streams. There are two private stream types, only one has timing information in the form of Presentation Time Stamps (PTS) and Decoder Time Stamps (DTS). The actual content of a private stream is determined by the application, in our case, DVD-Video.
Private Stream 1 is the one that has the timing information, and so DVD-Video uses this stream for subpictures and all the additional audio systems (AC3, DTS, LPCM, etc) which are not MPEG. The actual content of each private stream packet is determined by the sub-stream number.
The other stream, Private Stream 2, is used for the navigation packets found in the NAV pack.

The VOBU

The next higher logical structure is called the Video OBject Unit, or VOBU. Each VOBU starts with a NAV pack and contains approximately half a second of the program. The size of the VOBU is determined by the video coding unit called a Group Of Pictures (GOP). A VOBU will contain one or more complete GOP, as needed. The last video pack in each VOBU is padded if needed with either a padding stream or stuffing bytes. Audio and subpictures with DTS values within the same range of values as the video are included in each VOBU. Audio is not padded until the end of the cell, therefore audio frames can span VOBUs.

The Cell

Cells are the next higher logical structure, containing any number of whole VOBUs. Their length and placement is entirely arbitrary and depends on the overall organization of the program (movie). Chapters, multiple angles, titles, and even how the "prev" and "next" buttons on a remote act all dictate the placement of cells.

The VOB

The VOB is a collection of one or more cells. An entire title could use just one VOB, but they usually use more. Sometimes the use is arbitrary, usually along the lines of a new VOB for each chapter, and within the VOB cells for each scene. This is not a requirement. In fact, there is only one place where seperate VOBs are required, and that is multiple angles.

Several 1GB files

All the content for one title set (VTS) is contiguous on the DVD, but broken up into 1GB files in the computer compatible file systems for the convenience of the various operating systems. You can see that there really is no break by examining the second or later file and looking at the Logical Block Address (LBA), contained in NAV packs.
The files are broken up without regard to content, which is why it is difficult to process any file but the first, since it most likely will not start at a VOBU (start with a NAV pack). The usual split point is at 524,287 sectors (1,048,574 KB, 1,073,739,776 bytes). In hexadecimal this is 7FFFF sectors (219-1), or 3FFFF800 bytes.

DVD-Video 解谜 - VOB文件相关推荐

  1. 关于DVD的VOB文件的认识

    DVD的VOB文件中包含有DVD影片的主要数据. 视频流 音频流 字幕流 一些术语: 一个VOB文件是一个MPEG-2系统流.(什么是MPEG-2系统流?) DVD 扇区包含2048个字节的数据,这也 ...

  2. 【软件】DVDStyler报错找不到VOB文件

    DVDStyler失败报错找不到VOB文件 零.错误如下 ERR: 2 opening input video file "D:\Minuhy\Desktop\dvd\t\dvd-cache ...

  3. 推荐一款好用的DVD 电影(DVD Video)光盘备份软件

    为了教育2岁多的儿子,家中买了很多正版的DVD 电影(动画片)光盘.小孩没常性,一会儿要看这个,一会儿要看那个,随手就拿.有时看着一个,手里还有拿着一个当玩具.现在好多盘已经划伤的很严重了,播放过程中 ...

  4. Silverlight 解谜游戏 之七 放大镜(3)

    在前两篇文章中,我们已经创建了"放大镜效果"和"放大镜CheckBox",本篇内容将通过CheckBox来控制放大镜效果的开/关状态,并完成全部"放大 ...

  5. 有趣的Python Challenge编程解谜游戏攻略二(5-9关)

    **有趣的Python Challenge编程解谜游戏攻略二(5-9关)** 介绍 游戏介绍 0-4关攻略 写在前面 关卡 第5关 第6关 第7关 第8关 第9关 链接总结 第10关预告 介绍 游戏介 ...

  6. 解谜游戏 MU Complex 的过关图文攻略 (Episode2)(中)

    本文的游戏继续前文展开,其他各篇MU Complex攻略地址如下: 解谜游戏 MU Complex 的过关图文攻略 (Episode1) http://my.oschina.net/Tsybius20 ...

  7. 求助: 用DSPACK播放VOB文件的问题

    求助: 用DSPACK播放VOB文件的问题 Delphi / Windows SDK/API http://www.delphi2007.net/DelphiMultimedia/html/delph ...

  8. Zynga推出全新精彩解谜冒险游戏《Merge Magic!》

    继热门游戏<Merge Dragons!>后的又一力作,<Merge Magic!>让玩家创造神奇新生物 旧金山--(美国商业资讯)--全球互动娱乐领导者Zynga Inc. ...

  9. 基于声网 Flat 实现“成语解谜”的 Web 小游戏

    前言 本文作者赵杭天.他参加了"2022 RTE(Real-time Engagement,实时互动) 编程挑战赛"--"赛道二 场景化白板插件应用开发" , ...

最新文章

  1. STL之红黑树容器:set,hash_set,multiset,hash_map,multimap
  2. P2765 魔术球问题(网络流)
  3. 如何实施域控制器活动目录备份与恢复
  4. carmaker的弱智算法
  5. CAD批量提取数值lisp插件_CAD批量获取文本坐标及内容
  6. S3C2410 通用异步收发UART 串口通信
  7. 【GNSS】GNSS数据下载工具
  8. 指数基金投资指南——阅读笔记
  9. 机器视觉之eVision
  10. 利用DirectShow开发C#版的音频文件播放器(三)
  11. 计算机英语boot,电脑开不了机显示英文boottmgr
  12. 微信自定义分享指定url
  13. 使用计算机翻译软件,memoQ(计算机翻译工具)
  14. 计算机专用英语词汇1000个!
  15. 实验室真的需要智能LIMS系统吗?
  16. NOIP2017尼禄祭
  17. 牛客网-2018 美团 CodeM 编程大赛-初赛 A 轮
  18. CPP2022-28-期末模拟测试01
  19. touchpad android 7.1,手把手教你如何在Touchpad上安装Android
  20. 2023山东中医药大学计算机考研信息汇总

热门文章

  1. 华为怎么显示返回按键_苹果手机为何一直没有“返回键”?其实乔布斯生前就说出了答案!...
  2. win10卸载WSL2记录
  3. 密码学的安全性浅析-4
  4. 利用Python处理辅助明细账并计算账龄
  5. Python通过机器学习实现对个人信用评估
  6. 查看eigen库版本的指令
  7. 苹果cms播放器不能全屏播放解决方法
  8. halcon初级应用攻略
  9. 从C到B,20岁的腾讯正在经历一场“生死”腾挪
  10. MacBook+eGPU编译安装pytorch、tensorflow(OSX10.13.3,python3.6,cuda9.1,cudnn7)(未完成)