Hi guys, I am not an expert user in this field, I've started to use ffmpeg to convert few videotutorial that I am building for my blog. The problem here is that I am not able to convert a video with the h264 codec to a flv file...
This is my log, but as said earlier, I do not understand at all what that means, so could you be so kind to help me understanding why I am not able to convert an h264 to a flv?
Thanks for your help! Which are the correct codec parameters?Code:Encoding started on Wed Mar 30 16:46:47 CEST 2011 FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard Mac OSX universal build for ffmpegX libavutil version: 49.0.0 libavcodec version: 51.9.0 libavformat version: 50.4.0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/Dati/WebDesign/Lavori/Freelance/HTML5andMore/Video/HTML5 Forms.mp4': Duration: 00:12:31.9, start: 0.000000, bitrate: 312 kb/s Stream #0.0(und), 29.97 fps(r): Video: h264, yuv420p, 1280x800 Stream #0.1(und): Audio: aac, 48000 Hz, stereo Output #0, flv, to '/Volumes/Dati/WebDesign/Lavori/Freelance/HTML5andMore/Video/HTML5 Forms.mp4.ff.flv': Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 1280x720, q=2-15, 200 kb/s Stream #0.1: Audio: ac3, 22050 Hz, stereo, 56 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 bench: utime=0.011s codec not compatible with flv Could not write header for output file #0 (incorrect codec parameters ?) ERROR: undefined method `timestamp' for nil:NilClass ERROR: /Library/Ruby/Site/1.8/flv/stream.rb:285:in `lasttimestamp' ERROR: /Library/Ruby/Site/1.8/flv/stream.rb:274:in `duration' ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:181:in `add_meta_data_tag' ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:137:in `update' ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:47:in `send' ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:47:in `execute!' ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:46:in `each' ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:46:in `execute!' ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:239:in `process_files' ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:225:in `each' ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:225:in `process_files' ERROR: /Library/Ruby/Site/1.8/flvtool2/base.rb:44:in `execute!' ERROR: /Library/Ruby/Site/1.8/flvtool2.rb:168:in `execute!' ERROR: /Library/Ruby/Site/1.8/flvtool2.rb:228 ERROR: /Applications/ffmpegX.app//Contents/Resources/flvtool2:2:in `require' ERROR: /Applications/ffmpegX.app//Contents/Resources/flvtool2:2 Encoding completed on Wed Mar 30 16:46:48 CEST 2011
+ Reply to Thread
Results 1 to 4 of 4
-
-
Mp4 with h264 video and aac works fine in flash. So you don't need to reconvert to a flv container. Have you tried it?
-
The inpout source is a h264 with a acc audio, but I still have this error... Or maybe there's something that I'm missing?
Similar Threads
-
Converting VFR FLV (H264/AAC) to AVI (other) w/o sync issue
By kwondra34 in forum Video Streaming DownloadingReplies: 43Last Post: 11th Apr 2012, 00:54 -
mux h264/aac flv into h264/aac mkv
By Pitorasilo in forum Newbie / General discussionsReplies: 4Last Post: 18th Jul 2011, 09:36 -
Problems converting some xvid to h264 to append to another h264
By PlanetIndigo in forum Video ConversionReplies: 3Last Post: 6th Jun 2011, 14:13 -
Problem converting H264(mkv), keeps crashing while converting.
By weedelf in forum Video ConversionReplies: 4Last Post: 9th Apr 2009, 23:56 -
Problem with artifacts in flv conversion - i.e. converting to flv from avi
By brassplyer in forum Video Streaming DownloadingReplies: 9Last Post: 30th Apr 2008, 22:09