Recherche avancée

Médias (0)

Mot : - Tags -/utilisateurs

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

Autres articles (85)

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

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

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

Sur d’autres sites (16239)

  • Module not found : Can't resolve './lib-cov/fluent-ffmpeg'

    29 mars 2021, par anInputName

    I created this project using npx create-react-app, and I'm trying to use ffmpeg-concat, but I get the error in the title. Node version v14.15.1, npm version 7.7.5. I have ffmpeg installed and in my PATH.

    


    Error :

    


    ./node_modules/fluent-ffmpeg/index.js
Module not found: Can't resolve './lib-cov/fluent-ffmpeg' in 'C:\Users\XXX\Desktop\test\node_modules\fluent-ffmpeg'


    


    My code :

    


    function App() {&#xA;  //this is taken from ffmpeg-concat documentation page&#xA;  const concat = require(&#x27;ffmpeg-concat&#x27;)&#xA;  await concat({&#xA;    output: &#x27;test.mp4&#x27;,&#xA;    videos: ["videos/a.mp4", "videos/b.mp4", "videos/c.mp4"],&#xA;    transition: {&#xA;      name: &#x27;directionalWipe&#x27;,&#xA;      duration: 500&#xA;    }&#xA;  })&#xA;&#xA;  return (&#xA;    <div classname="App">&#xA;      <header classname="App-header">&#xA;        <video input="{&quot;test.mp4&quot;}"></video>&#xA;      </header>&#xA;    </div>&#xA;  );&#xA;}&#xA;&#xA;class Video extends Component {&#xA;  render() {&#xA;    return (&#xA;      &#xA;    )&#xA;  }&#xA;}&#xA;&#xA;export default App;&#xA;

    &#xA;

    index.js in node_modules\fluent-ffmpeg\ :

    &#xA;

    module.exports = process.env.FLUENTFFMPEG_COV ? require(&#x27;./lib-cov/fluent-ffmpeg&#x27;) : require(&#x27;./lib/fluent-ffmpeg&#x27;);&#xA;

    &#xA;

  • ffmpeg piped to python and displayed with cv2.imshow slides rightward and changes colors

    10 septembre 2021, par Michael

    Code :

    &#xA;

    import cv2&#xA;import time&#xA;import subprocess&#xA;import numpy as np&#xA;&#xA;w,h = 1920, 1080&#xA;fps = 15&#xA;&#xA;def ffmpegGrab():&#xA;    """Generator to read frames from ffmpeg subprocess"""&#xA;    cmd = f&#x27;.\\Resources\\ffmpeg.exe -f gdigrab -framerate {fps} -offset_x 0 -offset_y 0 -video_size {w}x{h} -i desktop -pix_fmt bgr24 -vcodec rawvideo -an -sn -f image2pipe -&#x27; &#xA;&#xA;    proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True)&#xA;    while True:&#xA;        raw_frame = proc.stdout.read(w*h*3)&#xA;        frame = np.fromstring(raw_frame, np.uint8)&#xA;        frame = frame.reshape((h, w, 3))&#xA;        yield frame&#xA;&#xA;# Get frame generator&#xA;gen = ffmpegGrab()&#xA;&#xA;# Get start time&#xA;start = time.time()&#xA;&#xA;# Read video frames from ffmpeg in loop&#xA;nFrames = 0&#xA;while True:&#xA;    # Read next frame from ffmpeg&#xA;    frame = next(gen)&#xA;    nFrames &#x2B;= 1&#xA;&#xA;    frame = cv2.resize(frame, (w // 4, h // 4))&#xA;&#xA;    cv2.imshow(&#x27;screenshot&#x27;, frame)&#xA;&#xA;    if cv2.waitKey(1) == ord("q"):&#xA;        break&#xA;&#xA;    fps = nFrames/(time.time()-start)&#xA;    print(f&#x27;FPS: {fps}&#x27;)&#xA;&#xA;&#xA;cv2.destroyAllWindows()&#xA;

    &#xA;

    The code does display the desktop capture however the color format seems to switch and the video scrolls rightward as if it is repeated. Am I going about this in the correct way ?

    &#xA;

  • Python 3 subprocess.popen() doesn't work on linux. Works on windows [closed]

    30 avril 2021, par user2628458
    process = subprocess.Popen(&#xA;    cmd, shell=True,&#xA;    stdout=subprocess.PIPE, stderr=subprocess.STDOUT,&#xA;     universal_newlines=True)&#xA;for line in process.stdout:&#xA;    # ...&#xA;

    &#xA;

    I have this line that executes an FFmpeg job and throws out every line in the output to a variable. It works fine on Windows, but doesn't work at all on Linux. The for loop never gets executed. I can't find anything about this, or the difference between Windows and Linux subprocess.Popen(). Can you please point me the right way to fix this ?

    &#xA;