Recherche avancée

Médias (91)

Autres articles (62)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • 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 (...)

  • Participer à sa traduction

    10 avril 2011

    Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
    Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
    Actuellement MediaSPIP n’est disponible qu’en français et (...)

Sur d’autres sites (10668)

  • How to run a python code via Django templates ?

    18 novembre 2018, par Iskender Berdiev

    I want to execute code below when the is submitted (project on Django) :

    from os import system, listdir, remove
    link = 'https://www.youtube.com/watch?v=ME9yO1KEVoo'

    def download(): ## Downloading a video from YouTube using youtube-dl
       system("youtube-dl -o download {}".format(link))

    def convert():  ## Converting downloaded video to mp3 format via ffmpeg.exe(same directory)
       listOfFiles = listdir('.')
       for i in listOfFiles:
           if i.startswith("download"):
               name = i
               system("ffmpeg -i {} download.mp3".format(name))

    def main():
       download()
       convert()

    main()

    I have tried to put this code into views.py :

    class download(TemplateView):
       def main(request):
           if request.method == 'POST':
               link = 'https://www.youtube.com/watch?v=ME9yO1KEVoo'
               system("youtube-dl -o download {}".format(link))
               listOfFiles = listdir('.')
               for i in listOfFiles:
                   if i.startswith("download"):
                       name = i
                       system("ffmpeg -i {} download.mp3".format(name))
           return redirect ('loader/wait.html')

    urls.py :

    path('wait/', views.download.as_view(), name='wait')

    and the html form which is submitted to run views.download.as_view() :

    <form action="{% url " method="POST">{% csrf_token %}
    <input type="submit" value="Yes" />
    </form>
  • How do you intentionally increase/decrease livestream quality using ffmpeg

    25 septembre 2022, par Evan Hassan

    You know those sport streaming websites ? Well I am trying to watch a game from one of those website... problem is I have awful wifi.

    &#xA;

    I have access to the livestream video and I am trying to change the bitrate/fps to a higher quality for website embedding using ffmpeg. I understand for a video, this is more than possible, but how do you do this for a live stream ?

    &#xA;

  • V-Ray .exr to mp4 ffmpeg Stuttering

    8 octobre 2024, par OlivierArgentieri

    I have an issue using ffmpeg with V-Ray exr.

    &#xA;

    I'm trying to export .mp4 from .exr, so ihave used this command

    &#xA;

    &#xA;

    ffmpeg.exe -y -start_number 1 -framerate 25 -i D :\temp\WAC_TEST\what_about_cooking_sq01_p040_rendering_main_publish_v000.%4d.exr -pix_fmt gbrapf32le D :/out_vray_exr.mp4

    &#xA;

    &#xA;

    I checked parameters using

    &#xA;

    &#xA;

    ffmpeg.exe -y -start_number 1 -i D :\temp\WAC_TEST\what_about_cooking_sq01_p040_rendering_main_publish_v000.%4d.exr

    &#xA;

    &#xA;

    Result :

    &#xA;

    &#xA;

    Input #0, image2, from Input #0, image2, from 'D :\temp\WAC_TEST\what_about_cooking_sq01_p040_rendering_main_publish_v000.%4d.exr' :&#xA;Duration : 00:00:02.00, start : 0.000000, bitrate : N/A&#xA;Stream #0:0 : Video : exr, gbrapf32le, 2840x1210 [SAR 1:1 DAR 284:121], 25 fps, 25 tbr, 25 tbn

    &#xA;

    &#xA;

    Finally, Exported video are unreadable by windows player and KMplayer&#xA;enter image description here

    &#xA;

    I can play the video using VLC. but i got stuttering frame like this :&#xA;https://www.youtube.com/watch?v=C8MawpkKGfc

    &#xA;

    To understand this behaviour i have export .exr sequence to .png and i got this&#xA;enter image description here

    &#xA;

    I also tried this command with a simple cube animation using mantra on Houdini, it's just work perfectly, but if i export this cube animation using vray, i got stuterring frame and this strange behaviour.

    &#xA;

    Thank you.

    &#xA;