Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    Sorry for the late response, video thumbnails are saved in the WordPress media library. That’s usually /wp-content/uploads/2013/11 (or whatever month it happens to be).

    The error message is about opening the video file though, not about saving a thumbnail. Is FFMPEG installed on your server? What does the test output say in the plugin settings page / FFMPEG settings tab?

    My setup does the same thing, “can’t open video file”… but yet there is no problem at all. I am able to press play and select the desired thumbnail without any issues. I originally had my ffmpeg setup where your plugin couldn’t find it a year or so ago, now you have fixed that issue I no longer have to hardcode the plugin to use it. I think this problem may be related to that, the particular thumbnail choosing function isn’t looking for ffmpeg properly.

    Plugin Author Kyle Gilman

    (@kylegilman)

    That’s odd. If you can select the video thumbnail from the little player then pressing “Generate” or “Randomize” shouldn’t use FFMPEG at all. What does the test output say in the plugin settings page FFMPEG settings tab?

    Thread Starter seyedmahdi

    (@seyedmahdi)

    u know im not good at en
    so never mind
    if someone cant help me or give me a clear guide don`t bother yourself
    thanks all

    ffmpeg version N-43171-ga763caf Copyright (c) 2000-2012 the FFmpeg developers
      built on Aug  3 2012 07:56:19 with gcc 4.1.2 (GCC) 20080704 (Red Hat 4.1.2-52)
      configuration: --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-libfaac --enable-libmp3lame --enable-libtheora --enable-libvorbis --enable-pic --enable-libx264 --enable-libxvid --disable-ffplay --enable-shared --enable-gpl --enable-postproc --enable-nonfree --enable-avfilter --enable-pthreads --extra-cflags=-fPIC
      libavutil      51. 66.100 / 51. 66.100
      libavcodec     54. 48.100 / 54. 48.100
      libavformat    54. 22.100 / 54. 22.100
      libavdevice    54.  2.100 / 54.  2.100
      libavfilter     3.  5.102 /  3.  5.102
      libswscale      2.  1.100 /  2.  1.100
      libswresample   0. 15.100 /  0. 15.100
      libpostproc    52.  0.100 / 52.  0.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'http://example.com/wp-content/plugins/video-embed-thumbnail-generator/images/sample-video-h264.mp4':
      Metadata:
        major_brand     : qt
        minor_version   : 537199360
        compatible_brands: qt
        creation_time   : 2013-02-05 17:28:13
        timecode        : 01:00:00:00
      Duration: 00:00:01.00, start: 0.000000, bitrate: 91 kb/s
        Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 960x540, 66 kb/s, 23.98 fps, 23.98 tbr, 2997 tbn, 5994 tbc
        Metadata:
          creation_time   : 2013-02-05 17:28:13
          handler_name    : Apple Video Media Handler
        Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 48000 Hz, stereo, s16, 2 kb/s
        Metadata:
          creation_time   : 2013-02-05 17:28:13
          handler_name    : Apple Sound Media Handler
        Stream #0:2(eng): Data: none (tmcd / 0x64636D74)
        Metadata:
          creation_time   : 2013-02-05 17:28:13
          handler_name    : Time Code Media Handler
          timecode        : 01:00:00:00
    [libx264 @ 0xf65bec0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2
    [libx264 @ 0xf65bec0] profile Constrained Baseline, level 3.0
    [libx264 @ 0xf65bec0] 264 - core 125 r2208 d9d2288 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=0 ref=3 deblock=1:0:0 analyse=0x1:0x111 me=hex subme=7 psy=1 psy_rd=1.00:0.00 mixed_ref=1 me_range=16 chroma_me=1 trellis=1 8x8dct=0 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=1 lookahead_threads=1 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=0 weightp=0 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=675 ratetol=1.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    Output #0, mp4, to '/var/www/vhosts/example.com/httpdocs/wp-content/uploads/sample-video-h264-480p.mp4':
      Metadata:
        major_brand     : qt
        minor_version   : 537199360
        compatible_brands: qt
        timecode        : 01:00:00:00
        encoder         : Lavf54.22.100
        Stream #0:0(eng): Video: h264 ([33][0][0][0] / 0x0021), yuv420p, 640x360, q=-1--1, 675 kb/s, 2997 tbn, 23.98 tbc
        Metadata:
          creation_time   : 2013-02-05 17:28:13
          handler_name    : Apple Video Media Handler
        Stream #0:1(eng): Audio: aac ([64][0][0][0] / 0x0040), 48000 Hz, stereo, s16, 160 kb/s
        Metadata:
          creation_time   : 2013-02-05 17:28:13
          handler_name    : Apple Sound Media Handler
    Stream mapping:
      Stream #0:0 -> #0:0 (h264 -> libx264)
      Stream #0:1 -> #0:1 (aac -> libfaac)
    Press [q] to stop, [?] for help
    frame=   24 fps=0.0 q=5.0 Lsize=      10kB time=00:00:01.00 bitrate=  85.6kbits/s dup=1 drop=0
    video:8kB audio:0kB subtitle:0 global headers:0kB muxing overhead 19.975353%
    [libx264 @ 0xf65bec0] frame I:1     Avg QP:21.46  size:  2583
    [libx264 @ 0xf65bec0] frame P:23    Avg QP:12.75  size:   227
    [libx264 @ 0xf65bec0] mb I  I16..4: 94.3%  0.0%  5.7%
    [libx264 @ 0xf65bec0] mb P  I16..4:  0.0%  0.0%  0.0%  P16..4:  2.1%  0.2%  0.1%  0.0%  0.0%    skip:97.6%
    [libx264 @ 0xf65bec0] final ratefactor: 4.00
    [libx264 @ 0xf65bec0] coded y,uvDC,uvAC intra: 3.6% 0.0% 0.0% inter: 1.1% 0.0% 0.0%
    [libx264 @ 0xf65bec0] i16 v,h,dc,p: 94%  1%  5%  0%
    [libx264 @ 0xf65bec0] i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 35% 17% 26%  2%  3%  6%  3%  5%  3%
    [libx264 @ 0xf65bec0] i8c dc,h,v,p: 100%  0%  0%  0%
    [libx264 @ 0xf65bec0] ref P L0: 97.7%  2.2%  0.1%
    [libx264 @ 0xf65bec0] kb/s:62.46
    Fixing moov atom for streaming
    /usr/local/bin/MP4Box -inter 500 /var/www/vhosts/example.com/httpdocs/wp-content/uploads/sample-video-h264-480p.mp4
    Saving /var/www/vhosts/example.com/httpdocs/wp-content/uploads/sample-video-h264-480p.mp4: 0.500 secs Interleaving
    Error: I/O Error
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘the address’ is closed to new replies.