VideoHelp Forum




Results 1 to 8 of 8
  1. Member
    Join Date
    Sep 2008
    Location
    United States
    Search Comp PM
    hello guys,

    man, i am struggling with this ffmpeg x the whole day, and reading your posts i get some comfort that i am not alone, but still... cant find my hands and feet in it... am trying to convert some quicktime or AVI files to Flash, in order to upload them to my website. i downloaded the ffmpeg X for Mac, plus the 2 other components, but couldnt really figure out how to install the flvtool 2 ....

    then, i dragged the QT and AVI files into ffmpeg X, and try to convert them, but i got weird files, which wouldnt play, even on the VLC player which i downloaded... (i tried the Invert Mapping check box, but it still didnt work..). here are the messages i get:

    without checking the Invert Mapping box:

    FFmpeg version CVS, Copyright (c) 2000-2004 Fabrice Bellard
    Sun Sep 14 20:35:59 PDT 2008
    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/Aylam-back up disk/clips for website/Autumn Dawn.mov':
    Duration: 00:01:20.3, start: 0.000000, bitrate: 2054 kb/s
    Stream #0.0(eng): Audio: lpcm / 0x6D63706C, 96000 Hz, mono
    Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 425x318
    Codec type mismatch for mapping #0.0 -> #0.0

    After checking the Invert Mapping box:

    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
    Sun Sep 14 20:36:48 PDT 2008
    m '/Volumes/Aylam-back up disk/clips for website/Autumn Dawn.mov':
    Duration: 00:01:20.3, start: 0.000000, bitrate: 2054 kb/s
    Stream #0.0(eng): Audio: lpcm / 0x6D63706C, 96000 Hz, mono
    Stream #0.1(eng), 29.97 fps(r): Video: h264, yuv420p, 425x318
    Output #0, flv, to '/Volumes/Aylam-back up disk/Autumn Dawn test1.flv':
    Stream #0.0, 29.97 fps(c): Video: flv, yuv420p, 432x324, 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=0) for input stream #0.0


    any idea what i am doing wrong ??

    thanks so much !!!!

  2. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by Aylam
    Stream #0.0(eng): Audio: lpcm / 0x6D63706C, 96000 Hz, mono
    Unsupported codec (id=0) for input stream #0.0
    Linear PCM sound in .mov files with sample rates above 64000 Hz are not recognized by ffmpeg.
    If you exported this .mov file from some other application, you should bring the sample rate down to 11025, 22050 or 44100 Hz, as only those are supported by the FLV format (22050 Hz being most common). By doing that, the re-sampling only happens once.

  3. Member
    Join Date
    Sep 2008
    Location
    United States
    Search Comp PM
    Thank you very much ! i'll try that tonight !
    indeed, i exported these .Mov or AVI files from Final Cut Pro, where I edited them. if we're already at that, could you recommend the best settings (video and audio) i should use when exporting these files from FCP, so that they are optimal for convertion into FLV files by ffmpeg x ? (for example, is Linear PCM the best choice at all ? is H.263 the right choice for the video ? etc...)

    Thanks so much for your help !

    Aylam

  4. Member
    Join Date
    Sep 2008
    Location
    United States
    Search Comp PM
    hello again,

    ok, so i tried the Linear PCM sound setting you suggested (22050 Hz), and exported the clip as .mov file, and checked the box for Invert Mapping, and got an flv file. but when i tried to play it in VLC, i got an error message with the following log:

    main debug: CPU has capabilities AltiVec FPU
    main debug: looking for memcpy module: 2 candidates
    main debug: using memcpy module "memcpyaltivec"
    main debug: waiting for thread completion
    main debug: thread 42903552 (playlist) created at priority -47 (playlist/playlist.c:184)
    main debug: waiting for thread completion
    main debug: thread 42141184 (preparser) created at priority -47 (playlist/playlist.c:210)
    main debug: looking for interface module: 1 candidate
    main debug: using interface module "hotkeys"
    main debug: thread 42139648 (interface) created at priority -47 (interface/interface.c:198)
    main debug: looking for interface module: 3 candidates
    main debug: using interface module "macosx"
    main debug: thread 42049536 (manage) created at priority -47 (interface/interface.c:164)
    main debug: adding playlist item `Autumn Dawn-test.flv' ( /Volumes/Aylam-back up disk/Autumn Dawn-test.flv )
    main debug: creating new input thread
    main debug: waiting for thread completion
    main debug: thread 43699200 (input) created at priority 37 (input/input.c:265)
    main debug: creating statistics handler
    main debug: `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv' gives access `' demux `' path `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: creating demux: access='' demux='' path='/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: looking for access_demux module: 1 candidate
    macosx debug: input has changed, refreshing interface
    main debug: creating access '' path='/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: looking for access2 module: 6 candidates
    vcd debug: trying .cue file: /Volumes/Aylam-back up disk/Autumn Dawn-test.cue
    vcd debug: could not find .cue file
    access_file debug: opening file `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: using access2 module "access_file"
    main debug: pre-buffering...
    main debug: received first data for our buffer
    main debug: pre-buffering done 1408981 bytes in 0s - 161459 kbytes/s
    main debug: creating demux: access='' demux='' path='/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: looking for demux2 module: 44 candidates
    ffmpeg debug: detected format: flv
    ffmpeg error: Seeking too far : EOF?
    ffmpeg error: Seeking too far : EOF?
    main debug: selecting program id=0
    ffmpeg debug: adding es: video codec = undf
    ffmpeg debug: adding es: audio codec = mp3
    ffmpeg debug: AVFormat supported stream
    ffmpeg debug: - format = flv (flv format)
    ffmpeg debug: - start time = 0
    ffmpeg debug: - duration = -1
    main debug: using demux2 module "ffmpeg"
    main debug: looking for a subtitle file in /Volumes/Aylam-back up disk/
    main debug: looking for decoder module: 26 candidates
    main error: no suitable decoder module for fourcc `undf'.
    VLC probably does not support this sound or video format.
    main debug: killing decoder fourcc `undf', 0 PES in FIFO
    main debug: looking for decoder module: 26 candidates
    ffmpeg debug: libavcodec initialized (interface 3349504 )
    ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2/3) started
    main debug: using decoder module "ffmpeg"
    main debug: thread 43918336 (decoder) created at priority 37 (input/decoder.c:159)
    main debug: `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv' successfully opened
    ffmpeg error: Seeking too far : EOF?
    main debug: EOF reached
    macosx debug: input has stopped, refreshing interface
    main debug: closing input
    main debug: removing module "ffmpeg"
    main debug: removing module "access_file"
    ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2/3) stopped
    main debug: removing module "ffmpeg"
    main debug: thread 43918336 joined (input/decoder.c:191)
    main debug: killing decoder fourcc `mp3 ', 0 PES in FIFO
    main debug: thread 43699200 joined (input/input.c:412)
    main: nothing to play
    main debug: creating new input thread
    main debug: waiting for thread completion
    main debug: thread 43846656 (input) created at priority 37 (input/input.c:265)
    main debug: `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv' gives access `' demux `' path `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: creating demux: access='' demux='' path='/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: looking for access_demux module: 1 candidate
    main debug: creating access '' path='/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: looking for access2 module: 6 candidates
    vcd debug: trying .cue file: /Volumes/Aylam-back up disk/Autumn Dawn-test.cue
    vcd debug: could not find .cue file
    access_file debug: opening file `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: using access2 module "access_file"
    main debug: pre-buffering...
    main debug: received first data for our buffer
    main debug: pre-buffering done 1408981 bytes in 0s - 154532 kbytes/s
    main debug: creating demux: access='' demux='' path='/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: looking for demux2 module: 44 candidates
    ffmpeg debug: detected format: flv
    ffmpeg error: Seeking too far : EOF?
    ffmpeg error: Seeking too far : EOF?
    main debug: selecting program id=0
    ffmpeg debug: adding es: video codec = undf
    ffmpeg debug: adding es: audio codec = mp3
    ffmpeg debug: AVFormat supported stream
    ffmpeg debug: - format = flv (flv format)
    ffmpeg debug: - start time = 0
    ffmpeg debug: - duration = -1
    main debug: using demux2 module "ffmpeg"
    main debug: looking for a subtitle file in /Volumes/Aylam-back up disk/
    main debug: looking for decoder module: 26 candidates
    main error: no suitable decoder module for fourcc `undf'.
    VLC probably does not support this sound or video format.
    main debug: killing decoder fourcc `undf', 0 PES in FIFO
    main debug: looking for decoder module: 26 candidates
    ffmpeg debug: libavcodec already initialized
    ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2/3) started
    main debug: using decoder module "ffmpeg"
    main debug: thread 44038656 (decoder) created at priority 37 (input/decoder.c:159)
    main debug: `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv' successfully opened
    ffmpeg error: Seeking too far : EOF?
    main debug: EOF reached
    macosx debug: input has changed, refreshing interface
    main debug: closing input
    main debug: removing module "ffmpeg"
    main debug: removing module "access_file"
    ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2/3) stopped
    main debug: removing module "ffmpeg"
    macosx debug: input has stopped, refreshing interface
    main debug: thread 44038656 joined (input/decoder.c:191)
    main debug: killing decoder fourcc `mp3 ', 0 PES in FIFO
    main debug: thread 43846656 joined (input/input.c:412)
    main: nothing to play
    main debug: creating new input thread
    main debug: waiting for thread completion
    main debug: thread 43987456 (input) created at priority 37 (input/input.c:265)
    main debug: `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv' gives access `' demux `' path `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: creating demux: access='' demux='' path='/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: looking for access_demux module: 1 candidate
    main debug: creating access '' path='/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: looking for access2 module: 6 candidates
    vcd debug: trying .cue file: /Volumes/Aylam-back up disk/Autumn Dawn-test.cue
    vcd debug: could not find .cue file
    access_file debug: opening file `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: using access2 module "access_file"
    main debug: pre-buffering...
    main debug: received first data for our buffer
    main debug: pre-buffering done 1408981 bytes in 0s - 162508 kbytes/s
    main debug: creating demux: access='' demux='' path='/Volumes/Aylam-back up disk/Autumn Dawn-test.flv'
    main debug: looking for demux2 module: 44 candidates
    ffmpeg debug: detected format: flv
    ffmpeg error: Seeking too far : EOF?
    ffmpeg error: Seeking too far : EOF?
    main debug: selecting program id=0
    ffmpeg debug: adding es: video codec = undf
    ffmpeg debug: adding es: audio codec = mp3
    ffmpeg debug: AVFormat supported stream
    ffmpeg debug: - format = flv (flv format)
    ffmpeg debug: - start time = 0
    ffmpeg debug: - duration = -1
    main debug: using demux2 module "ffmpeg"
    main debug: looking for a subtitle file in /Volumes/Aylam-back up disk/
    main debug: looking for decoder module: 26 candidates
    main error: no suitable decoder module for fourcc `undf'.
    VLC probably does not support this sound or video format.
    main debug: killing decoder fourcc `undf', 0 PES in FIFO
    main debug: looking for decoder module: 26 candidates
    ffmpeg debug: libavcodec already initialized
    ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2/3) started
    main debug: using decoder module "ffmpeg"
    main debug: thread 44110336 (decoder) created at priority 37 (input/decoder.c:159)
    main debug: `/Volumes/Aylam-back up disk/Autumn Dawn-test.flv' successfully opened
    ffmpeg error: Seeking too far : EOF?
    main debug: EOF reached
    macosx debug: input has changed, refreshing interface
    main debug: closing input
    main debug: removing module "ffmpeg"
    main debug: removing module "access_file"
    ffmpeg debug: ffmpeg codec (MPEG Audio layer 1/2/3) stopped
    main debug: removing module "ffmpeg"
    main debug: thread 44110336 joined (input/decoder.c:191)
    main debug: killing decoder fourcc `mp3 ', 0 PES in FIFO
    main debug: thread 43987456 joined (input/input.c:412)
    main: nothing to play
    macosx debug: input has stopped, refreshing interface

    any idea why it's still not working ?

    thank you again !

    Aylam

  5. Explorer Case's Avatar
    Join Date
    Feb 2004
    Location
    Middle Earth
    Search Comp PM
    Originally Posted by Aylam
    video codec = undf
    audio codec = mp3
    main error: no suitable decoder module for fourcc `undf'.
    VLC probably does not support this sound or video format.
    Apparently, the video codec isn't recognized (undf for undefined?). Maybe VLC isn't such a good player for FLV files...

    Try QuickTime Player with the Perian component, MPlayer, SWF & FLV Player, flvThing, heck, even RealPlayer.
    But the acid test is to embed it in a webpage.

  6. Member
    Join Date
    Sep 2008
    Location
    United States
    Search Comp PM
    Thanks a lot ! will try all these !

  7. Member
    Join Date
    Aug 2005
    Location
    Palo Alto, California USA
    Search Comp PM
    Flash support in VLC is relatively recent. Perhaps not all the bugs have been worked out yet, or it may be that you are using an older version. IIRC, versions after 0.8.somethingbigerthan5 are needed.

    That said, try Case's suggestions. Something will work!

  8. Member
    Join Date
    Sep 2008
    Location
    United States
    Search Comp PM
    thank you !




Similar Threads

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