Recherche avancée

Médias (1)

Mot : - Tags -/swfupload

Autres articles (43)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (4683)

  • ffmpeg, how to cut to exactly at the start and end time ? [closed]

    28 mars 2024, par Wayne Julian

    According to this article you can only cut the time, but not specify when to cut from the original video. So the end time will always be wrong. You need to calculate each time on the timeline when your video will end.

    


    e.g. -ss 01:30:40 -to 03:03:05 will cut your video in the wrong order, because it starting the calculation not from the 00:00:00 of the video, but from the -ss 01:30:40

    


    Is there a workaround for this ?

    


    example command :
ffmpeg -ss 00:14:15 -an -i  "2022-05-30.mp4" -to 01:30:40 -crf 23 -c:v libx264 PART1.mp4

    


    I will lose 14:15 minutes here, it is clearly a bug.
I need to extract 14:15 from the end time to get the correct time of the result video. When it comes to multiple video-editing it's so annoying.

    


  • avcodec/h2645_parse : Don't treat 0x000002 as a start code and truncate

    13 février 2024, par Mattias Wadman
    avcodec/h2645_parse : Don't treat 0x000002 as a start code and truncate
    

    According to ITU-T H.265 7.4.2.1 this byte sequence should not appear in a
    NAL unit but in practice in rare cases it seems it does, possibly due to buggy
    encoders. Other players like VLC and Quicktime seem to be fine with it.

    Currently when this sequence is found it is treated as if the next start code
    has been found and the NAL unit gets truncated.

    This change limits the code to only look for first start code 0x0000001 or
    first escape 0x000003.

    Sadly i can't share the original source file with the issue but the first
    80 bytes of the NAL unit looks like this :

    │00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f│0123456789abcdef│
    0x00000│00 00 00 01 02 01 d0 bc 57 a1 b8 44 70 01 00 0b│........W..Dp...│
    0x00010│80 2e 00 c2 6c ec 3e b9 e3 03 fb 91 2e d2 43 cb│....l.>.......C.│
    0x00020│1d 2c 00 00 02 00 02 00 5c 93 72 6f 31 76 18 00│.,......\.ro1v..│
    0x00030│08 38 aa b1 4c 33 3f fd 08 cb 77 9b d4 3c db 02│.8..L3 ?...w..<..│
    0x00040│a2 04 73 15 75 de 3b c4 67 c0 8f ca ad 31 f1 99│..s.u. ;.g....1..│

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DH] libavcodec/h2645_parse.c
  • How to get specific start & end time in ffmpeg by Node JS ?

    3 novembre 2017, par Santosh Suryawanshi

    I want to cut a video in specific start & end time & save it. I cant understand how to cut specific time of that video by Node JS.

    Video copy code :

    return new Promise(function(resolve ,reject){
           var ffmpeg = require('fluent-ffmpeg');
           ffmpeg(fs.createReadStream(path.join(__dirname,'..','..','/video.mp4')))
               .seekInput('01:00')
               .duration('02:00')
               .outputOptions('-strict experimental')
               .on('start', function(commandLine) {
                   console.log('Spawned Ffmpeg with command: ' + commandLine);
                   }).on('end', function(err) {
                   if (!err) {
                       console.log('conversion Done');
                       //res.send("conversion Done");
                       resolve();
                   }
                   }).on('error', function(err) {
                       console.log('error: ', +err);
                       reject(err);
                   }).save(path.join(__dirname,'..','..','/test.mp4'));
       });