Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (109)

  • L’agrémenter visuellement

    10 avril 2011

    MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
    Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté.

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

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

  • Revision 68b550f551 : [spatial svc]Another workaround to avoid using prev_mi We encode a empty invisi

    15 octobre 2014, par Minghai Shang

    Changed Paths :
     Modify /test/svc_test.cc


     Modify /vp9/encoder/vp9_bitstream.c


     Modify /vp9/encoder/vp9_encoder.c


     Modify /vp9/encoder/vp9_firstpass.c


     Modify /vp9/encoder/vp9_svc_layercontext.c


     Modify /vp9/encoder/vp9_svc_layercontext.h


     Modify /vp9/encoder/vp9_temporal_filter.c


     Modify /vp9/vp9_cx_iface.c


     Modify /vpx/src/svc_encodeframe.c



    [spatial svc]Another workaround to avoid using prev_mi

    We encode a empty invisible frame in front of the base layer frame to
    avoid using prev_mi. Since there’s a restriction for reference frame
    scaling factor, we have to make it smaller and smaller gradually until
    its size is 16x16.

    Change remerged.

    Change-Id : I9efab38bba7da86e056fbe8f663e711c5df38449

  • Revision c113457af9 : [spatial svc]Another workaround to avoid using prev_mi We encode a empty invisi

    15 octobre 2014, par Minghai Shang

    Changed Paths :
     Modify /test/svc_test.cc


     Modify /vp9/encoder/vp9_bitstream.c


     Modify /vp9/encoder/vp9_encoder.c


     Modify /vp9/encoder/vp9_firstpass.c


     Modify /vp9/encoder/vp9_svc_layercontext.c


     Modify /vp9/encoder/vp9_svc_layercontext.h


     Modify /vp9/encoder/vp9_temporal_filter.c


     Modify /vp9/vp9_cx_iface.c


     Modify /vpx/src/svc_encodeframe.c



    [spatial svc]Another workaround to avoid using prev_mi

    We encode a empty invisible frame in front of the base layer frame to
    avoid using prev_mi. Since there’s a restriction for reference frame
    scaling factor, we have to make it smaller and smaller gradually until
    its size is 16x16.
    Change-Id : I60b680314e33a60b4093cafc296465ee18169c19

  • How does the ProcessBuilder constructor parameter work ?

    19 septembre 2014, par Houseman

    I’m doing this :

    String[] command = {ffmpegLoc+"ffmpeg.exe",
               "-i ",
               "\""+dir+params.getString(4)+".flv"+"\"",
               "-copyts",
               "-crf 18",
               "-profile:v baseline",
               "-level 3.0",
               "-pix_fmt yuv420p",
               "-preset veryslow",
               "\""+dir+params.getString(4)+".mp4"+"\""};
       try {
           getLogger().info("ffmpeg command " + command);
           ProcessBuilder builder = new ProcessBuilder(command);
           builder.redirectErrorStream(true);
           getLogger().info("Starting process");
           Process process = builder.start();
           InputStream stream =  process.getInputStream();
           BufferedReader in = new BufferedReader(new InputStreamReader(process.getInputStream()));
           String line = null;
           while((line = in.readLine()) != null) {
             System.out.println(line);
           }
           process.waitFor();

    And I get this error from ffmpeg, which initializes correctly :

    Unrecognized option 'i '.
    Error splitting the argument list: Option not found

    So I thought "Maybe I don’t need to split out each argument into an array"

    So I replaced the command with this :

    String[] command = {ffmpegLoc+"ffmpeg.exe",
                   "-i " + "\""+dir+params.getString(4)+".flv"+"\"" + " -copyts -crf 18 -profile:v baseline -level 3.0 -pix_fmt yuv420p -preset veryslow "+"\""+dir+params.getString(4)+".mp4"+"\""};

    And now I get this :

    Unrecognized option 'i C:/Program'.
    Error splitting the argument list: Option not found

    What happened to that hyphen before i ?

    What happened to those double quotes wrapping the path to the .flv file ?

    What is going on here ?

    Edit :

    I dropped the escaped double-quotes, as per this answer, and now I get this :

    Unrecognized option 'i C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.1.0/content/recorder/vid_test001.flv -copyts -crf 18 -profile:v baseline -level 3.0 -pix_fmt yuv420p -preset veryslow C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.1.0/content/recorder/vid_test001.mp4'.
    Error splitting the argument list: Option not found

    And again that hyphen in front of the i is missing.

    Edit 2 :

    Let’s combine them : No escaped double-quotes combined with arguments each on their own index :

    String[] command = {ffmpegLoc+"ffmpeg.exe",
               "-i",
               dir+params.getString(4)+".flv",
               "-copyts",
               "-crf 18",
               "-profile:v baseline",
               "-level 3.0",
               "-pix_fmt yuv420p",
               "-preset veryslow",
               dir+params.getString(4)+".mp4"};

    ffmpeg now gives me :

    Unrecognized option 'crf 18'.

    So we got to where we encountered our first whitespace, then failed.