Recherche avancée

Médias (2)

Mot : - Tags -/kml

Autres articles (19)

  • Encodage et transformation en formats lisibles sur Internet

    10 avril 2011

    MediaSPIP transforme et ré-encode les documents mis en ligne afin de les rendre lisibles sur Internet et automatiquement utilisables sans intervention du créateur de contenu.
    Les vidéos sont automatiquement encodées dans les formats supportés par HTML5 : MP4, Ogv et WebM. La version "MP4" est également utilisée pour le lecteur flash de secours nécessaire aux anciens navigateurs.
    Les documents audios sont également ré-encodés dans les deux formats utilisables par HTML5 :MP3 et Ogg. La version "MP3" (...)

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

  • Diogene : création de masques spécifiques de formulaires d’édition de contenus

    26 octobre 2010, par

    Diogene est un des plugins ? SPIP activé par défaut (extension) lors de l’initialisation de MediaSPIP.
    A quoi sert ce plugin
    Création de masques de formulaires
    Le plugin Diogène permet de créer des masques de formulaires spécifiques par secteur sur les trois objets spécifiques SPIP que sont : les articles ; les rubriques ; les sites
    Il permet ainsi de définir en fonction d’un secteur particulier, un masque de formulaire par objet, ajoutant ou enlevant ainsi des champs afin de rendre le formulaire (...)

Sur d’autres sites (5700)

  • How to make videos .mp4 for a Phillips Media Player GO GEAR VIBE models ? [closed]

    14 avril 2023, par Ivan Rojas Calvo

    Here is the answer by steps (4/13/23) :

    


      

    1. First download and install the software WinFF here

      


    2. 


    3. Check the specificacions of your media player, mine is the GoGearVibe SA2VBE08K/55 model

      


    4. 


    5. Look for the video specification : mine says that the video format needs to match this specifications :

      


      Format = MJPEG (.mp4)

      


      Resolution = 128 x 128 píxeles

      


      Frames per second = 30 cps (fps)

      


      Bitrate = 512 kpbs

      


    6. 


    7. Read this tutorial to create a preset in WinFF here

      


    8. 


    9. Create a preset that turns ANY mp4 video you have into an MJPEG video with the properties shown above with this info :

      


      name : GoGearVibe55

      


      preset label : MJPEG GOGEAR

      


      Preset command line :

      


      -f mov -vf scale=128:128 -c:v mjpeg -b:v 512k -r 25 -c:a adpcm_ima_wav -b:a 192k -ar 22050 -ac 2


      


      output file : mp4

      


    10. 


    11. Understand how to adapt the code to your necessities with this image
