Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (107)

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

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

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

Sur d’autres sites (13324)

  • Simple Question About Subprocess popen + screen +ffmpeg + youtube-dl

    2 juin 2021, par El_Barto_404
    ffmpeg -i "$(youtube-dl -x -g "https://youtu.be/xhXq9BNndhw")" -f s16le -ac 2 -ar 48000 -acodec pcm_s16le input.raw


    


    can anyone put this inside a popen process after a screen -S Convert ?

    


    I tried already with ' ', with commas.. but nothing

    


    I built a bot on telegram which if you send :

    


    .mandala youtubelink


    


    it takes the link and converts the video from YouTube into a uncompressed file, I need it for a music bot which streams those uncompressed files.

    


    if I run in console :

    


    ffmpeg -i "$(youtube-dl -x -g "https://youtu.be/xhXq9BNndhw")" -f s16le -ac 2 -ar 48000 -acodec pcm_s16le input.raw 


    


    it works but when I try with screen and popen it doesn't.. why ?

    


    @helper.register(pattern=r'.mandala (.+)')
async def mu2342sicbfffffffot(e):
    cheater = e.pattern_match.group(1)
    cheat = cheater
    myorder2224 = ''' "$(youtube-dl -x -g "{}")" '''
    doit = (myorder2224.format(cheater))

    ###  I already try to format the variable 
    ###  and put doit after -i and 
    ###  everything was in '' and commas 
    ###  like 'ffmpeg', 'i*, doit, '-f'...
    ###  and so on but nothing.. but nope doesn't work.

    p = subprocess.call(['screen','-S','onveter',' ffmpeg -i "$(youtube-dl -x -g "https://www.youtube.com/watch?v=Sw5HQbYGoCA")" -f s16le -ac 1 -acodec pcm_s16le -ar 96k  input.pcm'],shell=True)
  await helper.control_panel.send_message(config.chat, "La sto a manna")
  time.sleep(14)
  


    


    I REPEAT ONE MORE TIME :
HOW CAN I USE THAT FFMPEG COMMAND INSIDE A POPEN SUBPROCESS AFTER A Screen -S Convert ?

    


    IF SOMEONE WANT TO KNOW WHY :
Because I want to convert youTube videos to file .raw / .pcm

    


  • The Ultimate YouTube-DL script [on hold]

    30 juillet 2018, par G. L.

    I need help creating/finishing a bash script. What I’m trying to do is to create the perfect YouTube-DL archiving script.
    As of now, the only thing I can do is download all of a Users’ videos, embed subtitles, add metadata but I want to also autosub the files (with script number 2) and convert the downloaded files with ffmpeg or AVConv or handbrake-cli and then remove the video files when I have a successful conversion.

    Script 1 (downloads videos skipping already downloaded ones)

    youtube-dl -i -o "%(title)s-%(id)s.%(ext)s" --all-subs --embed-subs --embed-thumbnail --add-metadata --sleep-interval=20 --rate-limit=1M --exec 'youtube-dl2kodi.py -t tvshow -f {}' --download-archive .archive $(cat url.txt)

    Note : youtube-dl2kodi.py creates Kodi compatible nfo files so I can view them properly on Kodi with metadata.

    Script 2 (subtitles videos automatically using autosub)

    for file in *I WANT TO AUTOSUB files in this directory and subdirectories*
    do
     autosub -S de -D de "$file" >> results.out
    done

    I want to merge script 1 and 2 and then encode the files and remove original video files (mp4, mkv and webm) if successful.
    My encoding preference is HEVC with CRF 23 and I don’t want to encode the audio. I want to copy the audio. The final video would be a MKV file.

  • Failing to upload an mp4 to youtube

    28 juillet 2018, par Joseph Berry

    I’m trying to convert an WMA file into mp4 in order to upload the file to youtube.
    VN550672.wma.zip
    Although the conversion is successful (see below) i’m not able to upload the file to youtube. I’m getting the following error

    The video has failed to process. Please make sure you are uploading a supported file type.

    VN550672.mp4.zip

    Any suggestions ?

    System configuration :
    Python version : 3.6.3
    Pydub version : 0.22.1
    ffmpeg or avlib ? : ffmpeg
    ffmpeg/avlib version : 2.8.4