页面

显示标签为“影音”的博文。显示所有博文
显示标签为“影音”的博文。显示所有博文

2011-03-15

把影片烧成光碟

brasero的影音烧录功能不知道咋了,反正莫名其妙地不能用。试用了下新秀bombono,非常贴近大部分人对一部专业dvd片碟的想象:http://www.bombono.org/。brasero还是不能扔,用它刻数据碟还是满不错的,bombono主要面向影音刻录。

2011-03-12

manipulating multimedia format

ffmpeg is a powerful tool to convert multimedia formats. Working with ffmepg generally walks along the routine below:
  1. checking information of the original file (bit rate, frame size, etc.):
    $ ffmpeg -i input.ogv
  2. converting to expected format:
    $ ffmpeg -i input.ogv output.flv
There are two ffmpeg options impacting the size of output: -b and -ab. The former is bit rate (bit/s), and the latter is audio bit rate (bit/s). `-b 128k' is correct syntax. Other interesting options are:
  • -threads    specifying how much ffmpeg threads
  • -loglevel    specifying information dumped (fatal is a good choice.)
  • -target    automatically setting related options with respect to this option (dvd, ntsc-dvd, pal-dvd, etc.)
  • -bufsize    setting video buffer verifier buffer size (in bits)
  • -r    setting frame rate (Hz value, fraction or abbreviation), (default = 25)
  • -s    setting frame size-aspect setting aspect ratio
  • -sameq    using same video quality as source (implies VBR---variable bit rate).
The user manual lists all about ffmpeg usage:
http://www.ffmpeg.org/ffmpeg.html
Here is showing how to join multimedia files:
http://www.ffmpeg.org/faq.html#SEC27
One can download a static-compiled program here:
http://ffmpeg.gusari.org/static/

Use ogmrip to rip light media content.

2011-03-11

影音文件

先写入门知识。影音文件主要分为两类:影音编码,影音容器(或影音封装)。外行总是用“格式”一词涵盖。

影音编码(coding)跟压缩技术(compress)有很大关系。h.264(mpeg-4之一版),x.264,xvid,wmv,vp8,libtheora,等(这里有个列表:http://en.wikipedia.org/wiki/List_of_codecs#Video_codecs)一般指影音编码标准;avi,mkv,mp4,mov,flv,rm,ts(或mts、m2ts),ogg,等(这里有个列表:http://en.wikipedia.org/wiki/Container_format_(digital)#Multimedia_container_formats)一般指影音容器标准或实现。根据文件扩展名判断影音技术是不确定的,因为计算机上的文件(例如rmvb)有些即是影音编码的实现,又是影音容器的实现。

一个经验公式(我提出来的,未经检验 :-)):影像清晰度 = k * (总比特率 * 帧率 / (分辨率 ^ 2)),k是影像清晰度系数。在进行影音编辑时,不应只考虑输出的质量和格式,更应该考量播放设备(普通电视机,高清电视机,wii,xbox等)。目前,普通DVD的比特率(即码率)区间在(3000k, 9800k),保守区间(4000k, 7200k)。刻碟的时候得据此考量,播放器太次的话播不了较高比特率的碟。

影音编辑器

lives,avidemux,kino,pitivi。这些都能在debian软件库中找到。目前在玩lives。

在进行影音编辑时,不应只考虑输出的质量和格式,更应该考量播放设备(普通电视机,高清电视机,wii,xbox等)。

2009-04-08

字幕编辑工具subtitle editing tool

找到一个很方便的字幕编辑工具:gnome subtitles。提供一个内嵌视频播放器,可以边播放,边设定锚点,边添加字幕,支持多种字幕格式。播放、暂停间就能制作出你自己的字幕。

更多截图在这里(基本可以当入门手册来用):
http://gnome-subtitles.sourceforge.net/screenshots

debian(或ubuntu)用户可以这样安装:
$ aptitude install gnome-subtitles

关于字幕制作工具,这里有篇很好的文章:subtitle manipulation tools for linux

呵呵,可以开始俺的中华茶文化推广大计了。

A powerful subtitle editor for linux boxes: gnome subtitles. It provides embedded video player, and users can place anchor pair by clicking playing-pausing button. Many popular subtitle formats are supported. Here are a collection of screenshots:
http://gnome-subtitles.sourceforge.net/screenshots

debian and ubuntu users may install it as:
$ aptitude install gnome-subtitles

A good article about subtitle making for linux community: subtitle manipulation tools for linux