vietnam mobile day 2013: multimedia ffmpeg

Post on 17-May-2015

928 Views

Category:

Technology

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Bài chia sẻ của anh Trần Quang Long, Phó phòng công nghệ Android công ty Seta tại hội thảo Vietnam Mobile Day 2013 tổ chức tại Hà Nội vào ngày 11/05/2013.

TRANSCRIPT

Multimedia FFMPEGTRẦN QUANG LONG

ProfileHọ tên: Trần Quang Long

Chức danh: Phó phòng công nghệ Android

Thành tích nổi bật: Phát triển mobile cho các khách hàng lớn của Mỹ như SK Planet, BFF, ShowBucks...

IBM Certification : WebSphere MQ V7.0 WebSphere Commerce V6.0WebSphere Application Server Network Deployment V7.0

SETA:CINQ Vietnam, Ltd Thành lập năm 2009 Số lượng nhân viên 170 Thị trường chính: US, Europe, và JP Khách hàng tiêu biểu: SK Telecom, Atlatl, MessageBroadCast,

MedTalk, ShowBucks…

What is FFmpeg ? FFmpeg is a command line tool that is composed of a collection of

free software / open source libraries. FFmpeg can record, convert and stream digital audio and video in

numerous formats. FFmpeg is developed under Linux, but it can compiled under most

operating systems, including Microsoft Windows Mac Osx.

Why Use FFMPEG? Android multimedia engine provided by Google.

Why Use FFMPEG? Limited codecs available. Fewer resources and the difficulty of coding.

Libraries Libavcodec - containing all the FFmpeg audio/video encoders and decoders Libavformat - containing demuxers and muxers for audio/video container

formats. Libavutil - containing routines common. Libpostproc - containing video postprocessing routines. Libswscale - containing video image scaling routines Libavfilter - substitute for vhook which allows the video to be modified or

examined between the decoder and the be modified or examined between the decoder and the

Codecs Video Codecs

H.261, H.263 and H.264 MPEG-4, RMVB, XVID, MS MPEG-4, VP6, MPEG-1,MPEG-2

Audio Codecs AAC, Vorbis, FLAC, MP3, MP2, WMA

Formats FFMPEG supports numerous formats for encoding and decoding ASF, AVI, FLV, MPEG audio, MPEG1, MPEG2, MPEG4, Smacker,

WAV, raw AC-3, PCM 8/16/32 bits, RealMedia, MOV/QuickTime, Monkey's Audio, VOC....

Image : GIF, JPEG, PCX, PNG, RAS, Tga, TIFF... http://ffmpeg.mplayerhq.hu/general.html

Ffmpeg Commands Video and Audio file format conversion

ffmpeg -i /tmp/test.mpg /tmp/out.avi Several input files and output files ffmpeg -i /tmp/a.wav -s 640x480 -i /tmp/a.yuv /tmp/a.mpg ffmpeg -i

/tmp/a.wav -s 640x480 -i /tmp/a.yuv /tmp/a.mpg

Extract images from a video ffmpeg -i foo.avi -r 1 -s WxH -f image2 foo-%03d.jpeg

Transport HTTP/HTTPS RTP/RTSP/RTMP MMS HTTP Live Streaming with multiple bitrate

FFMPEG- JAVA/Android Object-oriented API for Java Retrieving information from video and audio files Frames from movie files as images Used for automatically creating thumbnail images from movies Reporting the duration and bitrate of audio files

SETA mp3 streaming framework The SETA mp3 streaming is an framework wrapper by setacinq Mp3 streaming features

Mp3 streaming is a complete, solution to record, convert and stream audio

SETA mp3 streaming framework

SETA mp3 streaming framework

SETA mp3 streaming framework

JNI

private native int nativeConnect( String url ) throws IOException;

JNI

private native int nativeRead( int mms, byte[] b, int off, int len ) throws IOException;

JNI

private native void nativeClose( int mms ) throws IOException;

THANK YOU!

http://www.seta-international.com/

top related