Recherche avancée

Médias (91)

Autres articles (53)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (4326)

  • Why does recoding video with FFMPEG on Windows always give an error ?

    13 février 2016, par ALexF

    I downloaded ffmpeg from http://ramiro.arrozcru.org/ffmpeg-vfwcap-noflip.7z
    and run it with the command line : ffmpeg -r 25 -f vfwcap -i 0 output.avi

    but always get the error :

    ffmpeg -r 25 -f vfwcap -i 0 output.avi
    FFmpeg version SVN-r22915, Copyright (c) 2000-2010 the FFmpeg developers
    built on Apr 20 2010 00:09:08 with gcc 4.4.2
    configuration : —enable-memalign-hack —cross-prefix=i686-mingw32- —cc=ccach
    -i686-mingw32-gcc —arch=i686 —target-os=mingw32 —enable-gpl —enable-libx264
    —enable-pthreads
    libavutil 50.14. 0 / 50.14. 0
    libavcodec 52.66. 0 / 52.66. 0
    libavformat 52.61. 0 / 52.61. 0
    libavdevice 52. 2. 0 / 52. 2. 0
    libswscale 0.10. 0 / 0.10. 0
    [vfwcap @ 012eba60]Could not connect to device.
    0 : Error number -19 occurred

    Why doesn’t this work ?

  • Python ffmpeg not working on heroku, no error but it just kind off freezes at that line

    17 octobre 2020, par MidasN74

    When I run the bot offline it just works but when i run it on the heroku server it doesn't. it prints the time right at the first time, then the bot connects to the channel and then it just freezes, i get no errors in the heroku logs, the bot just stays online. I've added the ffmpeg buildpack into the buildpacks in heroku and added ffmpeg to the requirements.txt. the time is also correct (i defined the time earlier using an other package) so it can asses the sound file but it just sort of freezes at the ffmep line and doesn't play the sound, and then doesn't print the time and doesn't disconnect.

    


    voice = await channel.connect()
