INDEX  F.A.Q.  SEARCH  LATEST POSTS     Rules  Register  Profile  Private messages  Login


Search all forums or this forum: Advanced search
Just doesn't work, jumps to finished

Forum Index -> ffmpegX -> ffmpegX general discussion Printer-friendly version
Goto page 1, 2  Next
Reply to topic
Author Message
leavemealone347
Member


Joined: 28 Oct 2007
Location: United States

Post Posted: Oct 28, 2007 20:47 Posts View users profile Send private message Reply with quote

Whenever I try to encode something (.flv files haven't tried any other kind) it will just jump to completed and it hasn't really done anything. I have installed the video codecs and am the admin of my computer.

I use Leopard.


tomlee59
Member


Joined: 26 Aug 2005
Location: Palo Alto, California USA

Post Posted: Oct 29, 2007 00:49 Posts Comp View users profile Send private message Reply with quote

If you could post the contents of the Progress logfile, that would help us help you. Absent that, here is a short list of some common sources of your problem:

1) Pathname contains spaces or other illegal characters.
2) Audio and video data are interleaved backwards from what ffmpegx expects. To fix that, click "invert mapping."
3) You've chosen "decode with QT" but haven't installed the right codecs. To fix that, install Perian.

Hope this helps, but if not, post the logfile contents (click on the "i" in the Progress pane), and that will give us something to work with.


shadows01
Member


Joined: 01 Nov 2007
Location: United States

Post Posted: Nov 01, 2007 00:10 Posts Comp View users profile Send private message Reply with quote

Hi,
I have the same problem. Every time I try (no matter which format I tried to convert to, but mostly I tried to convet from Quicktime to MP4 .mov file) the process was done within 1 sec with a "ding." The file generated was 0 kb and, of course, was not playable.
Somehow I saw from the log file that it showed "unsupported video codec." I have downloaded and selected all 3 mplayer, mencoder and mpeg2enc.intel files (I also have perian installed.)

If anyone has any clue, please help me out.

Thanks a lot.


Below is a complete copy of the log 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
Wed Oct 31 22:02:15 PDT 2007
[NULL @ 0x54340c]Unsupported video codec
Input #0, rm, from '/Users/Eric/Documents/Clips/testing.rm':
Duration: 00:03:03.9, start: 0.000000, bitrate: 301 kb/s
Stream #0.0: Audio: cook, 44100 Hz, stereo, 64 kb/s
Stream #0.1, 12.00 fps(r): Video: RV40 / 0x30345652, 320x240, 235 kb/s
Stream #0.2: Data: 0x0000
Codec type mismatch for mapping #0.0 -> #0.0


Case
Explorer


Joined: 04 Feb 2004
Location: Middle Earth

Post Posted: Nov 01, 2007 03:54 Posts Comp View users profile Send private message Reply with quote

shadows01 wrote:
Input #0, rm, from '/Users/Eric/Documents/Clips/testing.rm'

Did you install reallib, to enable Real Video conversions?
If so, did you try using a mencoder preset?
That should work.


shadows01
Member


Joined: 01 Nov 2007
Location: United States

Post Posted: Nov 02, 2007 15:01 Posts Comp View users profile Send private message Reply with quote

Case wrote:
shadows01 wrote:
Input #0, rm, from '/Users/Eric/Documents/Clips/testing.rm'

Did you install reallib, to enable Real Video conversions?
If so, did you try using a mencoder preset?
That should work.


When you say install, you mean copy the 3 files under application folder and point the 3 files under ffmpegx to those folder?

Here is what I did after I download the program:
Create a folder called "ffmpegxplugin" under application folder. There are 3 files under this folder: mplayer, mencoder and mpeg2enc.intel. I then install ffmpegx by dragging it to my application folder. After I start the program, there is a window prompted and ask me to point the path to those 3 files. I also installed quicktime and copy and paste the decoding files to:
Library-application support-ffmpegx-reallib/. There are 12 files: (all the files end with .bundle, so i will just type out the front) atrc, colorcvt, cook, drv1, drv2, drvc, raac, rv10, rv20, rv30, rv40, sipr.
Besides copying these files here, do i have to do anything else? Did i miss any files that are supposted to be copied here?

Thanks for you help!


Case
Explorer


Joined: 04 Feb 2004
Location: Middle Earth

Post Posted: Nov 02, 2007 16:50 Posts Comp View users profile Send private message Reply with quote

shadows01 wrote:
I also installed quicktime and copy and paste the decoding files to:
Library-application support-ffmpegx-reallib/. There are 12 files: (all the files end with .bundle, so i will just type out the front) atrc, colorcvt, cook, drv1, drv2, drvc, raac, rv10, rv20, rv30, rv40, sipr.

