Recherche avancée

Médias (91)

Autres articles (6)

  • Le plugin : Podcasts.

    14 juillet 2010, par

    Le problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
    Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
    Types de fichiers supportés dans les flux
    Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)

  • Librairies et logiciels spécifiques aux médias

    10 décembre 2010, par

    Pour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
    Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...)

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

Sur d’autres sites (3949)

  • PHP - Upload video convert mp4 and upload to Amazon S3

    31 octobre 2019, par Kadir Geçit

    I’m using amazon s3 as video storage for my website. I’m having problems for some videos. black screen or sound problems etc.

    I want to convert the video to mp4 format after uploading the video to my server and then upload it to amazon. Is it possible with FFMPEG ?

    I’m using this code for uploading files now :

    $file1 = $_FILES['file']['name'];
    $videoFileType = strtolower(pathinfo($file1,PATHINFO_EXTENSION));
    $file_name = sprintf('%s_%s', uniqid(),uniqid().".".$videoFileType);
    $temp_file_location = $_FILES["file"]["tmp_name"];

    require 'application/libraries/Amazon/aws-autoloader.php';
           $s3 = new Aws\S3\S3Client([
               'region'  => $amazon_region,
               'version' => 'latest',
               'credentials' => [
               'key'    => $amazon_key,
               'secret' => $amazon_secret,
               ]
           ]);    

           $result = $s3->putObject([
               'Bucket' => $amazon_bucket,
               'Key'    => $file_name,
               'SourceFile' => $temp_file_location,
               'ACL'    => 'public-read',
               'CacheControl' => 'max-age=3153600',
           ]);
               $filepath = $result['ObjectURL'] . PHP_EOL;

               echo json_encode([
                   'status' => 'ok',
                   'path' => $filepath

               ]);
  • Trouble downloading files in Dropbox Python API v2

    16 août 2019, par jack

    I’m trying to download .mov files from Dropbox, manipulate them with ffmpeg, and upload back to Dropbox, but I’m getting an error when I use the files_download method.

    I’m able to read files from Dropbox without any problem using dbx.files_list_folder

    When trying to download files, I’ve used the following :

    import dropbox
    access_token = 'MY TOKEN'
    dbx = dropbox.Dropbox(access_token)
    metadata,file=dbx.files_download('path to .mov file')

    and I get the error

    SSLError: HTTPSConnectionPool(host='content.dropboxapi.com', port=443): Max retries exceeded with url: /2/files/download (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

    I don’t know if this is a cause, but I didn’t use the Dropbox app key or app secret in setting things up. In going through the API v2 setup, it looked like all you need is the API Access token, but I’m wondering if there’s a permissions error.

    I’ll only be using this app for myself—it’s not meant for production.

  • libavcodec/vp8dec : fix the multi-thread HWAccel decode error

    11 juin 2019, par Shaofei Wang
    libavcodec/vp8dec : fix the multi-thread HWAccel decode error
    

    Fix the issue : https://github.com/intel/media-driver/issues/317

    the root cause is update_dimensions will be called multple times
    when decoder thread number is not only 1, but update_dimensions
    call get_pixel_format in each decode thread will trigger the
    hwaccel_uninit/hwaccel_init more than once. But only one hwaccel
    should be shared with all decode threads.
    in current context,
    there are 3 situations in the update_dimensions() :
    1. First time calling. No matter single thread or multithread,
    get_pixel_format() should be called after dimensions were
    set ;
    2. Dimention changed at the runtime. Dimention need to be
    updated when macroblocks_base is already allocated,
    get_pixel_format() should be called to recreate new frames
    according to updated dimension ;
    3. Multithread first time calling. After decoder init, the
    other threads will call update_dimensions() at first time
    to allocate macroblocks_base and set dimensions.
    But get_pixel_format() is shouldn't be called due to low
    level frames and context are already created.

    In this fix, we only call update_dimensions as need.

    Signed-off-by : Wang, Shaofei <shaofei.wang@intel.com>
    Reviewed-by : Jun, Zhao <jun.zhao@intel.com>
    Reviewed-by : Haihao Xiang <haihao.xiang@intel.com>
    Signed-off-by : Ronald S. Bultje <rsbultje@gmail.com>

    • [DH] libavcodec/vp8.c