Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (65)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Contribute to documentation

    13 avril 2011

    Documentation is vital to the development of improved technical capabilities.
    MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
    To contribute, register to the project users’ mailing (...)

Sur d’autres sites (8763)

  • Live video streaming with Node js ,HTML5, MPEG-DASH, FFMPEG and IP camera/Raspberry Pi

    12 mai 2016, par sparks

    I am a programmer but i am very new in live video streaming concepts.I need help

    What i want to accomplish

    I want to develop an online live video streaming system.The scenario is i would have a device or number of devices(raspberry pi & camera only OR ip camera only ...not sure yet) to capture the video and stream the video live in real time remotely to my web app.Multiple clients can connect to the web app and watch the video live.The key things to note here, is that these devices should be wireless(able to connect to internet and live stream the content) and also i want to eliminate the idea of manually configuring the ip adrress to local WIFI router.So simply i turn on the device and it start streaming right away to the web app.

    Infrastructure, Platforms,Browsers, Streaming methods and formats

    In the beginning i just want to stream though chrome web browser(that’s all i care about).But in the future i would build android and IOS mobile apps.So long term i would expect to be Chrome and mobile(Android & IOS platforms)
    So based on my research i learned that the client should be HTML5, streaming method MPEG-DASH(In the future add HLS), the web app will be in Node Js.I also came across Dash.js for Html5.

    My understanding of streaming based on my research

    I also came across things like FFMPEG,Dash encoder and wowza which i am not clear about.Now correct me if i am wrong, my understanding is that FFMPEG get hold of the device/camera and the content(i am not sure the format of the content at this point)and format it(i am not sure what this means in simple english) and then Dash encoder picks up and re-format the content to MPEG-DASH format, which produces MPD and then Dash.js client uses MPD to display the video to the browser.

    QUESTIONS

    1. First correct me if i am wrong based on my understanding above or
      clarify for me.Also I am not sure of where the wowza streaming
      engine come into play. Do i even need it ?

    2. I am not sure of the devices to use between Raspberry pi with camera
      module/ Or IP Wifi camera by itself.I know with raspberry pi
      connected to internet you can set up all the necessary programs and
      stream the video to web app directly(not sure about quality and
      performance) but I am not sure about Wifi camera.Is it possible to
      connect to the wifi camera remotely from the web app programatically
      without opening the wifi router portal manually or i should stick
      with Raspbery Pi ?

    3. For raspberry Pi would i be able to connect it with high quality
      picture IP camera/web cam ? (The point here to get the best picture
      through raspbery Pi)

      My expectations

      Better performance and quality would be great.But i know live streaming is not easy so i am willing to compromise performance to a point but not quality.

    Thank you in advance, Anything will be appreciated.I know this is a lot so take your time :)

  • android ffmpeg error fatal signal 11

    10 décembre 2014, par AKUMA

    I’m using ffmpeg on Android. and Use RTSP webcam.

    I refer here.

    I get good video.

    But I receive error when I ended the video.

    Fatal signal 11 (SIGSEGV) at 0x8a7c0d04 (code=1), thread 2537 (Thread-13225)

    So I found the error using the log. But I don’t know why the error occurred.

    The code below is the location of the error.

    void closeMovie(){
     av_read_pause(gFormatCtx);
     if (gVideoBuffer != NULL) {
       free(gVideoBuffer);
       gVideoBuffer = NULL;
     }
     if (gFrame != NULL)
         av_free(gFrame);
     if (gFrameRGB != NULL)
         av_free(gFrameRGB);
     if (gVideoCodecCtx != NULL) {
         avcodec_close(gVideoCodecCtx);
         av_free(gVideoCodecCtx);
         gVideoCodecCtx = NULL;
     }
     if (gFormatCtx != NULL) {
         **av_close_input_file(gFormatCtx);** //here
         gFormatCtx = NULL;
     }
    }

    and

    void av_close_input_file(AVFormatContext *s)
    {
     AVIOContext *pb = (s->iformat->flags & AVFMT_NOFILE) || (s->flags & AVFMT_FLAG_CUSTOM_IO) ?
                      NULL : s->pb;
     **av_close_input_stream(s);**// here
     if (pb)
       avio_close(pb);
    }

    and

    void av_close_input_stream(AVFormatContext *s)
    {
       flush_packet_queue(s);
       if (s->iformat->read_close)
          **s->iformat->read_close(s);** //here
       avformat_free_context(s);
    }

    if //s->iformat->read_close(s); not crash

    But I can not open the video once more. Again to open the video I have to quit the app.

    Sorry, I can’t speak English very well.
    Thanks for reading.

    ps1. LogCat

    12-10 10:08:02.991: D/TAG(21770): TAG - closeMovie1 - in
    12-10 10:08:02.991: D/TAG(21770): TAG - avcodec_close - in
    12-10 10:08:02.991: D/TAG(21770): av_opt_free - on
    12-10 10:08:02.991: D/TAG(21770): av_opt_free - out
    12-10 10:08:02.991: D/TAG(21770): TAG - avcodec_close - out
    12-10 10:08:02.991: D/TAG(21770): TAG - av_close_input_file - in
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_close_input - in
    12-10 10:08:02.991: D/TAG(21770): TAG - flush_packet_queue -
    12-10 10:08:02.991: D/TAG(21770): flush_packet_queue - on
    12-10 10:08:02.991: D/TAG(21770): flush_packet_queue - out
    12-10 10:08:02.991: D/TAG(21770): TAG - s->iformat->read_close : 0
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_free_context
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_free_context - in
    12-10 10:08:02.991: D/TAG(21770): av_opt_free - on
    12-10 10:08:02.991: D/TAG(21770): av_opt_free - out
    12-10 10:08:02.991: D/TAG(21770): av_opt_free - on
    12-10 10:08:02.991: D/TAG(21770): av_opt_free - out
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_for_length s->nb_streams - 3
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_for_nb_streams - in
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_for_ nb_streams - out
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_for_nb_streams - in
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_for_ nb_streams - out
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_for_nb_streams - in
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_for_ nb_streams - out
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_for_length s->nb_programs-1 - -1
    12-10 10:08:02.991: D/TAG(21770): TAG - freep 1
    12-10 10:08:02.991: D/TAG(21770): TAG - freep 2
    12-10 10:08:02.991: D/TAG(21770): TAG - while
    12-10 10:08:02.991: D/TAG(21770): TAG - freep 3
    12-10 10:08:02.991: D/TAG(21770): TAG - dict_free 1
    12-10 10:08:02.991: D/TAG(21770): TAG - freep 4
    12-10 10:08:02.991: D/TAG(21770): TAG - freep 3
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_free_context - out
    12-10 10:08:02.991: D/TAG(21770): TAG - avio_close - in
    12-10 10:08:02.991: D/TAG(21770): TAG - avio_close - 1
    12-10 10:08:02.991: D/TAG(21770): TAG - avio_close - 2
    12-10 10:08:02.991: D/TAG(21770): TAG - avio_close - out
    12-10 10:08:02.991: D/TAG(21770): TAG - avio_close(pb) : 0
    12-10 10:08:02.991: D/TAG(21770): TAG - avio_close - in
    12-10 10:08:02.991: D/TAG(21770): TAG - avio_close - 1
    12-10 10:08:02.991: D/TAG(21770): TAG - avio_close - 2
    12-10 10:08:02.991: D/TAG(21770): TAG - avio_close - out
    12-10 10:08:02.991: D/TAG(21770): TAG - avformat_close_input - out
    12-10 10:08:02.991: D/TAG(21770): TAG - av_close_input_file - out
    12-10 10:08:02.991: D/TAG(21770): TAG - closeMovie1 - out
    12-10 10:08:03.151: D/AbsListView(21770): onVisibilityChanged() is called, visibility : 0
    12-10 10:08:03.151: D/AbsListView(21770): unregisterIRListener() is called
    12-10 10:08:03.201: D/AbsListView(21770): unregisterIRListener() is called
    12-10 10:08:03.221: D/AbsListView(21770): unregisterIRListener() is called
    12-10 10:08:03.241: A/libc(21770): Fatal signal 11 (SIGSEGV) at 0x8bb85698 (code=1), thread 21938 (Thread-23561)

    ps2.The order of the log.

    (BasicPlayer.c) closeMovie in->
    (utils.c) avcodec_close ->
    (utils.c) av_close_input_file ->
    (utils.c) avformat_close_input ->
    (utils.c) flush_packet_queue ->
    (utils.c) **s->iformat->read_close(s)** ->
    (utils.c) avformat_free_context ->
    (utils.c) avio_close(pb) ->
    (BasicPlayer.c) closeMovie out
  • Grey squared artifacts after HEVC 10-bit encoding using FFmpeg's NVENC encoder

    20 juillet 2017, par Cryman

    Recently I purchased a brand new GPU - AORUS GeForce GTX 1080 Ti. I found out that it supports HEVC 10-bit encoding, so I wanted to give that a try. Unfortunately, after encoding I noticed some artifacts, which occur in dark scenes and last one frame of the video. You can see them on these screenshots :

    Screenshot of a still from an animated scene. There is an artifact near the bottom and slightly to the left. It is square shaped with white squiggles.

    Screenshot of a still from another animated scene. The artifact looks the same as in the previous image but is in a different location, higher up and closer to the center.

    I was wondering if someone could help me figure out what might be the cause of these artifacts and how I can get rid of them.

    Here is the MI of the source video :

    ID                                       : 1
    Format                                   : AVC
    Format/Info                              : Advanced Video Codec
    Format profile                           : High@L4.1
    Format settings, CABAC                   : Yes
    Format settings, ReFrames                : 4 frames
    Codec ID                                 : V_MPEG4/ISO/AVC
    Duration                                 : 2 h 2 min
    Bit rate mode                            : Variable
    Bit rate                                 : 29.5 Mb/s
    Maximum bit rate                         : 37.0 Mb/s
    Width                                    : 1 920 pixels
    Height                                   : 1 080 pixels
    Display aspect ratio                     : 16:9
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 (24000/1001) FPS
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 8 bits
    Scan type                                : Progressive
    Bits/(Pixel*Frame)                       : 0.593
    Stream size                              : 25.2 GiB (66%)
    Language                                 : English
    Default                                  : Yes
    Forced                                   : No

    And here is the MI of the encoded video :

    ID                                       : 1
    Format                                   : HEVC
    Format/Info                              : High Efficiency Video Coding
    Format profile                           : Main 10@L4@Main
    Codec ID                                 : V_MPEGH/ISO/HEVC
    Duration                                 : 2 h 2 min
    Bit rate                                 : 3 689 kb/s
    Width                                    : 1 920 pixels
    Height                                   : 800 pixels
    Display aspect ratio                     : 2.40:1
    Frame rate mode                          : Constant
    Frame rate                               : 23.976 (24000/1001) FPS
    Standard                                 : Component
    Color space                              : YUV
    Chroma subsampling                       : 4:2:0
    Bit depth                                : 10 bits
    Bits/(Pixel*Frame)                       : 0.100
    Stream size                              : 3.15 GiB (95%)
    Default                                  : Yes
    Forced                                   : No
    Color range                              : Limited

    The command I’m using for encoding :

    ffmpeg -hide_banner -i "" -map 0:v:0 -map_chapters -1 -map_metadata -1 -vf "crop=1920:800:0:140" -vcodec hevc_nvenc -pix_fmt p010le -preset hq -profile:v main10 -rc constqp -global_quality 21 -rc-lookahead 32 -g 240 -f matroska Video_CQP21_LAF32_GOP240.mkv