Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (70)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

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

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (6807)

  • 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>
  • 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;

  • Create an image in PHP and turn it into a 10-second video [on hold]

    17 septembre 2019, par Emil A.

    I remember being able to create an image in PHP with custom text and background etc, then output it (or save) as a JPG/PNG etc. I want to do this but output this 1 frame as a 10-second MP4-video. How can I achieve this ?

    (Note : The end-result will show an unique and dynamical URL for cases where someone tries to watch the video without permission ; think hotlink-prevention for video.)