Forum Archive Home -> ffmpegX general discussion -> convert mov to flv zero bites
convert mov to flv zero bites | ||||||||||||
| drica posted 2009 Mar 02 14:12 | ||||||||||||
| Hi,
I just install ffmpeg... I am trying to convert a mov file to flv without sucess. message error: Encoding started on Mon Mar 2 17:07:02 BRT 2009 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 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4701fc]negative ctts, ignoring Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/LaCie Disk/FOOTAGESALE/Videobackground/balboa/websample/vbbp001': Duration: 00:00:07.0, start: 0.000000, bitrate: 320 kb/s Stream #0.0(eng), 29.97 fps(r): Video: h264, yuv420p, 280x200 Number of stream maps must match number of output streams What I have to do to fix that? :cry: Thks a lot for your help! :P | ||||||||||||
| Case posted 2009 Mar 02 15:50 | ||||||||||||
| It seems your source file has only a video stream, but no audio stream. ffmpegX wants a file with both video and audio as input when converting to a format with video and audio ("Number of stream maps must match number of output streams"). | ||||||||||||
| military69 posted 2009 Mar 03 06:38 | ||||||||||||
| Unfortunately I'm having the same issue..... It's driving me crazy and I know my video has audio. Here is the "process information" for you to read. I appreciate any help.
FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard Tue Mar 3 22:34:32 ChST 2009 Mac OSX universal build for ffmpegX libavutil version: 49.0.0 libavcodec version: 51.9.0 libavformat version: 50.4.0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x5597b8]negative ctts, ignoring Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/GREEN HD/Movies/Guam/Flower1.mov': Duration: 00:00:33.7, start: 0.000000, bitrate: 20861 kb/s Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 720x480 Codec type mismatch for mapping #0.0 -> #0.0 | ||||||||||||
| Case posted 2009 Mar 03 11:18 | ||||||||||||
| ||||||||||||
| drica posted 2009 Mar 03 11:36 | ||||||||||||
Hi thks for your help! I fix it turning off audio... but now I have another issue!!!!!!!! When I click to encode,a window comes up asking me where is progress.app... I always choose ffmpeg,is it right? The last info was: Encoding started on Tue Mar 3 14:12:58 BRT 2009 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 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4701fc]negative ctts, ignoring Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/LaCie Disk/FOOTAGESALE/Videobackground/balboa/websample/vbbp001': Duration: 00:00:07.0, start: 0.000000, bitrate: 320 kb/s Stream #0.0(eng), 29.97 fps(r): Video: h264, yuv420p, 280x200 Output #0, flv, to '/Volumes/LaCie Disk/FOOTAGESALE/Videobackground/balboa/websample/vbbp001.ff.flv': Stream #0.0, 29.97 fps(c): Video: flv, yuv420p, 288x240, q=2-15, 200 kb/s Stream mapping: Stream #0.0 -> #0.0 video:214kB audio:0kB global headers:0kB muxing overhead 1.533227% bench: utime=1.860s /bin/sh: /Applications/ffmpegX.app//Contents/Resources/flvtool2: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory what that means? I download flvtool2... I opened from zip...do I have to place it somewhere? Another thing... I got flash 9 because my mac os is 10.3.9... when I try to open the clip that I encoded as a flash , anything happens!!!!!!!!!!! Then I upload the clip to youtube to check out then it played but the quality was bad. Any tips to solve this problems? :? :shock: :o Again,thks a lot for your help! :roll: | ||||||||||||
| Case posted 2009 Mar 03 12:36 | ||||||||||||
Installation instructions for flvtool2 can be found on this forum and on the website. Use the forum search box (top of page) for additional topics on flvtool2, as some users wanted more detailed instructions in the past.
Very few players can play FLV files directly. To play an FLV file in QuickTime Player, install Perian first, as it helps QTP understand FLV files (among other useful things).
| ||||||||||||
| drica posted 2009 Mar 04 10:20 | ||||||||||||
Thks a lot for your help! :P You are a very cool guy! :idea: When I try to open the clip that I encoded as a flash the flash software opens but there isn't a window to show the clip! Then I click from the menu,open a file and It doesn't show the clip. Any thoughts? :roll: :oops: | ||||||||||||
| Case posted 2009 Mar 04 11:40 | ||||||||||||
The webbroser plugin and stand-alone Flash players play .swf files, not .flv files. The 'trick' is to embed an .flv file inside a .swf file, or (even better for the web) use a general .swf file as a player for many .flv files, by linking (not embedding) to .flv files. Such .swf media players only have to be made once, and handle all your .flv files. There are several such players free to download, such as JW FLV media player. For local playback of .flv files, try QuickTime Player (with Perian), VLC or some of the dedicated FLV players that can be found at the usual software sites (VersionTracker, MacUpdate). | ||||||||||||
| drica posted 2009 Mar 04 14:51 | ||||||||||||
I need for local playback... Can't use perian because my mac os is 10.3! VLC will not open my flash clip. I am getting desperated in here! The flvtool2 comes like that.. the bin CHANGELOG examples flvtool2.exy lib LICENSE Rakefile README setup.rb Isn't missing some files? anyway a click on setup... a window opens,real basic 3.5, asking if I want pay/register or not yet I click on that and a software opens ... right side is the tools the other properties... I am very lost in here! I try to find info on the links you gave me but didn't help... How can install flvtool2,step by step? :oops: Thks :o | ||||||||||||
| Case posted 2009 Mar 04 15:47 | ||||||||||||
The application Terminal will be located in /Applications/Utilities/ . Launch Terminal. You'll see a so-called Shell window where you can type commands. That is why is it sometimes referred to as the "command line".
1. Change the working directory to the "flvtool2-1.0.6" folder, by typing cd and a space character, followed by a drag-and-drop of the folder "flvtool2-1.0.6" from the Finder to the Terminal window. The Terminal will interpret the drag-and-drop action by copying the path to that folder into the command. Press the <return> key to activate the command. 2. Type ruby setup.rb config [press <return> key] 3. Type ruby setup.rb setup [press <return> key] 4. Type sudo ruby setup.rb install [press <return> key] 5. The sudo command in the previous step will make the Terminal ask for your user account password. 6. Done; flvtool2 is now installed. | ||||||||||||
| tomlee59 posted 2009 Mar 04 23:23 | ||||||||||||
| A free standalone flash player that will work under 10.3 is Wimpy FLV Player. It's not particularly elaborate, but it's functional. | ||||||||||||
| Ai Haibara posted 2009 Mar 05 00:51 | ||||||||||||
| I think I used iSwiff along with Macromedia's (now Adobe's, of course) stand-alone Flash player. The latter, you can find here: http://www.adobe.com/support/flashplayer/downloads.html
...don't think they have one that supports Flash 10, though, and I don't know how the more recent versions will run under Panther. I'd test, if my iBook wasn't broken. -_- | ||||||||||||
| drica posted 2009 Mar 05 13:39 | ||||||||||||
Hi Case, Thanks... I tried but .... it asked my password then I type but didn't see anything being typed then I press return... then it asked for my password again then I didn't now what to write because my computer doesn't have a password... I download the software I don't have a password!!!!!!!!!! The situation is like that.... should I stasrt over? How about the password? Last login: Thu Mar 5 16:17:22 on ttyp1 Welcome to Darwin! Adrianas:~ adriana$ cd /Users/adriana/Desktop/flvtool2-1.0.6 Adrianas:~/Desktop/flvtool2-1.0.6 adriana$ Adrianas:~/Desktop/flvtool2-1.0.6 adriana$ ruby setup.rb config ---> bin <--- bin ---> lib ---> lib/flv <--- lib/flv ---> lib/flvtool2 <--- lib/flvtool2 <--- lib Adrianas:~/Desktop/flvtool2-1.0.6 adriana$ ruby setup.rb setup ---> bin updating shebang: flvtool2 <--- bin ---> lib ---> lib/flv <--- lib/flv ---> lib/flvtool2 <--- lib/flvtool2 <--- lib Adrianas:~/Desktop/flvtool2-1.0.6 adriana$ sudo ruby setup.rb install Password: Sorry, try again. Password: Sorry, try again. Password: Sorry, try again. sudo: 3 incorrect password attempts Adrianas:~/Desktop/flvtool2-1.0.6 adriana$ :shock: :o :? :oops: :oops: :oops: :oops: | ||||||||||||
| Case posted 2009 Mar 05 13:50 | ||||||||||||
(You can always change it back after installation.) | ||||||||||||
| drica posted 2009 Mar 05 14:08 | ||||||||||||
Hi Case, Who am I without you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!? After the password I got this Adrianas:~/Desktop/flvtool2-1.0.6 adriana$ sudo ruby setup.rb install Password: rm -f InstalledFiles ---> bin mkdir -p /usr/bin install flvtool2 /usr/bin/ <--- bin ---> lib mkdir -p /usr/local/lib/ruby/site_ruby/1.6 install flv.rb /usr/local/lib/ruby/site_ruby/1.6/ install flvtool2.rb /usr/local/lib/ruby/site_ruby/1.6/ install mixml.rb /usr/local/lib/ruby/site_ruby/1.6/ install miyaml.rb /usr/local/lib/ruby/site_ruby/1.6/ ---> lib/flv mkdir -p /usr/local/lib/ruby/site_ruby/1.6/flv install amf_string_buffer.rb /usr/local/lib/ruby/site_ruby/1.6/flv install audio_tag.rb /usr/local/lib/ruby/site_ruby/1.6/flv install core_extensions.rb /usr/local/lib/ruby/site_ruby/1.6/flv install meta_tag.rb /usr/local/lib/ruby/site_ruby/1.6/flv install stream.rb /usr/local/lib/ruby/site_ruby/1.6/flv install tag.rb /usr/local/lib/ruby/site_ruby/1.6/flv install video_tag.rb /usr/local/lib/ruby/site_ruby/1.6/flv <--- lib/flv ---> lib/flvtool2 mkdir -p /usr/local/lib/ruby/site_ruby/1.6/flvtool2 install base.rb /usr/local/lib/ruby/site_ruby/1.6/flvtool2 install version.rb /usr/local/lib/ruby/site_ruby/1.6/flvtool2 <--- lib/flvtool2 <--- lib Adrianas:~/Desktop/flvtool2-1.0.6 adriana$ I guess it installed,right? Sorry I am a dummy with computers! I just encode using ffmpeg . I guess flvtool is not install! It directory is on desktop,is it a problem? Encoding started on Thu Mar 5 17:20:52 BRT 2009 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 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4701fc]negative ctts, ignoring Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/LaCie Disk/FOOTAGESALE/Videobackground/balboa/websample/vbbp001': Duration: 00:00:07.0, start: 0.000000, bitrate: 320 kb/s Stream #0.0(eng), 29.97 fps(r): Video: h264, yuv420p, 280x200 Output #0, flv, to '/Volumes/LaCie Disk/FOOTAGESALE/Videobackground/balboa/websample/vbbp001.ff.flv': Stream #0.0, 29.97 fps(c): Video: flv, yuv420p, 288x240, q=2-15, 4000 kb/s Stream mapping: Stream #0.0 -> #0.0 bench: utime=1.570s video:227kB audio:0kB global headers:0kB muxing overhead 1.441942% /bin/sh: /Applications/ffmpegX.app//Contents/Resources/flvtool2: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory Why no such file or directory? What I have to do now? Gee.... Thanks a lot!!!!!!!!!!!!!!!!!! :P :D :roll: you are the best! | ||||||||||||
| Case posted 2009 Mar 05 15:50 | ||||||||||||
1. Where is ruby? The author of ffmpegX expected ruby to be located at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby . On your system ruby may be located elsewhere. On my 10.4.11, ruby is located at /usr/bin/ruby . I don't know where it is on 10.3.x, but try looking in /usr/bin/ first. (The directory usr is a hidden directory, so use the Go menu in the Finder, Go to folder, type /usr/bin, then look if ruby is in there.) 2. Edit ffmpegX to the correct location of ruby. Select the ffmpegX application in the Finder. Control-click it, then select Show Package Content. A new folder will show the 'insides' of ffmpegX. Open the Contents folder. Open the Resources folder. One of the files in there is "flvtool2". This file is very small and will have just two lines of text. Open the file in TextEdit. Change /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby into the real location of ruby, e.g. /usr/bin/ruby . It should now read something like:
3. Try encoding to FLV once more. The log shouldn't say "bad interpreter: No such file or directory" anymore. | ||||||||||||
| drica posted 2009 Mar 06 15:08 | ||||||||||||
Hi Case, :) Ok now it reads #! /usr/bin/ruby require 'flvtool2' And yes the location was there/usr/bin/ruby the flvtool2 is there too usr/bin/flvtool2 But the bad news is... :? :evil: when I tryied to encode the message... :x FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard Fri Mar 6 17:45:21 BRT 2009 Mac OSX universal build for ffmpegX libavutil version: 49.0.0 libavcodec version: 51.9.0 libavformat version: 50.4.0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4701fc]negative ctts, ignoring Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/LaCie Disk/FOOTAGESALE/Videobackground/balboa/websample/vbbp005': Duration: 00:00:06.9, start: 0.000000, bitrate: 398 kb/s Stream #0.0(eng), 29.97 fps(r): Video: h264, yuv420p, 280x200 Output #0, flv, to '/Volumes/LaCie Disk/FOOTAGESALE/Videobackground/balboa/websample/vbbp005.ff.flv': Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 320x240, q=2-15, 200 kb/s Stream mapping: Stream #0.0 -> #0.0 bench: utime=1.060s video:199kB audio:0kB global headers:0kB muxing overhead 0.675187% /bin/sh: /Applications/ffmpegX.app//Contents/Resources/flvtool2: /usr/bin/ruby require: bad interpreter: No such file or directory When the progress .app window opens and ask to choose an application I notice there was twice ffmpeg... I put on trash the files that was on desktop... I search on find ffmpeg The result comes like ffmpegX application support com.mac.homepage.major4.ffmpegX.plist ffmpegX application I feel we are getting in there! :wink: :o I have no words to thank you enough, for your help and patient! :oops: :) | ||||||||||||
| Case posted 2009 Mar 07 02:42 | ||||||||||||
Let's try to find out if both ruby and flvtool2 are in working condition: (1) In the Terminal, type (or copy-paste): /usr/bin/ruby --version It should mention the application version of ruby, without doing anything else. (2) In the Termimal, type: /usr/bin/flvtool2 -H It should mention the short Help page, without doing anything else. (What is mentioned there is for using flvtool2 from the command line, without ffmpegX.) If you get these results, then they both are in working condition.
If you get the "Where is Progress.app?" question, locate the ffmpegX appliaction in your /Applcations folder. If this happens again, open up the Package Contents of ffmpegX, navigate to Contents/Resources/Progress.app and drag that icon to the "Where is Progress.app?" dialog box. I hope that is enough to let it remember it from then on. P.S. You don't have to include the complete quote each time you reply on the forum. Feel free to cut away portions from the quote that are not essential in your reply. | ||||||||||||
| drica posted 2009 Mar 07 21:15 | ||||||||||||
| If you get the "Where is Progress.app?" question, locate the ffmpegX appliaction in your /Applcations folder.
If this happens again, open up the Package Contents of ffmpegX, navigate to Contents/Resources/Progress.app and drag that icon to the "Where is Progress.app?" dialog box. I hope that is enough to let it remember it from then on. HI Case, I did that but didn't work... When I drag the progress to the window .choose application where is progress app is the file comes back to it original place. It doesn't get into the where is progress .app...window... That .............. :evil: :evil: :-x :-x And now? I tried to encode again... Last paragraph reads: /bin/sh: /Applications/ffmpegX.app//Contents/Resources/flvtool2: /usr/bin/ruby require: bad interpreter: No such file or directory That is :evil: :-x :( About the test you asked me to do Here is the results: Last login: Sat Mar 7 12:37:20 on console Welcome to Darwin! Adrianas:~ adriana$ /usr/bin/ruby --version ruby 1.6.8 (2002-12-24) [powerpc-darwin7.0] Adrianas:~ adriana$ /usr/bin/flvtool2 -H FLVTool2 1.0.6 Copyright (c) 2005-2007 Norman Timmler (inlet media e.K., Hamburg, Germany) Get the latest version from http://www.inlet-media.de/flvtool2 This program is published under the BSD license. Usage: flvtool2 [-ACDPUVaciklnoprstvx]... [-key:value]... in-path|stdin [out-path|stdout] If out-path is omitted, in-path will be overwritten. In-path can be a single file, or a directory. If in-path is a directory, out-path has to be likewise, or can be omitted. Directory recursion is controlled by the -r switch. You can use stdin and stdout keywords as in- and out-path for piping or redirecting. Chain commands like that: -UP (updates FLV file than prints out meta data) Commands: -A Adds tags from -t tags-file -C Cuts file using -i inpoint and -o outpoint -D Debugs file (writes a lot to stdout) -H Helpscreen will be shown -P Prints out meta data to stdout -U Updates FLV with an onMetaTag event Switches: -a Collapse space between cutted regions -c Compatibility mode calculates some onMetaTag values different -key:value Key-value-pair for onMetaData tag (overwrites generated values) -i timestamp Inpoint for cut command in miliseconds -k Keyframe mode slides onCuePoint(navigation) tags added by the add command to nearest keyframe position -l Logs FLV stream reading to stream.log in current directory -n Number of tag to debug -o timestamp Outpoint for cut command in miliseconds -p Preserve mode only updates FLVs that have not been processed before -r Recursion for directory processing -s Simulation mode never writes FLV data to out-path -t path Tagfile (MetaTags written in XML) -v Verbose mode -x XML mode instead of YAML mode REPORT BUGS at http://projects.inlet-media.de/flvtool2 Powered by Riva VX, http://rivavx.com Adrianas:~ adriana$ Thanks again for the help! :roll: :P :) | ||||||||||||
| drica posted 2009 Mar 07 21:36 | ||||||||||||
Thanks Tom , I will try that | ||||||||||||
| Case posted 2009 Mar 08 07:47 | ||||||||||||
The "Where is Progress.app?" message never happened to me on four different computers, so I can't verify this exact situation.
If anyone else has flvtool2 working with ffmpegX on Mac OS X 10.3.x, please chime in. | ||||||||||||
| Case posted 2009 Mar 08 08:28 | ||||||||||||
| If you're eager to work with adding meta data to your FLV file, then you may do manually in the Terminal what ffmpegX tries to do automatically in the background:
The syntax is: flvtool2 -UP movie.flv the 'U' command updates the FLV with meta data, the 'P' prints to screen what it has done. In the Terminal, type /usr/bin/flvtool2 -UP (including a space at the end), then drag-and-drop your FLV file to the Terminal window, so that it fills in the full path to that file. Press [return] to execute. | ||||||||||||
| drica posted 2009 Mar 10 13:11 | ||||||||||||
Do I really need meta data? When you said drag and drop flv file you mean the clip that was converted? I download wimpy and the clip that was converted play but the size of the window seams weird. I just don't get why this same clip won't play on flash 9? My question is ... the way it is... no flvtools2 file... the converted clip will play on the browser? I upload some to youtube and it was ok, so that means will play in any server? I need to convert 300 plus files/clips...my worry is that after all work done, I find out it was a waste of time. I am very frustrated! :-x By the way... You asked to erase the ffmpeg that I download...Now I don't now where to get one!!!!!!! I went to ffmpeg... there is the new ffmpeg 0.5... opened... click install... 1) Type './configure' to create the configuration. A list of configure options is printed by running 'configure --help'. 'configure' can be launched from a directory different from the FFmpeg sources to build the objects out of tree. To do this, use an absolute path when launching 'configure', e.g. '/ffmpegdir/ffmpeg/configure'. 2) Then type 'make' to build FFmpeg. GNU Make 3.81 or later is required. 3) Type 'make install' to install all binaries and libraries you built. You know, I am getting very tired about this c... The other ffmpeg I clicked and was done...this one.... I double check that window where is progress is... now it lists progress... Anyway,Thanks very much for your time and help! :D | ||||||||||||
| tomlee59 posted 2009 Mar 10 13:54 | ||||||||||||
You should be able to resize the window in wimpy. It will choose a default window size based on the pixel dimensions of the clip. You can click on the green window button to fill the screen, or grab a corner and drag to resize to some other dimension. I don't see where he asked you to erase ffmpeg. Again, be VERY careful, and VERY specific: ffmpegX and ffmpeg are not the same thing. You should not have to touch ffmpeg at all. Is there some reason that you feel the need to recompile ffmpeg? I can't see why you would. I believe he said that it was ok (not necessary, but ok) to delete the flvtool2 file from the desktop after installation. The install procedure puts the file where it belongs, after which the desktop copy is not necessary. | ||||||||||||
| Case posted 2009 Mar 10 15:50 | ||||||||||||
| ||||||||||||
| drica posted 2009 Mar 12 21:55 | ||||||||||||
| I believe he said that it was ok (not necessary, but ok) to delete the flvtool2 file from the desktop after installation. The install procedure puts the file where it belongs, after which the desktop copy is not necessary.[/quote]
That what I meant! I will try what you said. Thanks very much,you guys! :) :) :) | ||||||||||||
| drica posted 2009 Mar 12 22:00 | ||||||||||||
It was from the desktop. I can not run that again because I don't have any more... I download one from the site ffmpeg but it is weird!!!!!!!!!!!!!!!! The install is white and don't install the program. Anyway,that is ok... I think I can leave without fvtools2... Thanks very much for your time and help! God bless you! :roll: :roll: :) :) :D :D | ||||||||||||
| drica posted 2009 Mar 14 23:46 | ||||||||||||
| Hi Case,
How are you? I have good news and bad news. The good news... I found out the link to download ffmpegx :D I reinstall it! The bad news.... I tried to encode... :-x By the way... that window that ask where the progress is,doesn't show up anymore.That is good! I received this message... Encoding started on Sun Mar 15 01:18:27 BRT 2009 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 '/Users/adriana/Movies/videos/interview 1-SCruz bikes good.mov': Duration: 00:00:08.1, start: 0.000000, bitrate: 30317 kb/s Stream #0.0(eng), 29.97 fps(r): Video: dvvideo, yuv411p, 720x480 Stream #0.1(eng): Audio: pcm_s16be, 48000 Hz, stereo, 1536 kb/s Output #0, flv, to '/Users/adriana/Movies/videos/interview 1-SCruz bikes good.mov.ff.flv': Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 320x240, q=2-15, 200 kb/s Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 bench: utime=3.043s video:118kB audio:56kB global headers:0kB muxing overhead 3.721607% /Applications/ffmpegX.app//Contents/Resources/flvtool2:2:in `require': no such file to load -- flvtool2 (LoadError) from /Applications/ffmpegX.app//Contents/Resources/flvtool2:2 I guess it is wrong ,right? On the terminal flvtools2 shows Last login: Sat Mar 14 22:25:16 on console /Applications/ffmpegX.app/Contents/Resources/flvtool2 ; exit; Macintosh:~ adriana$ /Applications/ffmpegX.app/Contents/Resources/flvtool2 ; exit; /Applications/ffmpegX.app/Contents/Resources/flvtool2:2:in `require': no such file to load -- flvtool2 (LoadError) from /Applications/ffmpegX.app/Contents/Resources/flvtool2:2 logout [Process completed] The thing is.... since I am doing this job to sell, I think it is need to have flvtool2 working! Anyway,I hate when a software doesn't work the way it is supposed to! :x Thks again! | ||||||||||||
| Case posted 2009 Mar 15 15:10 | ||||||||||||
| ||||||||||||
| drica posted 2009 Mar 20 17:02 | ||||||||||||
| Hi case,
I re install flvtools... now I get from info after I encode.. Encoding started on Tue Mar 24 16:15:08 BRT 2009 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/LaCie Disk/FOOTAGE/Video/720x480/1jp': Duration: 00:00:30.9, start: 0.000000, bitrate: 28599 kb/s Stream #0.0(eng), 29.97 fps(r): Video: mjpeg, yuvj422p, 720x480 Output #0, flv, to '/Volumes/LaCie Disk/FOOTAGE/Video/720x480/1jp.ff.flv': Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 320x240, q=2-15, 200 kb/s Stream mapping: Stream #0.0 -> #0.0 bench: utime=13.200s video:825kB audio:0kB global headers:0kB muxing overhead 0.707901% --- /Volumes/LaCie Disk/FOOTAGE/Video/720x480/1jp.ff.flv: hasKeyframes: true cuePoints: audiodatarate: 0 hasVideo: true stereo: canSeekToEnd: false framerate: 12 audiosamplerate: videocodecid: 2 datasize: 850099 lasttimestamp: 31 audiosamplesize: audiosize: 0 hasAudio: false audiodelay: 0 videosize: 849368 metadatadate: Tue Mar 24 16:15:27 GMT-0300 2009 metadatacreator: inlet media FLVTool2 v1.0.6 - http://www.inlet-media.de/flvtool2 lastkeyframetimestamp: 20 height: 240 filesize: 851612 hasMetadata: true keyframes: times: - 0 - 20 filepositions: - 714 - 558499 audiocodecid: videodatarate: 218.132903225806 duration: 31.083 hasCuePoints: false width: 320 ... Encoding completed on Tue Mar 24 16:15:27 BRT 2009 That means ,now everything is fine right? Thks, | ||||||||||||
| Case posted 2009 Mar 21 04:54 | ||||||||||||
| That doesn't seem right. There seems to be a mix-up with the the other flvtool2 file. Somehow they got switched, I think.
(1) Re-install flvtool2 from the flvtool2-1.0.6.tgz download, using the Terminal commands as described earlier. (2) Open the ffmpegX application package to locate the other flvtool2 file (that unfortunately has the same name). Check to see it the content reads
| ||||||||||||
| drica posted 2009 Mar 25 12:57 | ||||||||||||
| ,, | ||||||||||||
| drica posted 2009 Mar 25 13:00 | ||||||||||||
| from /Applications/ffmpegX.app//Contents/Resources/flvtool2:2[/quote]Remeber that you downloaded flvtool2-1.0.6.tgz? And that you installed it using the Terminal, which resulted in an flvtool2 binary in /usr/bin/ ? Is that still there?[/quote]
Hi case, I post the latest result from the encode. Can you check it ou to see if now it is ok? Thks a lot, :D | ||||||||||||
| Case posted 2009 Mar 25 13:14 | ||||||||||||
| ||||||||||||
| drica posted 2009 Mar 29 16:59 | ||||||||||||
Case, We made it! :shock: :) :D You are brilhant :idea: This post will help a lot people like myself in the future. Thanks so much for your help and time :roll: | ||||||||||||
| Case posted 2009 Mar 30 15:21 | ||||||||||||
| You’re welcome. :) | ||||||||||||
| drica posted 2009 Apr 01 14:24 | ||||||||||||
Hi Case, Sorry to say that but we got a new problem! When I encode clips without audio everything works fine... :D I am trying to encode some clips that has audio on it and I get this info :-x Encoding started on Wed Apr 1 16:10:30 BRT 2009 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 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4701fc]negative ctts, ignoring Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Volumes/LaCie Disk/FOOTAGESALE/websample/bhr002.mov': Duration: 00:00:07.0, start: 0.000000, bitrate: 315 kb/s Stream #0.0(eng): Audio: aac, 32000 Hz, stereo Stream #0.1(eng), 14.98 fps(r): Video: h264, yuv420p, 280x200 Could not find input stream #0.3 And now what I should do? :oops: :o | ||||||||||||
| pieman1968 posted 2009 Apr 03 12:14 | ||||||||||||
| I am having a similar problem I sometimes get zero byte files that complete encoding and chime instantly.
I can encode a short piece of DV PAL to FLV that was originally generated in After effects I can not encode some longer pieces that were cut and output from final cut The one thing I have noticed is there seems to be a difference in the audio description of the source files pcm_s16le, 48000 Hz, stereo, 1536 kb/s will not encode or pcm_s16be, 48000 Hz, stereo, 1536 kb/s will encode All the files play fine of the desktop though through QT player? not sure if this is significant? I passed the file that didn't work through ae and after initially coming up with a sound error it did render out, not sure what changed I could then encode this file in ffmpegx. Any thoughts? | ||||||||||||
| Case posted 2009 Apr 03 13:01 | ||||||||||||
| ||||||||||||
| Case posted 2009 Apr 03 13:14 | ||||||||||||
Please post the Process Information log (click the blue "i" after a conversion attempt). It will list the error that halted the conversion. I expect the error to be like in this previous post (with work-around mentioned). If you get the error or not, will most likely depend on the DV encoder application, as not all DV are created the same. | ||||||||||||
| drica posted 2009 Apr 03 15:19 | ||||||||||||
Hi Case, I did some tests and I figure out that it has to do with the audio track. If I chose 2 it gives me stream #03 if I chose audio track 3 it will be stream # 4 The audio track starts at 0 zero. I tried all tracks and I get this type of error. That is bad... Free software that doesn't work well... Frustrating... :cry: :evil: :( :x | ||||||||||||
| Case posted 2009 Apr 04 02:48 | ||||||||||||
| ||||||||||||
| nswren11 posted 2009 Aug 27 15:22 | ||||||||||||
| Hi, I've been following these messages as my progress bar doesn't work. I've followed your directions, performing the actions below:
- located ruby and recoded location in the ffmpeg folder as directed - reinstalled flvtools2 - copied your version of flvtools and overwrote what I had in ffmpeg - verified the ffmpeg and flvtools were working via terminal - tried to manually get flvtools to work via terminal Each time I've received the error messages below, failing to encode about 79 - 80% into the process. Prior to taking the above action, the flv video (.mov.- .flv) worked fine except for the toolbar progress. I hope you can help -- Thanks in advance. 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 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x4701fc]negative ctts, ignoring Thu Aug 27 16:06:36 EDT 2009 m '/Users/byronstock/Desktop/benefits of EI.mov': Duration: 00:03:26.7, start: 0.000000, bitrate: 157 kb/s Stream #0.0(eng), 14.98 fps(r): Video: h264, yuv420p, 480x360 Stream #0.1(eng): Audio: aac, 48000 Hz, stereo Output #0, flv, to '/Users/byronstock/Desktop/benefits of EI.mov.ff.flv': Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 480x360, q=2-15, 200 kb/s Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s Stream mapping: Stream #0.0 -> #0.0 Stream #0.1 -> #0.1 video:2945kB audio:1413kB global headers:0kB muxing overhead 3.727303% bench: utime=197.380s ERROR: undefined method `to_int' for 205750:Float ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2/base.rb:181:in `add_meta_data_tag' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2/base.rb:137:in `update' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2/base.rb:47:in `send' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2/base.rb:47:in `execute!' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2/base.rb:46:in `each' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2/base.rb:46:in `execute!' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2/base.rb:44:in `process_files' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2/base.rb:225:in `each' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2/base.rb:225:in `process_files' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2/base.rb:44:in `execute!' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2.rb:168:in `execute!' ERROR: /usr/local/lib/ruby/site_ruby/1.6/flvtool2.rb:228 ERROR: /Applications/ffmpegX.app//Contents/Resources/flvtool2:2:in `require' ERROR: /Applications/ffmpegX.app//Contents/Resources/flvtool2:2 Encoding completed on Thu Aug 27 16:14:09 EDT 2009 | ||||||||||||
| Case posted 2009 Aug 30 04:22 | ||||||||||||
1/ Install flvtool2 using the Terminal commands, as described before. A transcript from that would be helpful. 2/ Locate the ruby binary (Unix Ecxecutable File). Don't do anything, just tell us the path where it resides on your system. After that, we'll take the other steps. I can only try to help, if I know exactly where the process goes wrong. Therefore: small steps at a time. | ||||||||||||
| nswren11 posted 2009 Aug 30 07:20 | ||||||||||||
| Yes Case, each time they failed with the error message as described above.
Below is the result of the flvtool2 install: Last login: Sun Aug 30 08:11:20 on ttyp1 Welcome to Darwin! Byron-Stocks-Computer:~ byronstock$ cd /Users/byronstock/Desktop/flvtool2-1.0.6 Byron-Stocks-Computer:~/Desktop/flvtool2-1.0.6 byronstock$ ruby setup.rb config ---> bin <--- bin ---> lib ---> lib/flv <--- lib/flv ---> lib/flvtool2 <--- lib/flvtool2 <--- lib Byron-Stocks-Computer:~/Desktop/flvtool2-1.0.6 byronstock$ ruby setup.rb setup ---> bin updating shebang: flvtool2 <--- bin ---> lib ---> lib/flv <--- lib/flv ---> lib/flvtool2 <--- lib/flvtool2 <--- lib Byron-Stocks-Computer:~/Desktop/flvtool2-1.0.6 byronstock$ sudo ruby setup.rb install Password: Sorry, try again. Password: rm -f InstalledFiles ---> bin mkdir -p /usr/bin install flvtool2 /usr/bin/ <--- bin ---> lib mkdir -p /usr/local/lib/ruby/site_ruby/1.6 install flv.rb /usr/local/lib/ruby/site_ruby/1.6/ install flvtool2.rb /usr/local/lib/ruby/site_ruby/1.6/ install mixml.rb /usr/local/lib/ruby/site_ruby/1.6/ install miyaml.rb /usr/local/lib/ruby/site_ruby/1.6/ ---> lib/flv mkdir -p /usr/local/lib/ruby/site_ruby/1.6/flv install amf_string_buffer.rb /usr/local/lib/ruby/site_ruby/1.6/flv install audio_tag.rb /usr/local/lib/ruby/site_ruby/1.6/flv install core_extensions.rb /usr/local/lib/ruby/site_ruby/1.6/flv install meta_tag.rb /usr/local/lib/ruby/site_ruby/1.6/flv install stream.rb /usr/local/lib/ruby/site_ruby/1.6/flv install tag.rb /usr/local/lib/ruby/site_ruby/1.6/flv install video_tag.rb /usr/local/lib/ruby/site_ruby/1.6/flv <--- lib/flv ---> lib/flvtool2 mkdir -p /usr/local/lib/ruby/site_ruby/1.6/flvtool2 install base.rb /usr/local/lib/ruby/site_ruby/1.6/flvtool2 install version.rb /usr/local/lib/ruby/site_ruby/1.6/flvtool2 <--- lib/flvtool2 <--- lib Byron-Stocks-Computer:~/Desktop/flvtool2-1.0.6 byronstock$ AND here is the location of ruby: /usr/bin flvtool2 resides at /usr/bin also Thank you, Nancy (nswren11) | ||||||||||||
| Case posted 2009 Aug 30 09:26 | ||||||||||||
Now open up the ffmpegX package and locate a different file called flvtool2 (in Contents/Resources/). Open that file in a text editor and change the path on the first line to the correct path to ruby:
Basically, that should be it. Convert a short clip to FLV to test ffmpegX's flvtool2 support. | ||||||||||||
| nswren11 posted 2009 Aug 30 13:42 | ||||||||||||
| Hi Case,
My flvtool2 in ffmpegx/content/resources is coded: #! /usr/bin/ruby require 'flvtool2' This is actually the tool I copied from your link and overwrote what I had. I thought I found the problem when I realized I had not saved. However, I tested mov. to flv. and failed at 79% of the process with the same error message as first reported. Case, based on that error message I went to the GO TO folder under the GO menu and searched... /usr/local/lib/ I found a ruby folder which contained the following... ruby/site_ruby/1.6/ then there are two folders (flv) and (flvtool2) as well as other items/docs (flvtool2.rb, flv.rb, mixml.rb, miyami.rb) Any ideas? Thanks in advance for the help. Nancy (nswren11) |
Login/Register to our forum to be able to post here.
