Recherche avancée

Médias (1)

Mot : - Tags -/berlin

Autres articles (77)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (11212)

  • ffmpeg with Popen (python) on Windows

    21 août 2018, par Gabrielle

    I am trying to use ffmpeg with Popen. The ffmpeg command I am trying works on cmd but gives me error with Popen.

    I am using the standalone ffmpeg .exe :

    ffmpeg -f gdigrab -offset_x 10 -offset_y 20 -show_region 1 -i desktop -video_size 1536x864 -b:v 2M -maxrate 1M -bufsize 1M -tune fastdecode -crf 15 -preset ultrafast -pix_fmt yuv420p -r 25 <path>/video.mov -qp 1 -y -an
    </path>

    This gives me Invalid argument, but if I remove the last parameters in order to make the output the last thing on the string, I get a different error :

    Output file #0 does not contain any stream

    I tried to use -f dshow -i video="UScreenCapture" instead of the gdigrab, but both give me the same error with and without the parameters in the end.

    Both commands work on command line.

    On command line this ffmpeg -list_devices true -f dshow -i dummy returns this :

    [dshow @ 000001b24fa6a300] DirectShow video devices (some may be both video and audio devices)
    [dshow @ 000001b24fa6a300]  "Integrated Webcam"
    [dshow @ 000001b24fa6a300]     Alternative name "@device_pnp_\\?\usb#vid_1bcf&amp;pid_2b8a&amp;mi_00#6&amp;2c03619a&amp;0&amp;0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
    [dshow @ 000001b24fa6a300]  "UScreenCapture"
    [dshow @ 000001b24fa6a300]     Alternative name "@device_sw_{860BB310-5D01-11D0-BD3B-00A0C911CE86}\UScreenCapture"
    [dshow @ 000001b24fa6a300] DirectShow audio devices
    [dshow @ 000001b24fa6a300]  "Microphone (Realtek Audio)"
    [dshow @ 000001b24fa6a300]     Alternative name "@device_cm_{33D9A762-90C8-11D0-BD43-00A0C911CE86}\wave_{35EBFC89-7B09-4557-8032-85AA0B688FE9}"

    But on popen I can’t check it :

    -list_devices true -f dshow -i dummy: Invalid argument

    For the python part of the code I am using this :

    p = subprocess.Popen([getPathForFile("windows/ffmpeg").replace('\\','/'),  " -f gdigrab -offset_x 10 -offset_y 20 -show_region 1 -i desktop -video_size 1536x864 -b:v 2M -maxrate 1M -bufsize 1M -tune fastdecode -crf 15 -preset ultrafast -pix_fmt yuv420p -r 25 -qp 1 -y -an "+ path.replace('\\\\','/').replace('\\','/')+"video.mov"], shell=True)

    The getPathForFile is a custom function that returns the path. this is correct, mainly because the errors I am getting are from the ffmpeg, so...

    I am on a Windows 10. FFmpeg 4.0. Python 3.5.

    Any ideas why am I getting these errors on Popen but not on command line and how to fix them ? (mainly the second error)

  • mp4 audio file trimming form url

    4 juillet 2021, par Masum

    I am using a URL for audio and the file type is mp4 which comes to URL. Now I want to trim this audio in my system was using Media store. If I use existing audio from media store it's working fine. Now my question how I use my URL mp4 audio using this system or another.

    &#xA;

        Cursor c = mAdapter.getCursor();&#xA;    int dataIndex = c.getColumnIndexOrThrow(MediaStore.Audio.Media.DATA);&#xA;    String filename = c.getString(dataIndex);&#xA;    try {&#xA;&#xA;&#xA;        Intent intent = new Intent(getApplicationContext(), RingdroidEditActivity.class);&#xA;        intent.putExtra("was_get_content_intent", mWasGetContentIntent);&#xA;        intent.putExtra("mFileName", Uri.parse(filename).toString());&#xA;        startActivity(intent);&#xA;&#xA;    } catch (Exception e) {&#xA;        Log.e("Ringdroid", "Couldn&#x27;t start editor");&#xA;    }&#xA;

    &#xA;

    How can pass the same way my URL mp4 file ?

    &#xA;

    Mp4 auddio : Link

    &#xA;

  • Anomalie #4665 : Err500 timeout sur SL_nettoyer_superflus

    10 mars 2021, par jluc -

    mm sur irc : « la meilleure alternative serait de faire comme Composer : remplacer les dossiers, genre : mv ecrire old/ecrire && mv new/ecrire ecrire" mais ya le risque que ça plante « dans le mv (et comme le spip-loader charge SPIP pour savoir si tu es loggué)...
    c’est un peu la m. »
    b² : « en même temps ça peut planter à d’autres moments »