Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (30)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 est la première version de MediaSPIP stable.
    Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

Sur d’autres sites (4602)

  • Blog series part 2 : How to increase engagement of your website visitors, and turn them into customers

    8 septembre 2020, par Joselyn Khor — Analytics Tips, Marketing

    Long gone are the days of simply tracking page views as a measure of engagement. Now it’s about engagement analysis, which is layered and provides insight for effective data-driven decisions.

    Discover how engaged people are with your website by uncovering behavioural patterns that tell you how well your site and content is or isn’t performing. This insight helps you re-evaluate, adapt and optimise your content and strategy. The more engaged they are, the more likely you’ll be able to guide them on a predetermined journey that results in more conversions ; and helps you reach the goals you’ve set for your business. 

    Why is visitor engagement important ?

    It’s vital to measure engagement if you have anything content related that plays a role in your customer’s journey. Some websites may find more value in figuring out how engaging their entire site is, while others may only want to zone in on, say, a blogging section, e-newsletters, social media channels or sign-up pages.

    In the larger scheme of things, engagement can be seen as what’s running your site. Every aspect of the buyer’s journey requires your visitors to be engaged. Whether you’re trying to attract, convert or build a loyal audience base, you need to know your content is optimised to maintain their attention and encourage them along the path to purchase, conversion or loyalty.

    How to increase engagement with Matomo

    You need to know what’s going right or wrong to eventually be able to deliver more riveting content your visitors can’t help but be drawn to. Learn how to apply Matomo’s easy-to-use features to increase engagement :

    1. The Behaviour feature
    2. Heatmaps
    3. A/B Testing
    4. Media Analytics
    5. Transitions
    6. Custom reports
    7. Other metrics to keep an eye on

    1. Look at the Behaviour feature

    It allows you to learn how visitors are responding to your content. This information is gathered by drawing insight from features such as site search, downloads, events and content interactions. Learn more

    Matomo's behaviour feature

    Matomo’s top five ways to increase engagement with the Behaviour feature :

    Behaviour -> Pages
    Get complete insights on what pages your users engage with, what pages provide little value to your business and see the results of entry and exit pages. If important content is generating low traffic, you need to place it where it can be seen. Spend time where it matters and focus on the content that will engage with your users and see how it eventually converts them into customers.

    Behaviour -> Site search
    Site search tracks how people use your website’s internal search engine. You can see :

    • What search keywords visitors used on your website’s internal search.
    • Which of those keywords resulted in no results (what content your visitors are looking for but cannot find).
    • What pages visitors visited immediately after a search.
    • What search categories visitors use (if your website employs search categories).

    Behaviour -> Downloads
    What are users wanting to take away with them ? They could be downloading .pdfs, .zip files, ebooks, infographics or other free/paid resources. For example, if you were working for an education institution and created valuable information packs for students that you made available online in .pdf format. To see an increase in downloads meant students were finding the .pdfs and realising the need to download them. No downloads could mean the information packs weren’t being found which would be problematic.

    Behaviour -> Events
    Tracking events is a very useful way to measure the interactions your users have with your website content, which are not directly page views or downloads.

    How have Events been used effectively ? A great example comes from one of our customers, Catalyst. They wanted to capture and measure the user interaction of accordions (an area of content that expands or closes depending on how a user interacts with it) to see if people were actually getting all the information available to them on this one page. By creating an Event to record which accordion had been opened, as well as creating events for other user interactions, they were able to figure out which content got the most engagement and which got the least. Being able to see how visitors navigated through their website helped them optimise the site to ensure people were getting the relevant information they were craving.

    Behaviour -> Content interactions
    Content tracking allows you to track interaction within the content of your web page. Go beyond page views, bounce rates and average time spent on page with your content. Instead, you can analyse content interaction rates based on mouse clicking and configuring scrolling or hovering behaviours to see precisely how engaged your users are. If interaction rates are low, perhaps you need to restructure your page layout to grab your user’s attention sooner. Possibly you will get more interaction when you have more images or banner ads to other areas of your business.

    Watch this video to learn about the Behaviour feature

    2. Set up Heatmaps

    Effortlessly discover how your visitors truly engage with your most important web pages that impact the success of your business. Heatmaps shows you visually where your visitors try to click, move the mouse and how far down they scroll on each page.

    Matomo's heatmaps feature

    You don’t need to waste time digging for key metrics or worry about putting together tables of data to understand how your visitors are interacting with your website. Heatmaps make it easy and fast to discover where your users are paying their attention, where they have problems, where useless content is and how engaging your content is. Get insights that you cannot get from traditional reports. Learn more

    3. Carry out A/B testing

    With A/B Testing you reduce risk in your decision-making and can test what your visitors are responding well to. 

    Matomo's a/b testing feature

    Ever had discussions with colleagues about where to place content on a landing page ? Or discussed what the call-to-action should be and assumed you were making the best decisions ? The truth is, you never know what really works the best (and what doesn’t) unless you test it. Learn more

    How to increase engagement with A/B Testing : Test, test and test. This is a surefire way to learn what content is leading your visitors on a path to conversion and what isn’t.

    4. Media Analytics

    Tells you how visitors are engaging with your video or audio content, and whether they’re leading to your desired conversions. Track :

    • How many plays your media gets and which parts they viewed
    • Finish rates
    • How your media was consumed over time
    • How media was consumed on specific days
    • Which locations your users were viewing your content from
    • Learn more
    Media Analytics

    How to increase engagement with Media Analytics : These metrics give a picture of how audiences are behaving when it comes to your content. By showing insights such as, how popular your media content is, how engaging it is and which days content will be most viewed, you can tailor content strategies to produce content people will actually find interesting and watch/listen.

    Matomo example : When we went through the feature video metrics on our own site to see how our videos were performing, we noticed our Acquisition video had a 95% completion rate. Even though it was longer than most videos, the stats showed us it had, by far, the most engagement. By using Media Analytics to get insights on the best and worst performing videos, we gathered useful info to help us better allocate resources effectively so that in the future, we’re producing more videos that will be watched.

    5. Investigate transitions

    See which page visitors are entering the site from and where they exit to. Transitions shows engagement on each page and whether the content is leading them to the pages you want them to be directed to.

    Transitions

    This gives you a greater understanding of user pathways. You may be assuming visitors are finding your content from one particular pathway, but figure out users are actually coming through other channels you never thought of. Through Transitions, you may discover and capitalise on new opportunities from external sites.

    How to increase engagement with Transitions : Identify clearly where users may be getting distracted to click away and where other pages are creating opportunity to click-through to conversion. 

    6. Create Custom Reports

    You can choose from over 200 dimensions and metrics to get the insights you need as well as various visualisation options. This makes understanding the data incredibly easy and you can get the insights you need instantly for faster results without the need for a developer. Learn more

    Custom Reports

    How to increase engagement with Custom Reports : Set custom reports to see when content is being viewed and figure out how engaged users are by looking at different hours of the day or which days of the week they’re visiting your website. For example, you could be wondering what hour of the day performed best for converting your customers. Understanding these metrics helps you figure out the best time to schedule your blog posts, pay-per-click advertising, edms or social media posts knowing that your visitors are more likely to convert at different times.

    7. Other metrics to key an eye on …

    A good indication of a great experience and of engagement is whether your readers, viewers or listeners want to do it again and again.

    “Best” metrics are hard to determine so you’ll need to ask yourself what you want to do or what you want your site to do. How do you want your users to behave or what kind of buyer’s journey do you want them to have ?

    Want to know where to start ? Look at …

    • Bounce rate – a high bounce rate isn’t great as people aren’t finding what they’re looking for and are leaving without taking action. (This offers great opportunities as you can test to see why people are bouncing off your site and figure out what you need to change.)
    • Time on site – a long time on site is usually a good indication that people are spending time reading, navigating and being engaged with your website. 
    • Frequency of visit – how often do people come back to interact with the content on your website ? The higher the % of your visitors that come back time and time again will show how engaged they are with your content.
    • Session length/average session duration – how much time users spend on site each session
    • Pages per session – is great to show engagement because it shows visitors are happy going through your website and learn more about your business.

    Key takeaway

    Whichever stage of the buyer’s journey your visitors are in, you need to ensure your content is optimised for engagement so that visitors can easily spend time on your website.

    “Every single visit by every single visitor is no longer judged as a success or a failure at the end of 29 min (max) session in your analytics tool. Every visit is not a ‘last-visit’, rather it becomes a continuous experience leading to a win-win outcome.” – Avinash Kaushik

    As you can tell, one size does not fit all when it comes to analysing and measuring engagement, but with a toolkit of features, you can make sure you have everything you need to experiment and figure out the metrics that matter to the success of your business and website.

    Concurrently, these gentle nudges for visitors to consume more and more content encourages them along their path to purchase, conversion or loyalty. They get a more engaging website experience over time and you get happy visitors/customers who end up coming back for more.

    Want to learn how to increase conversions with Matomo ? Look out for the final in this series : part 3 ! We’ll go through how you can boost conversions and meet your business goals with web analytics. 

  • Why i got an error with ffmpeg when i'm trying to merge 2 video file with the audio of a third video file multiple time in 1 line ?

    28 août 2020, par Niron

    I have 1 video file that i want to concat with an other video file using the audio of a third video file, and this 5 time in a line.
