Recherche avancée

Médias (91)

Autres articles (41)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

Sur d’autres sites (5602)

  • Anomalie #3894 : Jointures (erronées ?) avec les boucles documents et leurs critères

    26 janvier 2017, par tcharlss (*´_ゝ`)

    J’ai testé avec divers objets que j’avais sous la main pour voir, on reprenant le même procédé :

    • un document attaché à 2 objets, vu=oui pour le N°1, et vu=non pour le N°2
    • id_patate=1 dans l’URL
    • {id_patate?}{vu=non} dans la boucle

    Ça n’a fait la bonne jointure que pour 1 seul objet, donc c’est plutôt une exception on dirait.
    Rigolo : le nom de la jointure superflue s’incrémente entre chaque test, j’ai fini à L8 ! (L5 je l’ai enlevé, c’était sur les auteurs, donc même ambiguïté que pour les mots clés)

    Album [OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L1.id_objet = 1)
        AND (L1.objet = ’album’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Brève [PAS OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L2 ON ( L2.id_document = documents.id_document ) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L2.id_objet = 1)
        AND (L2.objet = ’breve’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Forum [PAS OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L3 ON ( L3.id_document = documents.id_document ) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L3.id_objet = 1)
        AND (L3.objet = ’forum’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Mot [PAS OK] (là c’est un peu spécial car il y a une ambiguïté avec mots_liens) :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_mots_liens AS L4 ON ( L4.id_objet = documents.id_document AND L4.objet=’document’) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L4.id_mot = 1)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Abonnement [PAS OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L6 ON ( L6.id_document = documents.id_document ) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L6.id_objet = 1)
        AND (L6.objet = ’abonnement’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Ticket [PAS OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L7 ON ( L7.id_document = documents.id_document ) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L7.id_objet = 1)
        AND (L7.objet = ’ticket’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    

    Adresse [PAS OK] :

    SELECT documents.fichier
    FROM spip_documents AS `documents`  
    INNER JOIN spip_documents_liens AS L8 ON ( L8.id_document = documents.id_document ) 
    INNER JOIN spip_documents_liens AS L1 ON ( L1.id_document = documents.id_document )
    WHERE (documents.taille > 0 OR documents.distant=’oui’)
        AND (L8.id_objet = 1)
        AND (L8.objet = ’adresse’)
        AND (L1.vu = ’non’)
    GROUP BY documents.id_document
    
  • Connection timed out error for ffmpeg libraries installation

    12 mai 2015, par Kiran Kumar Dash

    I am trying to compile ffmpeg on my centos server. Here is the link I am using as a reference :

    https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

    Here is the command I entered :

    git clone --depth 1 git://source.ffmpeg.org/ffmpeg

    And this is the error message that popped up

    Initialized empty Git repository in /root/ffmpeg_sources/ffmpeg/.git/
    source.ffmpeg.org[0: 2a01:e0d:1:3:58bf:fa76:0:1]: errno=Connection timed out
    source.ffmpeg.org[0: 88.191.250.118]: errno=Connection timed out
    fatal: unable to connect a socket (Connection timed out)

    PLease help why is it coming and what can be done to avoid

  • Combining Audio and Video file in python [duplicate]

    8 juin 2020, par yso

    I'm trying to understand how to us ffmpeg to combine video and audio files in python. I want to combine a .avi file and a .wav file to create a final .avi file. Is this the right approach ? I'm confused by the ffmpeg syntax.
Any help would be great.

    



    I was looking through this for help :
https://wiki.libav.org/Snippets/avconv#Combine_audio_and_video_file

    



    import ffmpeg
import subprocess

cmd = 'ffmpeg -i inputvideo.avi -i inputaudio.wav -c:v copy -c:a aac output_video_and audio.avi'
subprocess.call(cmd, shell=True)                                     # "Muxing Done
print('Muxing Done')