Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (102)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

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

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

  • Pyinstaller exe works halfway on another computer

    5 novembre 2022, par At Bay

    I wrote a code which uses FFMPEG and os, subprocess, datetime, speechrecognition, and xlsxwriter libraries. Below a brief sketch of the code - it goes through a directory of wav files and creates a transcription for X seconds in length and saves it into an excel sheet.
import os
import subprocess
import datetime
import speech_recognition as sr
import xlsxwriter

    


    def ffmpeg():
   #create clip
   subprocess.run(["ffmpeg", "-ss", starti, "-t", lengthi, "-i", filepathO, filepathNEW1])

   #convert to mono
   subprocess.run(["ffmpeg", "-i", filepathNEW1, "-ac", "1", filepathNEW2])
   
   #compres to 44.1 kHZ
   subprocess.run(["ffmpeg", "-i", filepathNEW2, "-ar", "44100", filepathNEW3])

def transcription():
    with sr.AudioFile(os.path.abspath(clippath)) as source:
       audio = r.record(source)  # read the entire audio file
       transcriptstring = str(r.recognize_google(audio, language = 'en', show_all=True))
       worksheet.write(tcol, transcriptstring)


#call functions in this order
for filename in os.listdir(ufolder):
   if (filename.endswith(".wav")):
       ffmpeg() #cuts clips, compresses to mono and 44.1 khz
       transcription() 

workbook.close()



    


    When I try to run the exe created by pyinstaller, I get the following error :

    


    Enter directory of wav files: C:\Users\myname\Downloads\&#xA;Enter clip start (seconds): 0&#xA;Enter desired clip length (seconds): 5&#xA;Traceback (most recent call last):&#xA;  File "cliptranscript.py", line 134, in <module>&#xA;  File "cliptranscript.py", line 47, in ffmpeg&#xA;  File "subprocess.py", line 503, in run&#xA;  File "subprocess.py", line 971, in __init__&#xA;  File "subprocess.py", line 1440, in _execute_child&#xA;FileNotFoundError: [WinError 2] The system cannot find the file specified&#xA;[13304] Failed to execute script &#x27;cliptranscript&#x27; due to unhandled exception!&#xA;</module>

    &#xA;

    Below is a partial view of the folder created by pyinstaller :&#xA;1

    &#xA;

  • avformat : add format_probesize to allow tuning the maximum amount of bytes to identif...

    27 janvier 2014, par Michael Niedermayer
    avformat : add format_probesize to allow tuning the maximum amount of bytes to identify the filetype
    

    Currently probesize is cliped at 1mb before being used for format detection.
    Alternatively this cliping could be removed but this would then tie various
    things like stream analysis to the file detection.

    Signed-off-by : Michael Niedermayer <michaelni@gmx.at>

    • [DH] libavformat/avformat.h
    • [DH] libavformat/options_table.h
    • [DH] libavformat/utils.c
  • Rendering video by ffmpeg.wasm in browser occured an error

    15 septembre 2022, par James Bor

    When a local video renderer uses the ffmpeg.wasm library in the Chrome browser, very often an error with the SBOX_FATAL_MEMORY_EXCEEDED code occurs during the rendering process. The standard command set is used. The code below is half fake because it is very long, but describes an approximate action algorithm. Computer performance and RAM capacity do not affect the video, files used - minimal size. Has anyone experienced this and how can we solve it ?&#xA;Error screen

    &#xA;

    const videoGenerate = async (project) => {&#xA;  const ffmpeg = createFFmpeg({&#xA;      corePath: &#x27;ffmpeg/ffmpeg-core.js&#x27;,&#xA;      workerPath: &#x27;ffmpeg/ffmpeg-core.worker.js&#x27;&#xA;  });&#xA;  await loadFfmpeg(ffmpeg);&#xA;  project.projectName = "Default";&#xA;  project.fileType = "video/mp4";&#xA;&#xA;  const resultVideo = {&#xA;    title: `${project.projectName}ConcatenatedVideo.mp4`,&#xA;  };&#xA;  // *For fetchFile method and ffmpeg.FS(&#x27;writeFile&#x27;, title, file);&#xA;  await uploadObjects(project.projectName, ffmpeg);&#xA;  // *&#xA;  const command = [&#x27;-i&#x27;, project.video, resultVideo.title];&#xA;  await ffmpeg.run(...command);&#xA;  await ffmpeg.FS("unlink", resultVideo.title);&#xA;  resultVideo["blob"] = ffmpeg.FS(&#x27;readFile&#x27;, title);&#xA;  return resultVideo.blob;&#xA;};&#xA;

    &#xA;

    These dependencies are used : "@ffmpeg/core" : " 0.8.5", "@ffmpeg/ffmpeg" : " 0.9.7". Upgrading the library to the latest version does not work either.

    &#xA;