I'm not sure which bundle files are essential, but the PPC package has 47 items, the Intel package 82 items -- not 12.


shadows01
Member


Joined: 01 Nov 2007
Location: United States

Post Posted: Nov 04, 2007 01:45 Posts Comp View users profile Send private message Reply with quote

Case,

Is there a link you can provide me to download those files you talked about?

I guess this is probably the steps I am not doing right that prevented me from converting my rm files to .mov files.

Thanks a bunch!


Case
Explorer


Joined: 04 Feb 2004
Location: Middle Earth

Post Posted: Nov 04, 2007 06:11 Posts Comp View users profile Send private message Reply with quote

• PPC reallib: http://prdownloads.sourceforge.net/mplayerosx/reallib.zip?download
• Intel reallib: On http://www.mplayerhq.hu/design7/dload.html, scroll down to the "Binary Codec Packages" section and download the package "Mac OS X x86 20060611" from one of the mirrors. Run the installer. Now remove the items from the installed place to where ffmpegX can use them. In the Finder, choose "Go to Folder..." in the "Go" menu. Type "/usr/local/lib" and press return. This will open a new window where you will find the 'codecs' folder containing the Real binaries. Copy this folder to /Library/Application Support/ffmpegX and rename it "reallib".


shadows01
Member


Joined: 01 Nov 2007
Location: United States

Post Posted: Nov 05, 2007 16:13 Posts Comp View users profile Send private message Reply with quote

Case,

I downloaded the Intel reallib files you mentioned and copied all the files to /library/application support/ffmpegx folder. The result was still unsuccesful.

Here is the new log:

FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
Mon Nov 5 14:09:30 PST 2007
Mac OSX universal build for ffmpegX
libavutil version: 49.0.0
libavcodec version: 51.9.0
libavformat version: 50.4.0
[NULL @ 0x54340c]Unsupported video codec
Input #0, rm, from '/Users/Eric/Documents/Clips/testing.rm':
Duration: 00:03:03.9, start: 0.000000, bitrate: 301 kb/s
Stream #0.0: Audio: cook, 44100 Hz, stereo, 64 kb/s
Stream #0.1, 12.00 fps(r): Video: RV40 / 0x30345652, 320x240, 235 kb/s
Stream #0.2: Data: 0x0000
Codec type mismatch for mapping #0.0 -> #0.0


The log still shows "unsupported video codec." What other problem you may think of by looking at the log file?

p.s. I can play the video under ffmpegx. Maybe other settings under ffmpegx?


Case
Explorer


Joined: 04 Feb 2004
Location: Middle Earth

Post Posted: Nov 05, 2007 18:55 Posts Comp View users profile Send private message Reply with quote

The log shows that you're using an ffmpeg preset, while you should use a mencoder preset for Real files.

shadows01
Member


Joined: 01 Nov 2007
Location: United States

Post Posted: Nov 06, 2007 21:34 Posts Comp View users profile Send private message Reply with quote

Case,

I got it to work converting from .rm to .avi. Thanks for your patience with me.


jp83
Member


Joined: 11 Nov 2007
Location: United States

Post Posted: Nov 11, 2007 16:24 Posts Comp View users profile Send private message Reply with quote

[quote="tomlee59"]If you could post the contents of the Progress logfile, that would help us help you. Absent that, here is a short list of some common sources of your problem:

