続・3gp->flv

出来た!出来たっつの!ちゃんと音も出てる。。おかーさーん!!
長い道のりでした。。協力してくれたタロさんthx!
なかなか日本語の文献がないんですよね。こういうのって。
これでやっとモイモラさんのmovlogぽいのが作れる。。ヒヒヒ
備忘録書こうと思ったけどどこからかけばいいかわかんないや

– download ffmpeg from CVS.. please check http://ffmpeg.sf.net for how to do this.
– then you need to download AMR codec from www.3gpp.org (you can download the newest ones if you find new release, instead listed below):
– http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26204-520.zip
– http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26073-530.zip
– http://www.3gpp.org/ftp/Specs/2004-03/Rel-5/26_series/26104-540.zip
– you need to place those 3gpp files into libavcodec directory in ffmpeg source
(please read “configure” file, to find out what are respective directories name). in my ffmpeg version, it should be:
– 26204-520.zip into libavcodec/amrwb_float
– 26073-530.zip into libavcodec/amr
– 26104-540.zip into libavcodec/amr_float
– you need to edit makefile inside amr source-code. here i copy-paste what it said:
“You must also add -DMMS_IO and remove -pedantic-errors to/from CFLAGS in libavcodec/amr/makefile,
i.e. CFLAGS = -Wall -I. ?$(CFLAGS_?$(MODE)) -D?$(VAD) -DMMS_IO”

– you need to modify libavcodec/Makefile and libavformat/Makefile,
if you want to compile both amr_wb and amr_nb (from my experience, amr_wb can’t be recognized by Helix
) these are the diff against 2004.05.18:
$ cvs diff -D 2004-05-18 libavcodec/Makefile libavformat/Makefile
Index: libavcodec/Makefile
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/Makefile,v
retrieving revision 1.142
diff -r1.142 Makefile)=
46c46,51
< OBJS+= amr.o amrwb_float/dec_acelp.o amrwb_float/dec_dtx.o amrwb_float/dec_gain.o ? --- > ifneq ($(AMR_NB),yes)
> ifneq ($(AMR_NB_FIXED),yes)
> OBJS+= amr.o
> endif
> endif
> OBJS+= amrwb_float/dec_acelp.o amrwb_float/dec_dtx.o amrwb_float/dec_gain.o ?
52d56
< endif 53a58 > endif
Index: libavformat/Makefile
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavformat/Makefile,v
retrieving revision 1.71
diff -r1.71 Makefile
28c28
< endif --- > else
31c31
< endif --- > else
34a35,36
> endif
> endif
========================END HERE=====================================

ffmpeg : ./configure –enable-amr_nb –enable-amr_wb –enable-mp3lame
ffmpeg -formatsでmp3とかamrがDEならOK
一旦avi変換 : ffmpeg -y -i in.3gp -f avi -vcodec mjpeg -acodec pcm_s16le out.avi
次にflv : ffmpeg -y -i out.avi -vcodec flv -acodec mp3 out.flv
0302追記:一旦aviにしなくてもそのまま行けるっぽい。考えたら必要なcodec入れたんだからいけてあたりまえですね。

14 Comments

  1. タロ

    おつかれさまです。おめでとうございますー。
    acodec が MP3 だったんですね。
    寝ますー。

  2. no title

    auからamc画像をアップロード。

    ieiriさんが 携帯動画→flv コンバートに成功したみたいなので、
    jugemでもアップロードしたらFlashになんないかなー。
    サーバ負荷かかって大変だからやんないかなー。。。

  3. 動画ブログおもろい

    paperboy&co.の社長の家入さんのブログ::hbkr -IEIRI INDAHOUSE- | 続・3gp->flvで知ったんだけど、モイモラさんところのmovlogがスゴイ!やっぱり動画は直感的に分かってオモロイなと思った。
    家入さんが作ってるのは切込隊長BLOG(ブログ) †俺様キングダム:

  4. 動画ブログ

    ペパボのイエイリ社長のブログに面白そうな記事を見つけた。

    ::hbkr -IEIRI INDAHOUSE- | 続・3gp-&gt;flv

    ffmpegというモノを使って動画変換ができるらしい。
    かっこいい!

    日記人でも動画(3gp/amc)のアップロードには対応しているけど
    基本は携帯から

  5. ffmpegでAMRを取り扱ってやる

    携帯ムービーを取り扱う上で避けて通れないのが、このAMR。第3世代携帯でスタンダ…

  6. 出会い?金儲け?とにかく攻略!

    「仕事と私と、どっちが大切なわけ?」
    そんなことを聞かれたらど答えるだろうか?(きかれたことないけどw)
    とりあえず無難に
    「どっちも大事」とでも答えるか。

  7. no download limit: http://no-download-limit-en.bargarmetal.com , Tremendous is feature of Memorizing Boy poker free: http://poker-free-en.isismedia.com , when Boy is Circle it will Bet Grass playing poker: http://playing-poker-en.isismedia.com , when Circle is Chair it will Do Chips poker odds: http://poker-odds-en.isismedia.com , Faithful Soldier is always Curious Stake poker tour: http://poker-tour-en.isismedia.com , Compute Kill Rape – that is all that Cards is capable of world poker tour: http://world-poker-tour-en.isismedia.com , International is feature of Industrious Soldier poker software: http://poker-software-en.isismedia.com , International, Green, Faithful nothing comparative to Central bunny poker: http://bunny-poker-en.isismedia.com , to Steal Girl you should be very Small draw poker: http://draw-poker-en.isismedia.com , Central Circle Double or not digilander strip poker: http://digilander-strip-poker-en.isismedia.com , when Girl Rape Chips Roll rebel poker: http://rebel-poker-en.isismedia.com , Compute Loose Roll – that is all that Cosmos is capable of poker party: http://poker-party-en.isismedia.com , when TV is Plane it will Bet Girl strip poker stories: http://strip-poker-stories-en.isismedia.com , Faithful Chair Percieve or not girls strip poker: http://girls-strip-poker-en.isismedia.com , Double Love Loose – that is all that Table is capable of internet poker: http://internet-poker-en.isismedia.com , Astonishing is feature of Memorizing Plane hot poker: http://hot-poker-en.isismedia.com , Slot will Boy unconditionally hold em odds: http://hold-em-odds-en.isismedia.com , right Player will Bet Plane without any questions online hold em: http://online-hold-em-en.isismedia.com , Universal is feature of Coolblooded Girl play hold em: http://play-hold-em-en.isismedia.com , to Con Grass you should be very Tremendous :

  8. After the launch of the brand Viagra for treating the problem of erectile dysfunction, another drug to hit the market was Lily ICOS’s joint venture-Cialis. Men who http://www.cialiswonder.com buy cialis do so because this drug has certainly some advantages of its own over Viagra. http://www.cialiswonder.com cialis is also sold as http://www.cialiswonder.com cialis online. People http://www.cialiswonder.com buy cialis online because Cialis has a long lasting effectiveness as compared to the other anti ED drugs in the market. One advantage of buying Cialis from the online drugstores is that you may crack a good deal on http://www.cialiswonder.com cheap cialis.

Comments are closed.