一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

仅仅用于软件推荐,不适合发求软件或软件使用问题方面的贴子
回复
头像
win.milan
帖子: 908
注册时间: 2009-11-03 16:24

一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#1

帖子 win.milan » 2009-11-04 22:21

这是一个在gnome-look.org上无意看到的转换脚本,看过也没的记住网页,想了解详情可以去搜搜看的。
现在给出E文精简介绍:
Audio/Video/Image/Text/ISO Convert

Description:
Convert multimedia files from one format to another, change size if desired
Convert multimedia to audio-only files
Convert audio files from one format to another. Both multimedia and audio can specify numerous ffmpeg options
- these options are stored in user-configurable files, including one designed for user submissions
Convert images from one format to another, and/or change image resolution (and jpg compression)
Convert documents from one format to another
Convert text to a .jpg file (an image of your text) or a .wav file (a voice reading your text)
Convert multi-image files, like pdf or animated gif, into a series of frames
Convert various "CD Image" files into standard .iso files
Batch processing to apply conversion choices to all selected files in a single operation

There's a lot of description here, but you don't need any of it to make this work.
Just download and extract. Then do one or more of these with the file "avconvert":
(1) move (or copy or link) it to ~/.gnome2/nautilus-scripts
(2) move (or copy or link) it to somewhere in $PATH (eg /usr/local/bin)
..(obviously don't move it twice :-)
(3) do #2, then add it as a nautilus-action (set "paramater" to "%M", check "multiple files")
(4) add it to Gnome panel/launch-bar (drag/drop or right-click panel Add/Custom-Application)

...Depending on 1, 2, 3, and 4 above (you can do any combination of these), you can now:
(1) right-click on selected icon(s) and choose the script
(2) from command line: avconvert filename (quote name(s) with spaces, multiple files OK)
(3) right-click on selected icon(s) and choose "Avconvert"
(4) click the icon to launch -or- drag-and-drop file(s) on the icon

To repeat, you can do as many of these as you want. For example: move the file to ~/.gnome2/natuilus-scripts, then link that to /usr/local/bin, then add it as a nautilus-action, then add it to the gnome-panel.

Much more than a quick shortcut to a common command, this shell script is over 1500 lines of code!

The following files will automatically be created in $HOME/.config/avconvert the first time you run avconvert:
a) avconvert: preferences for prompt-destination-folder, loop through multiple files, fix zenity, "quiet", default image type
b) avconvert.lang: language setting and preferred translation service
c) avconvert.ffopts.audio: predefined options that relate to conversion of audio files
d) avconvert.ffopts.video: predefined options that relate to conversion of video files
e) avconvert.ffopts.custom: your own options for any ffmpeg conversions
f) avconvert.ffopts.submissions: ffmpeg options for specific tasks submitted by users like you
g) avconvert.ffmpeg-help: summary of common ffmpeg options, displayed when key-in is chosen as a conversion option

The custom ffopts file will not be replaced during an upgrade. If you want to return it to its default state, just remove it and the script will create a new one for you. The *submissions file is never created by the script, and is a separate download on this page.

The first time avconvert is run, it will check for the most important packages it relies on. Some conversions require specific packages, which will be checked when those are used. The first run will also ask your preferences and store them in ~/.avconvert. The easiest way to change those is simply to remove that file and have it ask again. Also, the first run will fix zenity defaults so that the windows grab keyboard and mouse focus and pop up on top. The preference "quiet" sets them back to popping underneath without focus, and also changes some of them to just create icons in the notification area of the Gnome panel.
附件
avconvert.tar.gz
(20.42 KiB) 已下载 64 次
OMG, this is a signature!—_—|
FollowMe......
头像
win.milan
帖子: 908
注册时间: 2009-11-03 16:24

一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#2

帖子 win.milan » 2009-11-04 22:22

