Forum Replies Created

  • Kip Hughes

    May 18, 2012 at 1:04 am in reply to: Ideal FFMPEG commands for web videos and audios

    Stephen,

    Any recommendations for audios? Also, what input formats (video and audio) do you think would be worthwhile supporting? Thanks.

  • Kip Hughes

    May 17, 2012 at 10:54 pm in reply to: Ideal FFMPEG commands for web videos and audios

    Hi Stephen,

    The command to create OGV seems to be working fine. When I try to create MP4 using the following command:

    ffmpeg -i input.avi -vcodec lbx264 -preset slow -profile main -crf 20 -acodec libfaac -ab 128k -vf scale="480:-1" output.mp4

    The command line tells me this:

    Unknown encoder 'lbx264'

    Doing a ffmpeg -version gives me this:


    ffmpeg version N-37208-g01fcbdf
    built on Jan 27 2012 18:34:52 with gcc 4.6.2
    configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-runt
    ime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libopenc
    ore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --enab
    le-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger --e
    nable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc
    --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-li
    bxvid --enable-zlib
    libavutil 51. 34.101 / 51. 34.101
    libavcodec 53. 60.100 / 53. 60.100
    libavformat 53. 31.100 / 53. 31.100
    libavdevice 53. 4.100 / 53. 4.100
    libavfilter 2. 60.100 / 2. 60.100
    libswscale 2. 1.100 / 2. 1.100
    libswresample 0. 6.100 / 0. 6.100
    libpostproc 52. 0.100 / 52. 0.100

    Was -vcodec lbx264 supposed to be -vcodec libx264? Because when I changed it, I got a new error:

    Unknown encoder 'libfaac'

    I’m going to try this on my server later. If it works there, I’m not going to worry about getting it to work on my Windows machine.

    Also, does order of the arguments matter?

  • Kip Hughes

    May 17, 2012 at 9:20 am in reply to: Ideal FFMPEG commands for web videos and audios

    Hi Stephen, thanks for this. I am going to read over this and try this on my local machine. I’m on Vista with the FFMPEG I got from https://www.videohelp.com/tools/ffmpeg#download. I hope I don’t run into any problems. Thanks!

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy