Recherche avancée

Médias (0)

Mot : - Tags -/interaction

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (39)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (7995)

  • Ffmpeg not fully functioning

    26 août 2014, par Joshua

    Hello i have problem with ffmpeg i’m using phpvibe cms already asked in their forums but they don’t know the answer which leads me that it’s probably my fault so the problem is when i upload :

    6 seconds avi video which weights 817 KB it uploads perfectlly plays like it should run.

    However when i try upload 12mb avi sample i see that it does not work in folder where should be that video converted it shows 0kb size

    That means it didn’t start converting somewhow i think this is ffmpeg issue also i have spoted that my ffmpeg is placed in /usr/local/bin/ and in phpvibe cms systems there is different location for ffmpeg it looks like this : Img link

    Why when i upload small avi video it converts good and when i try longer it fails maybe it converts while upload process is going on but than why it shows 0b in folder where converted videos should be placed ?

    P.s i tried couple avi videos that weights more than 10 mb same thing and my code for ffmpeg conversation is :

    $output ="{ffmpeg-cmd} -i {input} -vcodec libx264 -s {ffmpeg-vsize} -threads 4 -movflags faststart {output}.mp4";

    Also tried :

    output ="{ffmpeg-cmd} -i {input} -vcodec libx264 -s {ffmpeg-vsize} -threads 4 {output}.mp4 2>&1";

    Same thing + im using Debian 7 Wheezy. Thanks !

    EDIT :

    i have made a test script it gives this output :

    array(21) {
     [0]=>
     string(83) "ffmpeg version git-2014-08-25-bb29896 Copyright (c) 2000-2014 the FFmpeg developers"
     [1]=>
     string(61) "  built on Aug 25 2014 19:52:12 with gcc 4.7 (Debian 4.7.2-5)"
     [2]=>
     string(62) "  configuration: --enable-shared --enable-libx264 --enable-gpl"
     [3]=>
     string(40) "  libavutil      54.  7.100 / 54.  7.100"
     [4]=>
     string(40) "  libavcodec     56.  0.101 / 56.  0.101"
     [5]=>
     string(40) "  libavformat    56.  3.100 / 56.  3.100"
     [6]=>
     string(40) "  libavdevice    56.  0.100 / 56.  0.100"
     [7]=>
     string(40) "  libavfilter     5.  0.103 /  5.  0.103"
     [8]=>
     string(40) "  libswscale      3.  0.100 /  3.  0.100"
     [9]=>
     string(40) "  libswresample   1.  1.100 /  1.  1.100"
     [10]=>
     string(40) "  libpostproc    53.  0.100 / 53.  0.100"
     [11]=>
     string(31) "Input #0, avi, from 'test.avi':"
     [12]=>
     string(11) "  Metadata:"
     [13]=>
     string(36) "    encoder         : Nandub v1.0rc2"
     [14]=>
     string(60) "  Duration: 00:01:09.78, start: 0.000000, bitrate: 1517 kb/s"
     [15]=>
     string(126) "    Stream #0:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 640x352, 1279 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc"
     [16]=>
     string(83) "    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 222 kb/s"
     [17]=>
     string(87) "[libx264 @ 0x6c31e0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX"
     [18]=>
     string(44) "[libx264 @ 0x6c31e0] profile High, level 3.0"
     [19]=>
     string(649) "[libx264 @ 0x6c31e0] 264 - core 124 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
     [20]=>
     string(131) "[aac @ 0x6c3c20] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it."
    }
    int(1)

    i get this output with this :

    $output ="{ffmpeg-cmd} -y -i {input} {output}.mp4 2<&1"";

    simple ffmpeg command also tried :

    $output ="{ffmpeg-cmd} -i {input} -vcodec libx264 -s {ffmpeg-vsize} -threads 4 {output}.mp4 2>&1";

    With this command it gives this output :

    array(21) {
     [0]=>
     string(83) "ffmpeg version git-2014-08-25-bb29896 Copyright (c) 2000-2014 the FFmpeg developers"
     [1]=>
     string(61) "  built on Aug 25 2014 19:52:12 with gcc 4.7 (Debian 4.7.2-5)"
     [2]=>
     string(62) "  configuration: --enable-shared --enable-libx264 --enable-gpl"
     [3]=>
     string(40) "  libavutil      54.  7.100 / 54.  7.100"
     [4]=>
     string(40) "  libavcodec     56.  0.101 / 56.  0.101"
     [5]=>
     string(40) "  libavformat    56.  3.100 / 56.  3.100"
     [6]=>
     string(40) "  libavdevice    56.  0.100 / 56.  0.100"
     [7]=>
     string(40) "  libavfilter     5.  0.103 /  5.  0.103"
     [8]=>
     string(40) "  libswscale      3.  0.100 /  3.  0.100"
     [9]=>
     string(40) "  libswresample   1.  1.100 /  1.  1.100"
     [10]=>
     string(40) "  libpostproc    53.  0.100 / 53.  0.100"
     [11]=>
     string(31) "Input #0, avi, from 'test.avi':"
     [12]=>
     string(11) "  Metadata:"
     [13]=>
     string(36) "    encoder         : Nandub v1.0rc2"
     [14]=>
     string(60) "  Duration: 00:01:09.78, start: 0.000000, bitrate: 1517 kb/s"
     [15]=>
     string(126) "    Stream #0:0: Video: msmpeg4v3 (DIV3 / 0x33564944), yuv420p, 640x352, 1279 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc"
     [16]=>
     string(83) "    Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, s16p, 222 kb/s"
     [17]=>
     string(88) "[libx264 @ 0x13046c0] using cpu capabilities: MMX2 SSE2Fast SSSE3 FastShuffle SSE4.2 AVX"
     [18]=>
     string(45) "[libx264 @ 0x13046c0] profile High, level 3.0"
     [19]=>
     string(650) "[libx264 @ 0x13046c0] 264 - core 124 - H.264/MPEG-4 AVC codec - Copyleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 deblock=1:0:0 analyse=0x3:0x113 me=hex subme=7 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=4 sliced_threads=0 nr=0 decimate=1 interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=23 scenecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmin=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00"
     [20]=>
     string(132) "[aac @ 0x13055a0] The encoder 'aac' is experimental but experimental codecs are not enabled, add '-strict -2' if you want to use it."
    }
    int(1)

    And also tried thi command :

    $output ="{ffmpeg-cmd} -i {input} -vcodec libx264 -s {ffmpeg-vsize} -threads 4 -movflags faststart {output}.mp4";

    And with this it gives :

       array(0) {
    }
    int(1)

    in all cases file that weitghs 12 mb doest not convert it’s 0kb in ftp

  • FFmpeg : Error occurred while encoding audio stream from ac3 to aac

    4 décembre 2015, par akki_2891

    I am using following command to encode my video to h264 and aac audio codec :

    ffmpeg -i sample.mp4 -codec:v libx264 -profile:v high -level:v 4.0 -codec:a libvo_aacenc -b:a 128k output_file.mp4

    Following is a trace of the error i am getting at the console.

    Input #0, mpegts, from 'sample.mp4':
     Duration: 00:00:58.08, start: 1.000033, bitrate: 17290 kb/s
     Program 1
       Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p, 1920x1
    080 [SAR 1:1 DAR 16:9], 29.97 fps, 59.94 tbr, 90k tbn, 59.94 tbc
       Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, 5.1(side), fl
    tp, 448 kb/s
       Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090)
    [libx264 @ 003dc660] using SAR=1/1
    [libx264 @ 003dc660] using cpu capabilities: MMX2 SSE2Fast SSSE3 SSE4.2 AVX
    [libx264 @ 003dc660] profile High, level 4.0
    [libx264 @ 003dc660] 264 - core 130 r2274 c832fe9 - H.264/MPEG-4 AVC codec - Cop
    yright 2003-2013 - http://www.videolan.org/x264.html - options: cabac=1 ref=3 de
    block=1:0:0 analyse=0x3:0x113 me=hex subme=7 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 chr
    oma_qp_offset=-2 threads=12 lookahead_threads=2 sliced_threads=0 nr=0 decimate=1
    interlaced=0 bluray_compat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=
    1 b_bias=0 direct=1 weightb=1 open_gop=0 weightp=2 keyint=250 keyint_min=25 scen
    ecut=40 intra_refresh=0 rc_lookahead=40 rc=crf mbtree=1 crf=23.0 qcomp=0.60 qpmi
    n=0 qpmax=69 qpstep=4 ip_ratio=1.40 aq=1:1.00
    [libvo_aacenc @ 03c3c640] Unable to set encoding parameters
    Output #0, mp4, to 'output_file.mp4':
       Stream #0:0: Video: h264, yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], q=-1--1, 90
    k tbn, 29.97 tbc
       Stream #0:1: Audio: aac, 48000 Hz, 5.1(side), s16, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 -> libx264)
     Stream #0:1 -> #0:1 (ac3 -> libvo_aacenc)
    Error while opening encoder for output stream #0:1 - maybe incorrect parameters
    such as bit_rate, rate, width or height

    I am really not able to find what possibly could be wrong. I dont want to copy audio codec , i wish to encode it from ac3 to aac

    Also any suggestion to make it lossless

  • ffplay crashed on HLS streaming with toggled -an and -vn options

    19 septembre 2016, par oleg_otvorot

    When I try to start silent(without audio and video streams) playing of HLS (HTTP Live Streaming) by typing

    ffplay -an -vn -i "http://localhost:8080/video/find?startTime=
    1376716800000&endTime=1376717400000

    I get the next error message on my console :

    ffplay version N-67063-g282c935 Copyright (coffee) 2003-2014 the FFmpeg developers
     built on Oct 20 2014 22:10:09 with gcc 4.9.1 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
    isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
    le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
    enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
    modplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrw
    b --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinge
    r --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --en
    able-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis
    --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-
    libx265 --enable-libxavs --enable-libxvid --enable-zlib
     libavutil      54. 10.100 / 54. 10.100
     libavcodec     56.  8.102 / 56.  8.102
     libavformat    56.  9.101 / 56.  9.101
     libavdevice    56.  1.100 / 56.  1.100
     libavfilter     5.  2.100 /  5.  2.100
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    Input #0, hls,applehttp, from 'http://localhost:8080/video/find?startTime=137671
    6800000&endTime=1376717400000':
     Duration: 00:01:50.12, start: 1.418722, bitrate: 0 kb/s
     Program 0
       Metadata:
         variant_bitrate : 0
       Stream #0:0: Video: h264 (High) ([27][0][0][0] / 0x001B), yuv420p, 320x240 [
    SAR 19:32 DAR 19:24], 25 fps, 25 tbr, 90k tbn, 50 tbc
       Stream #0:1: Audio: aac ([15][0][0][0] / 0x000F), 44100 Hz, stereo, fltp, 14
    7 kb/s
    Failed to open file 'http://localhost:8080/video/find?startTime=1376716800000&en
    dTime=1376717400000' or configure filtergraph

    Is this bug or feature that ffplay can’t playing video without audio/video stream ? I need to run ffplay programmatically from my java test application to view loadout of my service.

    P.S : I also tried adding the options "-nodisp -an", but that provided the same result as mentioned above.