WordPress.org

Ready to get started?Download WordPress

Forums

Video Embed & Thumbnail Generator
[resolved] problem with current ffmpeg version? (15 posts)

  1. yoogie27
    Member
    Posted 1 year ago #

    Hi, first off I want to thank you for your time writing and maintaining this plugin.
    I have unfortunately a few problems.

    First one, the javascript code embedded into the site (video.js) contains a blank line if volume options are empty. WordPress replaces this with p-tags and the code breaks. I have shifted this one line on top behind the closing curly bracket.

    Second is a possible incompatibility with my ffmpeg version. I have compiled it like this: https://ffmpeg.org/trac/ffmpeg/wiki/UbuntuCompilationGuide

    This is the output:

    ffmpeg version git-2013-01-28-1336382 Copyright (c) 2000-2013 the FFmpeg developers
      built on Jan 28 2013 22:10:34 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
      configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
      libavutil      52. 17.100 / 52. 17.100
      libavcodec     54. 91.100 / 54. 91.100
      libavformat    54. 61.104 / 54. 61.104
      libavdevice    54.  3.102 / 54.  3.102
      libavfilter     3. 34.101 /  3. 34.101
      libswscale      2.  2.100 /  2.  2.100
      libswresample   0. 17.102 /  0. 17.102
      libpostproc    52.  2.100 / 52.  2.100
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
    
    Use -h to get full help or, even better, run 'man ffmpeg'

    Both, thumbnail and video generation is broken. I do not even get a logfile.
    I was able to fix thumbnail generation by removing the "-codecs" string from the function. Because if "-codecs" is submitted, it will just post the codecs and skip the file information. I however overwrote the codec configuration option (within the same function) to always return true, no matter if found or not...

    But generating videos does not work unfortunately. Exec is allowed and file permissions should not be a problem.

    Best

    http://wordpress.org/extend/plugins/video-embed-thumbnail-generator/

  2. yoogie27
    Member
    Posted 1 year ago #

    # ffmpeg -i ../../blogs.dir/3/files/CK-TA-12-12-2012.mp4 -codecs
    ffmpeg version git-2013-01-28-1336382 Copyright (c) 2000-2013 the FFmpeg developers
      built on Jan 28 2013 22:10:34 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
      configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
      libavutil      52. 17.100 / 52. 17.100
      libavcodec     54. 91.100 / 54. 91.100
      libavformat    54. 61.104 / 54. 61.104
      libavdevice    54.  3.102 / 54.  3.102
      libavfilter     3. 34.101 /  3. 34.101
      libswscale      2.  2.100 /  2.  2.100
      libswresample   0. 17.102 /  0. 17.102
      libpostproc    52.  2.100 / 52.  2.100
    Codecs:
     D..... = Decoding supported
     .E.... = Encoding supported
     ..V... = Video codec
     ..A... = Audio codec
     ..S... = Subtitle codec
     ...I.. = Intra frame-only codec
     ....L. = Lossy compression
     .....S = Lossless compression
     -------
     D.VI.. 012v                 Uncompressed 4:2:2 10-bit
     D.V.L. 4xm                  4X Movie
     D.VI.S 8bps                 QuickTime 8BPS video
     .EVIL. a64_multi            Multicolor charset for Commodore 64 (encoders: a64multi )
     .EVIL. a64_multi5           Multicolor charset for Commodore 64, extended with 5th color (colram) (encoders: a64multi5 )
     D.V..S aasc                 Autodesk RLE
     DEVIL. amv                  AMV Video
     D.V.L. anm                  Deluxe Paint Animation
     D.V.L. ansi                 ASCII/ANSI art
     DEVIL. asv1                 ASUS V1
     DEVIL. asv2                 ASUS V2
     D.VIL. aura                 Auravision AURA
     D.VIL. aura2                Auravision Aura 2
     D.V... avrn                 Avid AVI Codec
     DEVI.. avrp                 Avid 1:1 10-bit RGB Packer
     D.V.L. avs                  AVS (Audio Video Standard) video
     DEVI.. avui                 Avid Meridien Uncompressed
     DEVI.. ayuv                 Uncompressed packed MS 4:4:4:4
     D.V.L. bethsoftvid          Bethesda VID video
     D.V.L. bfi                  Brute Force & Ignorance
     D.V.L. binkvideo            Bink video
     D.VI.. bintext              Binary text
     DEVI.S bmp                  BMP (Windows and OS/2 bitmap)
     D.V..S bmv_video            Discworld II BMV video
     D.V... brender_pix          BRender PIX image
     D.V.L. c93                  Interplay C93
     D.V.L. cavs                 Chinese AVS (Audio Video Standard) (AVS1-P2, JiZhun profile)
     D.V.L. cdgraphics           CD Graphics video
     D.VIL. cdxl                 Commodore CDXL video
     D.V.L. cinepak              Cinepak
     DEVIL. cljr                 Cirrus Logic AccuPak
     D.VI.S cllc                 Canopus Lossless Codec
     D.V.L. cmv                  Electronic Arts CMV video (decoders: eacmv )
     D.V... cpia                 CPiA video format
     D.V..S cscd                 CamStudio (decoders: camstudio )
     D.VIL. cyuv                 Creative YUV (CYUV)
     D.V.L. dfa                  Chronomaster DFA
     D.V.LS dirac                Dirac
     DEVIL. dnxhd                VC3/DNxHD
     DEVIL. dpx                  DPX image
     D.V.L. dsicinvideo          Delphine Software International CIN video
     DEVIL. dvvideo              DV (Digital Video)
     D.V..S dxa                  Feeble Files/ScummVM DXA
     D.VI.S dxtory               Dxtory
     D.V.L. escape124            Escape 124
     D.V.L. escape130            Escape 130
     D.VILS exr                  OpenEXR image
     DEV..S ffv1                 FFmpeg video codec #1
     DEVI.S ffvhuff              Huffyuv FFmpeg variant
     DEV..S flashsv              Flash Screen Video v1
     DEV.L. flashsv2             Flash Screen Video v2
     D.V..S flic                 Autodesk Animator Flic video
     DEV.L. flv1                 FLV / Sorenson Spark / Sorenson H.263 (Flash Video) (decoders: flv ) (encoders: flv )
     D.V..S fraps                Fraps
     D.VI.S frwu                 Forward Uncompressed
     ..V... g2m                  GoToMeeting
     DEV..S gif                  GIF (Graphics Interchange Format)
     DEV.L. h261                 H.261
     DEV.L. h263                 H.263 / H.263-1996, H.263+ / H.263-1998 / H.263 version 2
     D.V.L. h263i                Intel H.263
     DEV.L. h263p                H.263+ / H.263-1998 / H.263 version 2
     DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (encoders: libx264 libx264rgb )
     DEVI.S huffyuv              HuffYUV
     D.V.L. idcin                id Quake II CIN video (decoders: idcinvideo )
     D.VI.. idf                  iCEDraw text
     D.V.L. iff_byterun1         IFF ByteRun1 (decoders: iff )
     D.V.L. iff_ilbm             IFF ILBM (decoders: iff )
     D.V.L. indeo2               Intel Indeo 2
     D.V.L. indeo3               Intel Indeo 3
     D.V.L. indeo4               Intel Indeo Video Interactive 4
     D.V.L. indeo5               Intel Indeo Video Interactive 5
     D.V.L. interplayvideo       Interplay MVE video
     DEVILS jpeg2000             JPEG 2000 (decoders: j2k ) (encoders: j2k )
     DEVILS jpegls               JPEG-LS
     D.VIL. jv                   Bitmap Brothers JV video
     D.V.L. kgv1                 Kega Game Video
     D.V.L. kmvc                 Karl Morton's video codec
     D.VI.S lagarith             Lagarith lossless
     .EVI.S ljpeg                Lossless JPEG
     D.VI.S loco                 LOCO
     D.V.L. mad                  Electronic Arts Madcow Video (decoders: eamad )
     D.VIL. mdec                 Sony PlayStation MDEC (Motion DECoder)
     D.V.L. mimic                Mimic
     DEVIL. mjpeg                Motion JPEG
     D.VIL. mjpegb               Apple MJPEG-B
     D.V.L. mmvideo              American Laser Games MM Video
     D.V.L. motionpixels         Motion Pixels video
     DEV.L. mpeg1video           MPEG-1 video
     DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video mpegvideo )
     DEV.L. mpeg4                MPEG-4 part 2
     ..V.L. mpegvideo_xvmc       MPEG-1/2 video XvMC (X-Video Motion Compensation)
     D.V.L. msa1                 MS ATC Screen
     D.V.L. msmpeg4v1            MPEG-4 part 2 Microsoft variant version 1
     DEV.L. msmpeg4v2            MPEG-4 part 2 Microsoft variant version 2
     DEV.L. msmpeg4v3            MPEG-4 part 2 Microsoft variant version 3 (decoders: msmpeg4 ) (encoders: msmpeg4 )
     D.V..S msrle                Microsoft RLE
     D.V.L. mss1                 MS Screen 1
     D.VIL. mss2                 MS Windows Media Video V9 Screen
     DEV.L. msvideo1             Microsoft Video 1
     D.VI.S mszh                 LCL (LossLess Codec Library) MSZH
     D.V.L. mts2                 MS Expression Encoder Screen
     D.VIL. mvc1                 Silicon Graphics Motion Video Compressor 1
     D.VIL. mvc2                 Silicon Graphics Motion Video Compressor 2
     D.V.L. mxpeg                Mobotix MxPEG video
     D.V.L. nuv                  NuppelVideo/RTJPEG
     D.V.L. paf_video            Amazing Studio Packed Animation File Video
     DEVI.S pam                  PAM (Portable AnyMap) image
     DEVI.S pbm                  PBM (Portable BitMap) image
     DEVI.S pcx                  PC Paintbrush PCX image
     DEVI.S pgm                  PGM (Portable GrayMap) image
     DEVI.S pgmyuv               PGMYUV (Portable GrayMap YUV) image
     D.VIL. pictor               Pictor/PC Paint
     DEV..S png                  PNG (Portable Network Graphics) image
     DEVI.S ppm                  PPM (Portable PixelMap) image
     DEVIL. prores               Apple ProRes (iCodec Pro) (decoders: prores prores_lgpl ) (encoders: prores prores_anatoliy prores_kostya )
     D.VIL. ptx                  V.Flash PTX image
     D.VI.S qdraw                Apple QuickDraw
     D.V.L. qpeg                 Q-team QPEG
     DEV..S qtrle                QuickTime Animation (RLE) video
     DEVI.S r10k                 AJA Kona 10-bit RGB Codec
     DEVI.S r210                 Uncompressed RGB 10-bit
     DEVI.S rawvideo             raw video
     D.VIL. rl2                  RL2 video
     DEV.L. roq                  id RoQ video (decoders: roqvideo ) (encoders: roqvideo )
     D.V.L. rpza                 QuickTime video (RPZA)
     DEV.L. rv10                 RealVideo 1.0
     DEV.L. rv20                 RealVideo 1.0
     D.V.L. rv30                 RealVideo 3.0
     D.V.L. rv40                 RealVideo 4.0
     D.V.L. sanm                 LucasArts SMUSH video
     DEVIL. sgi                  SGI image
     D.VI.S sgirle               SGI RLE 8-bit
     D.V.L. smackvideo           Smacker video (decoders: smackvid )
     D.V.L. smc                  QuickTime Graphics (SMC)
     DEV.LS snow                 Snow
     D.VIL. sp5x                 Sunplus JPEG (SP5X)
     DEVI.S sunrast              Sun Rasterfile image
     DEV.L. svq1                 Sorenson Vector Quantizer 1 / Sorenson Video 1 / SVQ1
     D.V.L. svq3                 Sorenson Vector Quantizer 3 / Sorenson Video 3 / SVQ3
     DEVI.S targa                Truevision Targa image
     D.VI.. targa_y216           Pinnacle TARGA CineWave YUV16
     D.V.L. tgq                  Electronic Arts TGQ video (decoders: eatgq )
     D.V.L. tgv                  Electronic Arts TGV video (decoders: eatgv )
     DEV.L. theora               Theora (encoders: libtheora )
     D.VIL. thp                  Nintendo Gamecube THP video
     D.V.L. tiertexseqvideo      Tiertex Limited SEQ video
     DEVI.S tiff                 TIFF image
     D.VIL. tmv                  8088flex TMV
     D.V.L. tqi                  Electronic Arts TQI video (decoders: eatqi )
     D.V.L. truemotion1          Duck TrueMotion 1.0
     D.V.L. truemotion2          Duck TrueMotion 2.0
     D.V..S tscc                 TechSmith Screen Capture Codec (decoders: camtasia )
     D.V.L. tscc2                TechSmith Screen Codec 2
     D.VIL. txd                  Renderware TXD (TeXture Dictionary) image
     D.V.L. ulti                 IBM UltiMotion (decoders: ultimotion )
     DEVI.S utvideo              Ut Video
     DEVI.S v210                 Uncompressed 4:2:2 10-bit
     D.VI.S v210x
     DEVI.. v308                 Uncompressed packed 4:4:4
     DEVI.. v408                 Uncompressed packed QT 4:4:4:4
     DEVI.S v410                 Uncompressed 4:4:4 10-bit
     D.V.L. vb                   Beam Software VB
     D.VI.S vble                 VBLE Lossless Codec
     D.V.L. vc1                  SMPTE VC-1
     D.V.L. vc1image             Windows Media Video 9 Image v2
     D.VIL. vcr1                 ATI VCR1
     D.VIL. vixl                 Miro VideoXL (decoders: xl )
     D.V.L. vmdvideo             Sierra VMD video
     D.V..S vmnc                 VMware Screen Codec / VMware Video
     D.V.L. vp3                  On2 VP3
     D.V.L. vp5                  On2 VP5
     D.V.L. vp6                  On2 VP6
     D.V.L. vp6a                 On2 VP6 (Flash version, with alpha channel)
     D.V.L. vp6f                 On2 VP6 (Flash version)
     DEV.L. vp8                  On2 VP8 (decoders: vp8 libvpx ) (encoders: libvpx )
     DEV.L. vp9                  Google VP9 (decoders: libvpx-vp9 ) (encoders: libvpx-vp9 )
     DEV.L. wmv1                 Windows Media Video 7
     DEV.L. wmv2                 Windows Media Video 8
     D.V.L. wmv3                 Windows Media Video 9
     D.V.L. wmv3image            Windows Media Video 9 Image
     D.VIL. wnv1                 Winnov WNV1
     D.V.L. ws_vqa               Westwood Studios VQA (Vector Quantized Animation) video (decoders: vqavideo )
     D.V.L. xan_wc3              Wing Commander III / Xan
     D.V.L. xan_wc4              Wing Commander IV / Xxan
     D.VI.. xbin                 eXtended BINary text
     DEVI.S xbm                  XBM (X BitMap) image
     DEV... xface                X-face image
     DEVI.S xwd                  XWD (X Window Dump) image
     DEVI.. y41p                 Uncompressed YUV 4:1:1 12-bit
     D.V.L. yop                  Psygnosis YOP Video
     DEVI.. yuv4                 Uncompressed packed 4:2:0
     D.V..S zerocodec            ZeroCodec Lossless Video
     DEVI.S zlib                 LCL (LossLess Codec Library) ZLIB
     DEV..S zmbv                 Zip Motion Blocks Video
     D.A.L. 8svx_exp             8SVX exponential
     D.A.L. 8svx_fib             8SVX fibonacci
     DEA.L. aac                  AAC (Advanced Audio Coding) (encoders: aac libfaac libfdk_aac )
     D.A.L. aac_latm             AAC LATM (Advanced Audio Coding LATM syntax)
     DEA.L. ac3                  ATSC A/52A (AC-3) (encoders: ac3 ac3_fixed )
     D.A.L. adpcm_4xm            ADPCM 4X Movie
     DEA.L. adpcm_adx            SEGA CRI ADX ADPCM
     D.A.L. adpcm_afc            ADPCM Nintendo Gamecube AFC
     D.A.L. adpcm_ct             ADPCM Creative Technology
     D.A.L. adpcm_ea             ADPCM Electronic Arts
     D.A.L. adpcm_ea_maxis_xa    ADPCM Electronic Arts Maxis CDROM XA
     D.A.L. adpcm_ea_r1          ADPCM Electronic Arts R1
     D.A.L. adpcm_ea_r2          ADPCM Electronic Arts R2
     D.A.L. adpcm_ea_r3          ADPCM Electronic Arts R3
     D.A.L. adpcm_ea_xas         ADPCM Electronic Arts XAS
     DEA.L. adpcm_g722           G.722 ADPCM (decoders: g722 ) (encoders: g722 )
     DEA.L. adpcm_g726           G.726 ADPCM (decoders: g726 ) (encoders: g726 )
     D.A.L. adpcm_ima_amv        ADPCM IMA AMV
     D.A.L. adpcm_ima_apc        ADPCM IMA CRYO APC
     D.A.L. adpcm_ima_dk3        ADPCM IMA Duck DK3
     D.A.L. adpcm_ima_dk4        ADPCM IMA Duck DK4
     D.A.L. adpcm_ima_ea_eacs    ADPCM IMA Electronic Arts EACS
     D.A.L. adpcm_ima_ea_sead    ADPCM IMA Electronic Arts SEAD
     D.A.L. adpcm_ima_iss        ADPCM IMA Funcom ISS
     D.A.L. adpcm_ima_oki        ADPCM IMA Dialogic OKI
     DEA.L. adpcm_ima_qt         ADPCM IMA QuickTime
     D.A.L. adpcm_ima_smjpeg     ADPCM IMA Loki SDL MJPEG
     DEA.L. adpcm_ima_wav        ADPCM IMA WAV
     D.A.L. adpcm_ima_ws         ADPCM IMA Westwood
     DEA.L. adpcm_ms             ADPCM Microsoft
     D.A.L. adpcm_sbpro_2        ADPCM Sound Blaster Pro 2-bit
     D.A.L. adpcm_sbpro_3        ADPCM Sound Blaster Pro 2.6-bit
     D.A.L. adpcm_sbpro_4        ADPCM Sound Blaster Pro 4-bit
     DEA.L. adpcm_swf            ADPCM Shockwave Flash
     D.A.L. adpcm_thp            ADPCM Nintendo Gamecube THP
     D.A.L. adpcm_xa             ADPCM CDROM XA
     DEA.L. adpcm_yamaha         ADPCM Yamaha
     DEA..S alac                 ALAC (Apple Lossless Audio Codec)
     DEA.L. amr_nb               AMR-NB (Adaptive Multi-Rate NarrowBand) (decoders: amrnb libopencore_amrnb ) (encoders: libopencore_amrnb )
     D.A.L. amr_wb               AMR-WB (Adaptive Multi-Rate WideBand) (decoders: amrwb libopencore_amrwb )
     D.A..S ape                  Monkey's Audio
     D.A.L. atrac1               Atrac 1 (Adaptive TRansform Acoustic Coding)
     D.A.L. atrac3               Atrac 3 (Adaptive TRansform Acoustic Coding 3)
     ..A.L. atrac3p              Sony ATRAC3+
     D.A.L. binkaudio_dct        Bink Audio (DCT)
     D.A.L. binkaudio_rdft       Bink Audio (RDFT)
     D.A.L. bmv_audio            Discworld II BMV audio
     ..A.L. celt                 Constrained Energy Lapped Transform (CELT)
     DEA.L. comfortnoise         RFC 3389 Comfort Noise
     D.A.L. cook                 Cook / Cooker / Gecko (RealAudio G2)
     D.A.L. dsicinaudio          Delphine Software International CIN audio
     DEA.LS dts                  DCA (DTS Coherent Acoustics) (decoders: dca ) (encoders: dca )
     ..A.L. dvaudio
     DEA.L. eac3                 ATSC A/52B (AC-3, E-AC-3)
     D.A.L. evrc                 EVRC (Enhanced Variable Rate Codec)
     DEA..S flac                 FLAC (Free Lossless Audio Codec)
     DEA.L. g723_1               G.723.1
     D.A.L. g729                 G.729
     D.A.L. gsm                  GSM
     D.A.L. gsm_ms               GSM Microsoft variant
     D.A.L. iac                  IAC (Indeo Audio Coder)
     ..A.L. ilbc                 iLBC (Internet Low Bitrate Codec)
     D.A.L. imc                  IMC (Intel Music Coder)
     D.A.L. interplay_dpcm       DPCM Interplay
     D.A.L. mace3                MACE (Macintosh Audio Compression/Expansion) 3:1
     D.A.L. mace6                MACE (Macintosh Audio Compression/Expansion) 6:1
     D.A..S mlp                  MLP (Meridian Lossless Packing)
     D.A.L. mp1                  MP1 (MPEG audio layer 1) (decoders: mp1 mp1float )
     DEA.L. mp2                  MP2 (MPEG audio layer 2) (decoders: mp2 mp2float )
     DEA.L. mp3                  MP3 (MPEG audio layer 3) (decoders: mp3 mp3float ) (encoders: libmp3lame )
     D.A.L. mp3adu               ADU (Application Data Unit) MP3 (MPEG audio layer 3) (decoders: mp3adu mp3adufloat )
     D.A.L. mp3on4               MP3onMP4 (decoders: mp3on4 mp3on4float )
     D.A..S mp4als               MPEG-4 Audio Lossless Coding (ALS) (decoders: als )
     D.A.L. musepack7            Musepack SV7 (decoders: mpc7 )
     D.A.L. musepack8            Musepack SV8 (decoders: mpc8 )
     DEA.L. nellymoser           Nellymoser Asao
     ..A.L. opus                 Opus (Opus Interactive Audio Codec)
     D.A.L. paf_audio            Amazing Studio Packed Animation File Audio
     DEA.L. pcm_alaw             PCM A-law / G.711 A-law
     D.A..S pcm_bluray           PCM signed 16|20|24-bit big-endian for Blu-ray media
     D.A..S pcm_dvd              PCM signed 20|24-bit big-endian
     DEA..S pcm_f32be            PCM 32-bit floating point big-endian
     DEA..S pcm_f32le            PCM 32-bit floating point little-endian
     DEA..S pcm_f64be            PCM 64-bit floating point big-endian
     DEA..S pcm_f64le            PCM 64-bit floating point little-endian
     D.A..S pcm_lxf              PCM signed 20-bit little-endian planar
     DEA.L. pcm_mulaw            PCM mu-law / G.711 mu-law
     DEA..S pcm_s16be            PCM signed 16-bit big-endian
     DEA..S pcm_s16be_planar     PCM signed 16-bit big-endian planar
     DEA..S pcm_s16le            PCM signed 16-bit little-endian
     DEA..S pcm_s16le_planar     PCM signed 16-bit little-endian planar
     DEA..S pcm_s24be            PCM signed 24-bit big-endian
     DEA..S pcm_s24daud          PCM D-Cinema audio signed 24-bit
     DEA..S pcm_s24le            PCM signed 24-bit little-endian
     DEA..S pcm_s24le_planar     PCM signed 24-bit little-endian planar
     DEA..S pcm_s32be            PCM signed 32-bit big-endian
     DEA..S pcm_s32le            PCM signed 32-bit little-endian
     DEA..S pcm_s32le_planar     PCM signed 32-bit little-endian planar
     DEA..S pcm_s8               PCM signed 8-bit
     DEA..S pcm_s8_planar        PCM signed 8-bit planar
     DEA..S pcm_u16be            PCM unsigned 16-bit big-endian
     DEA..S pcm_u16le            PCM unsigned 16-bit little-endian
     DEA..S pcm_u24be            PCM unsigned 24-bit big-endian
     DEA..S pcm_u24le            PCM unsigned 24-bit little-endian
     DEA..S pcm_u32be            PCM unsigned 32-bit big-endian
     DEA..S pcm_u32le            PCM unsigned 32-bit little-endian
     DEA..S pcm_u8               PCM unsigned 8-bit
     D.A.L. pcm_zork             PCM Zork
     D.A.L. qcelp                QCELP / PureVoice
     D.A.L. qdm2                 QDesign Music Codec 2
     ..A.L. qdmc                 QDesign Music
     DEA.L. ra_144               RealAudio 1.0 (14.4K) (decoders: real_144 ) (encoders: real_144 )
     D.A.L. ra_288               RealAudio 2.0 (28.8K) (decoders: real_288 )
     D.A..S ralf                 RealAudio Lossless
     DEA.L. roq_dpcm             DPCM id RoQ
     D.A.L. s302m                SMPTE 302M
     D.A..S shorten              Shorten
     D.A.L. sipr                 RealAudio SIPR / ACELP.NET
     D.A.L. smackaudio           Smacker audio (decoders: smackaud )
     ..A.L. smv                  SMV (Selectable Mode Vocoder)
     D.A.L. sol_dpcm             DPCM Sol
     DEA... sonic                Sonic
     .EA... sonicls              Sonic lossless
     ..A.L. speex                Speex
     D.A..S tak                  TAK (Tom's lossless Audio Kompressor)
     D.A..S truehd               TrueHD
     D.A.L. truespeech           DSP Group TrueSpeech
     D.A..S tta                  TTA (True Audio)
     D.A.L. twinvq               VQF TwinVQ
     D.A.L. vima                 LucasArts VIMA audio
     D.A.L. vmdaudio             Sierra VMD audio
     DEA.L. vorbis               Vorbis (decoders: vorbis libvorbis ) (encoders: vorbis libvorbis )
     ..A.L. voxware              Voxware RT29 Metasound
     D.A... wavesynth            Wave synthesis pseudo-codec
     D.A.LS wavpack              WavPack
     D.A.L. westwood_snd1        Westwood Audio (SND1) (decoders: ws_snd1 )
     D.A..S wmalossless          Windows Media Audio Lossless
     D.A.L. wmapro               Windows Media Audio 9 Professional
     DEA.L. wmav1                Windows Media Audio 1
     DEA.L. wmav2                Windows Media Audio 2
     D.A.L. wmavoice             Windows Media Audio Voice
     D.A.L. xan_dpcm             DPCM Xan
     ..D... klv                  SMPTE 336M Key-Length-Value (KLV) metadata
     DES... dvb_subtitle         DVB subtitles (decoders: dvbsub ) (encoders: dvbsub )
     ..S... dvb_teletext         DVB teletext
     DES... dvd_subtitle         DVD subtitles (decoders: dvdsub ) (encoders: dvdsub )
     ..S... eia_608              EIA-608 closed captions
     D.S... hdmv_pgs_subtitle    HDMV Presentation Graphic Stream subtitles (decoders: pgssub )
     D.S... jacosub              JACOsub subtitle
     D.S... microdvd             MicroDVD subtitle
     DES... mov_text             MOV text
     D.S... mpl2                 MPL2 subtitle
     D.S... pjs                  PJS (Phoenix Japanimation Society) subtitle
     D.S... realtext             RealText subtitle
     D.S... sami                 SAMI subtitle
     DES... srt                  SubRip subtitle with embedded timing
     DES... ssa                  SSA (SubStation Alpha) / ASS (Advanced SSA) subtitle (decoders: ass ) (encoders: ass )
     DES... subrip               SubRip subtitle
     D.S... subviewer            SubViewer subtitle
     D.S... subviewer1           SubViewer v1 subtitle
     D.S... text                 raw UTF-8 text
     D.S... vplayer              VPlayer subtitle
     D.S... webvtt               WebVTT subtitle
     DES... xsub                 XSUB
  3. yoogie27
    Member
    Posted 1 year ago #

    # ffmpeg -formats
    ffmpeg version git-2013-01-28-1336382 Copyright (c) 2000-2013 the FFmpeg developers
      built on Jan 28 2013 22:10:34 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
      configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
      libavutil      52. 17.100 / 52. 17.100
      libavcodec     54. 91.100 / 54. 91.100
      libavformat    54. 61.104 / 54. 61.104
      libavdevice    54.  3.102 / 54.  3.102
      libavfilter     3. 34.101 /  3. 34.101
      libswscale      2.  2.100 /  2.  2.100
      libswresample   0. 17.102 /  0. 17.102
      libpostproc    52.  2.100 / 52.  2.100
    File formats:
     D. = Demuxing supported
     .E = Muxing supported
     --
      E 3g2             3GP2 (3GPP2 file format)
      E 3gp             3GP (3GPP file format)
     D  4xm             4X Technologies
      E a64             a64 - video for Commodore 64
     D  aac             raw ADTS AAC (Advanced Audio Coding)
     DE ac3             raw AC-3
     D  act             ACT Voice file format
     D  adf             Artworx Data Format
      E adts            ADTS AAC (Advanced Audio Coding)
     DE adx             CRI ADX
     D  aea             MD STUDIO audio
     D  afc             AFC
     DE aiff            Audio IFF
     DE alaw            PCM A-law
     DE amr             3GPP AMR
     D  anm             Deluxe Paint Animation
     D  apc             CRYO APC
     D  ape             Monkey's Audio
     D  aqtitle         AQTitle subtitles
     DE asf             ASF (Advanced / Active Streaming Format)
      E asf_stream      ASF (Advanced / Active Streaming Format)
     DE ass             SSA (SubStation Alpha) subtitle
     DE ast             AST (Audio Stream)
     DE au              Sun AU
     DE avi             AVI (Audio Video Interleaved)
      E avm2            SWF (ShockWave Flash) (AVM2)
     D  avr             AVR (Audio Visual Research)
     D  avs             AVS
     D  bethsoftvid     Bethesda Softworks VID
     D  bfi             Brute Force & Ignorance
     D  bin             Binary text
     D  bink            Bink
     DE bit             G.729 BIT file format
     D  bmv             Discworld II BMV
     D  brstm           BRSTM (Binary Revolution Stream)
     D  c93             Interplay C93
     DE caf             Apple CAF (Core Audio Format)
     DE cavsvideo       raw Chinese AVS (Audio Video Standard) video
     D  cdg             CD Graphics
     D  cdxl            Commodore CDXL video
     D  concat          Virtual concatenation script
      E crc             CRC testing
     DE daud            D-Cinema audio
     D  dfa             Chronomaster DFA
     DE dirac           raw Dirac
     DE dnxhd           raw DNxHD (SMPTE VC-3)
     D  dsicin          Delphine Software International CIN
     DE dts             raw DTS
     D  dtshd           raw DTS-HD
     DE dv              DV (Digital Video)
     D  dv1394          DV1394 A/V grab
      E dvd             MPEG-2 PS (DVD VOB)
     D  dxa             DXA
     D  ea              Electronic Arts Multimedia
     D  ea_cdata        Electronic Arts cdata
     DE eac3            raw E-AC-3
     D  epaf            Ensoniq Paris Audio File
     DE f32be           PCM 32-bit floating-point big-endian
     DE f32le           PCM 32-bit floating-point little-endian
      E f4v             F4V Adobe Flash Video
     DE f64be           PCM 64-bit floating-point big-endian
     DE f64le           PCM 64-bit floating-point little-endian
     D  fbdev           Linux framebuffer
     DE ffm             FFM (FFserver live feed)
     DE ffmetadata      FFmpeg metadata in text
     D  film_cpk        Sega FILM / CPK
     DE filmstrip       Adobe Filmstrip
     DE flac            raw FLAC
     D  flic            FLI/FLC/FLX animation
     DE flv             FLV (Flash Video)
      E framecrc        framecrc testing
      E framemd5        Per-frame MD5 testing
     D  frm             Megalux Frame
     DE g722            raw G.722
     DE g723_1          raw G.723.1
     D  g729            G.729 raw format demuxer
     DE gif             GIF Animation
     D  gsm             raw GSM
     DE gxf             GXF (General eXchange Format)
     DE h261            raw H.261
     DE h263            raw H.263
     DE h264            raw H.264 video
      E hls             Apple HTTP Live Streaming
     D  hls,applehttp   Apple HTTP Live Streaming
     DE ico             Microsoft Windows ICO
     D  idcin           id Cinematic
     D  idf             iCE Draw File
     D  iff             IFF (Interchange File Format)
     DE ilbc            iLBC storage
     DE image2          image2 sequence
     DE image2pipe      piped image2 sequence
     D  ingenient       raw Ingenient MJPEG
     D  ipmovie         Interplay MVE
      E ipod            iPod H.264 MP4 (MPEG-4 Part 14)
     DE ircam           Berkeley/IRCAM/CARL Sound Format
      E ismv            ISMV/ISMA (Smooth Streaming)
     D  iss             Funcom ISS
     D  iv8             IndigoVision 8000 video
     DE ivf             On2 IVF
     DE jacosub         JACOsub subtitle format
     D  jv              Bitmap Brothers JV
     DE latm            LOAS/LATM
     D  lavfi           Libavfilter virtual input device
     D  lmlm4           raw lmlm4
     D  loas            LOAS AudioSyncStream
     D  lvf             LVF
     D  lxf             VR native stream (LXF)
     DE m4v             raw MPEG-4 video
      E matroska        Matroska
     D  matroska,webm   Matroska / WebM
      E md5             MD5 testing
     D  mgsts           Metal Gear Solid: The Twin Snakes
     DE microdvd        MicroDVD subtitle format
     DE mjpeg           raw MJPEG video
      E mkvtimestamp_v2 extract pts as timecode v2 format, as defined by mkvtoolnix
     DE mlp             raw MLP
     D  mm              American Laser Games MM
     DE mmf             Yamaha SMAF
      E mov             QuickTime / MOV
     D  mov,mp4,m4a,3gp,3g2,mj2 QuickTime / MOV
      E mp2             MP2 (MPEG audio layer 2)
     DE mp3             MP3 (MPEG audio layer 3)
      E mp4             MP4 (MPEG-4 Part 14)
     D  mpc             Musepack
     D  mpc8            Musepack SV8
     DE mpeg            MPEG-1 Systems / MPEG program stream
      E mpeg1video      raw MPEG-1 video
      E mpeg2video      raw MPEG-2 video
     DE mpegts          MPEG-TS (MPEG-2 Transport Stream)
     D  mpegtsraw       raw MPEG-TS (MPEG-2 Transport Stream)
     D  mpegvideo       raw MPEG video
      E mpjpeg          MIME multipart JPEG
     D  mpl2            MPL2 subtitles
     D  mpsub           MPlayer subtitles
     D  msnwctcp        MSN TCP Webcam stream
     D  mtv             MTV
     DE mulaw           PCM mu-law
     D  mv              Silicon Graphics Movie
     D  mvi             Motion Pixels MVI
     DE mxf             MXF (Material eXchange Format)
      E mxf_d10         MXF (Material eXchange Format) D-10 Mapping
     D  mxg             MxPEG clip
     D  nc              NC camera feed
     D  nistsphere      NIST SPeech HEader REsources
     D  nsv             Nullsoft Streaming Video
      E null            raw null video
     DE nut             NUT
     D  nuv             NuppelVideo
     DE ogg             Ogg
     DE oma             Sony OpenMG audio
     DE oss             OSS (Open Sound System) playback
     D  paf             Amazing Studio Packed Animation File
     D  pjs             PJS (Phoenix Japanimation Society) subtitles
     D  pmp             Playstation Portable PMP
      E psp             PSP MP4 (MPEG-4 Part 14)
     D  psxstr          Sony Playstation STR
     D  pva             TechnoTrend PVA
     D  pvf             PVF (Portable Voice Format)
     D  qcp             QCP
     D  r3d             REDCODE R3D
     DE rawvideo        raw video
      E rcv             VC-1 test bitstream
     D  realtext        RealText subtitle format
     D  rl2             RL2
     DE rm              RealMedia
     DE roq             raw id RoQ
     D  rpl             RPL / ARMovie
     DE rso             Lego Mindstorms RSO
     DE rtp             RTP output
     DE rtsp            RTSP output
     DE s16be           PCM signed 16-bit big-endian
     DE s16le           PCM signed 16-bit little-endian
     DE s24be           PCM signed 24-bit big-endian
     DE s24le           PCM signed 24-bit little-endian
     DE s32be           PCM signed 32-bit big-endian
     DE s32le           PCM signed 32-bit little-endian
     DE s8              PCM signed 8-bit
     D  sami            SAMI subtitle format
     DE sap             SAP output
     D  sbg             SBaGen binaural beats script
     D  sdp             SDP
      E segment         segment
     D  shn             raw Shorten
     D  siff            Beam Software SIFF
     DE smjpeg          Loki SDL MJPEG
     D  smk             Smacker
      E smoothstreaming Smooth Streaming Muxer
     D  smush           LucasArts Smush
     D  sol             Sierra SOL
     DE sox             SoX native
     DE spdif           IEC 61937 (used on S/PDIF - IEC958)
     DE srt             SubRip subtitle
      E stream_segment,ssegment streaming segment muxer
     D  subviewer       SubViewer subtitle format
     D  subviewer1      SubViewer v1 subtitle format
      E svcd            MPEG-2 PS (SVCD)
     DE swf             SWF (ShockWave Flash)
     D  tak             raw TAK
     D  tedcaptions     TED Talks captions
     D  thp             THP
     D  tiertexseq      Tiertex Limited SEQ
     D  tmv             8088flex TMV
     DE truehd          raw TrueHD
     D  tta             TTA (True Audio)
     D  tty             Tele-typewriter
     D  txd             Renderware TeXture Dictionary
     DE u16be           PCM unsigned 16-bit big-endian
     DE u16le           PCM unsigned 16-bit little-endian
     DE u24be           PCM unsigned 24-bit big-endian
     DE u24le           PCM unsigned 24-bit little-endian
     DE u32be           PCM unsigned 32-bit big-endian
     DE u32le           PCM unsigned 32-bit little-endian
     DE u8              PCM unsigned 8-bit
     D  vc1             raw VC-1
     D  vc1test         VC-1 test bitstream
      E vcd             MPEG-1 Systems / MPEG program stream (VCD)
     D  video4linux2,v4l2 Video4Linux2 device grab
     D  vivo            Vivo
     D  vmd             Sierra VMD
      E vob             MPEG-2 PS (VOB)
     D  vobsub          VobSub subtitle format
     DE voc             Creative Voice
     D  vplayer         VPlayer subtitles
     D  vqf             Nippon Telegraph and Telephone Corporation (NTT) TwinVQ
     DE w64             Sony Wave64
     DE wav             WAV / WAVE (Waveform Audio)
     D  wc3movie        Wing Commander III movie
      E webm            WebM
     D  webvtt          WebVTT subtitle
     D  wsaud           Westwood Studios audio
     D  wsvqa           Westwood Studios VQA
     DE wtv             Windows Television (WTV)
     DE wv              WavPack
     D  xa              Maxis XA
     D  xbin            eXtended BINary text (XBIN)
     D  xmv             Microsoft XMV
     D  xwma            Microsoft xWMA
     D  yop             Psygnosis YOP
     DE yuv4mpegpipe    YUV4MPEG pipe
    # ffmpeg -i ../../blogs.dir/3/files/CK-TA-12-12-2012.mp4 ffmpeg version git-2013-01-28-1336382 Copyright (c) 2000-2013 the FFmpeg developers
      built on Jan 28 2013 22:10:34 with gcc 4.6 (Ubuntu/Linaro 4.6.3-1ubuntu5)
      configuration: --enable-gpl --enable-libass --enable-libfaac --enable-libfdk-aac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-librtmp --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-nonfree --enable-version3
      libavutil      52. 17.100 / 52. 17.100
      libavcodec     54. 91.100 / 54. 91.100
      libavformat    54. 61.104 / 54. 61.104
      libavdevice    54.  3.102 / 54.  3.102
      libavfilter     3. 34.101 /  3. 34.101
      libswscale      2.  2.100 /  2.  2.100
      libswresample   0. 17.102 /  0. 17.102
      libpostproc    52.  2.100 / 52.  2.100
    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '../../blogs.dir/3/files/CK-TA-12-12-2012.mp4':
      Metadata:
        major_brand     : mp42
        minor_version   : 1
        compatible_brands: M4V mp42isom
        creation_time   : 2012-12-11 08:22:00
      Duration: 00:12:13.93, start: 0.000000, bitrate: 161 kb/s
        Stream #0:0(eng): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1400x1050 [SAR 1:1 DAR 4:3], 105 kb/s, 15 fps, 15 tbr, 15k tbn, 30 tbc
        Metadata:
          creation_time   : 2012-12-11 08:22:00
          handler_name    : Video Media Handler
        Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 53 kb/s
        Metadata:
          creation_time   : 2012-12-11 08:22:00
          handler_name    : Sound Media Handler
    At least one output file must be specified
  4. Kyle Gilman
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks for catching that volume bug! I'm working on a fix for that to release right away.

    The FFMPEG troubleshooting will take a little more time but I'll get to the bottom of it. At first glance your configuration is not particularly different from mine, but you're working with a newer version of FFMPEG, which might be the problem. I have to deal with servers that don't update FFMPEG for years at a time and savvy people such as yourself who are able to keep it current. The program often changes in subtle ways that are hard to figure out.

  5. Kyle Gilman
    Member
    Plugin Author

    Posted 1 year ago #

    On closer reading, I can see that you figured out the problem already. Older versions of FFMPEG used to include the Metadata after that list of libs even if you used the -codecs flag. I think I have a solution. Would you mind trying out the development version of the plugin? http://plugins.svn.wordpress.org/video-embed-thumbnail-generator/trunk/ You just need to replace the video-embed-thumbnail-generator.php file

  6. yoogie27
    Member
    Posted 1 year ago #

    Sure, will report back soon. Thanks for being so quick in replying. Much appreciated

  7. yoogie27
    Member
    Posted 1 year ago #

    Ok, the thumbnail generation bug is fixed. Unfortunately it still does not seem to convert any video...
    Any idea what I could try?

  8. Kyle Gilman
    Member
    Plugin Author

    Posted 1 year ago #

    Progress!

    Try the current version in the trunk. If all goes well, you should get an alert after you hit the encode button. Copy that text and try running it from the command line. Let me know what kind of errors you get at any step in the process.

  9. yoogie27
    Member
    Posted 1 year ago #

    Alright! I have tried it with the file already in the queue, but it just told me that it is still in the queue at position 1. I have removed the file and reuploaded with a different name, but this got queued at two and I have no chance to remove the first one...
    I have emptied the queue within the database manually and ran the encode again. This message popped up straight away:

    > /var/www/wp-content/blogs.dir/3/files/CK-TA-12-12-2012_2_720_0786_encode.txt 2>&1 & echo $!

    Within this file I read the following:
    nohup: failed to run command 'nice': Permission denied

    Nice one. That one was due to apparmor :).

    But running the same again, the content of the file now shows 19.... Something else must be wrong..

  10. Kyle Gilman
    Member
    Plugin Author

    Posted 1 year ago #

    For future reference, you should be able to see (and clear) the Video Encode Queue from the Tools menu.

    What we're seeing there is no FFMPEG command at all. It's just sending the PID to the log file, which is why you got that 19 in there.

    I've updated the file in trunk to give a new alert that should be an FFMPEG command. I suspect that escapeshellcmd is stripping out the whole command so I'm trying to grab the info from further up the stream.

  11. yoogie27
    Member
    Posted 1 year ago #

    Well, it is the first item in the queue and there are no action buttons. I guess it is thinking that the item is active and there is no way to stop or delete the entry other than within the database...
    the command is the following:
    /usr/local/bin/ffmpeg -y -i "/var/www/wp-content/blogs.dir/3/files/CK-TA-12-12-2012_2.mp4" -acodec libfaac -ab 128k -s 960x720 -vcodec libx264 -threads 1 -b 1980k -bt 800k -f ipod "/var/www/wp-content/blogs.dir/3/files/CK-TA-12-12-2012_2-720.m4v"

    The output is as follows..
    Please use -b:a or -b:v, -b is ambiguous

    If I replace -b with -b:v (which I guess was the correct parameter, then it translates the command.

    By the way, I guess this is the last issue. You mentioning escapeshellcmd reminded me of something... This function was in the disabled_functions parameter in the php.ini. I have removed it from there, put them in the suhosin configuration as blacklisted_functions and enabled it within the Nginx location. Now that part seems to work fine. Only issue is the parameter. Guess I could override it myself, but the next update would crap it out again.

    Guess that newer versions of ffmpeg have adopted the scheme of avconv, so line 2229 must have another option for newer ffmpeg versions... Sorry bout that :)

    Let me give it a try:
    Tadaaa, working!

    Awesome! Thanks a lot for your help! Really appreciated!!

  12. Kyle Gilman
    Member
    Plugin Author

    Posted 1 year ago #

    Oh right. If it thinks it's encoding the queue page wouldn't let you clear that entry.

    FFMPEG has been warning about -b for a while but always let it through in the past. And of course -b:v doesn't work at all with versions from a few years ago. I tried adding it in last year and it caused some trouble. I'm going to combine -b with the -vpre option as "legacy" support and we'll see how that goes.

  13. yoogie27
    Member
    Posted 1 year ago #

    I described briefly what I did with the disabled_functions. I wanted those "dangerous" commands being disabled, but being able to enable them for single virtual hosts.

    This is what I did (and I hope it will help others):

    In the appropriate php.ini, search for the line starting with "disable_functions = "
    Remove all function names which you want to allow on a conditional basis.

    Check that suhosin is enabled and edit the suhosin.ini file:
    suhosin.executor.func.blacklist = "exec,passthru,shell_exec,escapeshellcmd,escapeshellarg"

    This ensures that those are stil generally blocked; with one difference: "disabled_functions" cannot be overridden, but the suhosin flags can.

    So for example with Nginx, you can have something like this:
    fastcgi_param PHP_VALUE "suhosin.executor.func.blacklist = passthru,shell_exec";

    ...which would enable exec, escapeshellcmd and escapeshellarg there.

  14. Kyle Gilman
    Member
    Plugin Author

    Posted 1 year ago #

    This is all very helpful. I didn't realize that escapeshellcmd would be disabled for security reasons. I'm going to implement a check for escapeshellcmd so other people don't have to go through all that troubleshooting.

  15. yoogie27
    Member
    Posted 1 year ago #

    You(!) have been really helpful. Thanks a lot for your help!!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.