1) Pathname contains spaces or other illegal characters.
2) Audio and video data are interleaved backwards from what [url=http://www.videohelp.com/tools/ffmpegX]ffmpegx[/url] expects. To fix that, click "invert mapping."
3) You've chosen "decode with QT" but haven't installed the right codecs. To fix that, install [url=http://www.videohelp.com/tools/Perian]Perian[/url].

Hope this helps, but if not, post the logfile contents (click on the "i" in the Progress pane), and that will give us something to work with.[/quote]

Hi,

I'm having the same problem...converting a .flv file to something that can be viewed on a normal player...

here's what it says in the logfile:

Encoding started on Sun Nov 11 17:12:31 EST 2007
[flv @ 0x399490]skipping flv packet: type 18, size 396, flags 0
Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 12.00 (12/1)
Input #0, flv, from '/Users/xxxxx/Desktop/xxxxx.flv':
Duration: N/A, bitrate: N/A
Stream #0.0: Audio: mp3, 22050 Hz, mono
Stream #0.1: Video: flv, 320x240, 1000.00 fps
Codec type mismatch for mapping #0.0 -> #0.0

do I need to download those 3 files first that are mentioned in the popup window when ffmpegx first starts? sorry for the stupid questions sad.gif but thanks for any help...


Case
Explorer


Joined: 04 Feb 2004
Location: Middle Earth

Post Posted: Nov 11, 2007 19:11 Posts Comp View users profile Send private message Reply with quote

jp83 wrote:
do I need to download those 3 files first that are mentioned in the popup window when ffmpegx first starts?
Yes. Download the files from the URLs mentioned, (unzip the zip file, if it doesn't do so automatically,) then use the Locate buttons to tell ffmpegX where they are on your computer. The installer will copy them to a special purpose location, so you can remove your downloaded files afterwards if the installation was successful.

jp83
Member


Joined: 11 Nov 2007
Location: United States

Post Posted: Nov 12, 2007 21:55 Posts Comp View users profile Send private message Reply with quote

Case wrote:
jp83 wrote:
do I need to download those 3 files first that are mentioned in the popup window when ffmpegx first starts?
Yes. Download the files from the URLs mentioned, (unzip the zip file, if it doesn't do so automatically,) then use the Locate buttons to tell ffmpegX where they are on your computer. The installer will copy them to a special purpose location, so you can remove your downloaded files afterwards if the installation was successful.
thanks! I'll try that.

frix00
Member


Joined: 13 Nov 2007
Location: United Kingdom

Post Posted: Nov 14, 2007 09:06 Posts Comp View users profile Send private message Reply with quote

Hi guys,
same problem with me, the process jumps directly to finish and generate a 0kb file when I try to encode a video into .flv
I downloaded the files you mentioned and I now have a reallib folder full of files in my ffmpegx folder.

Here is the log that I get :
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
Mon Nov 12 19:09:41 GMT 2007
Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 19.00 (19/1)
Input #0, asf, from '/Users/gregoirefrileux/Desktop/GestB.wmv':
Duration: 00:23:20.2, start: 3.000000, bitrate: 499 kb/s
Stream #0.0: Audio: wmav2, 44100 Hz, mono, 32 kb/s
Stream #0.1, 19.00 fps(r): Video: WMV3 / 0x33564D57, 640x480
Codec type mismatch for mapping #0.0 -> #0.0

What can I try next ??
Thanks for your help.


Case
Explorer


Joined: 04 Feb 2004
Location: Middle Earth

Post Posted: Nov 14, 2007 10:20 Posts Comp View users profile Send private message Reply with quote

frix00 wrote:
Codec type mismatch for mapping #0.0 -> #0.0

The ffmpeg engine expects video to be the first stream (#0.0) and audio to be the second stream (#0.1). If it is reversed in your source file, then you'll have to tell ffmpegX about that by checking the "Invert mapping" checkbox in the audio tab.


frix00
Member


Joined: 13 Nov 2007
Location: United Kingdom

Post Posted: Nov 15, 2007 03:18 Posts Comp View users profile Send private message Reply with quote

tks, I'll try that and keep you posted

frix00
Member


Joined: 13 Nov 2007
Location: United Kingdom

Post Posted: Nov 15, 2007 12:58 Posts Comp View users profile Send private message Reply with quote

ok, I tried, here is the new log 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
Thu Nov 15 18:48:44 GMT 2007
Seems that stream 1 comes from film source: 1000.00 (1000/1) -> 19.00 (19/1)
Input #0, asf, from '/Users/gregoirefrileux/Desktop/GestB.wmv':
Duration: 00:33:38.8, start: 3.000000, bitrate: 512 kb/s
Stream #0.0: Audio: wmav2, 22050 Hz, mono, 20 kb/s
Stream #0.1, 19.00 fps(r): Video: WMV3 / 0x33564D57, 640x480
Output #0, flv, to '/Users/gregoirefrileux/Desktop/GestB.wmv.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.1 -> #0.0 [sync #0.0]
Stream #0.0 -> #0.1 [sync #0.1]
Unsupported codec (id=74) for input stream #0.1

I downloaded both libraries that I copied in a reallib folder insde the ffmpegx appliction support folder..

Thanks for your help


Case
Explorer


Joined: 04 Feb 2004
Location: Middle Earth

Post Posted: Nov 15, 2007 15:12 Posts Comp View users profile Send private message Reply with quote

frix00 wrote:
Stream #0.1, 19.00 fps(r): Video: WMV3 / 0x33564D57, 640x480
Unsupported codec (id=74) for input stream #0.1

Apparently ffmpeg doesn't support this version of WMV.
Does this .wmv file play in QuickTime Player with the Flip4Mac component?

frix00 wrote:
I downloaded both libraries that I copied in a reallib folder insde the ffmpegx appliction support folder..

Reallib has no use for conversions with WMV source files.
Not sure what you mean by "both libraries", tho.


Ryth
Member


Joined: 16 Nov 2007
Location: United States

Post Posted: Nov 16, 2007 01:07 Posts Comp View users profile Send private message Reply with quote

Now, I'm too new to ffmpeg to have any clue about what to do from here, but from what I can tell, I'm getting an entirely different error that produces the same results:

Encoding started on Fri Nov 16 02:05:33 EST 2007
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
[matroska @ 0x4701fc]Ignoring seekhead entry for ID=0x1549a966
[matroska @ 0x4701fc]Ignoring seekhead entry for ID=0x1654ae6b
[matroska @ 0x4701fc]Ignoring seekhead entry for ID=0x114d9b74
[matroska @ 0x4701fc]Unknown entry 0x7ba9 in info header
[matroska @ 0x4701fc]Unknown entry 0x73a4 in info header
[matroska @ 0x4701fc]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x4701fc]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x4701fc]Unknown audio track header entry 0x78b5 - ignoring
[matroska @ 0x4701fc]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x4701fc]Unknown audio track header entry 0x78b5 - ignoring
[matroska @ 0x4701fc]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x4701fc]Unknown track header entry 0x23314f - ignoring
[matroska @ 0x4701fc]Unknown track header entry 0x6d80 - ignoring
[matroska @ 0x4701fc]FIXME: implement support for BlockDuration
[matroska @ 0x4701fc]FIXME: implement support for BlockDuration
[matroska @ 0x4701fc]FIXME: implement support for BlockDuration
[matroska @ 0x4701fc]FIXME: implement support for BlockDuration
Can't resample. Aborting.
Input #0, matroska, from '/Users/arryvan/Data/**********.mkv':
Duration: 00:23:27.4, bitrate: N/A
Stream #0.0, 1000.00 fps(r): Video: mpeg4, yuv420p, 704x528
Stream #0.1: Audio: mpeg4, 24000 Hz, 5:1
Stream #0.2: Audio: mpeg4, 24000 Hz, 5:1
Resampling with input channels greater than 2 unsupported.Abort at ffmpeg.c:1628
/bin/sh: line 1: 957 Abort trap /Applications/Media/ffmpegX.app//Contents/Resources/ffmpeg -i /Users/arryvan/Data/**********.mkv -y -map 0.0:0.0 -f flv -vcodec flv -b 200 -aspect 4:3 -s 704x528 -r ntsc -g 240 -me epzs -qmin 2 -qmax 15 -acodec mp3 -ab 96 -ar 22050 -ac 2 -map 0.2:0.1 -benchmark /Users/arryvan/Data/**********.mkv.ff.flv

