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 readsIf this still is correct, then leave it as-is. If it is different, then change it again.Code:#! /usr/bin/ruby require 'flvtool2'
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays!
+ Reply to Thread
Results 31 to 47 of 47
Thread
-
-
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,
-
Originally Posted by drica
-
Originally Posted by Case
We made it!
You are brilhant
This post will help a lot people like myself in the future.
Thanks so much for your help and time -
Originally Posted by Case
Sorry to say that but we got a new problem!
When I encode clips without audio everything works fine...
I am trying to encode some clips that has audio on it and I get this info
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? -
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? -
Originally Posted by drica
-
Originally Posted by pieman1968
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. -
Originally Posted by 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... -
Originally Posted by drica
-
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 -
Originally Posted by nswren11
Originally Posted by nswren11
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. -
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) -
Originally Posted by nswren11
Originally Posted by nswren11
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:Code:#! /usr/bin/ruby require 'flvtool2'
Basically, that should be it. Convert a short clip to FLV to test ffmpegX's flvtool2 support. -
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)
Similar Threads
-
How to convert .mov (with alpha video 32bits) into .flv with transparency ?
By akinnzip in forum Video ConversionReplies: 1Last Post: 8th Jun 2011, 09:41 -
convert .mov or vob file to .flv
By Giacomo in forum Video ConversionReplies: 5Last Post: 3rd Feb 2011, 12:03 -
Trying to convert .mov to .flv - aspect ratio problems
By Graeck in forum ffmpegX general discussionReplies: 12Last Post: 21st Oct 2010, 17:55 -
Can't get sound with mov to flv convert
By TucsonTom in forum ffmpegX general discussionReplies: 1Last Post: 15th Jun 2008, 15:16 -
Problem trying to convert .flv to .mov
By herdofcaribou in forum ffmpegX general discussionReplies: 7Last Post: 10th Feb 2008, 01:16