Convert MTS M2TS AVCHD to AVI/zh:修订间差异
Qingshi163(留言 | 贡献) 新页面: 这次教程中我将说明怎样在Ubuntu 7.10(Gutsy Gibbon)上用命令行配置和安装m2tstoavi。<br> 该m2tstoavi脚本的作者是阿克塞尔奥尔摩斯(Axel Olmos),这是让... |
小无编辑摘要 |
||
(未显示1个用户的2个中间版本) | |||
第1行: | 第1行: | ||
{{Copyedit translation}} | |||
{{From|http://wesleybailey.com/blog/2008/01/20/m2tstoavi-avchd/}} | |||
{{Translator|石康志}} | |||
{{Languages|Convert_MTS_M2TS_AVCHD_to_AVI}} | |||
这次教程中我将说明怎样在Ubuntu 7.10(Gutsy Gibbon)上用命令行配置和安装m2tstoavi。<br> | 这次教程中我将说明怎样在Ubuntu 7.10(Gutsy Gibbon)上用命令行配置和安装m2tstoavi。<br> | ||
2008年6月13日 (五) 11:06的最新版本
文章出处: |
{{#if: | {{{2}}} | http://wesleybailey.com/blog/2008/01/20/m2tstoavi-avchd/ }} |
点击翻译: |
English {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/af | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|Afrikaans| [[::Convert MTS M2TS AVCHD to AVI/zh/af|Afrikaans]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/ar | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|العربية| [[::Convert MTS M2TS AVCHD to AVI/zh/ar|العربية]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/az | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|azərbaycanca| [[::Convert MTS M2TS AVCHD to AVI/zh/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/bcc | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|جهلسری بلوچی| [[::Convert MTS M2TS AVCHD to AVI/zh/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/bg | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|български| [[::Convert MTS M2TS AVCHD to AVI/zh/bg|български]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/br | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|brezhoneg| [[::Convert MTS M2TS AVCHD to AVI/zh/br|brezhoneg]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/ca | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|català| [[::Convert MTS M2TS AVCHD to AVI/zh/ca|català]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/cs | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|čeština| [[::Convert MTS M2TS AVCHD to AVI/zh/cs|čeština]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/de | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|Deutsch| [[::Convert MTS M2TS AVCHD to AVI/zh/de|Deutsch]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/el | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|Ελληνικά| [[::Convert MTS M2TS AVCHD to AVI/zh/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/es | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|español| [[::Convert MTS M2TS AVCHD to AVI/zh/es|español]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/fa | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|فارسی| [[::Convert MTS M2TS AVCHD to AVI/zh/fa|فارسی]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/fi | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|suomi| [[::Convert MTS M2TS AVCHD to AVI/zh/fi|suomi]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/fr | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|français| [[::Convert MTS M2TS AVCHD to AVI/zh/fr|français]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/gu | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|ગુજરાતી| [[::Convert MTS M2TS AVCHD to AVI/zh/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/he | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|עברית| [[::Convert MTS M2TS AVCHD to AVI/zh/he|עברית]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/hu | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|magyar| [[::Convert MTS M2TS AVCHD to AVI/zh/hu|magyar]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/id | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|Bahasa Indonesia| [[::Convert MTS M2TS AVCHD to AVI/zh/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/it | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|italiano| [[::Convert MTS M2TS AVCHD to AVI/zh/it|italiano]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/ja | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|日本語| [[::Convert MTS M2TS AVCHD to AVI/zh/ja|日本語]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/ko | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|한국어| [[::Convert MTS M2TS AVCHD to AVI/zh/ko|한국어]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/ksh | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|Ripoarisch| [[::Convert MTS M2TS AVCHD to AVI/zh/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/mr | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|मराठी| [[::Convert MTS M2TS AVCHD to AVI/zh/mr|मराठी]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/ms | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|Bahasa Melayu| [[::Convert MTS M2TS AVCHD to AVI/zh/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/nl | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|Nederlands| [[::Convert MTS M2TS AVCHD to AVI/zh/nl|Nederlands]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/no | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|norsk| [[::Convert MTS M2TS AVCHD to AVI/zh/no|norsk]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/oc | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|occitan| [[::Convert MTS M2TS AVCHD to AVI/zh/oc|occitan]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/pl | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|polski| [[::Convert MTS M2TS AVCHD to AVI/zh/pl|polski]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/pt | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|português| [[::Convert MTS M2TS AVCHD to AVI/zh/pt|português]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/ro | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|română| [[::Convert MTS M2TS AVCHD to AVI/zh/ro|română]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/ru | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|русский| [[::Convert MTS M2TS AVCHD to AVI/zh/ru|русский]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/si | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|සිංහල| [[::Convert MTS M2TS AVCHD to AVI/zh/si|සිංහල]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/sq | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|shqip| [[::Convert MTS M2TS AVCHD to AVI/zh/sq|shqip]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/sr | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|српски / srpski| [[::Convert MTS M2TS AVCHD to AVI/zh/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/sv | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|svenska| [[::Convert MTS M2TS AVCHD to AVI/zh/sv|svenska]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/th | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|ไทย| [[::Convert MTS M2TS AVCHD to AVI/zh/th|ไทย]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/tr | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|Türkçe| [[::Convert MTS M2TS AVCHD to AVI/zh/tr|Türkçe]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/vi | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|Tiếng Việt| [[::Convert MTS M2TS AVCHD to AVI/zh/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/yue | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|粵語| [[::Convert MTS M2TS AVCHD to AVI/zh/yue|粵語]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/zh | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|中文| [[::Convert MTS M2TS AVCHD to AVI/zh/zh|中文]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/zh-hans | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|中文(简体)| [[::Convert MTS M2TS AVCHD to AVI/zh/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: Convert_MTS_M2TS_AVCHD_to_AVI | Convert_MTS_M2TS_AVCHD_to_AVI | {{#if: | :}}Convert MTS M2TS AVCHD to AVI/zh}}/zh-hant | • {{#if: Convert_MTS_M2TS_AVCHD_to_AVI|中文(繁體)| [[::Convert MTS M2TS AVCHD to AVI/zh/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:Convert_MTS_M2TS_AVCHD_to_AVI|:Convert MTS M2TS AVCHD to AVI/zh|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :Convert MTS M2TS AVCHD to AVI/zh/zh | | {{#ifexist: Convert MTS M2TS AVCHD to AVI/zh/zh | | {{#ifeq: {{#titleparts:Convert MTS M2TS AVCHD to AVI/zh|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:Convert MTS M2TS AVCHD to AVI/zh|1|-1|}} | zh | | }}
这次教程中我将说明怎样在Ubuntu 7.10(Gutsy Gibbon)上用命令行配置和安装m2tstoavi。
该m2tstoavi脚本的作者是阿克塞尔奥尔摩斯(Axel Olmos),这是让mts或m2ts视频文件转换成avi格式的最简单途径。下面是我安装完m2tstoavi后得到的安装流程。
默认的Ubuntu 7.10没有使用任何universe或multiverse。
1.开启universe和multiverse包。
从命令行打开/etc/apt/sources.list
sudo gedit /etc/apt/sources.list
将下面两行去掉注解(译者注:只需要将下面两行前面的‘#’去掉,或者复制下面粘贴到新的一行中。):
deb http://us.archive.ubuntu.com/ubuntu gutsy universe deb http://us.archive.ubuntu.com/ubuntu gutsy multiverse
最后更新你的包列表。
sudo apt-get update
2.安装m2tstoavi脚本所必须的包。
用下列命令安装所有依赖的包:
sudo apt-get install mplayer ffmpeg a52dec mencoder x264 faad faac libfaad2-0 libfaad2-dev subversion csh
3.下载
从这里获得m2tstoavi脚本。或使用下面的命令:
$ wget http://www.olmosconsulting.com/m2ts.tar.gz
解压文件
$ sudo tar zxvf m2ts.tar.gz
4.设置
下载的脚本需要被设置成在当前版本的H.264/AVC的参考软件。
sudo gedit m2ts/download
修改下面这行成当前H.264/AVC的版本
set version=13.2
5.安装
更改为csh shell,然后启动安装脚本
csh ./install
6.使用m2tstoavi脚本。
这里是如何使用默认的转换方法。这种方法有很大的硬盘开销,并需要大约4 Gb /分钟的速度。
$ m2tstoavi sample.mts
7.奖励的方法
我建议使用m2tstoavi.fifo,而不是默认的。它使用命名管道,以减少空闲空间所需的临时文件。
$ m2tstoavi.fifo sample.mts