video mpeg4--xvid

XviD.org FAQ (Frequently Asked Questions)


[ Ask A Question ]


Category: Main -> XviD User's FAQ


Question
·  What is XviD?
·  Why should I use XviD?
·  How do I encode using XviD?
·  When I use the Xvid lib in a multithreaded app to encode 2 files simultaneously (under Windows or Linux) it crashes - why?
·  What platforms has XviD been ported to?
·  How do I install XviD on Linux?
·  Can I distribute your codec along with some of my own videos on CD-ROM?
·  I've obtained and unzipped the files from your download section but my XviD videos still don't play in Media Player - what's wrong?
·  I have downloaded several movies in XviD format from the net and am unable to watch them - what to do?
·  Can I encode some videos in Microsoft's MPEG-4 V1/V2 format and then watch them with XviD or vice-versa?
·  I bought a hardware player that had 'XviD compatible' printed on the box but it doesn't play many of my XviD files - what's that?
·  Can I use Windows Media player to play Xvid files?
·  I'm watching a XviD file in Media Player and I see the video but there's no sound?
·  What are all these advanced features: B-frames, GMC, Quarter-pel, adaptative quantization? How do they work?
·  I want to burn my XviD files on DVD and play them on my DVD player - how to do that?
·  I certainly found it amusing to note that XviD is reverse of DivX. I wonder: was that intentional?
·  I have problems compiling the '.asm' files: I'm getting strange errors, so what should I do?
·  I plan to use XviD in my own program and I'm going to modify it. Do I have to distribute my program as "open source" then?

Answer
·  What is XviD?

XviD is an ISO MPEG-4 compliant video codec. It's no product, it's an open source project which is developed and maintained by lots of people from all over the world.

Top


·  Why should I use XviD?

Well, you don't need to at all. We the developers of XviD are just ordinary people, who happen to enjoy writing code for video compression, so we have no disadvantages (financial or any other) if you choose something else than XviD...

However there are good reasons why you could like to use XviD: We believe that XviD is the best currently available MPEG-4 video codec solution and additionally XviD is free software!

Top


·  How do I encode using XviD?

There are lot of good advises available for win32 users there:
http://www.doom9.org/xvid.htm
http://www.doom9.org/gknot-main4.htm

Unix users can have a look at mencoder/transcode documentations/forums/mailing lists.

Top


·  When I use the Xvid lib in a multithreaded app to encode 2 files simultaneously (under Windows or Linux) it crashes - why?

Old versions of XviD weren't threadsafe. This issue has been fixed, so please update your copy of XviD.

Top


·  What platforms has XviD been ported to?

Core library is highly portable.

Known working platforms :

- Win32 (MSVC, cygwin, mingw)
- GNU/Linux x86/ppc/sparc/ia64
- MacOSX
- *BSD
- Solaris 8 Ultra Sparc
- BeOS

Top


·  How do I install XviD on Linux?

Follow the steps described in the doc/INSTALL file, section "The unix way".

Top


·  Can I distribute your codec along with some of my own videos on CD-ROM?

XVID is under GPL license, which means you can distribute it freely, e.g. on a CD-ROM or whatever form you like.
However, if you distribute XVID in binary form, you have to add the source code to the CD-ROM, too.

Top


·  I've obtained and unzipped the files from your download section but my XviD videos still don't play in Media Player - what's wrong?

The files from xvid.org contain source code only which is a package that's good for all operating systems and hardware platforms. Before you can actually use XviD, you have to compile the source files with an ANSI C compiler for your OS and hardware platform (like Microsoft Visual C++ for Windows or gcc for GNU/Linux and other free OSes).
If you don't know what the above shall mean at all and you just want to watch a video in Windows Media Player, then the source code package isn't right for you and you should use google to search for 'XviD binary'. Already the very first search result will provide what you're looking for.

Top


·  I have downloaded several movies in XviD format from the net and am unable to watch them - what to do?

With high probability you've downloaded some pirate movie copy. This is illegal and we're strictly against piracy here at xvid.org. Therefore we won't provide any help or support how to watch such illegal movie copies. Go to the store and buy the DVD!

Top


·  Can I encode some videos in Microsoft's MPEG-4 V1/V2 format and then watch them with XviD or vice-versa?

No, you can't. Despite the name, MS MPEG-4 is not truly standard compliant MPEG-4 - rather it's Microsoft's own proprietary randition of MPEG-4 technology and is incompatible with the international MPEG-4 standard as specified by ISO. So unfortunately, XviD and MS MPEG-4 cannot interoperate.

Top


·  I bought a hardware player that had 'XviD compatible' printed on the box but it doesn't play many of my XviD files - what's that?

This is a problem we're aware of, also see our public announcement regarding hardware devices. Up to now, we don't know of any device on the market that would be fully compliant to XviD, so would be able to play all XviD encoded content.

