Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (20)

  • Submit bugs and patches

    13 avril 2011

    Unfortunately a software is never perfect.
    If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
    If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
    You may also (...)

  • 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

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

Sur d’autres sites (4085)

  • How can I save an animation from matplotlib as a mp4 video file ? [duplicate]

    19 décembre 2018, par Manza

    This question already has an answer here :

    I’m trying to render a animation.ArtistAnimation object into a 24 fps video file in format mp4.

    I have search about and I reached this. However, even after compiling ffmpeg I get this error message :

    C:\Users\trite\OneDrive\Documentos\MusiTex\Python\venv\Scripts\python.exe
    "C:/Users/trite/OneDrive/Documentos/MusiTex/Python/venv/Saving Animation.py"
    Traceback (most recent call last):
     File "C:\Users\trite\OneDrive\Documentos\MusiTex\Python\venv\lib\site-
    packages\matplotlib\animation.py", line 161, in __getitem__
       return self.avail[name]
    KeyError: 'ffmpeg'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
     File "C:/Users/trite/OneDrive/Documentos/MusiTex/Python/venv/Saving
    Animation.py", line 20, in <module>
       FFMpegWriter = manimation.writers['ffmpeg']
     File "C:\Users\trite\OneDrive\Documentos\MusiTex\Python\venv\lib\site-
    packages\matplotlib\animation.py", line 164, in __getitem__
       'Requested MovieWriter ({}) not available'.format(name))
    RuntimeError: Requested MovieWriter (ffmpeg) not available

    Process finished with exit code 1
    </module>

    What is the problem with ?

    I would really appreciate if you can help me. Actually, if there is other ways to saving/render this kind of object into a video file (preferably mp4) I will be delighted to hear them.

    Thank you very much

  • How to save frame numbers with ffmpeg ?

    28 décembre 2018, par JulianJ

    I am using ffmpeg to scan video files for scene changes and save the results to a text file. The code I am using below works but I want to simplify the results and just output the frames number where the scene changes occur and the not all the data that this code produces. Any suggestions ?

    ffprobe -show_frames -of compact=p=0 -f lavfi "movie=input.mov,select=gt(scene\,.02)" > results.txt

    Outputs all this :

    media_type=video    stream_index=0  key_frame=1 pkt_pts=31031   pkt_pts_time=1.292958   pkt_dts=31031   pkt_dts_time=1.292958   best_effort_timestamp=31031 best_effort_timestamp_time=1.292958 pkt_duration=N/A    pkt_duration_time=N/A   pkt_pos=82320   pkt_size=629760 width=640   height=328  pix_fmt=rgb24   sample_aspect_ratio=1:1 pict_type=I coded_picture_number=0  display_picture_number=0    interlaced_frame=0  top_field_first=0   repeat_pict=0   tag:lavfi.scene_score=0.025551  
  • Node.js Stream Mp3 to http without having to save file

    10 janvier 2019, par user2758113

    I am trying to stream just audio from a youtube link straight to http with node.js.

    My code looks like this, I am using express 4.0.

    var express = require('express');
    var router = express.Router();
    var ytdl = require('ytdl');
    var ffmpeg = require('fluent-ffmpeg');
    var fs = require('fs');

    router.get('/', function(req, res) {

     var url = 'https://www.youtube.com/watch?v=GgcHlZsOgQo';
     var video = ytdl(url)

     res.set({
         "Content-Type": "audio/mpeg"
     })

     new ffmpeg({source: video})
         .toFormat('mp3')
         .writeToStream(res, function(data, err) {
           if (err) console.log(err)
         })

    });

    module.exports = router;

    Now, I’m able to stream the video’s audio to the response if I save the file then pipe it to the response, but I’d rather try to figure out some way to go from downloading to ffmpeg to response.

    Not sure if this is possible. The main goal is to keep it as light weight as possible, and not have to read from files.

    I’ve seen this code which is essentially what I’d like to do minus the saving to a file part.

    part of the error