I just installed Video and got it running on my site. I uploaded an *.avi file, which worked just fine. Then I tried *.mpg and got an error (below). Next I uploaded a *.mov and it worked also. Is there a problem with my settings?

Error executing command for rendering preset Flash, command #1:
/usr/local/bin/ffmpeg -y -i '/.../public_html/drupal/sites/mysite.com/files/video/original/120131114_235201.mpg' -s 176x118 -r 15 -b 250 -ar 22050 -ab 48  '/.../public_html/drupal/sites/mysite.com/files/video/converted/120131114_235201.flv' 2>&1
Output:
ffmpeg version 0.7.11, Copyright (c) 2000-2011 the FFmpeg developers
  built on Aug  6 2014 10:39:29 with gcc 4.4.7 20120313 (Red Hat 4.4.7-4)
  configuration: --enable-gpl --enable-version3 --enable-nonfree --enable-shared --enable-libmp3lame --enable-libx264 --enable-libfaac --enable-libvpx --enable-libvorbis --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopencore-amrnb --enable-libtheora
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[mpeg @ 0xd670a0] max_analyze_duration 5000000 reached at 5005000
Input #0, mpeg, from '/.../public_html/drupal/sites/mysite.com/files/video/original/120131114_235201.mpg':
  Duration: 00:00:54.52, start: 2.033367, bitrate: 6450 kb/s
    Stream #0.0[0x1e0]: Video: mpeg2video (Main), yuv420p, 720x480 [PAR 32:27 DAR 16:9], 9400 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
    Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 384 kb/s
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
WARNING: The bitrate parameter is set too low. It takes bits/s as argument, not kbits/s
[buffer @ 0xd66e80] w:720 h:480 pixfmt:yuv420p tb:1/1000000 sar:32/27 sws_param:
[scale @ 0xd64b80] w:720 h:480 fmt:yuv420p -> w:176 h:118 fmt:yuv420p flags:0x4
Output #0, flv, to '/.../public_html/drupal/sites/mysite.com/files/video/converted/120131114_235201.flv':
    Stream #0.0: Video: flv, yuv420p, 176x118 [PAR 118:99 DAR 16:9], q=2-31, 0 kb/s, 90k tbn, 15 tbc
    Stream #0.1: Audio: libmp3lame, 22050 Hz, 5.1, s16, 0 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height

Comments

heshanlk’s picture

Component: Video Transcoding » General
Status: Active » Closed (works as designed)