Re: ffmpeg flv/mp4 -

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09/12/2012 02:52 PM, Bob Goodwin - Zuni, Virginia, USA uttered this comment:
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@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

Try rerunning the command but include "-strict experimental" (line
below may be wrapped due to mail message width...should be all on one
line):

ffmpeg -strict experimental -i 3852374-xxxx_bashing_.flv -sameq -ar 22050 output.mp4
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks@xxxxxxxxxxxxxx -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-        Is it progress if a cannibal uses a knife and fork?         -
-                                  -- Stanislaw J. Lec               -
----------------------------------------------------------------------
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux