Recherche avancée

Médias (3)

Mot : - Tags -/image

Autres articles (96)

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

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

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

Sur d’autres sites (5710)

  • ffmpeg to print encryption info of a AVPacket in a video stream

    14 février 2021, par Keogh Mathuin

    What I am looking for is a way of printing encryption info of each packet.

    


    With encrypted streams, AVPacket has a side_data of 'AV_PKT_DATA_ENCRYPTION_INFO (25)' type. There is the 'av_encryption_info_get_side_data' function that takes this data and returns AVEncryptionInfo, that struct (amongst other important info) includes a sequence of sizes that will tell you which parts of the AVPacket are encrypted.

    


    Ideally I think there probably is a nice elegant way of getting ffmpeg to print AVEncryptionInfo of each packet (like with trace_headers). It is possible to write my own function but my spidey senses tell me this might already exist as a ffmpeg option. I must admit at the moment I am using a debugger with a player and counting hex bytes of the side_data with info from the above function. I've done this too many times now for my liking !

    


  • FFMPEG - error opening key info file

    12 mars 2021, par Hoang Nam

    I want muxer mp4 to m3u8 with key
I can do this when i put all file in same directory

    



      

    • File 480.mp4.key
    • 


    • File video 480.mp4
    • 


    • File hls info have name :"480.mp4.keyinfo"
    • 


    



    When i run commnand : ffmpeg -i 480.mp4 -hls_time 10 -hls_key_info_file 480.mp4.keyinfo output.mp4.m3u8
everything run normal.

    



    but i meet problem when i move file "480.mp4.key" and file "480.mp4.keyinfo" into other directory such as : /usr/local/WowzaStreamingEngine/keys/auto_scan/testhh/2/123/480.mp4.keyinfo
I also change key directory in file keyinfo

    



    After that i run

    



    ffmpeg -i 480.mp4 -hls_time 10 -hls_key_info_file 480.mp4.keyinfo output.mp4.m3u8 ffmpeg -i output/testhh/2/123/480.mp4 -hls_time 10 -hls_key_info_file /usr/local/WowzaStreamingEngine/keys/auto_scan/testhh/2/123/480.mp4.keyinfo output/testhh/2/123/480.mp4.m3u8


    



    Error :

    



     error opening key info file /usr/local/WowzaStreamingEngine/keys/auto_scan//testhh/2/123/output/testhh/2/123/480.mp4.keyinfo
Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory
Error initializing output stream 0:0 -- 


    



    Please help me solve problem. Tks !

    


  • FFmpeg opening key info file - could not write header for output file

    13 mars 2021, par Hoang Nam

    I want muxer mp4 to m3u8 with key.
I can do this when I put all files in same directory.

    


      

    • File 480.mp4.key
    • 


    • File video 480.mp4
    • 


    • File hls info have name : "480.mp4.keyinfo"
    • 


    


    When I run the command ffmpeg -i 480.mp4 -hls_time 10 -hls_key_info_file 480.mp4.keyinfo output.mp4.m3u8
everything runs normally.

    


    However, I meet a problem when I move file "480.mp4.key" and file "480.mp4.keyinfo" into another directory such as /usr/local/WowzaStreamingEngine/keys/auto_scan/testhh/2/123/480.mp4.keyinfo
I also change key directory in file keyinfo

    


    After that I run

    


    ffmpeg -i 480.mp4 -hls_time 10 -hls_key_info_file 480.mp4.keyinfo output.mp4.m3u8 ffmpeg -i output/testhh/2/123/480.mp4 -hls_time 10 -hls_key_info_file /usr/local/WowzaStreamingEngine/keys/auto_scan/testhh/2/123/480.mp4.keyinfo output/testhh/2/123/480.mp4.m3u8


    


    But I get an error :

    


     error opening key info file /usr/local/WowzaStreamingEngine/keys/auto_scan//testhh/2/123/output/testhh/2/123/480.mp4.keyinfo
Could not write header for output file #0 (incorrect codec parameters ?): No such file or directory
Error initializing output stream 0:0 --