Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (42)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • Support audio et vidéo HTML5

    10 avril 2011

    MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
    Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
    Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
    Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)

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

  • How to repair a raw H.264 stream using FFmpeg

    13 janvier 2020, par Chris Kennedy

    I apologize if I start rambling or seem incoherent.

    Preface : My house caught on fire last week.

    I have been trying to get the footage off my security camera system (Zmodo, don’t ever buy this crap) to share with the fire marshal and my insurance. I can’t get it off the "proper" way because the box doesn’t detect any drive or any file system I throw at it, and none of their viewing apps (for Android or Windows) allow video downloads.

    I was able to get the files directly from the system’s hard drive, but they’re (of course) messed up in such a way that I can’t just open up VLC (or even Zmodo’s own viewing software !) and view them. I have spent several hours scouring the web for various ways to run it through FFmpeg to see if it can repair the file, but I’ve had no luck so far and my mind is already stretched thin with everything else.

    This is the output from ffprobe :

    ffprobe version 4.2.1 Copyright (c) 2007-2019 the FFmpeg developers
     built with gcc 9.1.1 (GCC) 20190807
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt
     libavutil      56. 31.100 / 56. 31.100
     libavcodec     58. 54.100 / 58. 54.100
     libavformat    58. 29.100 / 58. 29.100
     libavdevice    58.  8.100 / 58.  8.100
     libavfilter     7. 57.100 /  7. 57.100
     libswscale      5.  5.100 /  5.  5.100
     libswresample   3.  5.100 /  3.  5.100
     libpostproc    55.  5.100 / 55.  5.100
    [h264 @ 000002479ee1c180] Format h264 detected only with low score of 1, misdetection possible!

    Then this repeats several dozen times :

       Last message repeated 1 times
    [h264 @ 000002479ee1de40] decode_slice_header error
    [h264 @ 000002479ee1de40] no frame!
    [h264 @ 000002479ee1de40] non-existing PPS 0 referenced

    And it finishes off with this :

    [h264 @ 000002479ee1c180] Could not find codec parameters for stream 0 (Video: h264, none): unspecified size
    Consider increasing the value for the 'analyzeduration' and 'probesize' options
    Input #0, h264, from '.\recfile_-200102-130000-135959-00001100.264':
     Duration: N/A, bitrate: N/A
       Stream #0:0: Video: h264, none, 25 fps, 25 tbr, 1200k tbn, 50 tbc

    I have tried several options with ffmpeg, including force_key_frames, setting the analyzeduration and probesize options to max_int, tried a -c copy, forcibly specified x264, tried to force a specific resolution (which it should all be standard HD video), and several others that I can’t recall at the moment.

    The video files are also accompanied by a .IDX file, but I haven’t figured out how important they are if they are at all to the video file.

    I can provide links to the smallest video and its associated IDX if needed, but if anyone can think of anything else to try on these files I’d greatly appreciate it.

  • Grab frame from video (as Inputstream) using JavaCV in Java

    23 janvier 2020, par Praveen Gopal

    I am using JavaCV to grab frame from Video.

    I can grab if video is in absolute path. But if video is in HTTP than JavaCV throw error.

       url = new URL("http://www.sample-videos.com/video/mp4/720/SampleVideo.mp4");
       urlConnection = (HttpURLConnection) url.openConnection();
       InputStream inputStream = urlConnection.getInputStream();
       Java2DFrameConverter bimConverter = new Java2DFrameConverter();

       FFmpegFrameGrabber frameGrabber = new FFmpegFrameGrabber(inputStream);

       String output = "C:\\Users\\xxxx\\Downloads\\Test";
       frameGrabber.start();
        Frame frame;  
        double frameRate=frameGrabber.getFrameRate();  
        int imgNum=5;  
        System.out.println("Video has "+frameGrabber.getFrameRate()+" frames and has frame rate of "+frameRate);  
        try {  
          frameGrabber.setFrameNumber(1000);
          frame = frameGrabber.grabKeyFrame();  
          BufferedImage bi = bimConverter.convert(frame);  
          String path = output+File.separator+imgNum+".jpg";  
          ImageIO.write(bi,"png", new File(path));
          frameGrabber.stop();  
          frameGrabber.close();
          frameGrabber.flush();                                                                        
        } catch (Exception e) {  
          e.printStackTrace();  
        }

    Any help would be helpful.
    Thanks in advance.

  • Grab frame from video using JavaCV

    26 août 2020, par Praveen Gopal

    I am using JavaCV to grab frame from Video.

    


    I can grab if video is in absolute path. But if video is in HTTP than JavaCV throw error.

    


        url = new URL("http://www.sample-videos.com/video/mp4/720/SampleVideo.mp4");
    urlConnection = (HttpURLConnection) url.openConnection();
    InputStream inputStream = urlConnection.getInputStream();
    Java2DFrameConverter bimConverter = new Java2DFrameConverter();

    FFmpegFrameGrabber frameGrabber = new FFmpegFrameGrabber(inputStream);

    String output = "C:\\Users\\xxxx\\Downloads\\Test";
    frameGrabber.start();
     Frame frame;  
     double frameRate=frameGrabber.getFrameRate();  
     int imgNum=5;  
     System.out.println("Video has "+frameGrabber.getFrameRate()+" frames and has frame rate of "+frameRate);  
     try {   
       frameGrabber.setFrameNumber(1000);
       frame = frameGrabber.grabKeyFrame();  
       BufferedImage bi = bimConverter.convert(frame);  
       String path = output+File.separator+imgNum+".jpg";  
       ImageIO.write(bi,"png", new File(path));
       frameGrabber.stop();   
       frameGrabber.close();
       frameGrabber.flush();                                                                        
     } catch (Exception e) {  
       e.printStackTrace();  
     }