VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 47 of 47
Thread
  1. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    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
    Code:
    #! /usr/bin/ruby 
    require 'flvtool2'
    If this still is correct, then leave it as-is. If it is different, then change it again.
    Quote Quote  
  2. Member
    Join Date
    Mar 2009
    Location
    Brazil
    Search Comp PM
    ,,
    Quote Quote  
  3. Member
    Join Date
    Mar 2009
    Location
    Brazil
    Search Comp PM
    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,

    Quote Quote  
  4. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by drica
    I re install flvtools... now I get from info after I encode..
    [...]
    That means ,now everything is fine right?
    Yes, the part of the log file between the dashes lines (---) was done by flvtool2. That means it did its work. Congratulations!
    Quote Quote  
  5. Member
    Join Date
    Mar 2009
    Location
    Brazil
    Search Comp PM
    Originally Posted by Case
    Originally Posted by drica
    I re install flvtools... now I get from info after I encode..
    [...]
    That means ,now everything is fine right?
    Yes, the part of the log file between the dashes lines (---) was done by flvtool2. That means it did its work. Congratulations!
    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
    Quote Quote  
  6. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    You’re welcome.
    Quote Quote  
  7. Member
    Join Date
    Mar 2009
    Location
    Brazil
    Search Comp PM
    Originally Posted by Case
    You’re welcome.
    Hi 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?
    Quote Quote  
  8. Member
    Join Date
    Apr 2009
    Location
    United Kingdom
    Search Comp PM
    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?
    Quote Quote  
  9. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by drica
    Could not find input stream #0.3
    No idea why it looks for a Stream #0.3, sorry.
    Quote Quote  
  10. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by pieman1968
    I sometimes get zero byte files that complete encoding and chime instantly.
    DV PAL to FLV

    pcm_s16le, 48000 Hz, stereo, 1536 kb/s
    will not encode

    pcm_s16be, 48000 Hz, stereo, 1536 kb/s
    will encode
    The "le" (little endian) or "be" (big endian) sound encoding isn't the cause of the error. ffmpegX can convert either endianness.

    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.
    Quote Quote  
  11. Member
    Join Date
    Mar 2009
    Location
    Brazil
    Search Comp PM
    Originally Posted by Case
    Originally Posted by drica
    Could not find input stream #0.3
    No idea why it looks for a Stream #0.3, sorry.
    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...
    Quote Quote  
  12. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by drica
    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.
    Keep the audio track at "0" for files with just one video stream and one audio stream. The audio track numbers are different from the stream numbers.
    Quote Quote  
  13. Member
    Join Date
    Aug 2009
    Location
    United States
    Search Comp PM
    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
    Quote Quote  
  14. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by nswren11
    Hi, I've been following these messages as my progress bar doesn't work.
    The log shows that flvtool2 wasn't installed correctly, as precisely flvtool2 is generating all 15 error lines. It seems your flvtool2 doesn't understand a single thing it is asked to do.

    Originally Posted by nswren11
    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
    What was the outcome of these steps? Some of them must have failed, I guess?

    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.
    Quote Quote  
  15. Member
    Join Date
    Aug 2009
    Location
    United States
    Search Comp PM
    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)
    Quote Quote  
  16. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by nswren11
    Below is the result of the flvtool2 install:
    Looks fine.

    Originally Posted by nswren11
    AND here is the location of ruby: /usr/bin
    Good.

    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'
    It may require Unix line feeds, so better leave the original (invisible) line ending character(s). Save.

    Basically, that should be it. Convert a short clip to FLV to test ffmpegX's flvtool2 support.
    Quote Quote  
  17. Member
    Join Date
    Aug 2009
    Location
    United States
    Search Comp PM
    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)
    Quote Quote  



Similar Threads