enter image description here

      


    12. 


    


    Do not change what is mark in red, that's the resolution of the screen and the encoder of the video. You can change the value mark in blue, which means the bitrate, more bitrate the video will have more definition without changing the resolution. Tha value in green refers to the fps and the ones marked in yellow is the audio settings, don't worry about that, are good audio settings.

    


    Done. I did'n know how to create an article so I let you try this solution, good luck !

    


  • Change file format from flv to anything android will play

    19 octobre 2011, par Bilthon

    I need to take this file which encoded is in h264 but in a flv container and just put it in a mp4, 3gp or whatever file format the android MediaPlayer will understand.

    I want to do this natively. As I will not be decoding nor encoding anything I think I will not be wasting a lot of power (am I wrong ?)

    I followed the instructions from here http://www.roman10.net/?p=394 and could sucessfully compile and use ffmpeg and use it with mp4 and 3gp files.

    But when it comes to flv files it fails. I understand there is no format definition for flv files in that specific port of ffmpeg for android.

    There is no libavformat/flv.h header file for instance.

    Maybe that's why this works :

    extern AVInputFormat ff_mov_demuxer ;
    av_register_input_format(&ff_mov_demuxer) ;

    While this fails :

    extern AVInputFormat ff_flv_demuxer;
    av_register_input_format(&ff_flv_demuxer);

    Question is, is there a light at the end of the tunnel ? has someone done something similar ? is it useful ? I mean, I can always just throw the flv media file into a flash player and voila.. the thing is that this would be a parcial solution, as it will not work for all those folks running slower devices that can't yet run Flash.

    Nelson

    PS. Just in case. Here's some info about the file I'm talking about :

    ffmpeg -i rio.flv
    ffmpeg version N-32624-gea8de10, Copyright (c) 2000-2011 the FFmpeg developers
     built on Sep 15 2011 23:31:42 with gcc 4.5.2
     configuration: --enable-libfaac --enable-libmp3lame --enable-librtmp --enable-libtheora --enable-libx264 --enable-libxvid --enable-gpl --enable-nonfree
     libavutil    51. 16. 0 / 51. 16. 0
     libavcodec   53. 15. 0 / 53. 15. 0
     libavformat  53. 12. 0 / 53. 12. 0
     libavdevice  53.  3. 0 / 53.  3. 0
     libavfilter   2. 42. 0 /  2. 42. 0
     libswscale    2.  1. 0 /  2.  1. 0
     libpostproc  51.  2. 0 / 51.  2. 0

    Seems stream 0 codec frame rate differs from container frame rate: 2000.00 (2000/1) -> 14.99 (15000/1001)
    Input #0, flv, from 'rio.flv':
     Duration: 00:01:00.06, start: 0.000000, bitrate: 783 kb/s
       Stream #0.0: Video: h264 (Main), yuv420p, 704x480 [SAR 10:11 DAR 4:3], 14.99 tbr, 1k tbn, 2k tbc
  • Real time audio streaming from ffmpeg to browser (am I missing something ?)

    19 septembre 2022, par Яктенс Тид

    I have tried a couple of solutions already, but nothing works for me.
I want to stream audio from my PC to another computer with almost zero latency. Things are working fine so far in a sense of lagging and everything, sound is clear and not choppy at all, but there is something like a delay between the moment when audio starts playing on my PC and remote PC. For example when I click on Youtube 'play' button audio starts playing only after 3-4 seconds on the remote machine. The same when I click 'Pause', the sound on the remote PC stops after a couple of seconds.

    


    I've tried to use websockets\plain audio tag, but no luck so far.

    


    For example this is my solution by using websockets and pipes :

    


    def create_pipe():
    return win32pipe.CreateNamedPipe(r'\\.\pipe\__audio_ffmpeg', win32pipe.PIPE_ACCESS_INBOUND,
                                     win32pipe.PIPE_TYPE_MESSAGE |
                                     win32pipe.PIPE_READMODE_MESSAGE |
                                     win32pipe.PIPE_WAIT, 1, 1024 * 8, 1024 * 8, 0, None)


async def echo(websocket):
    pipe = create_pipe()
    win32pipe.ConnectNamedPipe(pipe, None)
    while True:
        data = win32file.ReadFile(pipe, 1024 * 2)
        await websocket.send(data[1])


async def main():
    async with websockets.serve(echo, "0.0.0.0", 7777):
        await asyncio.Future()  # run forever


if __name__ == '__main__':
    asyncio.run(main())


    


    The way I start ffmpeg

    


    .\ffmpeg.exe -f dshow -i audio="Stereo Mix (Realtek High Definition Audio)" -acodec libmp3lame  -ab 320k -f mp3 -probesize 32 -muxdelay 0.01 -y \\.\pipe\__audio_ffmpeg


    


    On the JS side the code is a little bit long, but essentially I am just reading a web socket and appending to buffer

    


    this.buffer = this.mediaSource.addSourceBuffer('audio/mpeg')


    


    Also as you see I tried to use -probesize 32 -muxdelay 0.01 flags, but no luck as well

    


    I tried to use plain tag as well, but still - this couple-of-seconds delay exists

    


    What can I do ? Am I missing something ? Maybe I have to disable buffering somewhere ?