ffmpeg -i infile.avi out.mp4 outputs non-fragmented MP4. How do I obtain fragmented mp4? Update A fragmented mp4 file is internally divided into several back-to-back chunks or MPEG-4 movie fragments. Each chunk has its own moof atom - so there are several moof atoms interleaved in the file instead of a single moov at the end as in the case of an unfragmented mp4. This makes it easier to stream ove
MP4Box Documentation一 般的な注意事項一 般的な操作 ("MP4Box -h general")ファ イルの変換 ("MP4Box -h import")入 力するファイルトラックの選択イ ンポートオプションファ イルの分割と結合 ("MP4Box -h general")ファイルのヒンティング ("MP4Box -h hint")ファイルのダンプと情報表示 ("MP4Box -h dump")メディアトラックの抽出 ("MP4Box -h extract")MPEG-4 Systems、VRML、X3Dのハンドリング("MP4Box -h dump" and "MP4Box -h encode" )LASeR encoding optionsScene Random AccessISMA Encryption and description ("MP4Box -h c
ffmpeg(1年ほど前に試行錯誤でパッチを当てまくってビルドしたためバージョンは不明…)で下記オプションにてトランスコードしたファイルのTimeScaleとDulationが異常に大きな値になるという現象に遭遇しました。 ffmpeg -i target.m2p -f mp4 -vcodec h264 \ -deinterlace -r 29.97 -s 640x480 -b 720k \ -level 30 -qmin 12 -subq 6 -qmax 40 -g 250 \ -acodec aac -ac 2 -ab 128k -loop 1 target.mp4プレイヤでは正常に再生することができるものの、異常に長いファイルだと認識されてしまい、時間外の場所にシークすると暴走してしまいます。 MP4Boxで調べてみるとビデオトラックのTimeScaleとDulationの値が非常に
Atoms, Boxes, Parents, Children & hex (oh my) An MPEG-4 file is made of a number of discrete units called atoms (well, they were called atoms in the first version of the specification, now they are prosaically called 'boxes'). An atom has a format: Anything beyond that basic 8 bytes is either optional & defined by the hierarchy it is found in (moov.udta.meta.XXXX atoms have a format defined by Qui
変換時のコマンドライン 1. mp4box file.ext file.extを書き換え、上書き 2. mp4box -out new.ext file.ext file.extを書き換えて、new.extに出力。file.extはそのまま残る。 3. mp4box -add file.ext new.ext file.extのデータを取り込んで、新しい動画new.extを作る。 "-new"の使い方がわからない。 2の場合と違い、3は元ファイルの情報が書き換えられる項目がある。例えば、UserDataBox が削除されるため、タイトルとかcopyrightだとかの情報は引き継がれないだろう。 変更・削除されるデータの例: MovieHeaderBoxのCreationTime, TimeScale TrackHeaderBoxのCreationTime HandlerBoxのName (
結構はまったのでメモ まず、以前のエントリーでFMS経由で動画ファイルを指定する際は拡張子が不要ということを書いたけど、これは正確ではなかった。 正確には、[FMSにflv形式でアップされているファイル]にアクセスするときは、拡張子を書かないが正解。 では、f4v形式や、mp4形式のファイルをアップした際はどうするか? 単純に拡張子をつければいいわけではなかった。 ファイル名の頭に、[mp4:]をつける必要があった。 //独自プレイヤーでの実装例(いろいろ省略) var nc:NetConnection = new NetConnection(); nc.connect("rtmp://hoge.moge.ore/dore"); var ns:NetStream = new NetStream(nc); ns.play("mp4:hoge.mp4"); //ns.play("mp4:hog
News The development of our adaptive streaming software is available at the Unified Streaming Platform website. The software that is available on this website (mod_h264_streaming version 2.2.7) supports pseudo streaming for Flash. News (March 2010) Another sneak preview. We offer you a first look at Smooth Streaming for Adobe Flash 10.1. Encode your content once and playback on Silverlight, iPho
●目的 ・動画の変換をWEBサービスとして実現する ・携帯電話各キャリアの動画を相互変換する ●環境 ・サーバー:FreeBSD ・テスト動画:MPEGを携帯サイズに合わせて作成(60秒) ・テスト方法: MPEGをFTPにてWindowsよりUpload telnetクライアントにてコマンド手打ち 各キャリア向け動画(変換後)をFTPにてDownload Windows上の動画再生ソフト(携帯用動画対応)にて再生 ※環境はFreeBSDなのでInstallにはportsを使用 他の環境ではapt-getなりを使う ●ffmpegインストール ・/usr/ports/multimedia/ffmpegにて「make install」 ・パラメータは「IPv6」サポートを除く全てを指定(念のため) AMR_NB、AMR_WB、FAAC、FAAD、GSM、LAME、LIBA52、OPTIMIZ
HTML・PHP・Perl・Linux・PostgreSQL・MySQL・etc...について覚書を綴る 【変換スクリプト】 # vi conv_3gp.sh ----- ここから ----- # # docomo # /usr/local/bin/ffmpeg -y -i $1 -fs 2000000 -vcodec mpeg4 -s 176x144 -r 14.985 -b $3k -asyn c 1 -acodec libamr_nb -ac 1 -ar 8000 -ab 12.2k -f 3gp $2.tmp /usr/local/bin/MP4Box -add $2.tmp -brand mmp4:1 -new $2 rm -f $2.tmp chmod 644 $2 # # au # /usr/local/bin/ffmpeg -y -i $1 -fs 1500000 -vco
WHS V1は標準で搭載されているWindows Media Connect機能や、別途Twonky Server等のDLNAサーバーソフトを導入することで、DLNA(互換)サーバーとして利用することが出来ます。 また、WHS 2011のメディアストリーミング機能は、Windows 7(WMP12) と同等のDLNAサーバー機能を搭載していて、DLNAデバイスとの互換性が高くなっています。 そのDLNAサーバー機能を利用して、android端末にMP4動画をストリーミングするには、MP4がストリーミングに適したファイルになっている必要があります。しかし、FFmpegを利用してエンコードした動画は我が家ではTwonky ServerやWHS2011を使ってもandroid端末に配信できず、困っていました。iPhoneでは再生出来ても、androidでは再生出来ないので、andro
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く