Welcome to Dream.In.Code
Getting Help is Easy!

Join 135,914 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 2,563 people online right now. Registration is fast and FREE... Join Now!




convert any format to .flv by using ffmpeg

 
Reply to this topicStart new topic

convert any format to .flv by using ffmpeg

wastiee
15 May, 2008 - 09:53 PM
Post #1

New D.I.C Head
*

Joined: 15 May, 2008
Posts: 1

how to convert any format to .flv by using ffmpeg.
plz help me smile.gif




Regard & Thank in advance
Wastiee
User is offlineProfile CardPM
+Quote Post

lordms12
RE: Convert Any Format To .flv By Using Ffmpeg
1 Jun, 2008 - 02:57 PM
Post #2

D.I.C Regular
Group Icon

Joined: 16 Feb, 2008
Posts: 314



Thanked: 14 times
Dream Kudos: 225
My Contributions
Just see this now!!

CODE
convert .FLV files into MPEG:
    ffmpeg -i source.flv -ab 56 -ar 22050 -b 500 -s 320x240 dest.mpg

Convert .FLV into XviD .AVI with MP3 Audio:
    ffmpeg -i source.flv -ab 56 -ar 22050 -b 500 -s 320x240 -vcodec xvid -acodec mp3 dest.avi


This post has been edited by lordms12: 1 Jun, 2008 - 02:58 PM
User is offlineProfile CardPM
+Quote Post

Tom9729
RE: Convert Any Format To .flv By Using Ffmpeg
3 Jun, 2008 - 12:54 PM
Post #3

Debian guru
Group Icon

Joined: 30 Dec, 2007
Posts: 1,456



Thanked: 10 times
Dream Kudos: 325
My Contributions
He wants to convert to flv I believe. smile.gif

There are a lot of parameters you can set, but generally ffmpeg -i yourVideo.mpg yourVideo.flv will work. Keep in mind that you have to have the codecs installed for the videos you're converting.

If you use Bash, you could even create a script to do it. Something like convert_to_flv.sh.
CODE

#!/bin/sh
#
# Convert most video formats to flash video.
#
# Usage: sh convert_to_flv.sh [INPUT] [OUTPUT]
#
##

ffmpeg -i $1 $2

User is online!Profile CardPM
+Quote Post

izero
RE: Convert Any Format To .flv By Using Ffmpeg
28 Aug, 2008 - 12:01 AM
Post #4

New D.I.C Head
*

Joined: 28 Aug, 2008
Posts: 1

Try using FFlib.NET, www.intuitive.sk/fflib icon_up.gif

This post has been edited by izero: 28 Aug, 2008 - 12:03 AM
User is offlineProfile CardPM
+Quote Post

mysoogal
RE: Convert Any Format To .flv By Using Ffmpeg
7 Oct, 2008 - 02:17 PM
Post #5

New D.I.C Head
*

Joined: 7 Oct, 2008
Posts: 4

QUOTE(Tom9729 @ 3 Jun, 2008 - 01:54 PM) *

He wants to convert to flv I believe. smile.gif

There are a lot of parameters you can set, but generally ffmpeg -i yourVideo.mpg yourVideo.flv will work. Keep in mind that you have to have the codecs installed for the videos you're converting.

If you use Bash, you could even create a script to do it. Something like convert_to_flv.sh.
CODE

#!/bin/sh
#
# Convert most video formats to flash video.
#
# Usage: sh convert_to_flv.sh [INPUT] [OUTPUT]
#
##

ffmpeg -i $1 $2



FFlib.NET you need to pay for support and plus, it got no documentations you can really follow, they asking to pay for ffmpeg ! my ass ph34r.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 07:52AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month