The only file that don't change is the first video file.
So i tried to run this command :

    


    ./ffmpeg.exe -i Video\\decompte.mp4 -i "Video\\Breaking Bad_OPENING_Opening.mp4" -i "TempVideo\\Breaking 
Bad_OPENING_Opening.mp4" -i "Video\\The 100_OPENING_Opening.mp4" -i "TempVideo\\The 
100_OPENING_Opening.mp4" -i "Video\\Stranger Things_OPENING_Opening.mp4" -i "TempVideo\\Stranger 
Things_OPENING_Opening.mp4" -i "Video\\Lucifer_OPENING_Opening.mp4" -i 
"TempVideo\\Lucifer_OPENING_Opening.mp4" -i "Video\\Black Mirror_OPENING_Opening.mp4" -i 
"TempVideo\\Black Mirror_OPENING_Opening.mp4" -filter_complex "
[0:0]scale=1280:720:force_original_aspect_ratio=1[v0]; 
[2:v]scale=1280:720:force_original_aspect_ratio=1[v2]; 
[4:v]scale=1280:720:force_original_aspect_ratio=1[v4]; 
[6:v]scale=1280:720:force_original_aspect_ratio=1[v6]; 
[8:v]scale=1280:720:force_original_aspect_ratio=1[v8]; 
[10:v]scale=1280:720:force_original_aspect_ratio=1[v10]; 
[v0][v2][1:a][v0][v4][3:a][v0][v6][5:a][v0][v8][7:a][v0][v10][9:a]concat=n=5:v=2:a=1[outv][outa]"
 -map "[outv]" -map "[outa]" 637342141280804229.mp4


    


    But when i run this command i get an error but i don't understand why :

    


    ffmpeg version git-2019-11-22-27c6c92 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 9.2.1 (GCC) 20191010
  configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
  libavutil      56. 36.100 / 56. 36.100
  libavcodec     58. 62.100 / 58. 62.100
  libavformat    58. 35.100 / 58. 35.100
  libavdevice    58.  9.101 / 58.  9.101
  libavfilter     7. 66.100 /  7. 66.100
  libswscale      5.  6.100 /  5.  6.100
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'Video\decompte.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    creation_time   : 2020-04-02T15:15:56.000000Z
  Duration: 00:00:20.00, start: 0.000000, bitrate: 475 kb/s
    Stream #0:0(eng): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1600x900, 468 kb/s, 25 fps, 25 tbr, 25k tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2020-04-02T15:15:56.000000Z
      handler_name    : ?Mainconcept Video Media Handler
      encoder         : AVC Coding
