Forum Archive Home -> ffmpegX general discussion -> Converting files to FLV
| Converting files to FLV | ||||||
| sadr posted 2008 Jan 29 12:35 | ||||||
| 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 | ||||||
| Case posted 2008 Jan 29 14:58 | ||||||
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. | ||||||
| sadr posted 2008 Jan 29 16:21 | ||||||
| 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 | ||||||
| Case posted 2008 Jan 29 17:19 | ||||||
| ||||||
| sadr posted 2008 Jan 30 10:49 | ||||||
| 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 | ||||||
| Case posted 2008 Jan 30 16:40 | ||||||
[s:7d02011bc3]Apparently, the installation of FLVtool2 didn't go well. Try installing that again.[/s:7d02011bc3] I was wrong, see two posts down. | ||||||
| fap posted 2008 Feb 01 04:03 | ||||||
| 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... | ||||||
| Case posted 2008 Feb 01 08:26 | ||||||
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. | ||||||
| Case posted 2008 Feb 01 08:33 | ||||||
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. | ||||||
| maltePORN posted 2008 Mar 28 09:57 | ||||||
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. | ||||||
| Case posted 2008 Mar 28 15:11 | ||||||
| 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. | ||||||
| maltePORN posted 2008 Apr 05 08:00 | ||||||
| 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.. :oops: Thx for your help!
| ||||||
| Case posted 2008 Apr 05 08:35 | ||||||
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. | ||||||
| maltePORN posted 2008 Jun 14 04:44 | ||||||
| Thx for alle the help, but now I changed simply the output format to mp4 ;)
greets |
Login/Register to our forum to be able to post here.
