Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (74)

  • Multilang : améliorer l’interface pour les blocs multilingues

    18 février 2011, par

    Multilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
    Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela.

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • Les formats acceptés

    28 janvier 2010, par

    Les commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
    ffmpeg -codecs ffmpeg -formats
    Les format videos acceptés en entrée
    Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
    Les formats vidéos de sortie possibles
    Dans un premier temps on (...)

Sur d’autres sites (6166)

  • problem in concatenating mass online video urls using ffmpeg [duplicate]

    25 mai 2021, par JohnTerry

    I want to concat n number of videos together using ffmpeg which can also have more than one codec or different resolutions.
I know how to do it with fixed number of videos but input_videos.txt can contain any unknown number of videos. I checked relative posts but they did not have a solution for my problem.

    


    the command i am using for concatenating videos is -

    


    cmd = "ffmpeg -safe 0 -f concat -protocol_whitelist file,http,https,tcp,tls,crypto -segment_time_metadata 1 -i {} -vf select=concatdec_select,scale=1280:720 -af aselect=concatdec_select,aresample=async=1 -c:v libvpx-vp9 -deadline good -cpu-used 5 -c:a libopus {}".format(input_videos.txt, output_video.webm)


    


    Is there a way to achieve the functionality i want ?

    


  • What is White Label Analytics ? Everything You Need to Know

    6 février 2024, par Erin

    Reports are a core part of a marketing agency’s offering. It’s how you build trust with clients by highlighting your efforts and demonstrating your results. 

    But all too often, those reports deliver a jarring and incohesive experience. The culprit ? The logos, colours and names of third-party brands your agency uses to deliver work and create the reports. 

    Luckily, there’s a way to make sure your reports elevate your agency’s stature ; not undermine it. 

    By white labelling your tools, you can deliver a clear and cohesive brand experience — one that strengthens the client relationship rather than diminishing it. 

    In this article, we explain what white label analytics tools are, why it’s important to white label your analytics solution and how you can do it using Matomo. 

    What is white label analytics ?

    White labelling is the process of redesigning a product or service using your company’s brand. The term comes from the act of putting a white label on a product that covers the original branding and allows the reseller to personalise the product.

    White label analytics, then, is a way to customise your analytics software with your agency’s logo and colours. When you white label your analytics, you ensure your reports, dashboards and interface provide a consistent and familiar user experience.

    White label analytics example screenshot from Matomo

    The alternative is to provide your clients with an analytics report containing the logo and branding of your analytics software provider — whether that’s Google Analytics, Matomo, or another tool. 

    For some clients, it can create a confusing experience that takes attention away from your agency’s results.

    Why white label analytics is important

    There are plenty of reasons to white label your analytics tool, from improving your client’s experience to generating additional revenue. Here are four of the most important benefits to know :

    Improve the client experience

    You want your clients to have a seamless user experience with your agency’s brand, whether they visit your website, log into their client portal, or read one of your reports. 

    By white labelling your analytics platform, you can give your clients a visually appealing experience that stays in line with the rest of your branding and doesn’t leave them confused about who they are interacting with or which company is providing the service they pay for. 

    This is especially important if your agency uses other third-party tools like a client portal or productivity platform that also allows for custom branding. 

    Strengthen client relationships

    When you use white labelling to remove solution providers’ logos, you ensure your brand gets all of the credit for the hard work you’ve been doing. This can strengthen the agency-client relationship and reaffirm the importance of your agency. 

    But, white labelling allows you to tell a better story through your reports and increases the perceived value you offer. There are no other brands, logos, or names to confuse the narrative or detract from your key points — or to stop the client from understanding just how much value you provide. 

    Save time and increase productivity 

    White labelling your analytics platform can save your team a significant amount of time when creating client reports. 

    There’s no need to carefully screenshot graphs to add them to your own branded report. You can simply email clients a report using your white labelled analytics platform, assuring them of a seamlessly branded experience.

    The upshot is that your team can spend more time on billable work, improving the value they deliver to existing clients or opening up capacity to take on even more work. 

    Increase monetisation opportunities

    Whether you are an agency or consultant, white labelling an analytics solution gives you the opportunity to package and sell analytics as part of your own services. This can open up new revenue streams, help you to diversify your income, and reach a wider audience.

    The beauty of a white label offering is that there is no allusion to the company providing the underlying service.

    The most important elements of an analytics platform to white label 

    A white label analytics solution should offer a broad range of customisation options that range from surface-level branding to functional elements like tracking codes. 

    Below we take a look at the top components you should be able to customise with your chosen platform. 

    Logo and Favicon

    The logo is the first thing clients will see when they open up their analytics platform or look at your reports. It should make your services instantly recognisable, which is why it’s so jarring when clients read a report with another company’s brand slapped on every chart. 

    This should be the very first thing you change since it will be on almost every page and report your client views. Don’t stop there, however. If you send clients web-based reports, you’ll also want to change the platform’s favicon — the small logo you see next to your website in a browser. 

    Customising both your logo and favicon is easy with Matomo. 

    Just head to Administration, then General Settings and click Use a custom Logo under Brand settings.

    Matomo white label custom branding settings

    Upload your brand, click Save, and it will automatically populate your brand in place of the Matomo logo across the platform, just like in the image above.

    Brand name

    Most analytics platforms will mention their brand names repeatedly across the site, so it’s important to change these, too.

    Otherwise, you risk clients reading your analytics reports in detail or playing around with your platform’s settings and getting confused when another seemingly unrelated name keeps popping up. 

    Again, this is easily done with Matomo’s White Label plugin. 

    Head to Administration, then General Settings. Scroll to the bottom of the page to find WhiteLabel settings.

    Enter your brand or product name in the first box and click Save

    White label the Matomo platform with your brand name.

    Just like your logo, this will replace every instance of Matomo’s brand name with your own.

    Brand colours

    Changing your analytics platform’s colours to match your own is almost as important as swapping out the logo. 

    Failure to do so could mean the charts and graphs you add to your client reports could cause confusion. 

    You can also use Matomo’s WhiteLabel settings to change the platform’s background and font colours. 

    Just enter a new header background and font colour using hexadecimal values.

    Matomo white label brand colour settings.

    This change will also apply to automated email reports. 

    Custom tracking

    Tracking requests and links are an overlooked element of analytics when it comes to white labelling. Most people wouldn’t think twice about them, but they are an easy way for someone in the know to identify which platform you are using. 

    With Matomo’s White Label plugin, it’s possible to customise every request Matomo makes to your clients’ websites. 

    If left unbranded, tracking requests contain the following references : matomo.js and matomo.php. 

    By clicking the Whitelabel tracking endpoint box on the WhiteLabel settings page, those references will be replaced with js/tracker.js and js/tracker.php

    You’ll need to update your tracking code to reflect these changes, otherwise, requests will still contain Matomo branding. 

    Try Matomo for Free

    Get the web insights you need, without compromising data accuracy.

    No credit card required

    Links

    Finally, you’ll want to remove any links to any additional content offered by the analytics company. These are usually included to improve the user experience, but they are best removed if you are letting clients access your platform. 

    With Matomo, you can remove all links by clicking the relevant box in WhiteLabel settings. 

    You can also use the Show Marketplace only to Super Users checkbox to limit the visibility of Matomo’s Marketplace to everyone bar Super Users.

    Can you white label Google Analytics ?

    In a word : no. 

    Google Analytics might be the most popular analytics platform, but it comes up short if you want to customise its appearance. 

    This can be a particular problem for agencies that need to stand out from competitors offering the same generic reports. You can add more context, detail and graphs to your analytics reports, of course. But you’ll never be able to create completely custom, brand-cohesive reports using Google Analytics. 

    3 analytics platforms you can white label

    While you can’t white label Google Analytics, there are several web analytics providers that do offer a white labelling service. Here are three of the best :

    Matomo

    As you’ve already seen, Matomo is the ideal web analytics platform if you want to let your own brand shine through. Matomo lets you personalise the entire dashboard and all of your reports. That includes :

    • Adding your brand logo and favicon
    • Changing the font and background colours 
    • Removing third-party links
    • Tracking using custom URLs 
    • Develop your own custom theme

    Matomo offers a 21-day free trial (no credit card required). If you want to get remove the Matomo branding, you need the White Label plugin, which starts at just $179 per year after a free trial.

    Try Matomo for Free

    Get the web insights you need, without compromising data accuracy.

    No credit card required

    Clicky

    Clicky is a simple, privacy-focused web analytics platform with a white label offering. Like Matomo, you can add your logo and change the platform’s colours. 

    Clicky offers a seven-day free trial and charges a $99 setup fee, with prices starting from $49 and rising to $399. 

    Plausible 

    Plausible is another privacy-focused Google Analytics alternative that offers white labelling. The difference here is that it’s pretty complex to set up. 

    Rather than customising Plausible’s platform, for instance, you need to embed its dashboard into your own user interface. If you want to create your own custom dashboard, you’ll need to use an API. 

    Plausible offers a 30-day free trial.

    Leverage white label analytics today with Matomo

    Don’t put up with confusing unbranded clients a moment longer. White label your analytics platform so the next time you sit down to share insights with your clients, they’ll only see one brand : yours.

    Matomo makes it quick and easy to customise the look of your analytics platform and all of the reports you generate. If you already use Matomo, try the White Label plugin free for 30 days.

    If not, try Matomo with a free 21-day trial. No credit card required. 

  • ffmpeg got black and white video when encoding flv

    17 décembre 2012, par samyou

    i searched the site and got a post :
    getting black and white image after encoding
    but i got no answer.

    don't know how but it is all black and white.

    hear is the init code :

    JNIEXPORT jboolean JNICALL Java_sam_flvmuxer_SamRTMPNative_nativeInitMuxerAndStart(
       JNIEnv *env, jclass jcls, jstring outfile, jint inwidth, jint inheight,
       jint fps) {
    audioOutBuffer = malloc(AUDIO_OUT_BUFFER_SIZE);
    videoOutBuffer = malloc(VIDEO_OUT_BUFFER_SIZE);
    VIDEO_WIDTH = inwidth;
    VIDEO_HEIGHT = inheight;
    av_log_set_callback(samffmpeglogback);
    av_register_all();
    char *filepath = (*env)->GetStringUTFChars(env, outfile, 0);
    JNILOG("file path is %s",filepath);
    avformat_alloc_output_context2(&avFormatContext, NULL, NULL, filepath);
    if (!avFormatContext) {
       JNILOG("avformat_alloc_output_context2 with filepath failed");
       return JNI_FALSE;
    }
    AVOutputFormat *fmt = avFormatContext->oformat;
    //fmt->video_codec = VIDEO_CODEC_ID;
    ////init video
    avVideoStream = avformat_new_stream(avFormatContext, NULL );
    if (!avVideoStream) {
       (*env)->ReleaseStringUTFChars(env, outfile, filepath);
       return 0;
    }

    AVCodec *videocodec = avcodec_find_encoder(VIDEO_CODEC_ID);
    if (!videocodec) {
       JNILOG("avcodec_find_encoder error");
       return JNI_FALSE;
    }
    avcodec_get_context_defaults3(avVideoStream->codec, videocodec);

    AVCodecContext *avVideoCodecContext = avVideoStream->codec;
    avVideoCodecContext->codec_type = AVMEDIA_TYPE_VIDEO;
    avVideoCodecContext->codec_id = VIDEO_CODEC_ID;
    avVideoCodecContext->width = inwidth;
    avVideoCodecContext->height = inheight;
    avVideoCodecContext->time_base.den = fps;
    avVideoCodecContext->time_base.num = 1;
    avVideoCodecContext->gop_size = 10;
    avVideoCodecContext->pix_fmt = PIX_FMT_YUV420P;
    JNILOG("bitrate befort set = %d",avVideoCodecContext->bit_rate);
    avVideoCodecContext->bit_rate = 600000;


    if (fmt->flags & AVFMT_GLOBALHEADER)
       avVideoCodecContext->flags |= CODEC_FLAG_GLOBAL_HEADER;

    av_dump_format(avFormatContext,0,filepath,1);
    if(avcodec_open2(avVideoCodecContext,videocodec,NULL)<0)
    {
       JNILOG("video avcodec_open2 failed");
       (*env)->ReleaseStringUTFChars(env, outfile, filepath);
       return JNI_FALSE;
    }



    ///////
    /* open the output file, if needed */
    if (!(fmt->flags & AVFMT_NOFILE)) {
       if ((avio_open(&avFormatContext->pb, filepath, AVIO_FLAG_WRITE)) < 0) {
           JNILOG("Could not open file!");
           (*env)->ReleaseStringUTFChars(env, outfile, filepath);
           return 0;
       }
    }
    if (avformat_write_header(avFormatContext, NULL ) < 0) {
       JNILOG("Could not avformat_write_header!");
       (*env)->ReleaseStringUTFChars(env, outfile, filepath);
       return 0;
    }
    (*env)->ReleaseStringUTFChars(env, outfile, filepath);
    YUVFrame = avcodec_alloc_frame();
    JNILOG("ffmpeg every thing inited");
    return JNI_TRUE;
    }

    and encode code looks like below :

    avpicture_fill((AVPicture *)YUVFrame,framedata,PIX_FMT_YUV420P,VIDEO_WIDTH,VIDEO_HEIGHT);
       ///打印data 分量!!!!
       AVPacket pkt;
       av_init_packet(&pkt);
       pkt.data = videoOutBuffer;
       pkt.size = VIDEO_OUT_BUFFER_SIZE;
       int gotpkt = 0;
       avcodec_encode_video2(avVideoStream->codec,&pkt,YUVFrame,&gotpkt);
       if (gotpkt > 0) {
           JNILOG("encoded size=%d,gotpktflag=%d",pkt.size,gotpkt);
           pkt.stream_index = avVideoStream->index;
           pkt.flags |= AV_PKT_FLAG_KEY;
           pkt.pts = timestamp;
           while (pkt.pts <= lastVideoPts) {
               pkt.pts++;
           }
           lastVideoPts = pkt.pts;
           if (av_interleaved_write_frame(avFormatContext, &pkt) < 0) {
               JNILOG("av_interleaved_write_frame failed");
           }
       }

    someone please help me with this problem^^