Input #1, mov,mp4,m4a,3gp,3g2,mj2, from 'Video\Breaking Bad_OPENING_Opening.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.100
  Duration: 00:00:17.60, start: 0.000000, bitrate: 399 kb/s
    Stream #1:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 426x240 [SAR 1:1 DAR 71:40], 275 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #1:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #2, mov,mp4,m4a,3gp,3g2,mj2, from 'TempVideo\Breaking Bad_OPENING_Opening.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.100
  Duration: 00:00:02.02, start: 0.000000, bitrate: 551 kb/s
    Stream #2:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 426x240 [SAR 1:1 DAR 71:40], 417 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #2:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #3, mov,mp4,m4a,3gp,3g2,mj2, from 'Video\The 100_OPENING_Opening.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.100
  Duration: 00:00:34.13, start: 0.000000, bitrate: 3925 kb/s
    Stream #3:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 3794 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #3:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #4, mov,mp4,m4a,3gp,3g2,mj2, from 'TempVideo\The 100_OPENING_Opening.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.100
  Duration: 00:00:02.02, start: 0.000000, bitrate: 6158 kb/s
    Stream #4:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 6076 kb/s, 29.97 fps, 29.97 tbr, 30k tbn, 59.94 tbc (default)
    Metadata:
      handler_name    : VideoHandler
    Stream #4:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #5, mov,mp4,m4a,3gp,3g2,mj2, from 'Video\Stranger Things_OPENING_Opening.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.100
  Duration: 00:00:53.45, start: 0.000000, bitrate: 1015 kb/s
    Stream #5:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 881 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.
    Stream #5:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #6, mov,mp4,m4a,3gp,3g2,mj2, from 'TempVideo\Stranger Things_OPENING_Opening.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.100
  Duration: 00:00:02.02, start: 0.000000, bitrate: 1186 kb/s
    Stream #6:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1920x1080 [SAR 1:1 DAR 16:9], 1058 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc.
    Stream #6:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #7, mov,mp4,m4a,3gp,3g2,mj2, from 'Video\Lucifer_OPENING_Opening.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.100
  Duration: 00:03:24.17, start: 0.000000, bitrate: 178 kb/s
    Stream #7:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 43 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc. Created on: 07/28/2020.
    Stream #7:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 126 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #8, mov,mp4,m4a,3gp,3g2,mj2, from 'TempVideo\Lucifer_OPENING_Opening.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.100
  Duration: 00:00:02.02, start: 0.000000, bitrate: 239 kb/s
    Stream #8:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 99 kb/s, 30 fps, 30 tbr, 15360 tbn, 60 tbc (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc. Created on: 07/28/2020.
    Stream #8:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 127 kb/s (default)
    Metadata:
      handler_name    : SoundHandler
