Recherche avancée

Médias (0)

Mot : - Tags -/upload

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

Autres articles (21)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

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

Sur d’autres sites (5860)

  • rtsp to youtube streaming not working in windows

    22 juillet 2020, par Martin Haryoko

    ffmpeg run in windows, i use this code for streaming RTSP to youtube streaming :

    


    ffmpeg -f lavfi -t 12:00:00 -rtsp_transport tcp -i rtsp://admin:martin123@103.76.204.2:554/Streaming/Channels/101 -tune zerolatency -g 2 -c:v copy -t 12:00:00 -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/zgzx-7sff-32xz-bbup-a25c


    


    but i got this error :

    


    C:\inetpub\wwwroot\ffmpeg\ffmpeg\bin>ffmpeg -f lavfi -t 12:00:00 -rtsp_transport tcp -i rtsp://admin:martin123@103.76.204.xxx:554/Streaming/Channels/101 -tune zerolatency -g 2 -c:v copy -t 12:00:00 -c:a aac -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/zgzx-7sff-32xz-bbup-a25c
ffmpeg version git-2020-07-20-43a08d9 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9.3.1 (GCC) 20200621
  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-libsrt --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-libvmaf --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libgsm --disable-w32threads --enable-libmfx --enable-ffnvcodec --enable-cuda-llvm --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 55.100 / 56. 55.100
  libavcodec     58. 96.100 / 58. 96.100
  libavformat    58. 48.100 / 58. 48.100
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100
[lavfi @ 000001a7dc40e380] No such filter: 'rtsp://admin:martinxxx'
rtsp://admin:martin123@103.76.204.xxx:554/Streaming/Channels/101: Invalid argument


    


    can u help me ?

    


  • Set the filename downloaded via youtube-dl to a variable [closed]

    22 septembre 2020, par Jim Jamil

    This is the current script, it's a Windows batch file that prompts for a Youtube url and then downloads the best audio in m4a. It's basically cobbled together and uses aria2 to manage the download.

    


    @echo off
SETLOCAL ENABLEDELAYEDEXPANSION
(set /p var1="Url? " && youtube-dl -f bestaudio[ext=m4a] --external-downloader aria2c --external-downloader-args "-j 16 -s 16 -x 16 -k 5M" --restrict-filenames -o "%%(title)s.%%(ext)s" --add-metadata --embed-thumbnail !Var1!)
ENDLOCAL
pause


    


    After asking for the url, I want to also prompt the user to input the start and end times to trim the audio, which would be done by ffmpeg post download.

    


    Something like :

    


    ffmpeg -i file.m4a -ss 00:00:20 -to 00:00:40 -c copy file-2.m4a


    


    Based on this : https://unix.stackexchange.com/questions/182602/trim-audio-file-using-start-and-stop-times/302469#302469

    


    The beginning and end times would need to be variables set by user input in 00:00:00 format, but not sure how to add the ffmpeg post-processing at the end or how it would all fit together. I want to add this trimming feature to remove some of the preamble on podcasts and get straight to the guest part of the show.

    


    The --embed-thumbnail is optional, and won't work anyway unless Atomic Parsley is present. FFmpeg often has trouble with Album Art anyway so I usually just use -vn on the final output file.

    


  • Discord.py rewrite play audio from youtube into voice chat

    23 avril 2021, par John Henry 5

    I'm trying to get a bot that can join a voice chat on command and then play some audio extracted from a youtube video. I don't know how to do this and all the code that I've gotten does not seem to work. Does anyone know how to do this ?

    


    @client.command() async def play(ctx):
   channel = ctx.message.author.voice.channel
   voice_client = await channel.connect()

   opts = {'format': 'bestaudio'}
   FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 - 
   reconnect_delay_max 5', 'options': '-vn'}

   with youtube_dl.YoutubeDL(opts) as ydl:
      song_info = ydl.extract_info('video', download=False)
      URL = song_info['formats'][0]['url']
   
   voice_client.play(FFmpegPCMAudio(URL, **FFMPEG_OPTIONS))