Recherche avancée

Médias (0)

Mot : - Tags -/api

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

Autres articles (67)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

Sur d’autres sites (7647)

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

  • How to Live Stream YouTube without Audio [on hold]

    23 septembre 2016, par arsenalist

    I have two IP cam and a computer with ffmpeg to re-stream them to YouTube.

    First Cam

    It has Video and Audio. I can re-stream to YouTube successfully with this command.

    ffmpeg -re -rtsp_transport tcp -i rtsp://192.168.aaa.bbb:554/ch0_1.h264 -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -s 426x240 -bufsize 2048k -vb 400k -maxrate 800k -deinterlace -vcodec libx264 -preset medium -g 30 -r 30 -f flv rtmp://a.rtmp.youtube.com/live2/

    Second Cam

    It has Video only. However, with both commands below, I can’t stream to YouTube. (although the ffmpeg process is running well)

    ffmpeg -re -rtsp_transport tcp -i rtsp://192.168.aaa.ccc/Streaming/Channels/102 -an -pix_fmt yuv420p -profile:v baseline -s 426x240 -bufsize 2048k -vb 400k -maxrate 800k -deinterlace -vcodec libx264 -preset medium -g 30 -r 30 -f flv rtmp://a.rtmp.youtube.com/live2/

    or

    ffmpeg -re -rtsp_transport tcp -i rtsp://192.168.aaa.ccc/Streaming/Channels/102 -acodec libmp3lame -ar 44100 -b:a 128k -pix_fmt yuv420p -profile:v baseline -s 426x240 -bufsize 2048k -vb 400k -maxrate 800k -deinterlace -vcodec libx264 -preset medium -g 30 -r 30 -f flv rtmp://a.rtmp.youtube.com/live2/

    I’ve test both camera’s stream first using FLV, and they work well. So, the issue is not the URL of IP camera.

    From what I understand, YouTube define stream as audio-video content. However, what if the source only has Video.

    So, my question :

    How to live stream YouTube without audio, specially from an IP cam ?

    Thanks