1 Reply Latest reply on Apr 4, 2012 11:58 AM by adamplumb

    I get "No video with supported format and MIME type found" when using the video component

    adamplumb

      I'm setting up a CQ5-based website that uses video components and when I add videos to the video component in edit mode the video shows as a large X with the words "No video with supported format and MIME type found".  This happens with both the low-quality flv and high quality x264 profiles.  I have ffmpeg set up and when I run the video tests in the video profile pages it comes back with Success: true for both profiles.  Here is the output of one of the tests:

      ffmpeg version N-39490-g588eaa1 Copyright (c) 2000-2012 the FFmpeg developers

        built on Apr  3 2012 21:48:27 with gcc 4.4.6 20110731 (Red Hat 4.4.6-3)

        configuration: --prefix=/usr --enable-gpl --enable-postproc --enable-nonfree --enable-libx264 --enable-libmp3lame --enable-libfaac

        libavutil      51. 44.100 / 51. 44.100

        libavcodec     54. 12.100 / 54. 12.100

        libavformat    54.  3.100 / 54.  3.100

        libavdevice    53.  4.100 / 53.  4.100

        libavfilter     2. 66.101 /  2. 66.101

        libswscale      2.  1.100 /  2.  1.100

        libswresample   0. 10.100 /  0. 10.100

        libpostproc    52.  0.100 / 52.  0.100

      Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/tmp/videotest7991169733251281993.tmp/bars.mp4':

        Metadata:

          major_brand     : mp42

          minor_version   : 0

          compatible_brands: mp42mp41isomiso2

          creation_time   : 2012-04-04 17:30:00

          encoder         : x264

        Duration: 00:00:06.06, start: 0.000000, bitrate: 153 kb/s

          Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 10:11 DAR 40:33], 36 kb/s, SAR 581:640 DAR 581:480, 25 fps, 25 tbr, 2500 tbn, 1073741824 tbc

          Metadata:

            creation_time   : 2012-04-04 17:30:00

            handler_name    :  VideoHandler

          Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16, 128 kb/s

          Metadata:

            creation_time   : 2012-04-04 17:30:00

            handler_name    :

      Please use -b:a or -b:v, -b is ambiguous

      [buffer @ 0x163b520] w:640 h:480 pixfmt:yuv420p tb:1/1000000 sar:581/640 sws_param:flags=2

      [libx264 @ 0x1642f00] using SAR=581/640

      [libx264 @ 0x1642f00] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2

      [libx264 @ 0x1642f00] Error: 2pass curve failed to converge

      [libx264 @ 0x1642f00] target: 6144.00 kbit/s, expected: 22.56 kbit/s, avg QP: 10.0000

      [libx264 @ 0x1642f00] try reducing target bitrate or reducing qp_min (currently 10)

      [libx264 @ 0x1642f00] profile High, level 3.0

      [libx264 @ 0x1642f00] 264 - core 118 - H.264/MPEG-4 AVC codec - Copyleft 2003-2011 - http://www.videolan.org/x264.html - options: cabac=1 ref=4 deblock=1:0:0 analyse=0x3:0x113 me=umh subme=8 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=16 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=2pass mbtree=1 bitrate=6144 ratetol=1.0 qcomp=0.60 qpmin=10 qpmax=51 qpstep=4 cplxblur=20.0 qblur=0.5 ip_ratio=1.40 aq=1:1.00

      Output #0, ipod, to '/tmp/videotest7991169733251281993.tmp/bars.out.m4v':

        Metadata:

          major_brand     : mp42

          minor_version   : 0

          compatible_brands: mp42mp41isomiso2

          creation_time   : 2012-04-04 17:30:00

          encoder         : Lavf54.3.100

          Stream #0:0(eng): Video: h264 (avc1 / 0x31637661), yuv420p, 640x480 [SAR 581:640 DAR 581:480], q=10-51, pass 2, 6144 kb/s, 24k tbn, 23.98 tbc

          Metadata:

            creation_time   : 2012-04-04 17:30:00

            handler_name    :  VideoHandler

          Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, 2 channels, s16, 128 kb/s

          Metadata:

            creation_time   : 2012-04-04 17:30:00

            handler_name    :

      Stream mapping:

        Stream #0:0 -> #0:0 (h264 -> libx264)

        Stream #0:1 -> #0:1 (aac -> libfaac)

      Press [q] to stop, [?] for help

      DTS -100, next:-40000 st:0 invalid droping

      [libx264 @ 0x1642f00] lookaheadless mb-tree requires intra refresh or infinite keyint

      frame=   63 fps=0.0 q=10.0 size=      33kB time=00:00:01.75 bitrate= 152.6kbits/s dup=0 drop=1   

      frame=   75 fps=0.0 q=-1.0 Lsize=     105kB time=00:00:03.04 bitrate= 281.6kbits/s dup=0 drop=2    video:6kB audio:95kB global headers:0kB muxing overhead 3.686574%

      [libx264 @ 0x1642f00] frame I:1     Avg QP:10.88  size:  2856

      [libx264 @ 0x1642f00] frame P:5     Avg QP:10.36  size:    42

      [libx264 @ 0x1642f00] frame B:69    Avg QP:10.00  size:    31

      [libx264 @ 0x1642f00] consecutive B-frames:  1.3%  0.0%  0.0%  0.0%  0.0%  8.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0%  0.0% 90.7%

      [libx264 @ 0x1642f00] mb I  I16..4: 87.2%  5.5%  7.3%

      [libx264 @ 0x1642f00] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  0.3%  0.0%  0.0%  0.0%  0.0%    skip:99.7%

      [libx264 @ 0x1642f00] mb B  I16..4:  0.0%  0.0%  0.0%  B16..8:  0.5%  0.0%  0.0%  direct: 0.0%  skip:99.5%  L0:37.0% L1:63.0% BI: 0.0%

      [libx264 @ 0x1642f00] 8x8 transform intra:5.5% inter:100.0%

      [libx264 @ 0x1642f00] coded y,uvDC,uvAC intra: 5.8% 17.8% 15.3% inter: 0.0% 0.0% 0.0%

      [libx264 @ 0x1642f00] i16 v,h,dc,p: 90%  7%  3%  0%

      [libx264 @ 0x1642f00] i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 31% 61%  8%  0%  0%  0%  0%  0%  0%

      [libx264 @ 0x1642f00] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 55% 32% 10%  0%  0%  1%  0%  0%  0%

      [libx264 @ 0x1642f00] i8c dc,h,v,p: 59% 15% 26%  0%

      [libx264 @ 0x1642f00] Weighted P-Frames: Y:0.0% UV:0.0%

      [libx264 @ 0x1642f00] ref P L0: 58.8%  0.0% 41.2%

      [libx264 @ 0x1642f00] ref B L0: 95.8%  4.2%

      [libx264 @ 0x1642f00] kb/s:13.38

       

      And here is the output on the high quality profile page:

       

      General Settings

      • Extension: m4v
      • Mime-Type: video/x-m4v
      • Two-Pass: true
      • HTML Video Type: video/mp4; codecs="avc1.42E01E, mp4a.40.2"

      Video Settings

      • Codec: libx264
      • Bitrate: 6144
      • Bitrate Tolerance: 8192
      • Frame Rate: 24000/1001
      • Output Size: ×
      • Fit Inside: false
      • Letterbox: false

      Audio Settings

      • Codec: libfaac
      • Channels: 2
      • Sampling Rate: 44100
      • Bit Rate: 128

       

      Custom Settings

      • Custom Only: false
      • Settings: [-flags +loop -me_method umh -g 250 -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -bf 16 -b_strategy 1 -i_qfactor 0.71 -cmp +chroma -subq 8 -me_range 16 -coder 1 -sc_threshold 40 -keyint_min 25 -refs 4 -trellis 1 -partitions +parti8x8+parti4x4+partp8x8+partb8x8]

         

      Test Input

      • Input File Name: bars.mp4

         

      • Input Size: 640:480
      • Duration: 6006.0

       

      Test Result

      • Success: true
      • Output File Name: bars.out.m4v

         

      • Last Run: 2012-04-04T18:18:06.601Z

       

      I've been banging my head against this all afternoon, can anyone enlighten me as to what I might be doing wrong?  If I need to post more info for debugging, I'll gladly do so.

      Thanks.