Recherche avancée

Médias (91)

Autres articles (57)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

Sur d’autres sites (9493)

  • How do I convert a webm file to a wav file [closed]

    5 janvier 2021, par Justin

    I'm using the pafy library to download a video from Youtube as a webm file. Now I'm trying to convert that webm file to a .wav file. I am aware of something simlar to this question being posted on here Coverting webm to wav with ffmpeg
However it's not giving me the answer I need. The error I keep getting is this.

    


    File "C:/Users/16156/PycharmProjects/youtubeaudiodownloader/audiodownload.py", line 29, in <module>&#xA;ad.fromMpToWav()&#xA;&#xA;&#xA;File "C:/Users/16156/PycharmProjects/youtubeaudiodownloader/audiodownload.py", line 20, in fromMpToWav&#xA;    command = &#x27;ffmpeg -i&#x27; &#x2B; self.vid.getbestaudio(), &#x2B; &#x27;&#x27; &#x2B; r&#x27;C:\Users\16156\PycharmProjects\youtubeaudiodownloader\test.wav&#x27;&#xA;TypeError: can only concatenate str (not "YtdlStream") to str&#xA;</module>

    &#xA;

    Here's the code that is causing the error

    &#xA;

        def fromMpToWav(self):&#xA;    time.sleep(5)&#xA;    command  = [&#x27;ffmpeg -i&#x27;, self.vid.getbestaudio(),r&#x27;C:\Users\16156\PycharmProjects\youtubeaudiodownloader\test.wav&#x27;]&#xA;    subprocess.run(command)&#xA;

    &#xA;

    I originally was placing the command variable into an array, however, I changed it.

    &#xA;

    I've been stuck on this for a good hour now and have no idea how to fix it. Anyone has ever tried doing something likewise to this that can help me out.

    &#xA;

  • FFmpeg .bat file syntax

    12 juillet 2022, par Jeandré

    I have the following command for overlaying a watermark (png image) on a video. I run it from a windows .bat file and it works fine as long as I keep the png file in the same folder as my script (like this movie=easy_vacation_text.png).

    &#xA;

    %FFMPEGPATH% -i "C:\\Users\\me\\Downloads\\b2ff1bb2-3cd4-41c5-a1ee-ea6b7c066011.mp4" -y -vf "scale=1280:720 [main]; movie=easy_vacation_text.png [watermark]; [watermark]scale=1000x200 [watermark2]; [main][watermark2] overlay=(main_w/2)-(overlay_w/2):main_h-overlay_h-10 [out]" %OUTDIR%/outfile.mp4&#xA;&#xA;

    &#xA;

    As soon as I try to reference the png from a different folder like (like this movie=C :\Users\me\easy_vacation_text.png), it breaks :

    &#xA;

    %FFMPEGPATH% -i "C:\\Users\\me\\Downloads\\b2ff1bb2-3cd4-41c5-a1ee-ea6b7c066011.mp4" -y -vf "scale=1280:720 [main]; movie=C:\\Users\\me\\easy_vacation_text.png [watermark]; [watermark]scale=1000x200 [watermark2]; [main][watermark2] overlay=(main_w/2)-(overlay_w/2):main_h-overlay_h-10 [out]" %OUTDIR%/outfile.mp4&#xA;

    &#xA;

    I tried different variations of putting quotes around the path (C :\Users\me\easy_vacation_text.png) but I can't figure out the problem.

    &#xA;

    Any ideas what I'm doing wrong ?

    &#xA;

  • Cloaked Archive Wiki

    16 mai 2011, par Multimedia Mike — General

    Google’s Chrome browser has made me phenomenally lazy. I don’t even attempt to type proper, complete URLs into the address bar anymore. I just type something vaguely related to the address and let the search engine take over. I saw something weird when I used this method to visit Archive Team’s site :



    There’s greater detail when you elect to view more results from the site :



    As the administrator of a MediaWiki installation like the one that archiveteam.org runs on, I was a little worried that they might have a spam problem. However, clicking through to any of those out-of-place pages does not indicate anything related to pharmaceuticals. Viewing source also reveals nothing amiss.

    I quickly deduced that this is a textbook example of website cloaking. This is when a website reports different content to a search engine than it reports to normal web browsers (humans, presumably). General pseudocode :

    C :
    1. if (web_request.user_agent_string == CRAWLER_USER_AGENT)
    2.  return cloaked_data ;
    3. else
    4.  return real_data ;

    You can verify this for yourself using the wget command line utility :

    <br />
    $ wget --quiet --user-agent="<strong>Mozilla/5.0</strong>" \<br />
     http://www.archiveteam.org/index.php?title=Geocities -O - | grep \&lt;title\&gt;<br />
    &lt;title&gt;GeoCities - Archiveteam&lt;/title&gt;

    $ wget —quiet —user-agent="Googlebot/2.1"
    http://www.archiveteam.org/index.php?title=Geocities -O - | grep \<title\>
    <title>Cheap xanax | Online Drug Store, Big Discounts</title>

    I guess the little web prank worked because the phaux-pharma stuff got indexed. It makes we wonder if there’s a MediaWiki plugin that does this automatically.

    For extra fun, here’s a site called the CloakingDetector which purports to be able to detect whether a page employs cloaking. This is just one humble observer’s opinion, but I don’t think the site works too well :