爱黑武论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 8794|回复: 41

[MPKG软件] zEncoder 音视频转换

[复制链接]
发表于 2009-3-22 18:55 | 显示全部楼层 |阅读模式

立即注册,加入爱黑武论坛的大家庭!爱黑武,爱上搞机生活!

您需要 登录 才可以下载或查看,没有账号?注册

x
[MPKG] zEncoder

-------------------------------------------------- ------------------------------

**********************************************
Acknowledgments:
racinglocura07: the stamina and the help they gave me and try everything, thank you very much tano
javierox: for the wonderful norris
**********************************************

Important: In this project we will make three-source software, two audio and one video
lame mp3 codec is a compression and decompression of mp3, amr audio codec is to use the 3gp video format, and both are going to need to use ffmpeg which is a video codec.

Any questions or extra information you want -> www.google.com


Development:
Now I will explain to those who are interested in programming the development process or the steps needed to compile all this, who is not interested, scroll to the bottom of the post of Installation.

I did all this to compile:

Compilation of lame

1) Download the mp3 source of lame, we need to work with audio
http://sourceforge.net/project/downl....gz&a=61178845

2) Open a terminal in any linux (I use Ubuntu 8.04 ^ ^)
Run the following command as a route by putting their arm-eabi andalusia direction, ie to indicate that we want to compile (cross compile)

export CC = / arm-eabi/bin/arm-linux-gnueabi-gcc
export CXX = / arm-eabi/bin/arm-linux-gnueabi-g + +
export LD = / arm-eabi/bin/arm-linux-gnueabi-ld
export AR = / arm-eabi/bin/arm-linux-gnueabi-ar
export NM = / arm-eabi/bin/arm-linux-gnueabi-nm
ranlib export = / arm-eabi/bin/arm-linux-gnueabi-ranlib

3) Well now we will configure it to generate the makefile.
Mind that - exec-prefix = prefix = and we must put the path where we want our files to be installed

. / configure - enable-static - disable-shared - with-lame = fileio - host = arm-linux-gnueabi - exec-prefix = / home / cristian / lame - prefix = / home / cristian / lame

4) make

5) sudo make install

Well, at this point should be compiled in order to use lame compilation of ffmpeg

Compiling amr:

6) Download the source http://www.penguin.cz/ ~ UTX / amr-amrnb both files and 7.0.0.2.tar.bz2 AMRWB-7.0.0.3.tar.bz2

7) and we're going to decompress the folder amrnb, replace the original configure file by this CONFIGUREARM is a weapon that I can compile for the arm-eabi

8) Now if you run the configure

prefix and exec-prefix indicates the installation directory

. / configure - prefix = / home / cristian / amrn - exec-prefix = / home / cristian / amrn CC = / arm-eabi/bin/arm-linux-gnueabi-gcc AR = / arm-eabi/bin / arm-linux-gnueabi-ranlib AR = / arm-eabi/bin/arm-linux-gnueabi-ranlib LD = / arm-eabi/bin/arm-linux-gnueabi-ld - host = arm

9) Do the same for steps 7 and 8 but for AMRWB, we use the CONFIGURE

. / configure - prefix = / home / cristian / amrw - exec-prefix = / home / cristian / amrw CC = / arm-eabi/bin/arm-linux-gnueabi-gcc AR = / arm-eabi/bin / arm-linux-gnueabi-ranlib AR = / arm-eabi/bin/arm-linux-gnueabi-ranlib LD = / arm-eabi/bin/arm-linux-gnueabi-ld - host = arm

10) make

11) sudo make install


Compilation of ffmpeg

12) Download the source

svn checkout svn: / / svn.ffmpeg.org / ffmpeg / trunk ffmpeg

(we need to have installed subversion on linux)

13) We set

Given to:
= prefix that indicates the directory where you will copy the binaries and libraries
cc = the path to our compiler
extra-cflags = must include the path to the directory where you install the lame amrn and amrw
extra-LDFLAGS = should be the path to lib directory where you install the lame amrn and amrw

. / configure - prefix = / home / cristian / ffmpeg - enable-cross-compile - cc = / arm-eabi/bin/arm-linux-gnueabi-gcc - arch = arm - enable-gpl -- enable-nonfree - enable-libmp3lame - enable-libamr-nb - enable-libamr-wb - extra-cflags = \"-I/home/cristian/lame/include -I/home/cristian/amrn/include -- I / home / cristian / amrw / include \"- extra LDFLAGS =\" -L/home/cristian/lame/lib -L/home/cristian/amrn/lib -L/home/cristian/amrw/lib \"-- disable-ffplay - disable-ffserver - disable-iwmmxt - disable-stripping

14) Open the file that is generated config.mak and replace the words by-O3-O2
Replace the word by ar ar ar = = / arm-eabi/bin/arm-linux-gnueabi-ar
Replace the word for ranlib = ranlib = ranlib / arm-eabi/bin/arm-linux-gnueabi-ranlib

15) make

At this point one may smoke puchito (camel for my taste), or go to the bathroom because it takes about 10 minutes depending on your PC

16) sudo make install


GOOD !!!!!!!!!!!!!!! ready ...

