Recherche avancée

Médias (1)

Mot : - Tags -/biomaping

Autres articles (78)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Creating farms of unique websites

    13 avril 2011, par

    MediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
    This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

Sur d’autres sites (4600)

  • Flutter video_compress and then ffmpeg trim video to 30s fails with endless logs

    7 mars 2021, par Charles Bass

    I am trying to make a simple app in Flutter. A user can either take or pick a video and then upload it. However, I wanted to compress the video for storage purposes on firebase storage, and also trim it to only get the first 30 seconds.

    


    I am facing a very puzzling problem. I am able to compress the video, but with the resultant file, FFmpeg fails to trim it and I get endless logs which result in me having to stop the app and re-run. Alternatively, I am able to trim the video, but with the resultant file, I am unable to compress it getting the error :  Failed to open file '/data/user/0/live.roots.roots/app_flutter/TRIMMED.mp4'. (No such file or directory) PlatformException(error, java.io.IOException: Failed to instantiate extractor., null, java.lang.RuntimeException: java.io.IOException: Failed to instantiate extractor.

    


    This is my code below :

    


    

    

    //! function that controls file compression and trimming&#xA;static Future<file> compressFile(File file) async {&#xA;    print(&#x27;[COMPRESSING FILE]&#x27;);&#xA;&#xA;    String mimeStr = lookupMimeType(file.path);&#xA;    var fileType = mimeStr.split(&#x27;/&#x27;);&#xA;&#xA;    if (fileType.contains("image")) {&#xA;      print(&#x27;[COMPRESSING FILE] - file is image&#x27;);&#xA;      String tempPath = (await getTemporaryDirectory()).path;&#xA;      String targetPath = &#x27;$tempPath/${DateTime.now().toIso8601String()}.jpg&#x27;;&#xA;      return await compressImageAndGetFile(file, targetPath);&#xA;    } else {&#xA;      print(&#x27;[COMPRESSING FILE] - file is video&#x27;);&#xA;&#xA;      final compressedVideoFile = await compressVideoAndGetFile(file);&#xA;      print(&#x27;[VIDEO FILE COMPRESSED]&#x27;);&#xA;      return await trimVideoGetFile(compressedVideoFile);&#xA;    }&#xA;  }&#xA;  &#xA;  &#xA;//! function to compress video&#xA;static Future<file> compressVideoAndGetFile(File file) async {&#xA;    print(&#x27;[COMPRESSING VIDEO]&#x27;);&#xA;&#xA;    var result = await VideoCompress.compressVideo(&#xA;      file.absolute.path,&#xA;      quality: VideoQuality.DefaultQuality,&#xA;      deleteOrigin: true,&#xA;    );&#xA;&#xA;    print(&#x27;[COMPRESSED VIDEO TO]: ${result.file.path}&#x27;);&#xA;&#xA;    return result.file;&#xA;  }&#xA;  &#xA;//! function to trim video&#xA;static Future<file> trimVideoGetFile(File file) async {&#xA;    print(&#x27;[TRIMMING VIDEO]&#x27;);&#xA;&#xA;    Directory appDocumentDir = await getApplicationDocumentsDirectory();&#xA;    String rawDocumentPath = appDocumentDir.path;&#xA;    String outputPath = rawDocumentPath &#x2B; "/TRIMMED.mp4";&#xA;&#xA;    final newFile = File(outputPath);&#xA;&#xA;    if (await newFile.exists()) {&#xA;      await newFile.delete();&#xA;    }&#xA;&#xA;    _flutterFFmpeg&#xA;        .execute(&#xA;            "-ss 00:00:00 -i ${file.path} -to 00:00:30 -c copy $outputPath")&#xA;        .then((rt) async {&#xA;      print(&#x27;[TRIMMED VIDEO RESULT] : $rt&#x27;);&#xA;      if (rt == -1) {&#xA;        throw Exception("Something went wrong when trimming the video");&#xA;      }&#xA;    });&#xA;&#xA;    return File(outputPath);&#xA;  }</file></file></file>

    &#xD;&#xA;

    &#xD;&#xA;

    &#xD;&#xA;&#xA;

    Thank you in advance

    &#xA;

  • A/B Testing Platform for Piwik Analytics

    10 novembre 2016, par InnoCraft — Plugins, Press Releases

    We are very excited to launch A/B Testing – a powerful new product designed to help you maximise your success and increase your conversions.

    What is A/B Testing and why is it so important ?

    Experimenting with A/B Testing is an important marketing strategy that goes a long way in maximising your conversions.

    With A/B Testing you can start improving your conversions and sales in your existing website or app by creating different versions of a web page or mobile app screen to find out how to modify your website to optimize business success.

    How does A/B Testing work ?

    To explain how A/B Testing works, let’s take an example. Imagine one of your most important landing pages has been redesigned to hopefully get more email signups. Now you need to make sure the new version is “better” than the current version, or at least does result in less conversions. To compare the performance of these two versions, you can then run an A/B test whereby the A/B testing product tells you whether the redesigned version is producing more email signups compared to the original version.

    How it works is that visitors on your website during the experiment will see a randomly chosen version (variation) and A/B Testing makes sure that your users will always see the same variation for all subsequent visits. The behaviour and goals converted by each user is measured continuously by Piwik A/B Testing. The beautifully designed and easy to use dashboard shows how each variation impacts your success metrics such as conversions, sales or page views.

    When the A/B test is complete, you will then know which is the winning version getting you closer to reaching your goals ! A/B Testing includes an advanced statistical analysis engine to provide a reliable indicator of which of your versions is actually improving your bottom line.

    Examples of successful A/B tests

    Below are a just a few interesting A/B tests results from the article 7 Dead-Simple A/B Tests You Should Run on Your Homepage (HubSpot).

    Increase click on CTA button by 21%

    We actually conducted an A/B test on button color and found that changing the CTA button from green to red increased clicks by 21%. In the world of website optimization, that’s huge !

    47.7% more clicks on the navigation bar

    An A/B test comparing the phrases used on the navigation bar discovered that the menu link “How It Works” earned 47.7% more clicks than “Why Use Us.”

    5% more conversions using a different image

    Highrise, a small business CRM, A/B tested their website’s imagery by featuring two different people – Jocelyn on the left, and Michael on the right. They found Michael helped improve conversions by almost 5%.

    Changing the headline to increase conversions by 38%

    WhichTestWon ran an A/B test on AwayFind’s homepage and found that Version B increased signups by 38%. This could be because the headline is more concise and the subheader includes bolded words to clearly communicate the product’s value

    Where do I start testing ?

    Your testing strategy is tied to your overall business strategy. What do you want people to achieve on your website ? What are the goals that you want your users to convert ? What are your one or two Key Performance Indicators, and what are your targets for these KPIs ?

    When you start thinking of improving your targets you can begin by looking at the most important parts that can be improved :

    • What are your call to actions ?
    • Which are your most popular pages, and landing pages ?
    • What elements of my website is above the fold and can be seen by all visitors within a few seconds ?

    How do I get A/B Testing ?

    All premium plugins come with our 14 day money back guarantee and 1-click installation & updates. Customers get all product updates for free.

    A/B Testing is available for purchase and download on the Marketplace.

    If you are not using Piwik yet, you can also signup for a free trial of Piwik Cloud (including A/B Testing !).

    Have a question about this product ? Get in touch.

  • lavf/qtpalette : Ignore greyscale bit in certain cases

    2 janvier 2016, par Mats Peterson
    lavf/qtpalette : Ignore greyscale bit in certain cases
    

    The QuickTime File Format Specification states the following :

    "Depth : A 16-bit integer that indicates the pixel depth of the
    compressed image. Values of 1, 2, 4, 8 ,16, 24, and 32 indicate the
    depth of color images. The value 32 should be used only if the image
    contains an alpha channel. Values of 34, 36, and 40 indicate 2-, 4-, and
    8-bit grayscale, respectively, for grayscale images."

    There is no mention of value 33, i.e. 1-bit video (0x01) with the
    greyscale bit (0x20) set. I therefore suggest that we ignore the
    greyscale bit when processing 1-bit video. Another reason to do this is
    that the first 1-bit sample file below will be displayed properly with
    blue colors in QuickTime in Windows or Mac *in spite of* the greyscale
    bit being set.

    Also, QuickTime in Windows or Mac ignores the greyscale bit if the
    video sample description contains a palette, regardless of bit depth.
    This is undocumented behaviour, but I think we should do the same, and
    it seems pretty logical after all, since one wouldn’t really bother
    putting a customized palette into a grayscale file anyway. See the
    second 8-bit sample file below, which has the greyscale bit set, and
    which contains a palette in the video sample description. In Windows or
    Mac, it will be displayed with the palette in the sample description, in
    spite of the greyscale bit being set.

    Sample file 1 (1-bit QuickTime Animation) :
    https://drive.google.com/open?id=0B3_pEBoLs0faTThSek1EeXQ0ZHM
    Earth Spin 1-bit qtrle orig.mov

    Sample file 2 (8-bit QuickTime Animation) :
    https://drive.google.com/open?id=0B3_pEBoLs0fad2s0V1YzUWo5aDA
    quiz-palette+gs.mov

    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/qtpalette.c