Recherche avancée

Médias (1)

Mot : - Tags -/censure

Autres articles (39)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • 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

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

  • ffmpeg status & quality / cuda (CPU/GPU)

    18 avril 2015, par cocco

    ffmpeg am i doing it right ?

    So much time has passed since i use ffmpeg to convert clips on my home web server, now that mp4 (h264 & aac) is the current overall standard (works on every console, smartphone, smartTV, pc) i decided to convert my old clips from various digital cameras to to this new container/codecs.

    1. less space & the same quality.
    2. compatibility
    3. support for tags (subler for mac)

    after some research i opted for ffmpeg because of various reasons

    1. commandline (i made my simple web interface with default settings wich i execute with php’s exec)
    2. the quality/size amount

    I read that many expensive video conversion softwares are not able to handle low bitrate videos properly. I also tested some of them and personally i could not find the proper export settings or i was not impressed by the results... some had fixed default export setings, most had a lower video quality at the same filesize. ffmpeg allows me to set the -crf (18-24 usually) and -preset (veryslow, fast..) witch allows me to reduce the filesize drastically mantaining the same
    visible quality.

    Said that i’m using the preset at veryslow.(there is also placebo but the final video file is only 1% smaller in size).

    And here is the command i use

    ffmpeg
    -y //overwrite the file if it exists

    -i INPUTFILE // replace with the input file

    -metadata title=THETITLE // set a nice title, visible on modern devices
    -metadata date=THEDATE // set a nice title, visible on modern devices

    -c:v libx264 // use the h264 codec
    -crf 21 // try different numbers between 18-26
    -preset veryslow // placebo,slow,fast,ultrafast==big file
    -tune film // tune it a little
    -pix_fmt yuv420p // preferred on most modern devices
    -profile:v main // preferred on most modern devices
    -level 3.1 // preferred on most modern devices
    -refs 4 // preferred on most modern devices

    -c:a libfdk_aac // use aac
    -metadata:s:a language=eng // set a language, visible on modern devices
    -b:a 128k // audio bitrate 128k is like mp3 192k
    -ar 48000 // 44100 ... whatever
    -ac 2 // audiochannels
    -movflags +faststart //move the metadata in the front of the video so it loads faster

    OUTPUTFILE

    some camcorder clips with m2ts already have the avc/h264 compatible codec so i just copy the stream.
    some have the ac3/dolby sorround audio. I convert the audio but keep the ac3 as second audio track mapping the ffmpeg streams.this allows me to watch the mp4 on browsers and mobile devices but i’m able to keep the surround sound to playback on some tv’s, advanced media players or devices like apple tv.

    not that i’m not happy with the speed (using quad core’s) but i recently read again about cuda opencl and there is also the simple fact that i’m not using other converters than ffmpeg since alot of time.

    Is ffmpeg (with the setting i use) a good converter to keep the same video quality than the source reducing the space occupied by and average of 30-40% ?

    Is GPU conversion really that bad (cuda .. testing a gtx970) ?
    it would be nice to add some more speed to the conversions by using both the gpu and the cpu..but for my understanding they cannot work together ??? and using only gpu is a drastical quality loss...cpu si more precise, gpu is faster in calculation are too imprecise from what i read.. so expensive softwares use cuda only for preview purpose... right ?

    Is ffmpeg or another software compatible with CPU+GPU encoding ?
    i really don’t remember where, but i read that the ffmpeg is not a good videoconverter.

    i’m really happy with the size/quality, i gained an average of 30% in space with no visible quality loss. With some extra parameters i can adjust some really old analog videos that are deinterlaced in a really bad way.

    maybe i could gain more size/quality with another software ???

    note : i like ffmpeg.it’s free and it has commandline so i can create my own interface with php html & js and use it on various machines without the need to install it in every device i use. i uplad the idevice clips directly to the ffmpeg server.

    btw. : explain the downvotes...

    EDIT :

    @talonmies ...cuda tag removed :

    http://www.nvidia.com/object/cuda_home_new.html

    CUDA® is a parallel computing platform and programming model invented
    by NVIDIA. It enables dramatic increases in computing performance by
    harnessing the power of the graphics processing unit (GPU). With
    millions of CUDA-enabled GPUs sold to date, software developers,
    scientists and researchers are finding broad-ranging uses for GPU
    computing with CUDA. Here are a few examples : - See more at :
    http://www.nvidia.com/object/cuda_home_new.html#sthash.dEYaqae7.dpuf

    isn’t cuda the programming model that a theoretical ffmpeg library should support to handle GPU encoding on nvidia cards like the gtx 970 ?? like the badaboom software http://www.geforce.com/games-applications/pc-applications/badaboom-media-converter.

  • Camera app fails on android ffmpeg application

    22 mars 2021, par connor449

    I am trying to run a simple video recorder app on android. The code is below :

    


    package com.example.camera&#xA;&#xA;//import android.R&#xA;import android.content.DialogInterface&#xA;import android.content.pm.PackageManager&#xA;import android.os.Build&#xA;import android.os.Bundle&#xA;import android.widget.Toast&#xA;import androidx.appcompat.app.AlertDialog&#xA;import androidx.appcompat.app.AppCompatActivity&#xA;import androidx.core.app.ActivityCompat&#xA;import androidx.core.content.ContextCompat&#xA;import com.arthenica.mobileffmpeg.FFmpeg&#xA;&#xA;&#xA;const val EXTRA_MESSAGE = "com.example.myfirstapp.MESSAGE"&#xA;&#xA;class MainActivity : AppCompatActivity() {&#xA;    override fun onCreate(savedInstanceState: Bundle?) {&#xA;        super.onCreate(savedInstanceState)&#xA;        setContentView(R.layout.activity_main)&#xA;        if (checkPermission()) {&#xA;            //main logic or main code&#xA;           FFmpeg.execute("-f android_camera -i 0:0 -r 30 -pixel_format bgr0 -t 00:00:05 /sdcard/test.mp4")&#xA;&#xA;            // . write your main code to execute, It will execute if the permission is already given.&#xA;        } else {&#xA;            requestPermission()&#xA;        }&#xA;    }&#xA;&#xA;    private fun checkPermission(): Boolean {&#xA;        return if (ContextCompat.checkSelfPermission(this, android.Manifest.permission.CAMERA)&#xA;            != PackageManager.PERMISSION_GRANTED&#xA;        ) {&#xA;            // Permission is not granted&#xA;            false&#xA;        } else true&#xA;    }&#xA;&#xA;    private fun requestPermission() {&#xA;        ActivityCompat.requestPermissions(&#xA;            this, arrayOf(android.Manifest.permission.CAMERA),&#xA;            PERMISSION_REQUEST_CODE&#xA;        )&#xA;    }&#xA;&#xA;    override fun onRequestPermissionsResult(&#xA;        requestCode: Int,&#xA;        permissions: Array<string>,&#xA;        grantResults: IntArray&#xA;    ) {&#xA;        when (requestCode) {&#xA;            PERMISSION_REQUEST_CODE -> if (grantResults.size > 0 &amp;&amp; grantResults[0] == PackageManager.PERMISSION_GRANTED&#xA;            ) {&#xA;                Toast.makeText(applicationContext, "Permission Granted", Toast.LENGTH_SHORT)&#xA;                    .show()&#xA;&#xA;                // main logic&#xA;            } else {&#xA;                Toast.makeText(applicationContext, "Permission Denied", Toast.LENGTH_SHORT)&#xA;                    .show()&#xA;                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {&#xA;                    if (ContextCompat.checkSelfPermission(this, android.Manifest.permission.CAMERA)&#xA;                        != PackageManager.PERMISSION_GRANTED&#xA;                    ) {&#xA;                        showMessageOKCancel("You need to allow access permissions",&#xA;                            DialogInterface.OnClickListener { dialog, which ->&#xA;                                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {&#xA;                                    requestPermission()&#xA;                                }&#xA;                            })&#xA;                    }&#xA;                }&#xA;            }&#xA;        }&#xA;    }&#xA;&#xA;    private fun showMessageOKCancel(&#xA;        message: String,&#xA;        okListener: DialogInterface.OnClickListener&#xA;    ) {&#xA;        AlertDialog.Builder(this@MainActivity)&#xA;            .setMessage(message)&#xA;            .setPositiveButton("OK", okListener)&#xA;            .setNegativeButton("Cancel", null)&#xA;            .create()&#xA;            .show()&#xA;    }&#xA;&#xA;    companion object {&#xA;        private const val PERMISSION_REQUEST_CODE = 200&#xA;    }&#xA;}&#xA;&#xA;&#xA;</string>

    &#xA;

    The main command to call the video recorder is here :

    &#xA;

               FFmpeg.execute("-f android_camera -i 0:0 -r 30 -pixel_format bgr0 -t 00:00:05 /sdcard/test.mp4")&#xA;

    &#xA;

    The app opens on my android 10 Motorola G Power. I tap 'allow' for allowing permissions. Then the app crashes and I keep getting this error :

    &#xA;

    2021-03-22 13:42:51.534 31138-31138/com.example.camera E/AndroidRuntime: FATAL EXCEPTION: main&#xA;    Process: com.example.camera, PID: 31138&#xA;    java.lang.IllegalStateException: Could not find method sendMessage(View) in a parent or ancestor Context for android:onClick attribute defined on view class com.google.android.material.button.MaterialButton with id &#x27;button2&#x27;&#xA;        at androidx.appcompat.app.AppCompatViewInflater$DeclaredOnClickListener.resolveMethod(AppCompatViewInflater.java:436)&#xA;        at androidx.appcompat.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:393)&#xA;        at android.view.View.performClick(View.java:7161)&#xA;        at com.google.android.material.button.MaterialButton.performClick(MaterialButton.java:967)&#xA;        at android.view.View.performClickInternal(View.java:7133)&#xA;        at android.view.View.access$3500(View.java:804)&#xA;        at android.view.View$PerformClick.run(View.java:27416)&#xA;        at android.os.Handler.handleCallback(Handler.java:883)&#xA;        at android.os.Handler.dispatchMessage(Handler.java:100)&#xA;        at android.os.Looper.loop(Looper.java:241)&#xA;        at android.app.ActivityThread.main(ActivityThread.java:7617)&#xA;        at java.lang.reflect.Method.invoke(Native Method)&#xA;        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492)&#xA;        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:941)&#xA;2021-03-22 13:42:51.546 31138-31138/com.example.camera I/Process: Sending signal. PID: 31138 SIG: 9&#xA;

    &#xA;

    What am I doing wrong ? Please advise.

    &#xA;

    edit

    &#xA;

    layout xml

    &#xA;

    &lt;?xml version="1.0" encoding="utf-8"?>&#xA;&#xA;&#xA;    &#xA;&#xA;    &#xA;&#xA;

    &#xA;

  • B2B Customer Journey Map : A Quickfire Guide for Growth

    20 mai 2024, par Erin

    What is a company’s biggest asset ?

    Its product ? Its employees ? Its unique selling proposition ?

    More and more people are recognising it’s something else entirely : your customers.

    Without your customers, your business can’t exist.

    Nearly 77% of B2B buyers found the buying process too complicated.

    With more competition than ever, it’s crucial you provide the best possible experience for them.

    That’s where your customer journey comes in.

    If you’re in the B2B space, you need to know how to map out the journey.

    By building a B2B customer journey map, you’ll be able to analyse the weak spots in the customer journey so you can improve the experience (and generate more revenue).

    In this article, we break down the B2B customer journey stages, how to build a customer journey map and how Matomo can help you track your customer journey automatically.

    What is a B2B customer journey ?

    Every customer goes through a specific path within your business.

    At some point in time, they found out about you and eventually bought your products.

    What is a B2B customer journey?

    A B2B customer journey is the collection of touchpoints your customer has with your business from start to finish.

    From discovery to purchase (and more), your customers go through a specific set of touches you can track. By analysing this journey, you can get a snapshot of your user experience.

    One way to track the customer journey is with a B2B customer journey map.

    It helps you to quickly see the different steps your customers take in their path with your business.

    With it, you can quickly identify weak spots and successes to improve the customer journey.

    5 stages of the B2B customer journey

    Every one of your customers is unique. Their specific needs and their journey.

    It’s all different.

    But, there are crucial steps they take through their journey as your customer.

    It’s the same path your entire customer base takes.

    Here are the five stages of the B2B customer journey (and why you should track them) :

    5 stages of the B2B customer journey.

    1. Awareness

    Awareness is the first stage that every B2B buyer goes through when they start their journey in B2B companies as a customer.

    At this stage, your target buyer understands they have a problem they need solving. They’re out, actively trying to solve this problem. 

    This is where you can stand out from the competition and give them a good first impression.

    Some helpful content you could create to do this is :

    • Blog posts
    • Social media posts
    • Ebooks
    • Whitepapers

    2. Consideration

    Next up, your buyer persona has an awareness of your company. But, now they’ve started narrowing down their options for potential businesses they’re interested in.

    They’ve selected yours as a potential business to hand their hard-earned cash over to, but they’re still making up their mind.

    At this point, you need to do what you can to clear up any objections and doubts in their mind and make them trust you.

    Some helpful content you could create here include :

    • Product demos by your sales team
    • Webinars
    • Case studies

    3. Conversion

    Next up, your target buyer has compared all their options and decided on you as the chosen product/company.

    This is where the purchase decision is made — when the B2B buyer actually signs or clicks “buy.”

    Here, you’ll want to provide more :

    • Case studies
    • Live demos
    • Customer service
    • Customer reviews/testimonials

    4. Loyalty

    Your B2B buyer is now a customer. But, not all customers return. The majority will slip away after the first purchase. If you want them to return, you need to fuel the relationship and nurture them even more.

    You’ll want to shift your efforts to nurturing the relationship with a post-purchase strategy where you build on that trust, seek customer feedback to prove high customer satisfaction and reward their loyalty.

    Some content you may want to create here includes :

    • Thank you emails
    • Follow-up emails
    • Follow-up calls
    • Product how-tos
    • Reward program
    • Surveys

    5. Advocacy

    The final stage of the B2B customer journey map is advocacy.

    This is the stage beyond loyalty where your customers aren’t just coming back for more ; they’re actively telling others about you.

    This is the cream of the crop when it comes to the B2B buyer stages, and it happens when you exceed customer expectations repeatedly.

    Your goal should be to eventually get all of your customers to this stage. Because then, they’re doing free marketing for you.

    This is only possible when a customer receives enough positive B2B customer experiences with your company where the value they’ve received far exceeds what they perceived they have given.

    Here are a few pieces of content you can create to fuel advocacy :

    • Surveys
    • Testimonial requests
    • Referral program

    Difference between B2C and B2B customer journeys

    Every person on earth who buys something enters the customer journey.

    But, not all customer journeys are created equal.

    This is especially true when you compare the B2C and B2B customer journeys.

    While there are similarities, the business-to-consumer (B2C) journey has clear differences compared to the business-to-business (B2B) journey.

    B2C vs. B2B customer journey.

    The most obvious difference between the two journeys is that B2B customer journeys are far more complex. 

    Not only are these two companies selling to different audiences, but they also have to deploy a completely different set of strategies to lead their customers down the path as far as they can go.

    While the journey structures are similar (from awareness to advocacy), there are differing motivating behaviours.

    Here’s a table showing the difference between B2C and B2B in the customer journey :

    Different FactorsB2BB2C
    Target audienceSmaller, industry more importantLarger, general consumer
    BuyerMultiple decision-makersOne decision-maker
    Buying decisionBased on needs of the organisation with multiple stakeholdersBased on an individual’s pain points
    Buying processMultiple stepsSingle step
    Customer retentionOrganisational needs and ROI-basedIndividual emotional factors
    Repeat sales driverDeep relationshipRepetition, attention-based

    Step-by-step guide to building a B2B customer journey map

    Now that you’ve got a basic understanding of the typical B2B customer journey, it’s time to build out your map so you can create a visual representation of the journey.

    Step-by-step guide to building a customer journey map.

    Here are six steps you need to take to craft an effective B2B customer journey map in your business :

    1. Identify your target audience (and different segments)

    The first step in customer journey mapping is to look at your target audience.

    You need to understand who they are and what different segments make up your audience.

    You need to look at the different roles each person plays within the journey.

    Unlike B2C, you’re not usually dealing with a single person. You likely have a few decision-makers you need to interact with to close a deal.

    The average B2B deal involves 6 to 10 people.

    Analyse the different roles and responsibilities of your audience.

    Figure out what requirements they need to onboard you. Understand each person’s level of influence in the buying decision.

    2. Determine your customers’ goals

    Now that you have a clear understanding of each person involved in the buying process, it’s time to analyse their unique needs and goals.

    Unlike B2C, which will include a single person with a single set of needs and goals, you have to look at several people through the decision-making process.

    What is every decision-maker’s goal ?

    An entry-level admin will have much different goals than a CEO.

    Understand each of their needs as it will be key to selling them and taking you to the next person in the chain of command.

    3. Lean on data and analytics

    Now it’s time to analyse your data.

    You don’t want to guess what will work on your B2B buyers. Instead, leverage data that proves what’s working (and what’s not).

    Analytics software like Matomo are crucial tools in your B2B customer journey toolkit.

    Matomo can help you make data-driven decisions to fuel customer acquisition and loyalty to help get more customers all the way to the advocacy stage.

    Using Matomo (which analyses and interprets different data sources) can give you a holistic view of what’s going on at each stage of the journey so you can reach your goals.

    Try Matomo for Free

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

    No credit card required

    4. Draw out customer journey stages

    Now that you have your data-backed plan, it’s time for some customer journey mapping.

    You can do this on paper or use a diagram tool to create a visual B2B customer journey map.

    Here, you’ll draw out every single stage in your customer journey, including every single touchpoint from different decision-makers.

    5. Determine each customer touchpoint

    Once you’ve drawn up the customer journey stages, you’ll have a key list of B2B customer journey touchpoints to implement.

    Write down every single customer interaction possible on the journey through.

    This could be reading an email, a blog post or watching a video on your home page.

    It could be an advertisement, a phone call or a follow-up email.

    It could even be a live demo or video sales call (meeting).

    6. Identify your own goals

    Now that you’ve got your visual B2B customer journey mapping done, it’s time to go back to you and your company.

    What are your goals ?

    What are the end results you’re looking for here ?

    You’ve got your current map in place. Now, how would you like customers to go through this journey ?

    Where would you like them to end up ?

    Look back at your company’s primary objectives if you’re stuck here.

    If your company is looking to increase profit margins, then maybe you want to focus more on retention, so you’re spending less on acquisition (and leaning more on recurring revenue from existing customers).

    How to create a Matomo funnel to track your B2B customer journey

    If you want to start tracking and optimising your B2B customer journey, you need to have a good grasp on your funnel.

    The reality is that your customer journey is your funnel.

    They’re one and the same.

    Your customer journeys through your sales funnel.

    So, if you want to optimise it, then you need to see what’s going on at each stage of your funnel.

    Screenshot example of the Matomo dashboard

    With Matomo, you can map out your entire funnel and track key events like conversions.

    This allows you to identify where your site visitors are having problems, where they’re exiting and other obstacles they’re facing on their journey through.

    To start, you first define what events or touchpoints you want included. This could mean :

    • Landing on your website
    • Visiting a product page
    • Adding something to cart
    • Going to checkout
    • Clicking “buy”

    Then, at each stage, you’ll see conversion rates.

    For example, if only 3% of your visitors go from landing on your website to the product page, you likely have an issue between your homepage (and other pages) and your product pages.

    Or, if you can get people to add to cart, but you rarely get people going to checkout, there’s likely a problem to fix on your add-to-cart page.

    By leveraging Matomo’s funnels feature, you get to see your entire customer journey (and where people are falling off) so you understand what you need to optimise to grow your business.

    If you’re ready to start building and optimising your customer journey today, then try Matomo for free for 21 days.