ffmpeg flv/mp4 -

Bob Goodwin - Zuni, Virginia, USA bobgoodwin at wildblue.net
Wed Sep 12 21:52:04 UTC 2012


On 12/09/12 12:36, Rick Stevens types:


Get on the server with the flv files and use:

	ffmpeg -i input.flv -sameq -ar 22050 output.mp4

Replace "input.flv" with the source filename and "output.mp4" with your
desired output file name. That should do it.

    I tried that earlier but don't no how to deal with the errors.

        [root at box7 dwhelper]# ffmpeg -i 3852374-xxxx_bashing_.flv -sameq
        -ar 22050 output.mp4
        WARNING: gnome-keyring:: couldn't connect to:
        /run/user/bobg/keyring-66uQyY/pkcs11: No such file or directory
        ffmpeg version 0.10.4 Copyright (c) 2000-2012 the FFmpeg developers
           built on Jul 20 2012 22:00:57 with gcc 4.7.0 20120507 (Red
        Hat 4.7.0-5)
           configuration: --prefix=/usr --bindir=/usr/bin
        --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg
        --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64
        --extra-cflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
        -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64
        -mtune=generic' --enable-bzlib --disable-crystalhd
        --enable-gnutls --enable-libass --enable-libcdio
        --enable-libcelt --enable-libdc1394 --disable-indev=jack
        --enable-libfreetype --enable-libgsm --enable-libmp3lame
        --enable-openal --enable-libopenjpeg --enable-libpulse
        --enable-librtmp --enable-libschroedinger --enable-libspeex
        --enable-libtheora --enable-libvorbis --enable-libv4l2
        --enable-libvpx --enable-libx264 --enable-libxvid
        --enable-x11grab --enable-avfilter --enable-postproc
        --enable-pthreads --disable-static --enable-shared --enable-gpl
        --disable-debug --disable-stripping --shlibdir=/usr/lib64
        --enable-runtime-cpudetect
           libavutil      51. 35.100 / 51. 35.100
           libavcodec     53. 61.100 / 53. 61.100
           libavformat    53. 32.100 / 53. 32.100
           libavdevice    53.  4.100 / 53.  4.100
           libavfilter     2. 61.100 /  2. 61.100
           libswscale      2.  1.100 /  2.  1.100
           libswresample   0.  6.100 /  0.  6.100
           libpostproc    52.  0.100 / 52.  0.100
        [flv @ 0x968260] max_analyze_duration 5000000 reached at 5014000
        Input #0, flv, from '3852374-left_politicizes_911_by_bashing_.flv':
           Duration: 00:03:18.62, start: 0.000000, bitrate: 40 kb/s
             Stream #0:0: Audio: aac, 22050 Hz, mono, s16
        Incompatible sample format 's16' for codec 'aac', auto-selecting
        format 'flt'
        [NULL @ 0x96f3e0] Codec is experimental but experimental codecs
        are not enabled, see -strict -2
        Output #0, mp4, to 'output.mp4':
             Stream #0:0: Audio: none, 22050 Hz, mono, flt, 128 kb/s
        Stream mapping:
           Stream #0:0 -> #0:0 (aac -> aac)
        Error while opening encoder for output stream #0:0 - maybe
        incorrect parameters such as bit_rate, rate, width or height

    Bob


.

-- 
http://www.qrz.com/db/W2BOD

box7



More information about the users mailing list