It dings finished in under a second, and the produced file is 0kb. Any clues?


frix00
Member


Joined: 13 Nov 2007
Location: United Kingdom

Post Posted: Nov 16, 2007 03:53 Posts Comp View users profile Send private message Reply with quote

Hi Case,

You are right, the file doesn't play in Quicktime.
I tried to download Flip4Mac. Still doesn't work. I'm not sure I got it right though : is it supposed to add a new player or is it a just a new library for QuickTime ?

For the 2 libraries, I meant PPC reallib and Intel reallib mentioned earlier in the discussion..

Jus t so you know, the file plays fine in VLC..


Case
Explorer


Joined: 04 Feb 2004
Location: Middle Earth

Post Posted: Nov 16, 2007 09:46 Posts Comp View users profile Send private message Reply with quote

frix00 wrote:
The file doesn't play in Quicktime. I tried to download Flip4Mac. Still doesn't work. I'm not sure I got it right though: is it supposed to add a new player or is it a just a new library for QuickTime ?
The installer is supposed to add a WMV component to the QuickTime Library (and a System Prefs pane). For limitations, see their (or MS's) website.

frix00 wrote:
For the 2 libraries, I meant PPC reallib and Intel reallib mentioned earlier in the discussion.
For Reallib, you only need the one that matches your chipset, PPC or Intel.

frix00 wrote:
Just so you know, the file plays fine in VLC.
As a last resort, you could try VLC's Exporting Wizard.

frix00
Member


Joined: 13 Nov 2007
Location: United Kingdom

Post Posted: Nov 19, 2007 03:28 Posts Comp View users profile Send private message Reply with quote

Hi case,
I re-did the installation of Flip4Mac, and the files now play fine in quicktime, but still doesn't work in ffmpegx !
I'll try the VLC export, but it's strange that ffmpeg doesn't have the codec when Quicktime does..

Thanks for your help anyway


tomlee59
Member


Joined: 26 Aug 2005
Location: Palo Alto, California USA

Post Posted: Nov 19, 2007 10:57 Posts Comp View users profile Send private message Reply with quote

After doing all this, did you remember to select the "decode with quicktime" option? Because if you didn't, ffmpegx won't use QT to decode, so all of your work would be for naught.

My guess is that, in the heat of battle, you might have overlooked this little detail. smile.gif


frix00
Member


Joined: 13 Nov 2007
Location: United Kingdom

Post Posted: Nov 20, 2007 06:04 Posts Comp