VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Jul 2009
    Location
    Germany
    Search Comp PM
    Halo,

    I try convert quicktime video to flash with ffmpeg on linux debian 4.2.1-5.

    I try following code and get follow out put:
    Code:
    ffmpeg -i foo.mov -vcodec libxvid -pass 1 -an -f out.mov -y NUL
    FFmpeg version SVN-r10629, Copyright (c) 2000-2007 Fabrice Bellard, et al.
      configuration: --enable-libmp3lame --enable-static --disable-vhook --enable-libamr-nb
      libavutil version: 49.5.0
      libavcodec version: 51.44.0
      libavformat version: 51.14.0
      built on Oct  1 2007 19:33:15, gcc: 4.2.1 (Debian 4.2.1-5)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'foo.mov':
      Duration: 00:00:07.3, start: 0.000000, bitrate: 282 kb/s
      Stream #0.0(eng): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
      Stream #0.1(eng): Video: h264, yuv420p, 320x240, 25.00 fps(r)
    Unknown input or output format: out.mov
    or:
    Code:
      ffmpeg -i foo.mov -vcodec flashsv -g 0 out.mov
    FFmpeg version SVN-r10629, Copyright (c) 2000-2007 Fabrice Bellard, et al.
      configuration: --enable-libmp3lame --enable-static --disable-vhook --enable-libamr-nb
      libavutil version: 49.5.0
      libavcodec version: 51.44.0
      libavformat version: 51.14.0
      built on Oct  1 2007 19:33:15, gcc: 4.2.1 (Debian 4.2.1-5)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'foo.mov':
      Duration: 00:00:07.3, start: 0.000000, bitrate: 282 kb/s
      Stream #0.0(eng): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
      Stream #0.1(eng): Video: h264, yuv420p, 320x240, 25.00 fps(r)
    Unknown encoder 'flashsv'
    which lib is "flashsv" ?
    How can I install on a linux mashien?
    Naxt:
    Code:
     ffmpeg -i foo.mov -vcodec h264 out.flv
    FFmpeg version SVN-r10629, Copyright (c) 2000-2007 Fabrice Bellard, et al.
      configuration: --enable-libmp3lame --enable-static --disable-vhook --enable-libamr-nb
      libavutil version: 49.5.0
      libavcodec version: 51.44.0
      libavformat version: 51.14.0
      built on Oct  1 2007 19:33:15, gcc: 4.2.1 (Debian 4.2.1-5)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'foo.mov':
      Duration: 00:00:07.3, start: 0.000000, bitrate: 282 kb/s
      Stream #0.0(eng): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
      Stream #0.1(eng): Video: h264, yuv420p, 320x240, 25.00 fps(r)
    Unknown encoder 'h264'
    I try other options:
    Code:
    ffmpeg -i foo.mov -vcodec mpeg4aac -f out.flv
    FFmpeg version SVN-r10629, Copyright (c) 2000-2007 Fabrice Bellard, et al.
      configuration: --enable-libmp3lame --enable-static --disable-vhook --enable-libamr-nb
      libavutil version: 49.5.0
      libavcodec version: 51.44.0
      libavformat version: 51.14.0
      built on Oct  1 2007 19:33:15, gcc: 4.2.1 (Debian 4.2.1-5)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'foo.mov':
      Duration: 00:00:07.3, start: 0.000000, bitrate: 282 kb/s
      Stream #0.0(eng): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
      Stream #0.1(eng): Video: h264, yuv420p, 320x240, 25.00 fps(r)
    Unknown input or output format: out.flv
    and
    Code:
     ffmpeg -i foo.mov -vcodec libxvid -f out.flv
    FFmpeg version SVN-r10629, Copyright (c) 2000-2007 Fabrice Bellard, et al.
      configuration: --enable-libmp3lame --enable-static --disable-vhook --enable-libamr-nb
      libavutil version: 49.5.0
      libavcodec version: 51.44.0
      libavformat version: 51.14.0
      built on Oct  1 2007 19:33:15, gcc: 4.2.1 (Debian 4.2.1-5)
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'foo.mov':
      Duration: 00:00:07.3, start: 0.000000, bitrate: 282 kb/s
      Stream #0.0(eng): Audio: mp4a / 0x6134706D, 44100 Hz, stereo
      Stream #0.1(eng): Video: h264, yuv420p, 320x240, 25.00 fps(r)
    Unknown input or output format: out.flv
    Much I get error "Unknown input or output format: out.flv"?
    Don't know ffmpeg this format?

    Can someone help me.
    Regards
    ades567
    Quote Quote  
  2. Member
    Join Date
    Jul 2009
    Location
    Germany
    Search Comp PM
    Hi,

    I found the solution.
    For example:
    Code:
    mencoder foo.mov -vf scale=400:300 -ovc lavc -oac mp3lame -lameopts cbr:br=128 -o out.flv
    bye
    Quote Quote  
  3. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    THanks for post the solution using mencoder.

    But it should work directly with ffmpeg also...it looks you are using a very old version of ffmpeg.
    Quote Quote  



Similar Threads

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