Recherche avancée

Médias (91)

Autres articles (66)

  • 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 ;

  • Soumettre améliorations et plugins supplémentaires

    10 avril 2011

    Si vous avez développé une nouvelle extension permettant d’ajouter une ou plusieurs fonctionnalités utiles à MediaSPIP, faites le nous savoir et son intégration dans la distribution officielle sera envisagée.
    Vous pouvez utiliser la liste de discussion de développement afin de le faire savoir ou demander de l’aide quant à la réalisation de ce plugin. MediaSPIP étant basé sur SPIP, il est également possible d’utiliser le liste de discussion SPIP-zone de SPIP pour (...)

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

  • ffmpeg - less frames getting extracted than expected

    20 juin 2021, par Vrajesh Doshi
    


    ffmpeg -i instagram.mp4 -vf fps=29.97 thumb%06d.jpg -hide_banner

    
 


    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'instagram.mp4' : Metadata :
 major_brand : isom
 minor_version : 512
 compatible_brands : isomiso2avc1mp41
 encoder : Lavf55.19.104 Duration : 00:00:13.61, start : 0.000000, bitrate : 1163 kb/s
 Stream #0:0(und) : Video : h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 640x640 [SAR 1:1 DAR 1:1], 1099 kb/s, 29.97 fps,
 29.97 tbr, 11988 tbn, 59.94 tbc (default)
 Metadata :
 handler_name : VideoHandler
 Stream #0:1(und) : Audio : aac (LC) (mp4a / 0x6134706D), 44100 Hz, mono, fltp, 64 kb/s (default)
 Metadata :
 handler_name : SoundHandler Stream mapping : Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (native)) Press [q] to stop, [?] for help [swscaler @ 0x55b2b53cf440] deprecated pixel format used, make sure
 you did set range correctly Output #0, image2, to 'thumb%06d.jpg' :
    
 Metadata :
 major_brand : isom
 minor_version : 512
 compatible_brands : isomiso2avc1mp41
 encoder : Lavf57.83.100
 Stream #0:0(und) : Video : mjpeg, yuvj420p(pc), 640x640 [SAR 1:1 DAR 1:1], q=2-31, 200 kb/s, 29.97 fps, 29.97 tbn, 29.97 tbc (default)
 Metadata :
 handler_name : VideoHandler
 encoder : Lavc57.107.100 mjpeg
 Side data :
 cpb : bitrate max/min/avg : 0/0/200000 buffer size : 0 vbv_delay : -1 frame= 405 fps=231 q=24.8 Lsize=N/A time=00:00:13.51 bitrate=N/A speed=7.72x video:5961kB audio:0kB subtitle:0kB other streams:0kB
 global headers:0kB muxing overhead : unknown

    


    



    The video duration is 13.61 seconds and frame rate is 29.97. So I was expecting 13.61 * 29.97 = 407.8917 i.e. 407 frames. But have got 405 frames. I am new to ffmpeg, need help to correctly get all 407 frames.

    



    I had also tried following command,

    



    ffmpeg -i instagram.mp4 thumb%06d.jpg -hide_banner


    



    but the output was same 405 frames.

    



    Possibly the start 2 frames are missing.

    



    I need to display the frames generated in the base video timeline. And on clicking on the frame I need to exactly seek the video to the frame position using HTML5 currentTime. Since the first 2 frames are not getting available, exact mapping is not getting possible.

    



    Please guide.

    


  • Swift MpmoviePlayerController RTSP Live Stream

    17 octobre 2015, par Janis Thr

    I want to stream a livepicture via RTSP from my actioncam (Qumox SJ4000) to MPMoviePlayerController.
    Does someone have an idea if this is possible ? Do I need FFmpeg to convert the Stream to HLS or is there an easier solution ?

    My current code works fine with the HLS-Stream, but not with the rtsp-stream.

    import UIKit
    import MediaPlayer


    class ViewController: UIViewController {

       var moviePlayer: MPMoviePlayerController!

          override func viewDidLoad() {
           super.viewDidLoad()

           var url:NSURL = NSURL(string: "http://jplayer.org/video/m4v/Big_Buck_Bunny_Trailer.m4v")!
           //url = NSURL(string: "rtsp://192.168.1.254:554/sjcam.mov")!
           moviePlayer = MPMoviePlayerController(contentURL: url)
           moviePlayer.view.frame = CGRect(x: 20, y: 100, width: 200, height: 150)

           self.view.addSubview(moviePlayer.view)
           moviePlayer.fullscreen = false

           moviePlayer.controlStyle = MPMovieControlStyle.Embedded
           moviePlayer.prepareToPlay()
           moviePlayer.play()

       }
    }
  • ffmpeg no video with supported format and mime type

    3 avril 2013, par Sam Healey

    Im using ffmpeg on centos6.

    Im trying to convert a video I have mpeg4 selected as output extension.

    When I try to view the video in firefox I get the following error - no video with supported format and mime type. If I view it in ie I just get 1 frame, it looks just like a photo, I click it to play it but nothing happens.

    What do I need to do ?