Extra information:
These encoders and decoders are supported

Support:
Enabled decoders:
aac ffvhuff pcm_s32le
aasc flac pcm_s8
ac3 flashsv pcm_u16be
adpcm_4xm flic pcm_u16le
adpcm_adx flv pcm_u24be
adpcm_ct fourxm pcm_u24le
adpcm_ea Fraps pcm_u32be
adpcm_ea_maxis_xa gif pcm_u32le
adpcm_ea_r1 H261 pcm_u8
adpcm_ea_r2 h263 pcm_zork
pcx adpcm_ea_r3 h263i
png adpcm_ea_xas h264
adpcm_g726 HuffYUV PTX
adpcm_ima_amv idcin qcelp
adpcm_ima_dk3 imc QDM2
adpcm_ima_dk4 indeo2 qdraw
adpcm_ima_ea_eacs indeo3 qpeg
adpcm_ima_ea_sead interplay_dpcm qtrle
adpcm_ima_iss interplay_video ra_144
adpcm_ima_qt jpegls ra_288
adpcm_ima_smjpeg kmvc rawvideo
adpcm_ima_wav libamr_nb rl2
adpcm_ima_ws libamr_wb Roq
adpcm_ms crazy roq_dpcm
adpcm_sbpro_2 mace3 rpza
adpcm_sbpro_3 mace6 RV10
adpcm_sbpro_4 mdec rv20
adpcm_swf MIMIC rv30
adpcm_thp mjpeg rv40
adpcm_xa mjpegb sgi
MLP adpcm_yamaha shorten
ALAC mmvideo smackaud
amv smack motionpixels
ape mp1 smc
asv1 mp2 snow
ASV2 mp3 sol_dpcm
ATRAC3 mp3adu sonic
avs mp3on4 sp5x
bethsoftvid mpc7 sunrast
bfi mpc8 svq1
bmp mpeg1video SVQ3
c93 mpeg2video targa
cavs mpeg4 Theora
Cinepak mpegvideo THP
cljr msmpeg4v1 tiertexseqvideo
cook msmpeg4v2 tiff
cscd msmpeg4v3 truemotion1
cyuv msrle truemotion2
DCA msvideo1 TrueSpeech
dnxhd mszh tscc
dsicinaudio nellymoser tta
TxD dsicinvideo nuv
dvbsub pcm_alaw ulti
dvdsub pcm_dvd vb
dvvideo pcm_f32be vc1
DXA pcm_f32le VCR1
eac3 pcm_f64be vmdaudio
eacmv pcm_f64le vmdvideo
eatgq pcm_mulaw vmnc
eatgv pcm_s16be vorbis
eatqi pcm_s16le VP3
eightbps pcm_s16le_planar vp5
eightsvx_exp pcm_s24be vp6
eightsvx_fib pcm_s24daud vp6a
escape124 pcm_s24le vp6f
ffv1 pcm_s32be VQA
WavPack WMV3 xl
WMAv1 wnv1 xsub
wmav2 ws_snd1 zlib
wmv1 xan_dpcm zmbv
wmv2 xan_wc3

Enabled encoders:
ac3 ljpeg pcm_u24le
adpcm_adx mjpeg pcm_u32be
adpcm_g726 mp2 pcm_u32le
adpcm_ima_qt mpeg1video pcm_u8
adpcm_ima_wav mpeg2video pcm_zork
pgm adpcm_ms mpeg4
adpcm_swf msmpeg4v1 pgmyuv
adpcm_yamaha msmpeg4v2 png
ALAC msmpeg4v3 ppm
asv1 nellymoser qtrle
ASV2 pam rawvideo
bmp pbm Roq
dnxhd pcm_alaw roq_dpcm
dvbsub pcm_f32be RV10
dvdsub pcm_f32le rv20
dvvideo pcm_f64be sgi
ffv1 pcm_f64le snow
ffvhuff pcm_mulaw sonic
flac pcm_s16be sonic_ls
flashsv pcm_s16le svq1
flv pcm_s24be targa
gif tiff pcm_s24daud
H261 pcm_s24le vorbis
h263 pcm_s32be WMAv1
h263p pcm_s32le wmav2
HuffYUV pcm_s8 wmv1
jpegls pcm_u16be wmv2
libamr_nb pcm_u16le zlib
libamr_wb pcm_u24be zmbv
libmp3lame

Enabled parsers:
aac dvdsub mpeg4video
ac3 H261 mpegaudio
cavsvideo h263 mpegvideo
DCA h264 pnm
Dirac vc1 mjpeg
dnxhd MLP VP3
dvbsub

