VideoHelp Forum
+ Reply to Thread
Results 1 to 14 of 14
Thread
  1. Member
    Join Date
    Jan 2008
    Location
    Canada
    Search Comp PM
    I have just installed the software and all components. I THINK i installed the flv component through terminal. Not a pro at terminal...

    I tried converting a mov file to flv

    it exported but the flv file was only zero KB

    so, i assume it didnt work.

    any help? any way to know if it actually installed properly?

    thanks yall
    scott
    Quote Quote  
  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by sadr
    the flv file was only zero KB
    Could you post the Process Information ("the log") here?
    You can access that by pressing the blue "i" in the Progress window, after a (successful or failed) conversion.
    That would help diagnose the issue.
    Quote Quote  
  3. Member
    Join Date
    Jan 2008
    Location
    Canada
    Search Comp PM
    here is what it said:

    Encoding started on Tue Jan 29 17:26:23 EST 2008
    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 '/*scott/*KidKoala/video/mexico_vids/small/kidkoala_dub_mexico.mov':
    Duration: 00:04:15.0, start: 0.000000, bitrate: 5400 kb/s
    Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
    Stream #0.1(eng), 29.97 fps(r): Video: h261, yuv420p, 352x264
    Codec type mismatch for mapping #0.0 -> #0.0
    Quote Quote  
  4. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by sadr
    Stream #0.0: Audio
    Stream #0.1: Video
    Codec type mismatch for mapping #0.0 -> #0.0
    If the audio stream is listed before the video stream, then a "Codec type mismatch for mapping"-error can happen, as ffmpeg expects the streams video first, audio second. The solution is to set the "Invert mapping" checkbox in the Audio tab.
    Quote Quote  
  5. Member
    Join Date
    Jan 2008
    Location
    Canada
    Search Comp PM
    ok. so i did this. Now it did export and it became 8.2 mb in size. i opened in flash player but nothing happened. here is the info

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Mac OSX universal build for ffmpegX
    Wed Jan 30 11:23:22 EST 2008
    libavutil version: 49.0.0
    libavcodec version: 51.9.0
    libavformat version: 50.4.0
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/*scott/*KidKoala/video/mexico_vids/small/kidkoala_dub_mexico.mov':
    Duration: 00:04:15.0, start: 0.000000, bitrate: 5400 kb/s
    Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
    Stream #0.1(eng), 29.97 fps(r): Video: h261, yuv420p, 352x264
    Output #0, flv, to '/*scott/*KidKoala/video/mexico_vids/small/kidkoala_dub_mexico.mov.ff.flv':
    Stream #0.0, 29.97 fps(c): Video: flv, yuv420p, 352x264, q=2-15, 200 kb/s
    Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0 [sync #0.0]
    Stream #0.0 -> #0.1 [sync #0.1]
    [h261 @ 0x54340c]warning: first frame is no keyframe
    bench: utime=25.240s
    video:1835kB audio:1744kB global headers:0kB muxing overhead 135.029176%
    /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
    Quote Quote  
  6. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by sadr
    /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
    [s:7d02011bc3]Apparently, the installation of FLVtool2 didn't go well.
    Try installing that again.[/s:7d02011bc3]
    I was wrong, see two posts down.
    Quote Quote  
  7. Member
    Join Date
    Feb 2008
    Location
    Germany
    Search Comp PM
    hi...

    i have the same problem...
    i reinstalled the flvtool2 again and again...
    but the created flv file is corrupted and bad...

    here is the info file...
    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 @ 0x5597b8]negative ctts, ignoring
    Fri Feb 1 10:56:04 CET 2008
    Users/photo_mac/Movies/Final-Cut-Projects/Play-the-game/ptg.mov':
    Duration: 00:03:38.4, start: 0.000000, bitrate: 33492 kb/s
    Stream #0.0(eng): Audio: pcm_s16le, 48000 Hz, stereo, 1536 kb/s
    Stream #0.1(eng), 25.00 fps(r): Video: h264, yuv420p, 720x576
    Output #0, flv, to '/Users/photo_mac/Movies/Final-Cut-Projects/Play-the-game/ptg.mov.ff.mp4.flv':
    Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 432x240, q=2-9, 700 kb/s
    Stream #0.1: Audio: mp3, 22050 Hz, stereo, 56 kb/s
    Stream mapping:
    Stream #0.1 -> #0.0 [sync #0.0]
    Stream #0.0 -> #0.1 [sync #0.1]
    bench: utime=99.826s
    video:9380kB audio:1493kB global headers:0kB muxing overhead 65.477275%
    /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

    where is the problem???

    i also find some other bugs...

    please help......


    best regards from germany...
    Quote Quote  
  8. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by sadr
    /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
    Originally Posted by fap
    /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
    It seems the script inside /Applications/ffmpegX.app//Contents/Resources/flvtool2
    points to
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    while on my system (10.4.11), and maybe yours as well, it should point to
    /usr/bin/ruby
    because that's where ruby resides on my system.
    You can edit that in any text editor. (I did it with BBEdit.) The "bad interpreter: No such file or directory"-error no longer appears in the log. This fixes the metadata being correctly added to the .flv file.
    With the wrong path in the script, you should get a valid .flv file without the metadata, just like the previous version of ffmpegX.

    It won't fix bad or corrupted .flv files.
    Quote Quote  
  9. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by sadr
    i opened in flash player but nothing happened.
    Flash Player plays .swf files, not .flv files, afaik.
    .flv files play in VLC, mplayer or QuickTime Player with Perian.

    To embed .flv files in webpages, playable with the Flash plugin,
    you should install an .swf media player that links to the .flv file.
    I've had good results with JW FLV Media Player.
    Quote Quote  
  10. Member
    Join Date
    Mar 2008
    Location
    Germany
    Search Comp PM
    Originally Posted by Case
    Originally Posted by sadr
    /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
    Originally Posted by fap
    /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
    It seems the script inside /Applications/ffmpegX.app//Contents/Resources/flvtool2
    points to
    /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
    while on my system (10.4.11), and maybe yours as well, it should point to
    /usr/bin/ruby
    because that's where ruby resides on my system.
    You can edit that in any text editor. (I did it with BBEdit.) The "bad interpreter: No such file or directory"-error no longer appears in the log. This fixes the metadata being correctly added to the .flv file.
    With the wrong path in the script, you should get a valid .flv file without the metadata, just like the previous version of ffmpegX.

    It won't fix bad or corrupted .flv files.
    Hello,
    how can I access /Applications/ffmpegX.app//Contents/Resources/flvtool2 ?

    In applications I only see ffmpegX.app and this starts the application.

    Normally I am working with windows, but a friend has a new mac book pro.

    Please help me, thank you.
    Quote Quote  
  11. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Control-click the application and choose Show Package Contents from the contextual menu, to "open up" the application. Inside, you'll see a Contents folder, inside that a Resources folder, inside that a file called flvtool2.
    Quote Quote  
  12. Member
    Join Date
    Mar 2008
    Location
    Germany
    Search Comp PM
    Now I changed the destination of script, but this "LoadError" comes.. do yo have a solution for that?
    I hope you will not get impatient with me..

    Thx for your help!

    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/RSPB/Desktop/Michael Picard Konzert SiebenGiebelHof Drenkow 02-08.m4v':
    Duration: 00:12:26.9, start: 0.000000, bitrate: 1602 kb/s
    Stream #0.0(eng), 25.00 fps(r): Video: h264, yuv420p, 640x480
    Stream #0.1(eng): Audio: aac, 44100 Hz, stereo
    Output #0, flv, to '/Users/RSPB/Desktop/Michael Picard Konzert SiebenGiebelHof Drenkow 02-08.m4v.ff.flv':
    Stream #0.0, 12.00 fps(c): Video: flv, yuv420p, 640x480, q=2-15, 200 kb/s
    Sat Apr 5 13:59:25 CEST 2008
    , stereo, 56 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    video:17884kB audio:5048kB global headers:0kB muxing overhead 2.536927%
    bench: utime=79.384s
    /Applications/ffmpegX_0.0.9y/ffmpegX.app//Contents/Resources/flvtool2:2:in `require': no such file to load -- flvtool2 (LoadError)
    from /Applications/ffmpegX_0.0.9y/ffmpegX.app//Contents/Resources/flvtool2:2
    Quote Quote  
  13. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by maltePORN
    Now I changed the destination of script, but this "LoadError" comes.. do yo have a solution for that?
    Did you install the FLVtool2 (a separate download) correctly, as described in the 0.0.9y announcement and on the ffmpegX website?

    It should be installed to /usr/bin/ (where many other command line tools reside, including 'ruby'). This is a totally different file from the one inside ffmpegX.

    Either your file isn't there, or does not have the proper attributes to make it a command line executable. You need to do the four Terminal commands exactly right.
    Quote Quote  
  14. Member
    Join Date
    Mar 2008
    Location
    Germany
    Search Comp PM
    Thx for alle the help, but now I changed simply the output format to mp4

    greets
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!