Recherche avancée

Médias (1)

Mot : - Tags -/lev manovitch

Autres articles (58)

  • MediaSPIP Core : La Configuration

    9 novembre 2010, par

    MediaSPIP Core fournit par défaut trois pages différentes de configuration (ces pages utilisent le plugin de configuration CFG pour fonctionner) : une page spécifique à la configuration générale du squelettes ; une page spécifique à la configuration de la page d’accueil du site ; une page spécifique à la configuration des secteurs ;
    Il fournit également une page supplémentaire qui n’apparait que lorsque certains plugins sont activés permettant de contrôler l’affichage et les fonctionnalités spécifiques (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, 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 (...)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

Sur d’autres sites (6567)

  • How to merge Video and Subtitle on Google Colab with only specifying file path using mkvmerge ?

    25 août 2022, par SomeName

    On Google Colab I found a code to merge Video and Subtitle using mkvmerge with only specifying the folder path also there is a option to include attachments fonts if preferred but The code doesn't work ?

    


    I tried this but it didn't seem to work? When I execute the code it does nothing? İt won't start muxing video and Subtitle? https://pastebin.com/raw/q85DTkta

    


    Could someone help me with this code ? What am I missing ?

    


  • "Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning

    23 juillet 2024, par goldie

    For a captcha solver I need to use FFmpeg on Windows 10. Warning when running the code for the first time :

    


    C:\Users\user\AppData\Roaming\Python\Python310\site-packages\pydub\utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)


    


    Running the script anyway while it required ffprobe I got :

    


    C:\Users\user\AppData\Roaming\Python\Python310\site-packages\pydub\utils.py:198: RuntimeWarning: Couldn&#x27;t find ffprobe or avprobe - defaulting to ffprobe, but may not work&#xA;  warn("Couldn&#x27;t find ffprobe or avprobe - defaulting to ffprobe, but may not work", RuntimeWarning)&#xA;Traceback (most recent call last):&#xA;  File "D:\Scripts\captcha\main.py", line 164, in <module>&#xA;    main()&#xA;  File "D:\Scripts\captcha\main.py", line 155, in main&#xA;    captchaSolver()&#xA;  File "D:\Scripts\captcha\main.py", line 106, in captchaSolver&#xA;    sound = pydub.AudioSegment.from_mp3(&#xA;  File "C:\Users\user\AppData\Roaming\Python\Python310\site-packages\pydub\audio_segment.py", line 796, in from_mp3&#xA;    return cls.from_file(file, &#x27;mp3&#x27;, parameters=parameters)&#xA;  File "C:\Users\user\AppData\Roaming\Python\Python310\site-packages\pydub\audio_segment.py", line 728, in from_file&#xA;    info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)&#xA;  File "C:\Users\user\AppData\Roaming\Python\Python310\site-packages\pydub\utils.py", line 274, in mediainfo_json&#xA;    res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)&#xA;  File "C:\Program Files\Python310\lib\subprocess.py", line 966, in __init__&#xA;    self._execute_child(args, executable, preexec_fn, close_fds,&#xA;  File "C:\Program Files\Python310\lib\subprocess.py", line 1435, in _execute_child&#xA;    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,&#xA;FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;</module>

    &#xA;

    I tried downloading it manually, editing environment variables, pasting them in the same folder as the script and installing with pip. FFmpeg works however my script doesn't.

    &#xA;

  • Capture video and audio using javascript

    16 janvier 2017, par Anand Soni

    I am trying to capture video and audio from web browser and upload it to the server. The thing is I don’t want to use flash in this.

    So I am using HTML5 feature and a library called RecorderRTC to make it possible. I am using Ruby on Rails in backend. Though I am feeling this feature is still under implementation I am facing challenges.

    Following javascript code I have written : http://pastebin.com/KjwunFfD and here is my rails code :

       uuid = UUID.generate
       audio_file_name = "#{uuid}.wav" if params[:chrome]
       audio_file_name = "#{uuid}.ogg" if params[:firefox]
       video_file_name = "#{uuid}.webm"

       directory = "#{Rails.root}/public/record"
       directory = directory + "/chrome" if params[:chrome]
       directory = directory + "/firefox" if params[:firefox]

       audio_path = File.join(directory, audio_file_name)
       video_path = File.join(directory, video_file_name)
       #puts params[:audioBlob].tempfile.read
       File.open(audio_path, "wb") { |f| f.write(params[:audioBlob].tempfile.read) }           if params[:audioBlob]
       File.open(video_path, "wb") { |f| f.write(params[:videoBlob].tempfile.read) }           if params[:videoBlob]

       output = `ffmpeg -i #{video_path} -i #{audio_path} -acodec copy -vcodec copy #{directory}/#{uuid}.mkv`

       message[:video_url] = "/record/chrome/#{video_file_name}" if params[:chrome]
       message[:video_url] = "/record/firefox/#{video_file_name}" if params[:firefox]

       message[:audio_url] = "/record/chrome/#{audio_file_name}" if params[:chrome]
       message[:audio_url] = "/record/firefox/#{audio_file_name}" if params[:firefox]

       message[:audio_video_url] = "/record/chrome/#{uuid}.mkv" if params[:chrome]
       message[:audio_video_url] = "/record/firefox/#{uuid}.mkv" if params[:firefox]

    My problem is when I try to run this code through Firefox ffmpeg is giving error of codec not found. I am not sure what I am missing. Can any one help ?