Recherche avancée

Médias (1)

Mot : - Tags -/bug

Autres articles (112)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

Sur d’autres sites (14984)

  • How do I access / stream an IP Camera (RTSP, ONVIF) from iOS using Swift

    24 avril 2015, par European

    I am a beginning Swift programmer with no Objective-C experience. I would like to create a UIView subclass which displays a video stream from an IP camera (RTSP, ONVIF).

    It looks like I will need to use the ffmpeg library http://sourceforge.net/projects/ffmpeg-ios/

    I did find one ffmpeg tutorial in Japanese ;-) http://qiita.com/tottokotkd/items/d9d376d5993961627aec

    Does anyone know of a tutorial on streaming an IP camera using Swift ?

  • Live audio streaming from IP camera/rtsp to website

    16 décembre 2018, par Peter Pihlmann Pedersen

    I have a Dahua IP camera with a microphone. I would like to get the audio stream playing on a website like a live radio.

    I have a raspberry pi which I was planning to use with ffmpeg, but I haven’t had much success in bridging the gap between that and my website to form an audio stream.

    • Can this be done via sftp/ftp with mp3 files and some fancy php/javascript to play like a live radio ?

    • Do I need to use another service ? (would like to minimise costs as much as possible !)

    Thanks !

    Peter

  • Android - How can I pass camera stream to ffmpeg, using Camera2 library ?

    29 mars 2021, par Juan José Cetraro

    I am trying to create an app that shows the camera of the device on the screen, and also streams the camera by srt. To do this, I am using Camera2 library, and ffmpeg (in partucular I am using https://github.com/tanersener/mobile-ffmpeg, that is a ffmpeg wrapper for Android).

    


    My plan is to get the camera stream using Camera2 (using the method onImageAvailable on ImageReader.OnImageAvailableListener class), and send this stream to udp ://localhost:1234. Then, I can use ffmpeg to get that stream by udp, and send it by srt.

    


    I've already solved the part of sending the stream by srt using ffmpeg, and it works fine. In fact, if I set "android_camera" as the input of my ffmpeg command, my app works ok. The problem with this approach, is that if I do that, I block the access to the camera, so I can't show the camera on the screen with another library.

    


    I also found a code that uses Camera2 to stream the camera by udp, and it works, but the problem with this code is that converts each frame to bitmap before sending it by udp, and it makes that it is not performant.

    


    So, I need to know which is the best way to pass the data by udp to ffmpeg, so ffmpeg could process it and send it by srt ?

    


    Camera2 let me to configure which format I want to receive the frames on my listener :

    


    ImageReader.newInstance(1280, 720, ImageFormat.JPEG, /*maxImages*/2);


    


    In this example I am setting JPEG as ImageFormat, but here I let you all the available formats I could use :

    


    UNKNOWN, RGB_565, YV12, Y8, Y16, NV16, NV21, YUY2, JPEG, DEPTH_JPEG, YUV_420_888, YUV_422_888, YUV_444_888, FLEX_RGB_888, FLEX_RGBA_8888, RAW_SENSOR, RAW_PRIVATE, RAW10, RAW12, DEPTH16, DEPTH_POINT_CLOUD, RAW_DEPTH, PRIVATE, HEIC

    


    This is the method where I am going to receive each frame, and what I need to know is what kind of transformation I have to do before sending the frame by udp to ffmpeg ? :

    


    @Override
public void onImageAvailable(ImageReader reader) {

}


    


    Thanks in advance for reading the question :)