FORUMS: list search recent posts

ffmpeg avi to flv conversion

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
alim ziyan
ffmpeg avi to flv conversion
on Aug 27, 2011 at 5:17:39 am

Hi,
I am new to ffmpeg.When I tried to convert an avi file to flv using FFMPEG,

ffmpeg -i uploads/flame.avi -f flv -s 320x240 uploads/flame1.flv | flvtool2 -U stdin uploads/flame1.flv
I can create a flv file but with size 0 k.
it shows the following error.
**[avi @ 0x10e8420]Could not find codec parameters (Video: IV41 / 0x31345649, 256x240)
uploads/flame.avi: could not find codec parameters**
ERROR: undefined method `timestamp' for nil:NilClass
ERROR: /usr/lib/ruby/1.8/flv/stream.rb:285:in `lasttimestamp'
ERROR: /usr/lib/ruby/1.8/flv/stream.rb:274:in `duration'
ERROR: /usr/lib/ruby/1.8/flvtool2/base.rb:181:in `add_meta_data_tag'
ERROR: /usr/lib/ruby/1.8/flvtool2/base.rb:137:in `update'
ERROR: /usr/lib/ruby/1.8/flvtool2/base.rb:47:in `send'
ERROR: /usr/lib/ruby/1.8/flvtool2/base.rb:47:in `execute!'
ERROR: /usr/lib/ruby/1.8/flvtool2/base.rb:46:in `each'
ERROR: /usr/lib/ruby/1.8/flvtool2/base.rb:46:in `execute!'
ERROR: /usr/lib/ruby/1.8/flvtool2/base.rb:206:in `process_files'
ERROR: /usr/lib/ruby/1.8/flvtool2/base.rb:44:in `execute!'
ERROR: /usr/lib/ruby/1.8/flvtool2.rb:168:in `execute!'
ERROR: /usr/lib/ruby/1.8/flvtool2.rb:228
ERROR: /usr/bin/flvtool2:2:in `require'
ERROR: /usr/bin/flvtool2:2
I also run it without using the flvtool2 portion in the command the errors related with flvtool2 is removed. Actually what we are using this flvtool2? Is it possible to create a flv file without using flvtool2? What is this codec parameters????

Thanks in advance...


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]