Input #9, mov,mp4,m4a,3gp,3g2,mj2, from 'Video\Black Mirror_OPENING_Opening.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: isommp42
    creation_time   : 2018-03-13T16:58:18.000000Z
  Duration: 00:00:19.04, start: 0.000000, bitrate: 314 kb/s
    Stream #9:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x718 [SAR 1:1 DAR 640:359], 184 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
    Metadata:
      creation_time   : 2018-03-13T16:58:18.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 03/13/2018.
    Stream #9:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
    Metadata:
      creation_time   : 2018-03-13T16:58:18.000000Z
      handler_name    : ISO Media file produced by Google Inc. Created on: 03/13/2018.
Input #10, mov,mp4,m4a,3gp,3g2,mj2, from 'TempVideo\Black Mirror_OPENING_Opening.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf58.35.100
  Duration: 00:00:02.02, start: 0.000000, bitrate: 351 kb/s
    Stream #10:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1280x718 [SAR 1:1 DAR 640:359], 211 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc. Created on: 03/13/2018.
    Stream #10:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s (default)
    Metadata:
      handler_name    : ISO Media file produced by Google Inc. Created on: 03/13/2018.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0000020b6fd5cb80] Invalid stream specifier: v0.
    Last message repeated 1 times
Stream specifier 'v0' in filtergraph description [0:0]scale=1280:720:force_original_aspect_ratio=1[v0]; [2:v]scale=1280:720:force_original_aspect_ratio=1[v2]; [4:v]scale=1280:720:force_original_aspect_ratio=1[v4]; [6:v]scale=1280:720:force_original_aspect_ratio=1[v6]; [8:v]scale=1280:720:force_original_aspect_ratio=1[v8]; [10:v]scale=1280:720:force_original_aspect_ratio=1[v10]; [v0][v2][1:a][v0][v4][3:a][v0][v6][5:a][v0][v8][7:a][v0][v10][9:a]concat=n=5:v=2:a=1[outv][outa] matches no streams.



    


    Please someone can help me because i'm stuck with this.

    


  • ffmpeg-python error, cannot load mp4 encoder

    19 août 2020, par tristan_jia

    This error came when I just try a simple demo from the page of ffmpeg-python :

    


    import ffmpeg