print(time)
voice.play(discord.FFmpegPCMAudio(f'sounds/{arg}.mp3'))
print(time)
sleep(time)
await voice.disconnect()


    


  • Anomalie #4067 : Include manquant

    24 décembre 2017

    Call stack :

    ( ! ) Fatal error : Uncaught Error : Call to undefined function autoriser() in C :\wwwrootDev_mutualisation\spip31.pyrat.net\ecrire\public\quete.php on line 247
    ( ! ) Error : Call to undefined function autoriser() in C :\wwwrootDev_mutualisation\spip31.pyrat.net\ecrire\public\quete.php on line 247
    Call Stack
    # Time Memory Function Location
    1 0.0003 369744 main( ) ...\spip.php:0
    2 0.2321 8020856 include( ’C :\wwwrootDev_mutualisation\spip31.pyrat.net\ecrire\public.php’ ) ...\spip.php:26
    3 0.3603 12323200 include( ’C :\wwwrootDev_mutualisation\spip31.pyrat.net\ecrire\public\evaluer_page.php’ ) ...\public.php:157
    4 0.3603 12347808 eval( ’ ?> ’Sigles’, ’title’ => ’Définitions’, ’titretop’ => ’page_definitions’, ’type’ => ’sigles’, ’lang’ => ’fr’), array("compil"=>array(’plugins/soyezcreateurs/sigles.html’,’html_bc6f01a766b68726744d38216083725d’,’’,2,$GLOBALS[’spip_lang’])), _request("connect")) ; ?>
    Sigles
    GEDEK
    Gigabit Ethernet Data Exchange Kit. “Hardware Stack” Concept invented by ALSE, GEDEK ? is a processor-less autonomous block which implements the Ethnet protocols required to establish, maintain, and perform high performance data exchange over standard Ethernet.

    RGAA
    Référentiel Général pour l’Accessibilité des Administrations

    SPIP
    Système de Publication pour un Internet Participatif

    ’Sigles’, ’titretop’ => ’page_definitions’, ’lang’ => ’fr’), array("compil"=>array(’plugins/soyezcreateurs/sigles.html’,’html_bc6f01a766b68726744d38216083725d’,’’,21,$GLOBALS[’spip_lang’])), _request("connect")) ; ?> ’ ) ...\evaluer_page.php:51
    5 0.3604 12349144 recuperer_fond( ) ...\evaluer_page.php(51) : eval()’d code:6
    6 0.3604 12349640 evaluer_fond( ) ...\utils.php:3224
    7 0.3604 12349640 inclure_page( ) ...\assembler.php:602
    8 0.3608 12351408 public_produire_page_dist( ) ...\assembler.php:278
    9 0.3608 12351408 public_parametrer_dist( ) ...\assembler.php:314
    10 0.3633 12843144 html_50335ec5b4f7cf3b74936762b816286c( ) ...\parametrer.php:128
    11 0.3638 12843832 BOUCLE_LogoArticlehtml_50335ec5b4f7cf3b74936762b816286c( ) ...\html_50335ec5b4f7cf3b74936762b816286c.php:812
    12 0.3638 12845856 quete_condition_statut( ) ...\html_50335ec5b4f7cf3b74936762b816286c.php:151

    Squelette concerné : https://zone.spip.org/trac/spip-zone/browser/_squelettes_/soyezcreateurs_net/trunk/plugins/soyezcreateurs/noisettes/header/header.html
    Boucle : BOUCLE_LogoArticle

    Code fautif : la ligne quete_condition_statut(’articles.statut’,’publie,prop,prepa/auteur’,’publie’,’’), dans :

    function BOUCLE_LogoArticlehtml_50335ec5b4f7cf3b74936762b816286c(&$Cache, &$Pile, &$doublons, &$Numrows, $SP) 
    

    static $command = array() ;
    static $connect ;
    $command[’connect’] = $connect = ’’ ;if (!defined(’_DIR_PLUGIN_ACCESRESTREINT’))
    $link_empty = generer_url_ecrire(’admin_vider’) ; $link_plugin = generer_url_ecrire(’admin_plugin’) ;
    $message_fr = ’La restriction d\’acc&egrave ;s a ete desactiv&eacute ;e. Corriger le probl&egrave ;me ou vider le cache pour supprimer les restrictions.’ ;
    $message_en = ’Acces Restriction is now unusable. Correct this trouble or empty the cache to finish restriction removal.’ ;
    die($message_fr.’
    ’.$message_en) ;

    if (!isset($command[’table’]))
    $command[’table’] = ’articles’ ;
    $command[’id’] = ’_LogoArticle’ ;
    $command[’from’] = array(’articles’ => ’spip_articles’) ;
    $command[’type’] = array() ;
    $command[’groupby’] = array() ;
    $command[’select’] = array("articles.id_article",
    "articles.id_rubrique",
    "articles.id_article",
    "articles.lang",
    "articles.titre") ;
    $command[’orderby’] = array() ;
    $command[’join’] = array() ;
    $command[’limit’] = ’’ ;
    $command[’having’] =
    array() ;

    $command[’where’] =
    array(
    quete_condition_statut(’articles.statut’,’publie,prop,prepa/auteur’,’publie’,’’),
    quete_condition_postdates(’articles.date’,’’),
    array(’=’, ’articles.id_article’, sql_quote(@$Pile[0][’id_article’], ’’,’bigint(21) NOT NULL AUTO_INCREMENT’)), sql_in(’articles.id_article’, lister_objets_avec_logos(’id_article’), ’’), sql_in(’articles.id_article’, accesrestreint_liste_objets_exclus(’articles’, !test_espace_prive()), ’NOT’), sql_in(’articles.id_rubrique’, accesrestreint_liste_rubriques_exclues(!test_espace_prive()), ’NOT’)) ;
    if (defined("_BOUCLE_PROFILER")) $timer = time()+(float)microtime() ;
    $t0 = "" ;
    // REQUETE
    $iter = IterFactory::create(
    "SQL",
    $command,
    array(’plugins/soyezcreateurs/noisettes/header/header.html’,’html_50335ec5b4f7cf3b74936762b816286c’,’_LogoArticle’,9,$GLOBALS[’spip_lang’])
    ) ;
    if (!$iter->err())
    lang_select($GLOBALS[’spip_lang’]) ;
    $SP++ ;
    // RESULTATS
    while ($Pile[$SP]=$iter->fetch())

    lang_select_public($Pile[$SP][’lang’], ’’, $Pile[$SP][’titre’]) ;
    $t0 .= (($t1 = strval(url_absolue(extraire_attribut(
    ((!is_array($l = quete_logo(’id_article’, ’on’, $Pile[$SP][’id_article’],’’, 0))) ? ’’ :
    ("<img class=\"spip_logo spip_logos\" alt=\"\" src=\"$l[0]\"" . $l[2] .  ($l[1] ? " onmouseover=\"this.src='$l[1]'\" onmouseout=\"this.src='$l[0]'\"" : "") . ' />’)),’src’)))) !==’’ ?
    (’’) :
    ’’) ;
    lang_select() ;

    lang_select() ;
    $iter->free() ;

    if (defined("_BOUCLE_PROFILER")
    AND 1000*($timer = (time()+(float)microtime())-$timer) > _BOUCLE_PROFILER)
    spip_log(intval(1000*$timer)."ms BOUCLE_LogoArticle @ plugins/soyezcreateurs/noisettes/header/header.html","profiler"._LOG_AVERTISSEMENT) ;
    return $t0 ;