Senior & Expert RoR Developers Discussion Forum by Nyros Technologies

HIRE Ruby on Rails Expert Developers Programmers Coders From India
Ruby on Rails PHP .Net Developers Community, Nyros Technologies, Kakinada
 
Log in  or IF not a member please REGISTER
Username:
Password:   


Keyword
Log in | Profile 

Use of FFMPEG

 
Post new topic   Reply to topic    Senior & Expert RoR Developers Discussion Forum by Nyros Technologies Index -> Open sources in ruby on rails
View previous topic :: View next topic  
Author Message
Divya



Joined: 14 Sep 2009
Posts: 35

PostPosted: Tue Feb 09, 2010 4:05 am    Post subject: Use of FFMPEG Reply with quote

-----------FFMPEG ------------------

FFmpeg is an open source recorder, converter and streamer of audio and video.It can also be given as, a computer program that can be used to record, convert and stream digital audio and video in numerous formats.

* FFmpeg is a command line tool that is given through a collection of free software / open source libraries.

* It includes libavcodec, an audio/video codec library used by several other projects, and libavformat, an audio/video container mux and demux library.

* The name comes from the MPEG video group, together with "FF" for "fast forward".So the name comes as FFMPEG.

* FFmpeg is developed under Linux, but it can be compiled under most operating systems, including Apple Inc. Mac OS X, Microsoft Windows.

* There are no releases. Instead, FFmpeg developers recommend using the latest Subversion snapshot.

* They support most existing file formats (AVI, MPEG, OGG, Matroska, ASF, …) and encoding formats (MPEG, DivX, MPEG4, AC3, DV, …).

To make use of this software we need to just install or download the package from
"http://www.ffmpeg.org/download.html"

Here i am going to tell, how to install FFMPEG on Ubuntu

Just we need to download and install the dependency packages for FFMPEG.

In you terminal just type the command

-- sudo apt-get install ffmpeg

or you can Check Out FFMPEG Source as

mkdir src
cd src
svn checkout svn://svn.mplayerhq.hu/ffmpeg/trunk ffmpeg
cd ffmpeg

After installing you can check the ffmpeg version as, You need to type in your terminal as

ffmpeg -version

Then you can see

FFmpeg version 0.5-svn17737+3:0.svn20090303-1ubuntu6, Copyright (c) 2000-2009 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --extra-version=svn17737+3:0.svn20090303-1ubuntu6 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-libgsm --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --disable-stripping --disable-vhook --enable-libdc1394 --disable-armv5te --disable-armv6 --disable-armv6t2 --disable-armvfp --disable-neon --disable-altivec --disable-vis --enable-shared --disable-static
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0
libavformat 52.31. 0 / 52.31. 0
libavdevice 52. 1. 0 / 52. 1. 0
libavfilter 0. 4. 0 / 0. 4. 0
libswscale 0. 7. 1 / 0. 7. 1
libpostproc 51. 2. 0 / 51. 2. 0
built on Apr 10 2009 23:18:41, gcc: 4.3.3
FFmpeg 0.5-svn17737+3:0.svn20090303-1ubuntu6
libavutil 49.15. 0 / 49.15. 0
libavcodec 52.20. 0 / 52.20. 0

So that after installing we can see some examples like

Video Examples:

* Converting MOV to FLV using FFMPEG
ffmpeg -i barsandtone.mov barsandtone.flv

This will convert barsandtone.mov file to barsandtone.flv


* Converting Mpeg to FLV using FFMPEG

ffmpeg -i barsandtone.mpeg barsandtone.flv

This will convert barsandtone.mpeg file to barsandtone.flv

* Converting AVI to FLV using FFMPEG

ffmpeg -i barsandtone.avi -s 500×500 barsandtone.flv

This will convert barsandtone.avi file to barsandtone.flv and will resize the video resolution to 500×500

* Converting 3GP to FLV using FFMPEG
ffmpeg -i barsandtone.3gp -sameq -an barsandtone.flv

This will convert barsandtone.3gp file to barsandtone.flv and will keep the original file settings and will disable the audio content

Audio Examples:

* Converting WMV to MP3 using FFMPEG
ffmpeg -i audio1.wmv audio1.mp3

This will convert audio1.wmv file to audio1.mp3

* Converting WMV to FLV using FFMPEG
ffmpeg -i audio1.wmv audio1.flv

This will convert audio1.wmv file to audio1.flv, this will generate only audio content

So we can use the different conversions of using thes ffmpeg software.

If we want to see the different formats that are supported for this conversion of video and audio are, by running the command in your terminal as

ffmpeg -formats

Then you can see the different formats that will support .
So that we can see different types of video and audio conversions as simple through using this ffmpeg software.

Thank you,
Divya
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Senior & Expert RoR Developers Discussion Forum by Nyros Technologies Index -> Open sources in ruby on rails
Page 1 of 1

 latest topics 
 Topics   Replies   Author   Views   Last Post 
No new posts Documentation
0 Anu 10 Thu Mar 18, 2010 4:01 am
Anu View latest post
No new posts File handling in ruby
0 Anu 19 Wed Mar 17, 2010 2:14 pm
Anu View latest post
No new posts sending an email from rb file
0 umamahesh_nyros 15 Wed Mar 17, 2010 6:13 am
umamahesh_nyros View latest post
No new posts difference bewteen render component and render partial
0 umamahesh_nyros 11 Wed Mar 17, 2010 6:06 am
umamahesh_nyros View latest post
No new posts Acts_as_tsearch plugin
0 swaminadhan 23 Sat Mar 13, 2010 9:10 am
swaminadhan View latest post
No new posts Built in classes in ruby
0 ktulasi 33 Thu Mar 11, 2010 1:09 pm
ktulasi View latest post
No new posts User defined classes and types of variables.
2 swaminadhan 51 Wed Mar 10, 2010 4:40 am
swaminadhan View latest post
No new posts Background & Introduction of ruby
0 Divya 49 Mon Mar 08, 2010 12:59 pm
Divya View latest post
No new posts i have lost the data in schema.rb file in rails application
0 Raja 57 Thu Mar 04, 2010 4:46 am
Raja View latest post
No new posts AlertPay
0 Raghu 37 Mon Mar 01, 2010 11:36 am
Raghu View latest post




Hire an expert Ruby on Rails developer / coder / programmer or development team from India now!!

Other Forums : PHP   ::   .Net   |   Free unlimited HTML CSS templates download

Nyros Technologies   |   Kakinada City Portal   |   Developers Blog   |   About Ruby on Rails Experts   |   More