Recherche avancée

Médias (0)

Mot : - Tags -/xmlrpc

Aucun média correspondant à vos critères n’est disponible sur le site.

Autres articles (26)

  • 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

  • Initialisation de MediaSPIP (préconfiguration)

    20 février 2010, par

    Lors de l’installation de MediaSPIP, celui-ci est préconfiguré pour les usages les plus fréquents.
    Cette préconfiguration est réalisée par un plugin activé par défaut et non désactivable appelé MediaSPIP Init.
    Ce plugin sert à préconfigurer de manière correcte chaque instance de MediaSPIP. Il doit donc être placé dans le dossier plugins-dist/ du site ou de la ferme pour être installé par défaut avant de pouvoir utiliser le site.
    Dans un premier temps il active ou désactive des options de SPIP qui ne le (...)

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (4248)

  • Why do you need analytics for your WordPress ?

    7 avril 2020, par Joselyn Khor — Analytics Tips, Plugins

    Not many people know this, but having a WordPress analytics tool gives you a competitive advantage. It’s also essential to the growth of your website. For many businesses, websites are the main driver of revenue and sales. In the case of blogs, it’s your first chance to make a lasting impression.

    Now, maybe you’ve heard of Google Analytics or even the privacy-friendly alternative, Matomo Analytics, but have never tried them ? These are analytics platforms that help you understand your website traffic and visitors. (You can find these platforms as plugins in the WordPress directory !)

    They’re important because the insights you get help you determine what changes to make to improve your website. Without them you could face a tougher time figuring out what’s working, what the issues are (and solving them before they get out of hand), and making sure you’re taking your website in the right direction. 

    WordPress analytics gives you an understanding of what’s actually going on.

    How does a WordPress analytics plugin benefit your website ?

    What this means for you is getting a toolkit to learn how to get more sales or followers and subscribers (aka conversions in analytics terms). 

    By getting insights into user behaviour, content performance, and how you can optimise your website, you can reach more of your goals, like increasing sales or growing your audience.

    A WordPress analytics tool helps you get more traffic to your site

    You get a range of features which tell you which acquisition channels are working for you like – social media, search engines, and other websites mentioning you. This helps you make an informed decision on where to focus energies (or spend) to get more of the ideal people coming through to your website. 

    Increase traffic with wordpress analytics

    Example : Looking through your acquisition channels and seeing that Reddit drives a lot of traffic through to your website. Since this channel seems to be working for you, you could then spend more time on Reddit posts to increase traffic.

    But getting more traffic isn’t all there is to it. Once they land on your site, you want them to stay for a little longer so they are intrigued by what you’re offering. Be it a product, or awesome content.

    Which leads us to …

    Increasing engagement by learning about visitor behaviour

    When you get a solid number of visitors on your website, it’s good to then learn about how they behave on your site. A WordPress analytics tool helps with engagement since you’re seeing what’s appealing to them, and what isn’t.

     Increasing engagement is good for a few reasons. 

    • You end up speaking the language of your readers. 
    • You can make a difference with the information you’re putting out. 
    • You get loyal customers and believers in your organisation. 

    With more engaged visitors, you can build trust with them and eventually be able to convince them that your product, service, or blog is needed in their lives.

    WordPress analytics entry pages

    Example : Looking through entry and exit pages to see what first impression is making them stay, and what impression is making them leave. This helps you redirect efforts to give your website a better chance of getting visitors to stay longer.

    Improving your content and engagement can lead to more conversions

    After you get visitors engaged, it’s time to convert. 

    Whether you have an ecommerce site or freelance blog, you’ll need to know how to boost conversions. This simply means getting people to achieve more of the actions you’re wanting them to take on your site. Like subscribing to your newsletter or adding items to a cart.

    With conversion optimization features, you’re finding out how well your website is designed to get buyers through a journey to conversion. 

    Funnels for WordPress analytics

    Example : Say you’ve created a newsletter sign up page, but you’re not getting as many sign ups as you’d like. With a web analytics tool, you can look into it further. A funnels feature could tell you how they’re getting to that page. If people can’t find your page, that could be reason for low conversion rates. Or, maybe you are getting people landing on this page, but you can’t tell why they’re not signing up. Try setting up a heatmap to see how far they’re scrolling down your page to the sign up section. Through these conversion optimization features, you can make tweaks that significantly improve conversions.

    So, how does the Matomo Analytics for WordPress plugin help with all of this ?

    Matomo Analytics for WordPress is a free web analytics plugin that gives you access to all the features mentioned above, right in your own WordPress dashboard. It’s completely free to use and is handy for users of all skill levels. From beginners right through to advanced analysts. 

    You get to move through all the stages to increase traffic, increase engagement, and convert. By using Matomo for WordPress, you put yourself in a better position to track all the needed data from your WordPress website. 

    You have this toolkit to improve your website for free, with a few clicks ! 

    By getting useful insights like visitors, acquisitions, bounce rates etc. you gain a new perspective on how to improve your website so it’s better at doing what you created it to do. Getting these insights also means giving yourself the confidence to do what’s best for your website in a data-driven way. 

    With all this knowledge, you can be competitive, or grow enough that you’re leaving your competitors in the dust. 

  • RAW audio capture from HDMI using DeckLink Mini Recorder 4K

    12 mars 2020, par Amir Raza

    I need to capture audio from TI DSP hardware/Laptop. So I opted "DeckLink Mini Recorder 4K Audio" and it connected to desktop.
    By using Decklink API’s I am able to capture audio (PCM) with 32-bit depth. But when I used media express to capture, and extracted audio
    using FFmpeg and I am getting audio (PCM) with 24-bit depth.

    Question
    1) Does this device "DeckLink Mini Recorder 4K Audio" converts audio from 32-bit to 24-bit ?
    2) Is this device "DeckLink Mini Recorder 4K Audio" bit-exact/loss-less ?

    consider the below test scenario.

    I am playing audio(PCM) by MPC-HC/VLC/Groove player in laptop and capture audio(PCM) using "DeckLink Mini Recorder 4K Audio"
    connected to desktop, The capture audio is bit-exact with the streamed input.?

    i.e ffmpeg.exe -i HDMI_Output1.av1 -vn -c:a copy out.wav

    Note :
    i am using Blackmagic_Desktop_Video_Windows_11.5 & Blackmagic_DeckLink_SDK_11.5 softwares.

    I have added the Decklink API code snippet.

    void main()
    {
     IDeckLinkIterator* deckLinkIterator = NULL;
     IDeckLinkAttributes* deckLinkAttributes = NULL;
     IDeckLink* deckLink = NULL;
     IDeckLinkInput* deckLinkInput = NULL;
     NotificationCallback* notificationCallback = NULL;
     HRESULT result;
     BOOL supported;
     int returnCode = 1;
    #ifdef WRITE_WAV_FILE
     wave_header wh;
     unsigned octet_depth;
    #endif
     Initialize();
    #ifdef _WIN32
     MutexHandle = CreateMutex(NULL, /* security attributes */
                               FALSE, /* initially not owned */
                               NULL); /* Name */
    #endif
     /* Create an IDeckLinkIterator object to enumerate all DeckLink cards in the system */
     if (GetDeckLinkIterator(&deckLinkIterator) != S_OK)
     {
       fprintf(stderr, "A DeckLink iterator could not be created.  The DeckLink drivers may not be installed.\n");
       goto bail;
     }
     /* Obtain the first DeckLink device */
     result = deckLinkIterator->Next(&deckLink);
     if (result != S_OK)
     {
       fprintf(stderr, "Could not find DeckLink device - result = %08x\n", result);
       goto bail;
     }

     /* Obtain the Attributes interface for the DeckLink device */
     result = deckLink->QueryInterface(IID_IDeckLinkAttributes, (void**)&deckLinkAttributes);
     if (result != S_OK)
     {
       fprintf(stderr, "Could not obtain the IDeckLinkAttributes interface - result = %08x\n", result);
       goto bail;
     }

     /* Determine whether the DeckLink device supports input format detection */
     result = deckLinkAttributes->GetFlag(BMDDeckLinkSupportsInputFormatDetection, &supported);
     if ((result != S_OK) || (supported == false))
     {
       fprintf(stderr, "Device does not support automatic mode detection\n");
       goto bail;
     }

     /* Obtain the input interface for the DeckLink device */
     result = deckLink->QueryInterface(IID_IDeckLinkInput, (void**)&deckLinkInput);
     if (result != S_OK)
     {
       fprintf(stderr, "Could not obtain the IDeckLinkInput interface - result = %08x\n", result);
       goto bail;
     }

     /* Create an instance of notification callback */
     notificationCallback = new NotificationCallback(deckLinkInput);
     if (notificationCallback == NULL)
     {
       fprintf(stderr, "Could not create notification callback object\n");
       goto bail;
     }

     /* Set the callback object to the DeckLink device's input interface */
     result = deckLinkInput->SetCallback(notificationCallback);
     if (result != S_OK)
     {
       fprintf(stderr, "Could not set callback - result = %08x\n", result);
       goto bail;
     }

     /*  Enable video input with a default video mode and the automatic format detection feature enabled */
     result = deckLinkInput->EnableVideoInput(bmdModeHD1080p5994, bmdFormat8BitYUV, bmdVideoInputFlagDefault);
     if (result != S_OK)
     {
       fprintf(stderr, "Could not enable video input - result = %08x\n", result);
       goto bail;
     }
     nBytesPerSample = (bmdAudioSampleType32bitInteger >> 3);
     nChannels = 2;
     /*  Enable audio input with a default audio mode and the automatic format detection feature enabled */
     result = deckLinkInput->EnableAudioInput(bmdAudioSampleRate48kHz, bmdAudioSampleType32bitInteger, nChannels);
     if (result != S_OK)
     {
       fprintf(stderr, "Could not enable audio input - result = %08x\n", result);
       goto bail;
     }

    #ifdef WRITE_WAV_FILE
     /* Populate the wave headers */
     /* RIFF */
     sprintf(&wh.riff.name1[0], "RIFF");
     sprintf(&wh.riff.name2[0], "WAVE");
     /* format */
     octet_depth = (bmdAudioSampleType32bitInteger + 7) / 8;
     sprintf(&wh.fmt.name[0], "fmt ");
     wh.fmt.size = FMT_SIZE;
     wh.fmt.format_type = FMT_TAG_PCM;
     wh.fmt.channel_count = (unsigned short)nChannels;
     wh.fmt.sample_rate = bmdAudioSampleRate48kHz;
     wh.fmt.bits_per_sample = (unsigned short)octet_depth * 8;
     wh.fmt.block_alignment = (unsigned short)(octet_depth*nChannels);
     wh.fmt.bytes_per_second = (unsigned long)wh.fmt.block_alignment*bmdAudioSampleRate48kHz;
     wh.fmt.extra_bytes = (unsigned short)0;
     /* data */
     sprintf(&wh.data.name[0], "data");
    #endif

     printf("Starting streams\n");

     /* Start capture */
     result = deckLinkInput->StartStreams();
     if (result != S_OK)
     {
       fprintf(stderr, "Could not start capture - result = %08x\n", result);
       goto bail;
     }
    #ifdef WRITE_WAV_FILE
     FILE *fp = fopen("HDMI_Output.wav", "wb");
    #else
     FILE *fp = fopen("HDMI_Output.bin","wb");
    #endif
     char *ptrCopy;
     float *fPtr;
     unsigned int zeroCntr, trailingZerosCnt;
     do
     {
         zeroCntr = 0;
         trailingZerosCnt = 0;
    #ifdef _WIN32
         WaitForSingleObject(MutexHandle, /* handle */
                             INFINITE); /* time-out interval */
    #endif
         int bytesInQueue = (int)((long long)aBufPtr - (long long)aBufWritePtr);
         ptrCopy = (char *)aBufPtr;
    #ifdef _WIN32
         ReleaseMutex(MutexHandle);
    #endif
         if (bytesInQueue > 0)
         {
    #ifdef STRIP_ZEROS
             /* Parse data for zeros */
             fPtr = (float *)aBufWritePtr;
             for (int i = 0; i < (bytesInQueue >> 2); i++)
             {
                 if (*(fPtr + i) == 0.0)
                     zeroCntr++;
                 else
                     break;
             }
             aBufWritePtr += (zeroCntr << 2);
             bytesInQueue -= (zeroCntr << 2);
    #endif
             if (bytesInQueue > 0)
             {
                 fPtr = (float *)aBufWritePtr;
                 for (int i = 0; i < (bytesInQueue >> 2); i++)
                 {
                     fwrite(fPtr, 4, 1, fp);
                     fflush(fp);

                     if (*fPtr == 0.0)
                         trailingZerosCnt++;
                     else
                         trailingZerosCnt = 0;

                     if (trailingZerosCnt >= NUM_TRAIL_ZEROS_TRESHOLD)
                         break;

                     fPtr++;
                 }
             }
         }
         aBufWritePtr = ptrCopy;
         Sleep(100);
     } while (trailingZerosCnt < NUM_TRAIL_ZEROS_TRESHOLD);

     fclose (fp);
    #ifdef STRIP_ZEROS
     /* Remove trailing zeros, write wave header */
    #ifdef WRITE_WAV_FILE
     fp = fopen("HDMI_Output.wav", "rb");
    #else
     fp = fopen("HDMI_Output.bin", "rb");
    #endif
     fseek(fp, 0, SEEK_END);
     int size = ftell(fp);
     size = size - (NUM_TRAIL_ZEROS_TRESHOLD << 2);
     printf(" \n size of hearder = %d", size);
    #ifdef WRITE_WAV_FILE
     wh.data.size = size;
     wh.riff.size = wh.data.size + sizeof(wave_format) + sizeof(wave_RIFF);
     printf(" \n size of hearderwh.riff.size = %d", wh.riff.size);
    #endif
     char * tmpBuf = (char *)malloc(size);
     fseek(fp, 0, SEEK_SET);
     fread(tmpBuf, 1, size, fp);
     fclose(fp);
    #endif
    #ifdef WRITE_WAV_FILE
     fp = fopen("HDMI_Output.wav", "wb");
     /* write the wave header */
     fwrite(&wh, 1, sizeof(wave_header), fp);
     /* Write the zero stripped PCM data */
     fwrite(tmpBuf, 1, size, fp);
     free(tmpBuf);
     fflush(fp);
     fclose(fp);
    #endif
    bail:
     /* Stop capture */
     result = deckLinkInput->StopStreams();

     /* Disable the video input interface */
     result = deckLinkInput->DisableVideoInput();

     /* return success */
     returnCode = 0;

     /* Release resources */

     /* Release the attributes interface */
     if (deckLinkAttributes != NULL)
       deckLinkAttributes->Release();

     /* Release the video input interface */
     if (deckLinkInput != NULL)
       deckLinkInput->Release();

     /* Release the Decklink object */
     if (deckLink != NULL)
       deckLink->Release();

     /* Release the DeckLink iterator */
     if (deckLinkIterator != NULL)
       deckLinkIterator->Release();

     /* Release the notification callback object */
     if (notificationCallback)
       delete notificationCallback;
    }
  • libavformat/mpegts : expose raw packet size

    31 janvier 2014, par Leandro Dorileo
    libavformat/mpegts : expose raw packet size
    

    We cannot easily determine if an mpeg TS’s packet size is DVHS, FEC
    or so on, for that we need to expose the internal raw_packet_size
    field.

    Signed-off-by : Anton Khirnov <anton@khirnov.net>

    • [DBH] libavformat/mpegts.c