Therefore we cannot truly recommend buying any of such devices and because of this we also never gave permission to any hardware manufacturer so far to advertise their products as being 'XviD compliant'. Unfortunately, even though XviD's logo and name are protected by copyright and trademark law, nonetheless some manufacturers advertise their products as 'XviD compliant' without auhorization.

Therefore, before buying any of such devices you should look for information about what the devices are really capable of in order to decide whether they really suit your needs. A good starting point for further information and discussion is the 'hardware players' forum at doom9.org: http://forum.doom9.net

Top


·  Can I use Windows Media player to play Xvid files?

Yes.

Top


·  I'm watching a XviD file in Media Player and I see the video but there's no sound?

XviD is a video codec, it has absolutely nothing to do with sound. So if you see a video then XviD works just fine and we can't help you here. For sound, you'd need an appropriate audio codec, but this is an issue that can't be discussed here - go to a more general audio/video resource page like doom9

Top


·  What are all these advanced features: B-frames, GMC, Quarter-pel, adaptative quantization? How do they work?

Explaining this in detail is not possible here. As a short answer:

MPEG-4 is very effective in compression, because it reuses data from one image to generate the next one (still images of a video are only 1/25 of a second or even less apart from each other, in almost all cases they look very similar).

There are different ways how to detect which part of the picture can be reused, and QPel = "Quarterpel Motion Compensation" and GMC = "Global Motion Compensation" are two advanced ways of doing this. Normally you only use "Halfpel Motion Compensation", so the resolution is higher with Quarterpel.

A different step in compression is to divide some coefficients by a number to gives them smaller values (and hopefully zero). This is called "Quantization". Normally, every 16x16 block in the image is divided by the same value, but with "adaptive quantization", for every block a different value can be chose.
This _can_ lead to better quality, when e.g. important parts of a picture like faces are compressed less, and less importants part (background) are compressed stronger, but it's still somewhat experimental.

Top


·  I want to burn my XviD files on DVD and play them on my DVD player - how to do that?

XviD is a MPEG-4 video codec. Regular DVD-players don't play MPEG-4, so if you want to watch XviD encoded files on a DVD player you have to convert them e.g. to VCD or SVCD first. There are many websites explaining this, go e.g. to http://www.vcdhelp.com

Alternatively you'd need a special MPEG-4 (DivX or XviD) capable DVD player that should be able to also play (some) XviD content (but be cautious with MPEG-4 hardware players - see above).

Top


·  I certainly found it amusing to note that XviD is reverse of DivX. I wonder: was that intentional?

Yes, the name XviD is DivX read backwards, but basically it's just a cool name ;-) Nonetheless the reversed name may also reflect the will to mark the ethical differences between DivX and XviD:

DivX is proprietary software, with an opaque development cycle that follows only a commercial logic. XviD is Free Software (licensed under the GNU GPL), open to third-party contributions and aims for standard's compliance, portability and interoperability, high processing speed and superior quality.

Top


·  I have problems compiling the '.asm' files: I'm getting strange errors, so what should I do?

Make sure you have nasm installed. If you have but you still have problems, make sure you have the very latest version of nasm installed. Download or upate nasm from: http://nasm.sourceforge.net

Top


·  I plan to use XviD in my own program and I'm going to modify it. Do I have to distribute my program as "open source" then?

Yes, XviD is released under the GNU GPL license which requires that all derived work from XviD also has to be distributed under the terms of the GNU GPL. A derived work, as defined in the GNU GPL, is a software that links (statically or dynamically) against XviD or includes XviD.

For more details see Section 1 and 2 of the GNU GPL license available in the source distribution or at http://www.gnu.org/licenses/gpl.html

Top
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
videojs-player是一个基于HTML5的开源视频播放器库,可以在网页中嵌入视频播放器。在Vue项目中使用videojs-player可以通过以下几种方式进行引用和使用: 1. 在HTML模板中引用:你可以在Vue组件的template标签中使用<video-player>标签来嵌入videojs-player,如下所示: 【1】 ``` <template> <div class='demo'> <video-player class="video-player vjs-custom-skin" ref="videoPlayer" :playsinline="true" :options="playerOptions"></video-player> </div> </template> ``` 2. 在组件内引用:你可以在Vue组件内使用import语句引入videoPlayer,并将其注册为组件的局部组件,如下所示: 【2】 ``` <script> import { videoPlayer } from 'vue-video-player' import 'video.js/dist/video-js.css' export default { components: { videoPlayer } } </script> ``` 3. 全局引用:你可以在main.js中导入并引用VideoPlayer,并使用Vue.use()方法进行全局注册,如下所示: 【3】 ``` // main.js import VideoPlayer from 'vue-video-player' import 'vue-video-player/src/custom-theme.css' import 'video.js/dist/video-js.css' Vue.use(VideoPlayer) ``` 以上就是在Vue项目中使用videojs-player的几种方式。你可以根据具体需求选择合适的方式进行引用和使用。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* *2* *3* [vue视频播放插件vue-video-player](https://blog.csdn.net/qq_38128179/article/details/102959762)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值