Recherche avancée

Médias (0)

Mot : - Tags -/logo

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

Autres articles (54)

  • Keeping control of your media in your hands

    13 avril 2011, par

    The vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
    While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
    MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
    MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...)

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

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

Sur d’autres sites (7085)

  • 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 :)

    


  • ExoPlayer and deinterlacing feature

    21 février 2021, par Suppaman

    I want to use ExoPlayer to show interlaced video but, especially for SD content, the video looks really bad without any deinterlacing feature. Looking in the ExoPlayer project it seem the player doesn't have such deinterlacing feature and doesn't seem in plan to be added. I'm thinking to try add deinterlacing by using the deinterlacing engine of ffmpeg library. However it don't seem and easy task. I found some projects that could help me like this ExoPlayerFilter that apply a filter on the frame before show. This could be a possible way to "deinterlace" the frame before show. Another possible suggestion comes from the tread in github Exoplayer project here. This could be another possible way to proceed. My problem is that I have a limited time to try add this feature and I would to know from people having more experience than me what would be most "suggested" way to follow or if someone know another better way to reach my results.

    


    Thank you

    


  • How to take metadata from .mp3 file and put it to a video as a text using FFmpeg ?

    6 décembre 2020, par Grrzly

    In my previously opened topic :

    


    How to make FFmpeg automatically inject mp3 audio tracks in the single cycled muted video


    


    I've got detailed explanation from @llogan how to broadcast looped short muted video on youtube automatically injecting audio tracks in it without interrupting a translation.

    


    I plan to enhance the flow and the next question I faced with is how to dynamically put an additional text to the broadcast.

    


    Prerequisites :

    


      

    1. youtube broadcast is up and running by ffmpeg
    2. 


    3. short 3 min video is paying in infinity loop
    4. 


    5. audio tracks from playlist are automatically taken by "ffmpeg concat" and injected in the video one by one
    6. 


    


    this is a basic command to start translation :

    


    


    ffmpeg -re -fflags +genpts -stream_loop -1 -i video.mp4 -re -f concat
-i input.txt -map 0:v -map 1:a -c:v libx264 -tune stillimage -vf format=yuv420p -c:a copy -g 20 -b:v 2000k -maxrate 2000k -bufsize
8000k -f flv rtmp ://a.rtmp.youtube.com/live2/my-key

    


    


    Improvements I want to bring

    


      

    1. I plan to store some metadata in audio files (basically it's an artist name and a song name)
    2. 


    3. At the moment a particular song starts playing artist/song name should be taken from metadata and displayed on the video as text during the whole song is playing.
    4. 


    5. When the current song finishes and a new one starts playing the previous artist/song text should be replaced with the new one etc
    6. 


    


    My question is how to properly take metadata and add it to the existing broadcast config using ffmpeg ?