----------------------------------------
昨晚该死的突然断网了
现在完成昨天写好而没有发上来的。
----------------------------------------
其实后面省略N多字。
下面我简单的讲下主要内容:
是一个可以转换文档(TEXT)->图片,图片不同格式之间转换,声音不同格式之间转换,还有视频,包括CD Image->ISO文件,反正很多了。
安装:1.最简单的是Copy解压的脚本到~/.gnome2/nautilus-scripts
2.还可以放到$PATH下,可以执行,不过会麻烦。个人推荐(1)
使用:右键选择 脚本 - avconvert
第一次使用也许会让你安装必要的包,在新力得里搜索,然后装就是了。还会在默认目录下($HOME/.config/avconvert)生成一些文件,想恢复到最初删除它们即可。
执行自己摸索就好了,很简单。我转换过:TEXT->JPG,GIF,mp3->wave,其他还没试呢,很好用。有问题上Google。
附件
avconvert.tar.gz
(20.42 KiB) 已下载 64 次
OMG, this is a signature!—_—|
FollowMe......
头像
win.milan
帖子: 908
注册时间: 2009-11-03 16:24

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#3

帖子 win.milan » 2009-11-05 10:11

自己顶 :em01
OMG, this is a signature!—_—|
FollowMe......
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#4

帖子 eexpress » 2009-11-05 10:14

源里面,有各种类型的文件转换的。从来不确这个。
● 鸣学
JiangHui
论坛版主
帖子: 21308
注册时间: 2007-08-02 20:29
系统: 窓辺とうこ

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#5

帖子 JiangHui » 2009-11-05 10:18

lz的帖子被ee腰斩了
头像
win.milan
帖子: 908
注册时间: 2009-11-03 16:24

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#6

帖子 win.milan » 2009-11-05 10:23

恩,我知道源里有很多,就是觉得这个有点儿意思。ee很厉害?
OMG, this is a signature!—_—|
FollowMe......
JiangHui
论坛版主
帖子: 21308
注册时间: 2007-08-02 20:29
系统: 窓辺とうこ

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#7

帖子 JiangHui » 2009-11-05 10:25

EE是神,不了解的话去水区发帖问问
头像
win.milan
帖子: 908
注册时间: 2009-11-03 16:24

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#8

帖子 win.milan » 2009-11-05 10:25

注册: 2005-08-14 21:55
帖子: 34646
好像很厉害 :em06
OMG, this is a signature!—_—|
FollowMe......
JiangHui
论坛版主
帖子: 21308
注册时间: 2007-08-02 20:29
系统: 窓辺とうこ

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#9

帖子 JiangHui » 2009-11-05 10:25

EE的fans每个人放个屁能撼动地球
muxueqz
帖子: 215
注册时间: 2007-08-04 22:09
系统: ArchLinux
联系:

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#10

帖子 muxueqz » 2009-11-06 6:29

JiangHui 写了:EE的fans每个人放个屁能撼动地球
特来支持EE阿姨。
头像
momova
帖子: 3381
注册时间: 2007-07-11 21:43
系统: archlinux
来自: 东江边

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#11

帖子 momova » 2009-11-06 8:59

muxueqz 写了:
JiangHui 写了:EE的fans每个人放个屁能撼动地球
特来支持EE阿姨。
我来了,我看见了,我征服了!
求勾搭,不管饭。
头像
win.milan
帖子: 908
注册时间: 2009-11-03 16:24

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#12

帖子 win.milan » 2009-11-06 12:50

看来真的很厉害
OMG, this is a signature!—_—|
FollowMe......
头像
adagio
论坛版主
帖子: 22110
注册时间: 2008-02-17 23:47
来自: 美丽富饶的那啥星球

Re: 一个可以转换很多格式的脚本总括有:Audio/Video/Image/Text/ISO

#13

帖子 adagio » 2009-11-06 13:08

for natuilus的,范围不广阿
明天就换大三八!
——8核CPU、8G内存、8T硬盘……
8卡交火,80寸大屏放8个……
IPv8的光纤要8条……

---------------------------------------------------------------------------------
[图片版]新手当自强(续)FAQ
[新手进阶]挂载、fstab、调整linux分区
[图片版]E17桌面环境配置手把手
回复