[Ffmpeg-devel] Do I need to install any codec to convert mov file to flv using ffmpeg?

klfcp at yahoo.com klfcp
Mon Feb 27 04:27:44 CET 2006


MIke,

I try to convert a mov file to flash, please see the
outcome below:

___________

ffmpeg        IMGP0832.wmv  IMGP0840.MOV  IMGP0849.MOV
 test3.flv  test.wmv
ffmpeg2       IMGP0833.MOV  IMGP0841.MOV  IMGP0850.MOV
 test4.flv  x264
IMGP0832.avi  IMGP0835.MOV  IMGP0843.MOV  khoa        
 test.avi
IMGP0832.MOV  IMGP0837.MOV  IMGP0846.MOV  test        
 test.flv
IMGP0832.mpg  IMGP0839.MOV  IMGP0847.MOV  test2.flv   
 test.mpg
[root at localhost test_media]# ffmpeg -i IMGP0840.MOV
-hq -acodec mp3 -ar 22050 -ab 32 -f flv -s 320x240
-aspect 4:3 -y test5.flv
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice
Bellard
  configuration:  --enable-mp3lame --enable-gpl
  libavutil version: 49.0.0
  libavcodec version: 51.7.0
  libavformat version: 50.3.0
  built on Feb 26 2006 20:19:10, gcc: 4.0.1 20050727
(Red Hat 4.0.1-5)
Input #0, mov,mp4,m4a,3gp,3g2, from 'IMGP0840.MOV':
  Duration: 00:00:05.5, start: 0.000000, bitrate: 5201
kb/s
  Stream #0.0(eng), 30.00 fps(r): Video: mjpeg,
yuvj422p, 320x240
  Stream #0.1(eng): Audio: pcm_u8, 7875 Hz, mono, 63
kb/s
ffmpeg: unrecognized option '-hq'
[root at localhost test_media]#
______________________________

I try without -hq

________________


[root at localhost test_media]# ffmpeg -i IMGP0840.MOV 
-acodec mp3 -ar 22050 -ab 32 -f flv -s 320x240 -aspect
4:3 -y test5.flv
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice
Bellard
  configuration:  --enable-mp3lame --enable-gpl
  libavutil version: 49.0.0
  libavcodec version: 51.7.0
  libavformat version: 50.3.0
  built on Feb 26 2006 20:19:10, gcc: 4.0.1 20050727
(Red Hat 4.0.1-5)
Input #0, mov,mp4,m4a,3gp,3g2, from 'IMGP0840.MOV':
  Duration: 00:00:05.5, start: 0.000000, bitrate: 5201
kb/s
  Stream #0.0(eng), 30.00 fps(r): Video: mjpeg,
yuvj422p, 320x240
  Stream #0.1(eng): Audio: pcm_u8, 7875 Hz, mono, 63
kb/s
Output #0, flv, to 'test5.flv':
  Stream #0.0, 30.00 fps(c): Video: flv, yuv420p,
320x240, q=2-31, 200 kb/s
  Stream #0.1: Audio: mp3, 22050 Hz, mono, 32 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[flv @ 0x83399a8]removing common factors from
framerate
Press [q] to stop encoding
frame=  165 q=22.9 Lsize=     256kB time=5.5 bitrate=
381.7kbits/s
video:229kB audio:22kB global headers:0kB muxing
overhead 2.364383%
[root at localhost test_media]#
------------------------------------------

The second try seems ok, but when i try to play back
test5.flv using Flash Media PLayer 7, i see nothing.

PLease advice.








--- Mike Melanson <mike at multimedia.cx> wrote:

> klfcp at yahoo.com wrote:
> > Mike,
> > 
> > thanks for the quick respond!  I have a Quicktime
> MOV
> > file that I want to convert to flash.  I learned
> that
> > i need X264,  When I try to install X264, I got
> this
> > error message:, I new to with this installation,
> can
> > you let me know what is wrong with my
> installation. 
> 
> 	x264 is an H.264 video encoder. FFmpeg can decoder
> H.264 data by 
> itself, without x264's help.
> 
> -- 
> 	-Mike Melanson
> 
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/ffmpeg-devel
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 





More information about the ffmpeg-devel mailing list