Recherche avancée

Médias (1)

Mot : - Tags -/MediaSPIP

Autres articles (74)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (7915)

  • FFMPEG - How to save audio stream detached from video to file whithout transcoding

    15 septembre 2015, par Tony Than

    I try to use fwrite() to save audio stream. But, generated file can not be opened.
    At the same time, I also try to use av_frame_write() to write packet. But, it can not write.
    Please help me with this problem. How to write audio stream without transcoding....

    /* open the input file with generic avformat function */
    err = avformat_open_input(input_format_context, filename, NULL, NULL);
    if (err < 0) {
       return err;
    }

    /* If not enough info to get the stream parameters, we decode the
      first frames to get it. (used in mpeg case for example) */
    ret = avformat_find_stream_info(*input_format_context, 0);
    if (ret < 0) {
       av_log(NULL, AV_LOG_FATAL, "%s: could not find codec parameters\n", filename);
       return ret;
    }

    /* dump the file content */
    av_dump_format(*input_format_context, 0, filename, 0);

    for (size_t i = 0; i < (*input_format_context)->nb_streams; i++) {
       AVStream *st = (*input_format_context)->streams[i];
       if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO) {
           FILE *file = NULL;
           file = fopen("C:\\Users\\MyPC\\Downloads\\test.aac", "wb");
           AVPacket reading_packet;
           av_init_packet(&reading_packet);
           while (av_read_frame(*input_format_context, &reading_packet) == 0) {
               if (reading_packet.stream_index == (int) i) {
               fwrite(reading_packet.data, 1, reading_packet.size, file);
               }
               av_free_packet(&reading_packet);  
           }
           fclose(file);

           return 0;
       }
    }
  • Converting mp4 to ogg file format results in a large file

    26 avril 2014, par parags

    I have a MP4 file of 83MB (converted from MOV of about 772MB using FFMPEG).
    For the file to be playable from all browsers from HTML5 video tag, I am converting the MP4 to OGG, again using FFMPEG command

    ffmpeg -i object-creation.mp4 -acodec libvorbis -vcodec libtheora -q:v 5 -q:a 5 object-creation-3.ogg

    The result of the above command is a very large OGG file of around 500 MB. I would certainly not want to upload such huge files to Amazon S3 (which I am using for storage, and distribution).

    Is there something I am missing here ? Is the file not compressed enough ?

    Is it possible to have the resultant file of somewhat manageable size like 80-100 MB without any appreciable loss in quality over what is seen in MP4 format ? Why is it that even the source file is 83MB, the resultant file is too big in comparison ?

    Thanks
    Parag

  • Revision bf58d1725c : Revert "Revert "Revert "Revert 3 patches from Hangyu to get Chrome to build :"""

    2 juillet 2014, par hkuang

    Changed Paths :
     Modify /test/user_priv_test.cc


     Modify /vp9/decoder/vp9_decoder.c


     Modify /vp9/decoder/vp9_dthread.h


     Modify /vp9/vp9_dx_iface.c



    Revert "Revert "Revert "Revert 3 patches from Hangyu to get Chrome to build :"""

    This reverts commit 749e0c7b2883139afa14b4886bbd6a940d021f4f.

    Change-Id : I0c63a152baf94d38496dd925a40040366153bf4f