Recherche avancée

Médias (10)

Mot : - Tags -/wav

Autres articles (38)

  • La file d’attente de SPIPmotion

    28 novembre 2010, par

    Une file d’attente stockée dans la base de donnée
    Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
    Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...)

  • MediaSPIP Player : les contrôles

    26 mai 2010, par

    Les contrôles à la souris du lecteur
    En plus des actions au click sur les boutons visibles de l’interface du lecteur, il est également possible d’effectuer d’autres actions grâce à la souris : Click : en cliquant sur la vidéo ou sur le logo du son, celui ci se mettra en lecture ou en pause en fonction de son état actuel ; Molette (roulement) : en plaçant la souris sur l’espace utilisé par le média (hover), la molette de la souris n’exerce plus l’effet habituel de scroll de la page, mais diminue ou (...)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

Sur d’autres sites (4404)

  • overlay audio volume histogram over static image

    10 décembre 2018, par Simone Sole

    I’m actually working to a project for music video generation using ffmpeg.
    I’d like to know if it’s possibile to use ffmpeg itself or a combination of command line component under windows environment to make a visualization of audio spectrum (ahistogram ?) over a static background image like the one I found on the web :

    enter image description here

    Any ideas or coding tips ?

  • How to decrypt AES 128 encrypted HLS stream when URI for key is "k/timestamp"

    25 janvier 2021, par Wilfred Almeida

    I have downloaded 1784 .ts files and they are AES 128 encrypted.

    


    The .m3u8 file has #EXT-X-KEY:METHOD=AES-128,URI="k/timestamp",IV=0x496daa1c6914000e408c65cead91fc29 which I guess indicates that the key must be in a file named timestamp. I got the "timestamp" file and now I want to decrypt.

    


    I tried replacing the URI with URI="file:timestamp" with all the .ts, the .m3u8 and the timestamp file all in same directory and ran the ffmpeg command

    


    ffmpeg -allowed_extensions ALL -protocol_whitelist file,tcp,crypto,http,https  -i playlist.m3u8 -c copy op.mp4

    


    but got the errors Error when loading first segment 'hls_350k_000.ts'                                  playlist.m3u8: Invalid data found when processing input even though it opened the file successfully.

    


    I tried specifying the URI as URI="http://localhost/mydir/timestamp" but got the same error as specified above. I had all .ts,.m3u8,"timestamp" file in XAMPP's htdocs folder.

    


    When I open the "timestamp" file in browser's inspect->Network->Click on file->preview, I see weird text like kf¯2“.ú¸“Á•ª   Bn5ydr/x$.9+cgKC!<ßû¢ÌNñ®jûŸŸ and it changes everytime I refresh the site.

    


    I specified the link of the file in URI and tried, same error.

    


    I tried specifying .key extension to the "timestamp" file, same error.

    


    I downloaded the "timestamp" file by entering its URL into browser which I got from inspect->Network->Click on file->Headers, I didn't download it as HAR or other stuff.

    


    I tried playing the .m3u8 file in chrome using chrome by using Native HLS Playback extension with files hosted using XAMPP but it doesn't play, video player shows loading and the chrome's console has following errors

    


    (anonymous) @ player.js:57
player.js:11 trying to recover from media Error ...
handleMediaError @ player.js:11
hls.0.12.4.min.js:1 Uncaught (in promise) DOMException: The play() request was interrupted by a new load request.
player.js:57 Player error: mediaError - fragParsingError
(anonymous) @ player.js:57
player.js:17 trying to swap Audio Codec and recover from media Error ...
handleMediaError @ player.js:17
player.js:57 Player error: mediaError - fragParsingError
(anonymous) @ player.js:57
player.js:22 cannot recover, last media error recovery failed ...
handleMediaError @ player.js:22
DevTools failed to load SourceMap: Could not load content for chrome-extension://emnphkkblegpebimobpbekeedfgemhof/hlsjs/hls.min.js.map: HTTP error: status code 404, net::ERR_UNKNOWN_URL_SCHEME


    


    I tried combining the .ts files using ffmpeg but got the same errors specified above.

    


    How do I decrypt the files and combine them into a single vlc playable file ?

    


  • Unable to import MediaPlayer after installing FFmpeg and ffpyplayer.

    17 décembre 2018, par Sumi

    I am getting many warnings like this when I run make command CC  fftools/ffmpeg_opt.o fftools/ffmpeg_opt.c: In function ‘add_input_streams’: fftools/ffmpeg_opt.c:777:13: warning: ‘codec’ is deprecated [-Wdeprecated-declarations] if (st->codec->lowres) { ^~ In file included from fftools/cmdutils.h:30:0, from fftools/ffmpeg.h:28, from fftools/ffmpeg_opt.c:23: ./libavformat/avformat.h:878:21: note: declared here AVCodecContext *codec; ^~~~~ Is this somehow related ?

    And this is the output when i try to import MediaPlayer :

    Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/home/pi/.virtualenvs/cv/local/lib/python3.5/site-packages/ffpyplayer/player/__init__.py", line 10, in <module>
       from ffpyplayer.player.player import MediaPlayer</module></module></stdin>

    ImportError: /home/pi/.virtualenvs/cv/local/lib/python3.5/site-packages/ffpyplayer/player/player.cpython-35m-arm-linux-gnueabihf.so: undefined symbol: x264_levels