Recherche avancée

Médias (1)

Mot : - Tags -/ipad

Autres articles (69)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

Sur d’autres sites (9441)

  • Can't load MPEG file with MSE

    11 juillet 2019, par Léandre

    Here is my problem : I want to reproduce this example of MSE use, but when I change the mp4 file, it doesn’t work. I have this error :

    Failed to execute 'endOfStream' on 'MediaSource': The MediaSource's readyState is not 'open'. at SourceBuffer.<anonymous></anonymous>

    I saw here that I needed to fragment my mp4 file, wich I did. Here is my mp4 file header :

    [ftyp] size=8+28
      major_brand = mp42
      minor_version = 0
      compatible_brand = isom
      compatible_brand = iso2
      compatible_brand = avc1
      compatible_brand = mp41
      compatible_brand = mp42
    [moov] size=8+3841
      [mvhd] size=12+96

    And this is the mp4 file header of the file demo : (this file works)

    [ftyp] size=8+20
      major_brand = mp42
      minor_version = 1
      compatible_brand = mp42
      compatible_brand = avc1
      compatible_brand = iso5
    [moov] size=8+1871
      [mvhd] size=12+96
         timescale = 1000
         duration = 60095

    Even when I change the minor value with MP4Box -brand mp42:1 fragmented-video.mp4, it doesn’t work.

    I also tried to separate video data and audio data ( view in FFMPEG H.264 encoding for HTML5 (and ultimately MPEG-DASH) ), but it didn’t solve the problem.

    (I tried on Chromium)

    If you have any ideas to solve this, it will be great !

    Thanks

  • How to load data to be used for whisper

    26 juin 2023, par P.Bjur

    My eventual goal is to take an audio stream from twilio and give it to whisper. This is not going great so I am trying to convert the audio into the format that whisper expects and then save that to a file so that I can give it a listen and make sure everything has gone well. When I take the data from twilio and try to save it using the function below, I get the error below. Is there something obvious that I am doing wrong ?

    &#xA;

        .run()&#xA;    ^^^^^&#xA;  File "/opt/homebrew/lib/python3.11/site-packages/ffmpeg/_run.py", line 313, in run&#xA;    process = run_async(&#xA;              ^^^^^^^^^^&#xA;  File "/opt/homebrew/lib/python3.11/site-packages/ffmpeg/_run.py", line 284, in run_async&#xA;    return subprocess.Popen(&#xA;           ^^^^^^^^^^^^^^^^^&#xA;  File "/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1026, in __init__&#xA;    self._execute_child(args, executable, preexec_fn, close_fds,&#xA;  File "/opt/homebrew/Cellar/python@3.11/3.11.4/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1883, in _execute_child&#xA;    self.pid = _fork_exec(&#xA;               ^^^^^^^^^^^&#xA;ValueError: embedded null byte&#xA;

    &#xA;

    def add_audio(audio_data: bytes):&#xA;    global buffer&#xA;    audio, err = ffmpeg \&#xA;        .input("pipe:", format=&#x27;mulaw&#x27;, acodec=&#x27;pcm_mulaw&#x27;, ar= 8000, ac=1) \&#xA;        .output("-", format="s16le", acodec="pcm_s16le", ar=16000, ac=1) \&#xA;        .run(cmd="ffmpeg", capture_stdout=True, capture_stderr=True, input=audio_data)&#xA;&#xA;&#xA;    # convert audio to numpy array&#xA;    audio = np.frombuffer(audio, np.int16).flatten().astype(np.float32) / 32768.0&#xA;&#xA;    # add audio to buffer&#xA;    buffer = np.concatenate((buffer, audio))&#xA;&#xA;    ffmpeg \&#xA;        .input(buffer, format=&#x27;f32le&#x27;, acodec=&#x27;pcm_f32le&#x27;, ac=1, ar=16000) \&#xA;        .output(&#x27;test.wav&#x27;) \&#xA;        .run() &#xA;

    &#xA;

  • How I can load testing my web application if I host it in Azure and Google Cloud

    29 décembre 2018, par Anirudha Gupta

    I am trying to stream the video on Youtube using FFmpeg. Earlier I have a preset which is used to stream at lower resolution.

    Now I want to send the video as it is. I am trying to use this code

    ./ffmpeg -re -i "C:\Users\Anirudha\Desktop\abc.mp4" -codec copy -f flv "rtmp://a.rtmp.youtube.com/live2/mykey1"

    I got this code from here https://www.wowza.com/docs/how-to-configure-security-using-wowza-streaming-engine-manager

    This code is working fine for Wowza but it’s shown running on youtube (in the command line) in Actual it’s not doing anything on the youtube website.

    Is there any way to send the file to youtube the file as it is, What I am looking for is I don’t want to do anything on file. Let the resolution same as it is.