stream = ffmpeg.input('human_face.mp4')
stream = ffmpeg.hflip(stream)
stream = ffmpeg.output(stream, 'new_human_face.mp4')
ffmpeg.run(stream)


    


    And the output goes like :

    


    ...&#xA;Input #0, mov,mp4,m4a,3gp,3g2,mj2, from &#x27;human_face.mp4&#x27;:&#xA;  Metadata:&#xA;    major_brand     : isom&#xA;    minor_version   : 512&#xA;    compatible_brands: isomiso2mp41&#xA;    encoder         : Lavf58.49.100&#xA;  Duration: 00:00:12.45, start: 0.000000, bitrate: 742 kb/s&#xA;    Stream #0:0(und): Video: mpeg4 (mp4v / 0x7634706D), none, 256x256, 741 kb/s, 20 fps, 20 tbr, 10240 tbn, 10240 tbc (default)&#xA;    Metadata:&#xA;      handler_name    : VideoHandler&#xA;Automatic encoder selection failed for output stream #0:0. Default encoder for format mp4 (codec mpeg4) is probably disabled or this build of ffmpeg does not include that codec. Please choose an encoder manually.&#xA;Error selecting an encoder for stream 0:0&#xA;Traceback (most recent call last):&#xA;  File "<stdin>", line 1, in <module>&#xA;  File "/home/tristan_jia/workspace/py3.6/venv/lib/python3.6/site-packages/ffmpeg/_run.py", line 325, in run&#xA;    raise Error(&#x27;ffmpeg&#x27;, out, err)&#xA;</module></stdin>

    &#xA;

    I think the most important log is :"Automatic encoder selection failed for output stream #0:0. Default encoder for format mp4 (codec mpeg4) is probably disabled or this build of ffmpeg does not include that codec. Please choose an encoder manually."

    &#xA;

    I've reinstalled the ffmpeg package but the error remains.

    &#xA;


    &#xA;

    Appended 1 :&#xA;Thanks for the comment from @HernánAlarcón :

    &#xA;

      &#xA;
    • the version is 3.4.4.
    • &#xA;

    • the output of ffmpeg -encoders is :
    • &#xA;

    &#xA;

    (venv) tristan_jia@linux-ftbv:~/.../data> ffmpeg -encoders&#xA;ffmpeg version 3.4.4 Copyright (c) 2000-2018 the FFmpeg developers&#xA;  built with gcc 7 (SUSE Linux)&#xA;  configuration: --prefix=/usr --libdir=/usr/lib64 --shlibdir=/usr/lib64 --incdir=/usr/include/ffmpeg --extra-cflags=&#x27;-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g&#x27; --optflags=&#x27;-fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -g&#x27; --disable-htmlpages --enable-pic --disable-stripping --enable-shared --disable-static --enable-gpl --disable-openssl --enable-avresample --enable-libcdio --enable-gnutls --enable-ladspa --disable-cuda --disable-cuvid --enable-libass --enable-libbluray --enable-libcelt --enable-libcdio --enable-libdc1394 --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libzimg --enable-libzvbi --enable-vaapi --enable-vdpau --enable-muxers --enable-demuxers --disable-encoders --disable-decoders --disable-decoder=&#x27;mpeg4,h263,h264,hevc,vc1&#x27; --enable-encoder=&#x27;apng,ass,ayuv,bmp,ffv1,ffvhuff,flac,gif,huffyuv,jpegls,libgsm,libmp3lame,libopenjpeg,libopus,libschroedinger,libspeex,libtheora,libtwolame,libvorbis,libvpx_vp8,libvpx_vp9,libwebp,libwebp_anim,mjpeg,mp2,mp2fixed,opus,pam,pbm,pcm_alaw,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,png,ppm,sgi,srt,ssa,sunrast,targa,text,tiff,v210,v308,v408,v410,vorbis,xbm,xwd,y41p,yuv4,zlib,&#x27; --enable-decoder=&#x27;ac3,ansi,apng,ass,ayuv,bmp,dirac,exr,ffv1,ffvhuff,ffwavesynth,flac,gif,gsm,huffyuv,libcelt,libgsm,libopenjpeg,libopus,libschroedinger,libspeex,libvorbis,libvpx_vp8,libvpx_vp9,mjpeg,mpeg1video,mpeg2video,,mp1,mp1float,mp2,mp2float,mp3,mp3float,opus,pam,pbm,pcm_alaw,pcm_bluray,pcm_dvd,pcm_f32be,pcm_f32le,pcm_f64be,pcm_f64le,pcm_mulaw,pcm_s16be,pcm_s16be_planar,pcm_s16le,pcm_s16le_planar,pcm_s24be,pcm_s24le,pcm_s24le_planar,pcm_s32be,pcm_s32le,pcm_s32le_planar,pcm_s8,pcm_s8_planar,pcm_u16be,pcm_u16le,pcm_u24be,pcm_u24le,pcm_u32be,pcm_u32le,pcm_u8,pcx,pgm,pgmyuv,pgssub,png,ppm,rawvideo,sgi,srt,ssa,sunrast,targa,text,theora,tiff,v210,v210x,v308,v408,v410,vorbis,vp3,vp5,vp6,vp6a,vp6f,vp8,vp9,webp,xbm,xwd,y41p,yuv4,zlib,&#x27;&#xA;  libavutil      55. 78.100 / 55. 78.100&#xA;  libavcodec     57.107.100 / 57.107.100&#xA;  libavformat    57. 83.100 / 57. 83.100&#xA;  libavdevice    57. 10.100 / 57. 10.100&#xA;  libavfilter     6.107.100 /  6.107.100&#xA;  libavresample   3.  7.  0 /  3.  7.  0&#xA;  libswscale      4.  8.100 /  4.  8.100&#xA;  libswresample   2.  9.100 /  2.  9.100&#xA;  libpostproc    54.  7.100 / 54.  7.100&#xA;Encoders:&#xA; V..... = Video&#xA; A..... = Audio&#xA; S..... = Subtitle&#xA; .F.... = Frame-level multithreading&#xA; ..S... = Slice-level multithreading&#xA; ...X.. = Codec is experimental&#xA; ....B. = Supports draw_horiz_band&#xA; .....D = Supports direct rendering method 1&#xA; ------&#xA; V..... apng                 APNG (Animated Portable Network Graphics) image&#xA; V..... ayuv                 Uncompressed packed MS 4:4:4:4&#xA; V..... bmp                  BMP (Windows and OS/2 bitmap)&#xA; V.S... ffv1                 FFmpeg video codec #1&#xA; VF.... ffvhuff              Huffyuv FFmpeg variant&#xA; V..... gif                  GIF (Graphics Interchange Format)&#xA; VF.... huffyuv              Huffyuv / HuffYUV&#xA; VF.... libopenjpeg          OpenJPEG JPEG 2000 (codec jpeg2000)&#xA; VF.... jpegls               JPEG-LS&#xA; VFS... mjpeg                MJPEG (Motion JPEG)&#xA; V..... pam                  PAM (Portable AnyMap) image&#xA; V..... pbm                  PBM (Portable BitMap) image&#xA; V..... pcx                  PC Paintbrush PCX image&#xA; V..... pgm                  PGM (Portable GrayMap) image&#xA; V..... pgmyuv               PGMYUV (Portable GrayMap YUV) image&#xA; VF.... png                  PNG (Portable Network Graphics) image&#xA; V..... ppm                  PPM (Portable PixelMap) image&#xA; V..... sgi                  SGI image&#xA; V..... sunrast              Sun Rasterfile image&#xA; V..... targa                Truevision Targa image&#xA; V..... libtheora            libtheora Theora (codec theora)&#xA; VF.... tiff                 TIFF image&#xA; V..... v210                 Uncompressed 4:2:2 10-bit&#xA; V..... v308                 Uncompressed packed 4:4:4&#xA; V..... v408                 Uncompressed packed QT 4:4:4:4&#xA; V..... v410                 Uncompressed 4:4:4 10-bit&#xA; V..... libvpx               libvpx VP8 (codec vp8)&#xA; V..... libvpx-vp9           libvpx VP9 (codec vp9)&#xA; V..... libwebp_anim         libwebp WebP image (codec webp)&#xA; V..... libwebp              libwebp WebP image (codec webp)&#xA; V..... xbm                  XBM (X BitMap) image&#xA; V..... xwd                  XWD (X Window Dump) image&#xA; V..... y41p                 Uncompressed YUV 4:1:1 12-bit&#xA; V..... yuv4                 Uncompressed packed 4:2:0&#xA; VF.... zlib                 LCL (LossLess Codec Library) ZLIB&#xA; A..... flac                 FLAC (Free Lossless Audio Codec)&#xA; A..... libgsm               libgsm GSM (codec gsm)&#xA; A..... mp2                  MP2 (MPEG audio layer 2)&#xA; A..... mp2fixed             MP2 fixed point (MPEG audio layer 2) (codec mp2)&#xA; A..... libtwolame           libtwolame MP2 (MPEG audio layer 2) (codec mp2)&#xA; A..... libmp3lame           libmp3lame MP3 (MPEG audio layer 3) (codec mp3)&#xA; A..X.. opus                 Opus&#xA; A..... libopus              libopus Opus (codec opus)&#xA; A..... pcm_alaw             PCM A-law / G.711 A-law&#xA; A..... pcm_f32be            PCM 32-bit floating point big-endian&#xA; A..... pcm_f32le            PCM 32-bit floating point little-endian&#xA; A..... pcm_f64be            PCM 64-bit floating point big-endian&#xA; A..... pcm_f64le            PCM 64-bit floating point little-endian&#xA; A..... pcm_mulaw            PCM mu-law / G.711 mu-law&#xA; A..... pcm_s16be            PCM signed 16-bit big-endian&#xA; A..... pcm_s16be_planar     PCM signed 16-bit big-endian planar&#xA; A..... pcm_s16le            PCM signed 16-bit little-endian&#xA; A..... pcm_s16le_planar     PCM signed 16-bit little-endian planar&#xA; A..... pcm_s24be            PCM signed 24-bit big-endian&#xA; A..... pcm_s24le            PCM signed 24-bit little-endian&#xA; A..... pcm_s24le_planar     PCM signed 24-bit little-endian planar&#xA; A..... pcm_s32be            PCM signed 32-bit big-endian&#xA; A..... pcm_s32le            PCM signed 32-bit little-endian&#xA; A..... pcm_s32le_planar     PCM signed 32-bit little-endian planar&#xA; A..... pcm_s8               PCM signed 8-bit&#xA; A..... pcm_s8_planar        PCM signed 8-bit planar&#xA; A..... pcm_u16be            PCM unsigned 16-bit big-endian&#xA; A..... pcm_u16le            PCM unsigned 16-bit little-endian&#xA; A..... pcm_u24be            PCM unsigned 24-bit big-endian&#xA; A..... pcm_u24le            PCM unsigned 24-bit little-endian&#xA; A..... pcm_u32be            PCM unsigned 32-bit big-endian&#xA; A..... pcm_u32le            PCM unsigned 32-bit little-endian&#xA; A..... pcm_u8               PCM unsigned 8-bit&#xA; A..... libspeex             libspeex Speex (codec speex)&#xA; A..X.. vorbis               Vorbis&#xA; A..... libvorbis            libvorbis (codec vorbis)&#xA; S..... ssa                  ASS (Advanced SubStation Alpha) subtitle (codec ass)&#xA; S..... ass                  ASS (Advanced SubStation Alpha) subtitle&#xA; S..... srt                  SubRip subtitle (codec subrip)&#xA; S..... text                 Raw text subtitle&#xA;&#x27;&#x27;&#x27;&#xA;

    &#xA;