Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques I have a strange error using custom commands

  • I have a strange error using custom commands

    Posted by Bleck Higel on September 9, 2011 at 1:10 am

    I use this commands to encode a video in simple mp4:


    ffmpeg.exe -vcodec libx264 -b 1024 -aspect 16:9 -bt 1024 -maxrate 1024 -minrate 1024 -pass 1 -acodec libfaac -ac 2 -ar 44100 -ab 64k -i %1 video.mp4
    ffmpeg.exe -vcodec libx264 -b 1024 -aspect 16:9 -bt 1024 -maxrate 1024 -minrate 1024 -pass 2 -acodec libfaac -ac 2 -ar 44100 -ab 64k -i %1 video.mp4

    And I get this:


    ffmpeg version N-32355-g4f7dfe1, Copyright (c) 2000-2011 the FFmpeg developers
    built on Sep 6 2011 13:10:41 with gcc 4.6.1
    configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-
    runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
    pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
    enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
    --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
    e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 51. 16. 0 / 51. 16. 0
    libavcodec 53. 13. 0 / 53. 13. 0
    libavformat 53. 11. 0 / 53. 11. 0
    libavdevice 53. 3. 0 / 53. 3. 0
    libavfilter 2. 39. 0 / 2. 39. 0
    libswscale 2. 1. 0 / 2. 1. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    Option sample_rate not found.
    ffmpeg version N-32355-g4f7dfe1, Copyright (c) 2000-2011 the FFmpeg developers
    built on Sep 6 2011 13:10:41 with gcc 4.6.1
    configuration: --enable-gpl --enable-version3 --enable-memalign-hack --enable-
    runtime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libo
    pencore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --
    enable-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger
    --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libvpx --enabl
    e-libx264 --enable-libxavs --enable-libxvid --enable-zlib
    libavutil 51. 16. 0 / 51. 16. 0
    libavcodec 53. 13. 0 / 53. 13. 0
    libavformat 53. 11. 0 / 53. 11. 0
    libavdevice 53. 3. 0 / 53. 3. 0
    libavfilter 2. 39. 0 / 2. 39. 0
    libswscale 2. 1. 0 / 2. 1. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    Option sample_rate not found.

    Someone can help me?

    Michael Rampe replied 14 years, 10 months ago 2 Members · 1 Reply
  • 1 Reply
  • Michael Rampe

    September 22, 2011 at 8:06 pm

    [Bleck Higel] “ffmpeg.exe -vcodec libx264 -b 1024 -aspect 16:9 -bt 1024 -maxrate 1024 -minrate 1024 -pass 1 -acodec libfaac -ac 2 -ar 44100 -ab 64k -i %1 video.mp4”

    try 1024k instead of 1024, This is measured in bits so 1024 is 1k which is far too low.

    Michael

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