Enabled demuxers:
aac ipmovie pcm_u16be
ac3 iss pcm_u16le
aiff lmlm4 pcm_u24be
amr m4v pcm_u24le
apc pcm_u32be Matroska
ape pcm_u32le mjpeg
asf pcm_u8 MLP
ass mm PVA
au mmf r3d
avi mov rawvideo
mp3 avs redir
bethsoftvid mpc rl2
bfi mpc8 rm
c93 mpegps Roq
cavsvideo mpegts RPL
Daud mpegtsraw rtsp
Dirac mpegvideo sdp
dnxhd msnwc_tcp segafilm
mtv dsicin shorten
MVI siff dts
MXF smack dv
DXA nc sun
ea NSV str
swf ea_cdata nut
eac3 nuv THP
ogg tiertexseq ffm
flac tta oma
flic pcm_alaw TxD
flv pcm_f32be vc1
fourxm pcm_f32le vc1t
gsm pcm_f64be VMD
gxf pcm_f64le voc
H261 pcm_mulaw wav
h263 pcm_s16be wc3
h264 pcm_s16le wsaud
idcin pcm_s24be wsvqa
iff pcm_s24le wv
image2 pcm_s32be xa
image2pipe pcm_s32le yuv4mpegpipe
ingenient pcm_s8

Enabled muxers:
ac3 ipod pcm_f64le
adts m4v pcm_mulaw
aiff pcm_s16be Matroska
amr matroska_audio pcm_s16le
asf pcm_s24be mjpeg
asf_stream mmf pcm_s24le
mov ass pcm_s32be
au mp2 pcm_s32le
avi mp3 pcm_s8
avm2 mp4 pcm_u16be
crc mpeg1system pcm_u16le
Daud mpeg1vcd pcm_u24be
Dirac mpeg1video pcm_u24le
dnxhd mpeg2dvd pcm_u32be
dts mpeg2svcd pcm_u32le
dv mpeg2video pcm_u8
eac3 mpeg2vob psp
ffm mpegts rawvideo
flac mpjpeg rm
flv MXF Roq
framecrc mxf_d10 rtp
gif swf null
gxf nut TG2
H261 OGG tgp
h263 pcm_alaw vc1t
h264 pcm_f32be voc
image2 pcm_f32le wav
image2pipe pcm_f64be yuv4mpegpipe

Enabled protocols:
file pipe tcp
rtp udp gopher
http

Enabled filters:
crop

Enabled bsfs:
dump_extradata mov2textsub noise
h264_mp4toannexb mp3_header_compress remove_extradata
imx_dump_header mp3_header_decompress text2movsub
mjpega_dump_header

Enabled indevs:
dv1394 v4l v4l2
oss

Enabled outdevs:
oss

INSTALLATION:

Requirements: need my Amigazo javier norris because they need to copy files to the folder / usr / lib / and can only be done in the norris

Mpkg the fall and install it from norris

Use:
Well as summer is the first 2 tabs for video and one for audio.

Will select Open to open the file, then go to Save as and saved it, then go up and select Encode encoding.

************************************************** ************************************************** ******************
Important: Do not think that is branded when they bring encode obviously will take time for about 1 minute mega video for example, as to put and wait for it to finish without touching anything
************************************************** ************************************************** ******** **********

I tested the application to go:
* flv to mp4, 3gp and avi
* avi to mp4
* mp3 and ac3 to amr

Therefore I think the best use can be given to the application is passing flv to mp4 and watch the stock cel reporductor if we do not have the Mplayer and go to mp3 amr to take up less space
更多图片 小图 大图
组图打开中,请稍候......

zEncoder.part1.rar

1.39 MB, 下载次数: 228, 下载积分: 金钱 -3 BA

zEncoder.part2.rar

1.39 MB, 下载次数: 197, 下载积分: 金钱 -3 BA

zEncoder.part3.rar

1.3 MB, 下载次数: 181, 下载积分: 金钱 -3 BA

发表于 2009-3-22 19:02 | 显示全部楼层

Re:zEncoder 音视频转换

支持一下。V8能用吗?
 楼主| 发表于 2009-3-22 19:07 | 显示全部楼层

回 1楼(djdeshao) 的帖子

我记得V8要稍微改一下就能用了我没V8 没有发言权……对不住兄弟了
发表于 2009-3-22 19:21 | 显示全部楼层

回 2楼(bieerlan) 的帖子

为什么没有发言权呢,大家都是平等的,有就发呀。
发表于 2009-3-22 19:33 | 显示全部楼层

Re:zEncoder 音视频转换

支持是手机直接用的吗
 楼主| 发表于 2009-3-22 20:01 | 显示全部楼层

回 4楼(neska) 的帖子

对,但是我在想电脑转格式的时候都很卡……手机就……怕怕
发表于 2009-3-22 20:48 | 显示全部楼层

Re:zEncoder 音视频转换

不会用 [s:49]
发表于 2009-3-22 22:50 | 显示全部楼层

Re:zEncoder 音视频转换

怎么那么大啊..?
是mpkg吗..?
发表于 2009-3-22 23:21 | 显示全部楼层

Re:zEncoder 音视频转换

看看,先装上去试试先
发表于 2009-3-23 03:41 | 显示全部楼层
手机上的?不会是RC3专用的吧[s:25]
 Hello,黑武的好机友!回复想偷个懒?点这里: 
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

站长推荐上一条 /1 下一条

QQ|小黑屋|Archiver|手机版|爱黑武论坛 ( 京ICP备2023028323号 | 京公网安备11011202000270号 )

GMT+8, 2024-5-16 02:47 , Processed in 0.068626 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2024, ihei5.com

快速回复 返回顶部 返回列表