Re: ffmpeg flv/mp4 -

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

 



On 13/09/12 13:03, Rick Stevens types:
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


   I thought perhaps the problem was with the original file and so
   tried a different one:

   [root@box7 VideoClips]# ffmpeg -strict experimental -i
   HydraulicFracturing.flv -sameq -ar 22050 output-7.mp4
   WARNING: gnome-keyring:: couldn't connect to:
   /run/user/bobg/keyring-C4GEAs/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
   Input #0, flv, from 'HydraulicFracturing.flv':
      Metadata:
        audiodelay      : 0
        canSeekToEnd    : true
      Duration: 00:06:32.20, start: 0.000000, bitrate: 661 kb/s
        Stream #0:0: Video: vp6f, yuv420p, 590x331, 409 kb/s, 30 tbr,
   1k tbn, 1k tbc
        Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s
   [buffer @ 0xf11b80] w:590 h:331 pixfmt:yuv420p tb:1/1000000 sar:0/1
   sws_param:
   Incompatible sample format 's16' for codec 'aac', auto-selecting
   format 'flt'
   [libx264 @ 0xf100a0] height not divisible by 2 (590x331)
   Output #0, mp4, to 'output-7.mp4':
      Metadata:
        audiodelay      : 0
        canSeekToEnd    : true
        Stream #0:0: Video: h264, yuv420p, 590x331, q=-1--1, 90k tbn,
   30 tbc
        Stream #0:1: Audio: none, 22050 Hz, stereo, flt, 128 kb/s
   Stream mapping:
      Stream #0:0 -> #0:0 (vp6f -> libx264)
      Stream #0:1 -> #0:1 (mp3 -> aac)
   Error while opening encoder for output stream #0:0 - maybe incorrect
   parameters such as bit_rate, rate, width or height


   and without "-strict experimental."

   [root@box7 VideoClips]# ffmpeg -i HydraulicFracturing.flv -sameq -ar
   22050 output-7.mp4
   WARNING: gnome-keyring:: couldn't connect to:
   /run/user/bobg/keyring-C4GEAs/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
   Input #0, flv, from 'HydraulicFracturing.flv':
      Metadata:
        audiodelay      : 0
        canSeekToEnd    : true
      Duration: 00:06:32.20, start: 0.000000, bitrate: 661 kb/s
        Stream #0:0: Video: vp6f, yuv420p, 590x331, 409 kb/s, 30 tbr,
   1k tbn, 1k tbc
        Stream #0:1: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s
   File 'output-7.mp4' already exists. Overwrite ? [y/N] y
   w:590 h:331 pixfmt:yuv420p tb:1/1000000 sar:0/1 sws_param:
   Incompatible sample format 's16' for codec 'aac', auto-selecting
   format 'flt'
   [libx264 @ 0xebe0a0] height not divisible by 2 (590x331)
   Output #0, mp4, to 'output-7.mp4':
      Metadata:
        audiodelay      : 0
        canSeekToEnd    : true
        Stream #0:0: Video: h264, yuv420p, 590x331, q=-1--1, 90k tbn,
   30 tbc
        Stream #0:1: Audio: none, 22050 Hz, stereo, flt, 128 kb/s
   Stream mapping:
      Stream #0:0 -> #0:0 (vp6f -> libx264)
      Stream #0:1 -> #0:1 (mp3 -> aac)
   Error while opening encoder for output stream #0:0 - maybe incorrect
   parameters such as bit_rate, rate, width or height


   I am using ffmpeg installed via yum a few days ago, should be the
   latest, greatest. I've  Googled it extensively, tried whatever I
   found much like a rat in a mze ...

   Bob


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

box7

--
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