Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (40)

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

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (7590)

  • Anomalie #3664 : Insertion de formulaire dans l’editeur et champ obligatoire en HTML5

    25 juin 2017, par b b

    Donc, quand HTML5 est actif , il faudrait tenter d’ajouter en js un attribut novalidate aux formulaires présents dans la prévisu afin de voir si ça permet de contourner le bug.

    https://developer.mozilla.org/fr/docs/Web/HTML/Element/Form#attr-novalidate

  • Converting gifs to mp4 using python

    16 février 2021, par deeform

    currently im trying to convert some gifs which i have downloaded into mp4 files so i can upload them to a specific website. However, im getting some errors when trying to do this !

    


        for submission in subreddit.top(time_filter="day"):
    url_file = r'/home/pi/Desktop/Instagram/urls.txt'
    # Get the link of the submission
    url = submission.url
    if url.endswith('gif'):
        bad_chars = ['"', '*', '?', ':', '<', '>', '|', '\\', '/', '.']
        for i in bad_chars:
            submission.title = submission.title.replace(i, '')
        count += 1
        print(url + ' ' + submission.title)
        urllib.request.urlretrieve(url, r'C:\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\\' + str(
            submission.title) + '.gif')
        print(str(f'downloaded {count}'))
    for file in os.listdir(r'C:\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\\'):
        clip = mp.VideoFileClip(rf"C:\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\{file}")
        clip.write_videofile(f"{submission.title}.mp4")


    


    Error : OSError : MoviePy error : failed to read the duration of file C :\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\My friend claims that he can print a gun using his 3D printer, but I’m not impressed I’ve had a Canon printer for years.gif.
Here are the file infos returned by ffmpeg :

    


    ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.2.1 (GCC) 20200122
configuration : —enable-gpl —enable-version3 —enable-sdl2 —enable-fontconfig —enable-gnutls —enable-iconv —enable-libass —enable-libdav1d —enable-libbluray —enable-libfreetype —enable-libmp3lame —enable-libopencore-amrnb —enable-libopencore-amrwb —enable-libopenjpeg —enable-libopus —enable-libshine —enable-libsnappy —enable-libsoxr —enable-libtheora —enable-libtwolame —enable-libvpx —enable-libwavpack —enable-libwebp —enable-libx264 —enable-libx265 —enable-libxml2 —enable-libzimg —enable-lzma —enable-zlib —enable-gmp —enable-libvidstab —enable-libvorbis —enable-libvo-amrwbenc —enable-libmysofa —enable-libspeex —enable-libxvid —enable-libaom —enable-libmfx —enable-amf —enable-ffnvcodec —enable-cuvid —enable-d3d11va —enable-nvenc —enable-nvdec —enable-dxva2 —enable-avisynth —enable-libopenmpt
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
C :\Users\myalt\OneDrive\Desktop\TikTok twitch poster\Clips\My friend claims that he can print a gun using his 3D printer, but I’m not impressed I’ve had a Canon printer for years.gif : Invalid data found when processing input

    


  • Reverse video using many commands in a script

    19 août 2021, par Sam

    I am trying to make a script with FFmpeg using Reverse mode, i am not able to make it work correctly, unfortunately is some weeks i am using Linux and FFmpeg, my intention is ;

    


      

    • put the original video in Reverse directory
    • 


    • start the script
the script make this job ;
    • 


    • create the directory mkdir 01-Elaborazione
    • 


    • FFMPEG separate the video in small clips of 5 sec and put in 01-Elaborazione
after that
    • 


    • create the directory mkdir 01
    • 


    • FFMPEG make the Reverse of the clips and put in the directory 01
    • 


    • create a list Originale.txt of the Reversed clips in directory 01
    • 


    • change the list Inversa to invert the lines (so that the FFmpeg is making the concat correctly)
    • 


    • FFMPEG concat all the Reversed clips using the list Inversa.txt and put the output Pronto.mp4 in the directory Reverse
after that
    • 


    • delete the directory 01- Elaborazione with all the files
    • 


    


    at the end i have to put also many done before it start, but also doing this is not doing the job i want

    


    i have to make this, because this way i do not have problem with the Ram and Swap

    


    the script is this ;

    


    # !/bin/bash

    


    cd /srv/dev-sataa24/Lavori/Z-Modifiche/Reverse

    


    mkdir 01-Elaborazione

    


    for i in *.mp4 ; do ffmpeg -i "$i" -f segment -segment_time 5 -c copy -reset_timestamps 1 01-Elaborazione/sample_%03d.mp4 -hide_banner && rm "$i"

    


    done

    


    for i in *.MP4 ; do ffmpeg -i "$i" -f segment -segment_time 5 -c copy -reset_timestamps 1 01-Elaborazione/sample_%03d.mp4 -hide_banner && rm "$i"

    


    Wait for the processes to finish

    


    wait

    


    done && cd

    


    cd /srv/dev-sataa24/Lavori/Z-Modifiche/Reverse/01-Elaborazione

    


    mkdir 01

    


    for i in .MP4 ; do ffmpeg -i "$i" -threads 1 -vf reverse -af areverse 01/"$i%..mp4"

    


    cd /srv/dev-sataa24/Lavori/Z-Modifiche/Reverse/01-Elaborazione

    


    for i in .mp4 ; do ffmpeg -i "$i" -threads 1 -vf reverse -af areverse 01/"$i%..mp4"

    


    Wait for the processes to finish

    


    wait

    


    done && cd

    


    cd /srv/dev-sataa24/Lavori/Z-Modifiche/Reverse/01-Elaborazione/01

    


    for f in *.mp4 ; do echo file '$f' >> originale.txt

    


    tac originale.txt > inversa.txt

    


    ffmpeg -f concat -safe 0 -i inversa.txt -c copy /srv/dev-sataa24/Lavori/Z-Modifiche/Reverse/Pronto.mp4

    


    Wait for the processes to finish

    


    wait

    


    cd /srv/dev-sataa24/Lavori/Z-Modifiche/Reverse

    


    rm -r 01-Elaborazione/

    


    cd

    


    done
done