• Resolved Vojto

    (@vojto)


    Hello,
    My English is not very good, but I will try my best.

    I have problems with converting on my server, ffmpeg is installed with all cocedcs.

    This is a bug report from my site:

    Fri, 18 Apr 2014 10:18:24 +0000 -> /usr/bin/ffmpeg -i /var/www/vhosts/mysite/httpdocs/wp-content/uploads/2014/04/test.mp4 -ar 44100 -b:a 384k -b:v 384k -ac 2 -acodec libfdk_aac -vcodec libx264 -vpre medium /var/www/vhosts/mysite/httpdocs/wp-content/uploads/2014/04/test1.mp4
    Fri, 18 Apr 2014 10:18:24 +0000 -> Video file was not converted. Possible reasons: missing libraries for ffmpeg, permissions on the directory where the file is being written to…
    Fri, 18 Apr 2014 10:18:24 +0000 -> Thumbnail was created: /var/www/vhosts/mysite/httpdocs/wp-content/uploads/2014/04/test1.jpg

    Also I tested to convert file from ssh, here is a result:

    ffmpeg -y -i g.flv -acodec libfaac -vcodec libx264 -f mp4 -vtag avc1 -vpre normal -refs 1 -coder 1 -level 31 -threads 8 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -flags +mv4 -trellis 1 -cmp 256 -me_range 16 -sc_threshold 40 -i_qfactor 0.71 -bf 0 -g 250 targetfile.mp4

    # ffmpeg -y -i g.flv -acodec libfaac -vcodec libx264 -f mp4 -vtag avc1 -vpre normal -re fs 1 -coder 1 -level 31 -threads 8 -partitions parti4x4+parti8x8+partp4x4+partp8x8+partb8x8 -flags +mv4 -trell is 1 -cmp 256 -me_range 16 -sc_threshold 40 -i_qfactor 0.71 -bf 0 -g 250 targetfile.mp4
    FFmpeg version 0.6.5, Copyright (c) 2000-2010 the FFmpeg developers
    built on Jan 29 2012 17:52:15 with gcc 4.4.5 20110214 (Red Hat 4.4.5-6)
    configuration: –prefix=/usr –libdir=/usr/lib64 –shlibdir=/usr/lib64 –mandir=/usr/share/man –incdir=/usr /include –disable-avisynth –extra-cflags=’-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-pr otector –param=ssp-buffer-size=4 -m64 -mtune=generic -fPIC’ –enable-avfilter –enable-avfilter-lavf –enable -libdc1394 –enable-libdirac –enable-libfaac –enable-libfaad –enable-libfaadbin –enable-libgsm –enable-li bmp3lame –enable-libopencore-amrnb –enable-libopencore-amrwb –enable-librtmp –enable-libschroedinger –ena ble-libspeex –enable-libtheora –enable-libx264 –enable-gpl –enable-nonfree –enable-postproc –enable-pthr eads –enable-shared –enable-swscale –enable-vdpau –enable-version3 –enable-x11grab
    libavutil 50.15. 1 / 50.15. 1
    libavcodec 52.72. 2 / 52.72. 2
    libavformat 52.64. 2 / 52.64. 2
    libavdevice 52. 2. 0 / 52. 2. 0
    libavfilter 1.19. 0 / 1.19. 0
    libswscale 0.11. 0 / 0.11. 0
    libpostproc 51. 2. 0 / 51. 2. 0
    [flv @ 0x759670]Estimating duration from bitrate, this may be inaccurate

    Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -> 29.97 (30000/1001)
    Input #0, flv, from ‘g.flv’:
    Metadata:
    duration : 86
    starttime : 0
    totalduration : 86
    width : 320
    height : 240
    videodatarate : 263
    audiodatarate : 64
    totaldatarate : 335
    framerate : 30
    bytelength : 3611805
    canseekontime : true
    sourcedata : BADC20AE4MH1397075925502084
    purl :
    pmsg :
    Duration: 00:01:26.11, start: 0.000000, bitrate: 333 kb/s
    Stream #0.0: Video: flv, yuv420p, 320×240, 269 kb/s, 29.97 tbr, 1k tbn, 1k tbc
    Stream #0.1: Audio: mp3, 22050 Hz, 2 channels, s16, 64 kb/s
    [libx264 @ 0x75e310]using cpu capabilities: MMX2 SSE2Fast FastShuffle SSEMisalign LZCNT
    [libx264 @ 0x75e310]profile High, level 3.1
    [libx264 @ 0x75e310]264 – core 107 – H.264/MPEG-4 AVC codec – Copyleft 2003-2010 – https://www.videolan.org/x26 4.html – options: cabac=1 ref=1 deblock=1:0:0 analyse=0x3:0x133 me=hex subme=6 psy=1 psy_rd=1.00:0.00 mixed_re f=0 me_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 fast_pskip=1 chroma_qp_offset=-2 threads=8 sliced_threads=0 nr=0 decimate=1 interlaced=0 constrained_intra=0 bframes=0 weightp=2 keyint=250 keyint_min=2 5 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=abr mbtree=1 bitrate=200 ratetol=20.0 qcomp=0.60 qpmin=10 qpm ax=51 qpstep=4 ip_ratio=1.41 aq=1:1.00
    Output #0, mp4, to ‘targetfile.mp4’:
    Metadata:
    encoder : Lavf52.64.2
    Stream #0.0: Video: libx264, yuv420p, 320×240, q=10-51, 200 kb/s, 30k tbn, 29.97 tbc
    Stream #0.1: Audio: libfaac, 22050 Hz, 2 channels, s16, 64 kb/s
    Stream mapping:
    Stream #0.0 -> #0.0
    Stream #0.1 -> #0.1
    Press [q] to stop encoding
    frame= 2582 fps=360 q=-1.0 Lsize= 2251kB time=86.15 bitrate= 214.0kbits/s
    video:2198kB audio:16kB global headers:0kB muxing overhead 1.618825%
    [libx264 @ 0x75e310]frame I:13 Avg QP:19.26 size: 4186
    [libx264 @ 0x75e310]frame P:2569 Avg QP:22.65 size: 855
    [libx264 @ 0x75e310]mb I I16..4: 27.7% 64.0% 8.3%
    [libx264 @ 0x75e310]mb P I16..4: 1.0% 2.4% 0.1% P16..4: 38.9% 8.2% 1.1% 0.0% 0.1% skip:48.1%
    [libx264 @ 0x75e310]final ratefactor: 22.43
    [libx264 @ 0x75e310]8×8 transform intra:67.2% inter:80.1%
    [libx264 @ 0x75e310]coded y,uvDC,uvAC intra: 56.3% 75.7% 12.9% inter: 16.9% 19.9% 0.8%
    [libx264 @ 0x75e310]i16 v,h,dc,p: 23% 33% 15% 29%
    [libx264 @ 0x75e310]i8 v,h,dc,ddl,ddr,vr,hd,vl,hu: 21% 23% 34% 2% 4% 3% 5% 3% 4%
    [libx264 @ 0x75e310]i4 v,h,dc,ddl,ddr,vr,hd,vl,hu: 16% 41% 30% 1% 3% 3% 4% 2% 1%
    [libx264 @ 0x75e310]i8c dc,h,v,p: 43% 34% 18% 5%
    [libx264 @ 0x75e310]Weighted P-Frames: Y:0.0%
    [libx264 @ 0x75e310]kb/s:208.98

    Whats wrong please? Is it possible to help me?

    Thanks for your answer and sorry for my bad English

    Vojto

    https://www.ads-software.com/plugins/wp-video-posts/

Viewing 1 replies (of 1 total)
  • Plugin Author AlexRayan

    (@alexrayan)

    Hi Vojto,

    Sorry to hear you’re having issues with ffmpeg encoding with this plugin.
    I realize your post is over a month old but if you’re still experiencing issues please feel free to shoot me an email: alex @ alexiz.com

    Best regards,
    Alex

Viewing 1 replies (of 1 total)
  • The topic ‘FFMPEG TEST – Video file was not converted’ is closed to new replies.