Recherche avancée

Médias (0)

Mot : - Tags -/signalement

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

Autres articles (56)

  • Changer son thème graphique

    22 février 2011, par

    Le thème graphique ne touche pas à la disposition à proprement dite des éléments dans la page. Il ne fait que modifier l’apparence des éléments.
    Le placement peut être modifié effectivement, mais cette modification n’est que visuelle et non pas au niveau de la représentation sémantique de la page.
    Modifier le thème graphique utilisé
    Pour modifier le thème graphique utilisé, il est nécessaire que le plugin zen-garden soit activé sur le site.
    Il suffit ensuite de se rendre dans l’espace de configuration du (...)

  • 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

  • Le plugin : Gestion de la mutualisation

    2 mars 2010, par

    Le plugin de Gestion de mutualisation permet de gérer les différents canaux de mediaspip depuis un site maître. Il a pour but de fournir une solution pure SPIP afin de remplacer cette ancienne solution.
    Installation basique
    On installe les fichiers de SPIP sur le serveur.
    On ajoute ensuite le plugin "mutualisation" à la racine du site comme décrit ici.
    On customise le fichier mes_options.php central comme on le souhaite. Voilà pour l’exemple celui de la plateforme mediaspip.net :
    < ?php (...)

Sur d’autres sites (6389)

  • Unveiling GA4 Issues : 8 Questions from a Marketer That GA4 Can’t Answer

    8 janvier 2024, par Alex

    It’s hard to believe, but Universal Analytics had a lifespan of 11 years, from its announcement in March 2012. Despite occasional criticism, this service established standards for the entire web analytics industry. Many metrics and reports became benchmarks for a whole generation of marketers. It truly was an era.

    For instance, a lot of marketers got used to starting each workday by inspecting dashboards and standard traffic reports in the Universal Analytics web interface. There were so, so many of those days. They became so accustomed to Universal Analytics that they would enter reports, manipulate numbers, and play with metrics almost on autopilot, without much thought.

    However, six months have passed since the sunset of Universal Analytics – precisely on July 1, 2023, when Google stopped processing requests for resources using the previous version of Google Analytics. The time when data about visitors and their interactions with the website were more clearly structured within the UA paradigm is now in the past. GA4 has brought a plethora of opportunities to marketers, but along with those opportunities came a series of complexities.

    GA4 issues

    Since its initial announcement in 2020, GA4 has been plagued with errors and inconsistencies. It still has poor and sometimes illogical documentation, numerous restrictions, and peculiar interface solutions. But more importantly, the barrier to entry into web analytics has significantly increased.

    If you diligently follow GA4 updates, read the documentation, and possess skills in working with data (SQL and basic statistics), you probably won’t feel any problems – you know how to set up a convenient and efficient environment for your product and marketing data. But what if you’re not that proficient ? That’s when issues arise.

    In this article, we try to address a series of straightforward questions that less experienced users – marketers, project managers, SEO specialists, and others – want answers to. They have no time to delve into the intricacies of GA4 but seek access to the fundamentals crucial for their functionality.

    Previously, in Universal Analytics, they could quickly and conveniently address their issues. Now, the situation has become, to put it mildly, more complex. We’ve identified 8 such questions for which the current version of GA4 either fails to provide answers or implies that answers would require significant enhancements. So, let’s dive into them one by one.

    Question 1 : What are the most popular traffic sources on my website ?

    Seemingly a straightforward question. What does GA4 tell us ? It responds with a question : “Which traffic source parameter are you interested in ?”

    GA4 traffic source

    Wait, what ?

    People just want to know which resources bring them the most traffic. Is that really an issue ?

    Unfortunately, yes. In GA4, there are not one, not two, but three traffic source parameters :

    1. Session source.
    2. First User Source – the source of the first session for each user.
    3. Just the source – determined at the event or conversion level.

    If you wanted to open a report and draw conclusions quickly, we have bad news for you. Before you start ranking your traffic sources by popularity, you need to do some mental work on which parameter and in what context you will look. And even when you decide, you’ll need to make a choice in the selection of standard reports : work with the User Acquisition Report or Traffic Acquisition.

    Yes, there is a difference between them : the first uses the First User Source parameter, and the second uses the session source. And you need to figure that out too.

    Question 2 : What is my conversion rate ?

    This question concerns everyone, and it should be simple, implying a straightforward answer. But no.

    GA4 conversion rate

    In GA4, there are three conversion metrics (yes, three) :

    1. Session conversion – the percentage of sessions with a conversion.
    2. User conversion – the percentage of users who completed a conversion.
    3. First-time Purchaser Conversion – the share of active users who made their first purchase.

    If the last metric doesn’t interest us much, GA4 users can still choose something from the remaining two. But what’s next ? Which parameters to use for comparison ? Session source or user source ? What if you want to see the conversion rate for a specific event ? And how do you do this in analyses rather than in standard reports ?

    In the end, instead of an answer to a simple question, marketers get a bunch of new questions.

    Question 3. Can I trust user and session metrics ?

    Unfortunately, no. This may boggle the mind of those not well-versed in the mechanics of calculating user and session metrics, but it’s the plain truth : the numbers in GA4 and those in reality may and will differ.

    GA4 confidence levels

    The reason is that GA4 uses the HyperLogLog++ statistical algorithm to count unique values. Without delving into details, it’s a mechanism for approximate estimation of a metric with a certain level of error.

    This error level is quite well-documented. For instance, for the Total Users metric, the error level is 1.63% (for a 95% confidence interval). In simple terms, this means that 100,000 users in the GA4 interface equate to 100,000 1.63% in reality.

    Furthermore – but this is no surprise to anyone – GA4 samples data. This means that with too large a sample size or when using a large number of parameters, the application will assess your metrics based on a partial sample – let’s say 5, 10, or 30% of the entire population.

    It’s a reasonable assumption, but it can (and probably will) surprise marketers – the metrics will deviate from reality. All end-users can do (excluding delving into raw data methodologies) is to take this error level into account in their conclusions.

    Question 4. How do I calculate First Click attribution ?

    You can’t. Unfortunately, as of late, GA4 offers only three attribution models available in the Attribution tab : Last Click, Last Click For Google Ads, and Data Driven. First Click attribution is essential for understanding where and when demand is generated. In the previous version of Google Analytics (and until recently, in the current one), users could quickly apply First Click and other attribution models, compare them, and gain insights. Now, this capability is gone.

    GA4 attribution model

    Certainly, you can look at the conversion distribution considering the First User Source parameter – this will be some proxy for First Click attribution. However, comparing it with others in the Model Comparison tab won’t be possible. In the context of the GA4 interface, it makes sense to forget about non-standard attribution models.

    Question 5. How do I account for intra-session traffic ?

    Intra-session traffic essentially refers to a change in traffic sources within a session. Imagine a scenario where a user comes to your site organically from Google and, within a minute, comes from an email campaign. In the previous version of Google Analytics, a new session with the traffic source “e-mail” would be created in such a case. But now, the situation has changed.

    A session now only ends in the case of a timeout – say, 30 minutes without interaction. This means a session will always have a source from which it started. If a user changes the source within a session (clicks on an ad, from email campaigns, and so on), you won’t know anything about it until they convert. This is a significant blow to intra-session traffic since their contribution to traffic remains virtually unnoticed. 

    Question 6. How can I account for users who have not consented to the use of third-party cookies ?

    You can’t. Google Consent Mode settings imply several options when a user rejects the use of 3rd party cookies. In GA4 and BigQuery, depersonalized cookieless pings will be sent. These pings do not contain specific client_id, session_id, or other custom dimensions. As a result, you won’t be able to consider them as users or link the actions of such users together.

    Question 7. How can I compare data in explorations with the previous year ?

    The maximum data retention period for a free GA4 account is 14 months. This means that if the date range is wider, you can only use standard reports. You won’t be able to compare or view cohorts or funnels for periods more than 14 months ago. This makes the product functionality less rich because various report formats in explorations are very convenient for comparing specific metrics in easily digestible reports.

    GA4 data retention

    Of course, you always have the option to connect BigQuery and store raw data without limitations, but this process usually requires the involvement of an advanced analyst. And precisely this option is unavailable to most marketers in small teams.

    Question 8. Is the data for yesterday accurate ?

    Unknown. Google declares that data processing in GA4 takes up to 48 hours. And although this process is faster, most users still have room for frustration. And they can be understood.

    Data processing time in GA4

    What does “data processing takes 24-48 hours” mean ? When will the data in reports be complete ? For yesterday ? Or the day before yesterday ? Or for all days that were more than two days ago ? Unclear. What should marketers tell their managers when they were asked if all the data is in this report ? Well, probably all of it… or maybe not… Let’s wait for 48 hours…

    Undoubtedly, computational resources and time are needed for data preprocessing and aggregation. It’s okay that data for today will not be up-to-date. And probably not for yesterday either. But people just want to know when they can trust their data. Are they asking for too much : just a note that this report contains all the data sent and processed by Google Analytics ?

    What should you do ?

    Credit should be given to the Google team – they have done a lot to enable users to answer these questions in one form or another. For example, you can use data streaming in BigQuery and work with raw data. The entry threshold for this functionality has been significantly lowered. In fact, if you are dissatisfied with the GA4 interface, you can organize your export to BigQuery and create your own reports without (almost) any restrictions.

    Another strong option is the widespread launch of GTM Server Side. This allows you to quite freely modify the event model and essentially enrich each hit with various parameters, doing this in a first-party context. This, of course, reduces the harmful impact of most of the limitations described in this text.

    But this is not a solution.

    The users in question – marketers, managers, developers – they do not want or do not have the time for a deep dive into the issue. And they want simple answers to simple (it seemed) questions. And for now, unfortunately, GA4 is more of a professional tool for analysts than a convenient instrument for generating insights for not very advanced users.

    Why is this such a serious issue ?

    The thing is – and this is crucial – over the past 10 years, Google has managed to create a sort of GA-bubble for marketers. Many of them have become so accustomed to Google Analytics that when faced with another issue, they don’t venture to explore alternative solutions but attempt to solve it on their own. And almost always, this turns out to be expensive and inconvenient.

    However, with the latest updates to GA4, it is becoming increasingly evident that this application is struggling to address even the most basic questions from users. And these questions are not fantastically complex. Much of what was described in this article is not an unsolvable mystery and is successfully addressed by other analytics services.

    Let’s try to answer some of the questions described from the perspective of Matomo.

    Question 1 : What are the most popular traffic sources ? [Solved]

    In the Acquisition panel, you will find at least three easily identifiable reports – for traffic channels (All Channels), sources (Websites), and campaigns (Campaigns). 

    Channel Type Table

    With these, you can quickly and easily answer the question about the most popular traffic sources, and if needed, delve into more detailed information, such as landing pages.

    Question 2 : What is my conversion rate ? [Solved]

    Under Goals in Matomo, you’ll easily find the overall conversion rate for your site. Below that you’ll have access to the conversion rate of each goal you’ve set in your Matomo instance.

    Question 3 : Can I trust user and session metrics ? [Solved]

    Yes. With Matomo, you’re guaranteed 100% accurate data. Matomo does not apply sampling, does not employ specific statistical algorithms, or any analogs of threshold values. Yes, it is possible, and it’s perfectly normal. If you see a metric in the visits or users field, it accurately represents reality by 100%.

    Try Matomo for Free

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

    No credit card required

    Question 4 : How do I calculate First Click attribution ? [Solved]

    You can do this in the same section where the other 5 attribution models, available in Matomo, are calculated – in the Multi Attribution section.

    Multi Attribution feature

    You can choose a specific conversion and, in a few clicks, calculate and compare up to 3 marketing attribution models. This means you don’t have to spend several days digging through documentation trying to understand how a particular model is calculated. Have a question – get an answer.

    Question 5 : How do I account for intra-session traffic ? [Solved]

    Matomo creates a new visit when a user changes a campaign. This means that you will accurately capture all relevant traffic if it is adequately tagged. No campaigns will be lost within a visit, as they will have a new utm_campaign parameter.

    This is a crucial point because when the Referrer changes, a new visit is not created, but the key lies in something else – accounting for all available traffic becomes your responsibility and depends on how you tag it.

    Try Matomo for Free

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

    No credit card required

    Question 6 : How can I account for users who have not consented to the use of third-party cookies ? [Solved]

    Google Analytics requires users to accept a cookie consent banner with “analytics_storage=granted” to track them. If users reject cookie consent banners, however, then Google Analytics can’t track these visitors at all. They simply won’t show up in your traffic reports. 

    Matomo doesn’t require cookie consent banners (apart from in the United Kingdom and Germany) and can therefore continue to track visitors even after they have rejected a cookie consent screen. This is achieved through a config_id variable (the user identifier equivalent which is updating once a day). 

    Matomo doesn't need cookie consent, so you see a complete view of your traffic

    This means that virtually all of your website traffic will be tracked regardless of whether users accept a cookie consent banner or not.

    Question 7 : How can I compare data in explorations with the previous year ? [Solved]

    There is no limitation on data retention for your aggregated reports in Matomo. The essence of Matomo experience lies in the reporting data, and consequently, retaining reports indefinitely is a viable option. So you can compare data for any timeframe. 7

    Date Comparison Selector
  • getting 2 video streams in output.mkv ?

    3 janvier 2024, par Kirito

    In short, I have 1 video.mkv and 1 subtitle.ass. Using ffmpeg, I am adding subtitles to the video without removing the previous subtitles that came with the video. The problem is that some videos' output.mkv files are getting a duplicate video stream. Not all the videos I tested have this issue. I have added the log of one of those for reference.

    &#xA;

    Here is my code :

    &#xA;

     ffmpeg -i input_video.mkv -i subtitle_path.ass -c:v copy -c:a copy -c:s copy -map 0:v:0&#xA; -map 0:m:language:jpn -map 0:s -map 1 -metadata:s:s:3 language=ara -max_interleave_delta 0 -y output_path.mkv&#xA;

    &#xA;

    \TEST> ffmpeg -i input_video.mkv -i subtitle_path.ass -c:v copy -c:a copy -c:s copy -map 0:v:0 -map 0:m:language:jpn -map 0:s -map 1 -metadata:s:s:3 language=ara -max_interleave_delta 0 -y output_path.mkv&#xA;ffmpeg version 2023-12-28-git-c1340f3439-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers&#xA;  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)&#xA;  configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint&#xA;  libavutil      58. 36.100 / 58. 36.100&#xA;  libavcodec     60. 36.100 / 60. 36.100&#xA;  libavformat    60. 20.100 / 60. 20.100&#xA;  libavdevice    60.  4.100 / 60.  4.100&#xA;  libavfilter     9. 14.102 /  9. 14.102&#xA;  libswscale      7.  6.100 /  7.  6.100&#xA;  libswresample   4. 13.100 /  4. 13.100&#xA;  libpostproc    57.  4.100 / 57.  4.100&#xA;Input #0, matroska,webm, from &#x27;input_video.mkv&#x27;:&#xA;  Metadata:&#xA;    encoder         : libebml v1.3.5 &#x2B; libmatroska v1.4.8&#xA;    creation_time   : 2018-04-21T21:21:39.000000Z&#xA;  Duration: 00:24:26.56, start: 0.000000, bitrate: 2453 kb/s&#xA;  Stream #0:0(jpn): Video: h264 (High), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], 23.98 fps, 23.98 tbr, 1k tbn (default)&#xA;      Metadata:&#xA;        BPS-eng         : 2291326&#xA;        DURATION-eng    : 00:24:26.465000000&#xA;        NUMBER_OF_FRAMES-eng: 35160&#xA;        NUMBER_OF_BYTES-eng: 420018724&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:1(jpn): Audio: aac (LC), 48000 Hz, stereo, fltp (default)&#xA;      Metadata:&#xA;        BPS-eng         : 159375&#xA;        DURATION-eng    : 00:24:26.560000000&#xA;        NUMBER_OF_FRAMES-eng: 68745&#xA;        NUMBER_OF_BYTES-eng: 29216626&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:2(eng): Subtitle: ass (default)&#xA;      Metadata:&#xA;        BPS-eng         : 99&#xA;        DURATION-eng    : 00:21:35.870000000&#xA;        NUMBER_OF_FRAMES-eng: 302&#xA;        NUMBER_OF_BYTES-eng: 16109&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:3(spa): Subtitle: ass&#xA;      Metadata:&#xA;        BPS-eng         : 92&#xA;        DURATION-eng    : 00:20:05.580000000&#xA;        NUMBER_OF_FRAMES-eng: 254&#xA;        NUMBER_OF_BYTES-eng: 13877&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:4(por): Subtitle: ass&#xA;      Metadata:&#xA;        BPS-eng         : 91&#xA;        DURATION-eng    : 00:20:05.580000000&#xA;        NUMBER_OF_FRAMES-eng: 254&#xA;        NUMBER_OF_BYTES-eng: 13846&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;Input #1, ass, from &#x27;subtitle_path.ass&#x27;:&#xA;  Duration: N/A, bitrate: N/A&#xA;  Stream #1:0: Subtitle: ass&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (copy)&#xA;  Stream #0:0 -> #0:1 (copy)&#xA;  Stream #0:1 -> #0:2 (copy)&#xA;  Stream #0:2 -> #0:3 (copy)&#xA;  Stream #0:3 -> #0:4 (copy)&#xA;  Stream #0:4 -> #0:5 (copy)&#xA;  Stream #1:0 -> #0:6 (copy)&#xA;Output #0, matroska, to &#x27;output_path.mkv&#x27;:&#xA;  Metadata:&#xA;    encoder         : Lavf60.20.100&#xA;  Stream #0:0(jpn): Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn (default)&#xA;      Metadata:&#xA;        BPS-eng         : 2291326&#xA;        DURATION-eng    : 00:24:26.465000000&#xA;        NUMBER_OF_FRAMES-eng: 35160&#xA;        NUMBER_OF_BYTES-eng: 420018724&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:1(jpn): Video: h264 (High) (H264 / 0x34363248), yuv420p(progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 23.98 fps, 23.98 tbr, 1k tbn (default)&#xA;      Metadata:&#xA;        BPS-eng         : 2291326&#xA;        DURATION-eng    : 00:24:26.465000000&#xA;        NUMBER_OF_FRAMES-eng: 35160&#xA;        NUMBER_OF_BYTES-eng: 420018724&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:2(jpn): Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp (default)&#xA;      Metadata:&#xA;        BPS-eng         : 159375&#xA;        DURATION-eng    : 00:24:26.560000000&#xA;        NUMBER_OF_FRAMES-eng: 68745&#xA;        NUMBER_OF_BYTES-eng: 29216626&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:3(eng): Subtitle: ass (default)&#xA;      Metadata:&#xA;        BPS-eng         : 99&#xA;        DURATION-eng    : 00:21:35.870000000&#xA;        NUMBER_OF_FRAMES-eng: 302&#xA;        NUMBER_OF_BYTES-eng: 16109&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:4(spa): Subtitle: ass&#xA;      Metadata:&#xA;        BPS-eng         : 92&#xA;        DURATION-eng    : 00:20:05.580000000&#xA;        NUMBER_OF_FRAMES-eng: 254&#xA;        NUMBER_OF_BYTES-eng: 13877&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:5(por): Subtitle: ass&#xA;      Metadata:&#xA;        BPS-eng         : 91&#xA;        DURATION-eng    : 00:20:05.580000000&#xA;        NUMBER_OF_FRAMES-eng: 254&#xA;        NUMBER_OF_BYTES-eng: 13846&#xA;        _STATISTICS_WRITING_APP-eng: mkvmerge v22.0.0 (&#x27;At The End Of The World&#x27;) 32-bit&#xA;        _STATISTICS_WRITING_DATE_UTC-eng: 2018-04-21 21:21:39&#xA;        _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES&#xA;  Stream #0:6(ara): Subtitle: ass&#xA;Press [q] to stop, [?] for help&#xA;[out#0/matroska @ 000002995bf18bc0] video:820349kB audio:28532kB subtitle:65kB other streams:0kB global headers:5kB muxing overhead: 0.122471%&#xA;size=  849986kB time=00:23:40.86 bitrate=4900.6kbits/s speed= 326x&#xA;

    &#xA;

    I am very Clueless as the command is working on some videos

    &#xA;

  • ffmpeg streaming UDP port is closed [closed]

    26 décembre 2023, par BrilliantContract

    I'm trying to use ffmpeg in order to transcode RTSP stream from CCTV to HLS stream so it could be accessed through a web server.

    &#xA;

    ffmpeg used to stream video from CCTV with following command

    &#xA;

    $ ffmpeg -i "rtsp://cam-1.loc:554?user=admin&amp;password=admin&amp;channel=1&amp;stream=0" -hls_time 3 -hls_wrap 10 -f mpegts udp://localhost:6601&#xA;ffmpeg version 4.2.8 Copyright (c) 2000-2022 the FFmpeg developers&#xA;  built with gcc 8 (GCC)&#xA;  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags=&#x27;-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection&#x27; --extra-ldflags=&#x27;-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld &#x27; --extra-cflags=&#x27; &#x27; --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsrt --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;[rtsp @ 0x5576c7340600] getaddrinfo(cam-1.loc): Name or service not known&#xA;Guessed Channel Layout for Input Stream #0.1 : mono&#xA;Input #0, rtsp, from &#x27;rtsp://cam-1.loc:554?user=admin&amp;password=admin&amp;channel=1&amp;stream=0&#x27;:&#xA;  Metadata:&#xA;    title           : RTSP Session&#xA;  Duration: N/A, start: 0.000000, bitrate: N/A&#xA;    Stream #0:0: Video: h264 (Main), yuv420p(progressive), 1920x1080, 25 fps, 25 tbr, 90k tbn, 50 tbc&#xA;    Stream #0:1: Audio: pcm_alaw, 8000 Hz, mono, s16, 64 kb/s&#xA;Stream mapping:&#xA;  Stream #0:0 -> #0:0 (h264 (native) -> mpeg2video (native))&#xA;  Stream #0:1 -> #0:1 (pcm_alaw (native) -> mp2 (native))&#xA;Press [q] to stop, [?] for help&#xA;Output #0, mpegts, to &#x27;udp://localhost:6601&#x27;:&#xA;  Metadata:&#xA;    title           : RTSP Session&#xA;    encoder         : Lavf58.29.100&#xA;    Stream #0:0: Video: mpeg2video (Main), yuv420p, 1920x1080, q=2-31, 200 kb/s, 25 fps, 90k tbn, 25 tbc&#xA;    Metadata:&#xA;      encoder         : Lavc58.54.100 mpeg2video&#xA;    Side data:&#xA;      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1&#xA;    Stream #0:1: Audio: mp2, 16000 Hz, mono, s16, 160 kb/s&#xA;    Metadata:&#xA;      encoder         : Lavc58.54.100 mp2&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packette=5338.9kbits/s dup=0 drop=5 speed=1.12x    &#xA;[rtsp @ 0x5576c7340600] RTP: missed 3 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 6 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 6 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 5 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 4 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 5 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 6 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 5 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 6 packets&#xA;[h264 @ 0x5576c7993c80] concealing 972 DC, 972 AC, 972 MV errors in I frame&#xA;rtsp://cam-1.loc:554?user=admin&amp;password=admin&amp;channel=1&amp;stream=0: corrupt decoded frame in stream 0=1.11x    &#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packette=5298.4kbits/s dup=0 drop=5 speed=1.02x    &#xA;[rtsp @ 0x5576c7340600] RTP: missed 2 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 5 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 4 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 3 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 4 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 5 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 5 packets&#xA;[rtsp @ 0x5576c7340600] max delay reached. need to consume packet&#xA;[rtsp @ 0x5576c7340600] RTP: missed 2 packets&#xA;[h264 @ 0x5576c779b9c0] cabac decode of qscale diff failed at 66 60&#xA;[h264 @ 0x5576c779b9c0] error while decoding MB 66 60, bytestream 9825&#xA;[h264 @ 0x5576c779b9c0] concealing 943 DC, 943 AC, 943 MV errors in I frame&#xA;rtsp://cam-1.loc:554?user=admin&amp;password=admin&amp;channel=1&amp;stream=0: corrupt decoded frame in stream 0=1.02x    &#xA;frame= 1315 fps= 25 q=31.0 Lsize=   34249kB time=00:00:53.32 bitrate=5261.8kbits/s dup=0 drop=5 speed=1.02x    &#xA;video:30544kB audio:1042kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.431973%&#xA;

    &#xA;

    nmap used to check if 6601 port is open

    &#xA;

    $ nmap -Pn localhost -p 6601&#xA;Starting Nmap 7.70 ( https://nmap.org ) at 2023-12-26 10:47 UTC&#xA;Nmap scan report for localhost (127.0.0.1)&#xA;Host is up (0.0011s latency).&#xA;Other addresses for localhost (not scanned): ::1&#xA;&#xA;PORT     STATE  SERVICE&#xA;6601/tcp closed mstmg-sstp&#xA;&#xA;Nmap done: 1 IP address (1 host up) scanned in 0.06 seconds&#xA;

    &#xA;

    However, ffplayer able to play video stream

    &#xA;

    ffplay udp://localhost:6601&#xA;ffplay version 4.2.8 Copyright (c) 2003-2022 the FFmpeg developers&#xA;  built with gcc 8 (GCC)&#xA;  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags=&#x27;-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection&#x27; --extra-ldflags=&#x27;-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld &#x27; --extra-cflags=&#x27; &#x27; --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsrt --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;[mpeg2video @ 0x7f1ad854afc0] Invalid frame dimensions 0x0. f=0/0   &#xA;    Last message repeated 7 times&#xA;Input #0, mpegts, from &#x27;udp://localhost:6601&#x27;:0KB sq=    0B f=0/0   &#xA;  Duration: N/A, start: 59.288000, bitrate: N/A&#xA;  Program 1 &#xA;    Metadata:&#xA;      service_name    : RTSP Session&#xA;      service_provider: FFmpeg&#xA;    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc&#xA;    Stream #0:1[0x101]: Audio: mp2 ([4][0][0][0] / 0x0004), 16000 Hz, mono, s16p, 160 kb/s&#xA;

    &#xA;

    VLC cannot play the video stream :

    &#xA;

    vlc udp://localhost:6601&#xA;VLC media player 3.0.18 Vetinari (revision )&#xA;[000055769aa81ba0] main libvlc: Running vlc with the default interface. Use &#x27;cvlc&#x27; to use vlc without interface.&#xA;Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.&#xA;[00007fec64011e90] mjpeg demux error: cannot peek&#xA;

    &#xA;

    ffprobe output

    &#xA;

    ffprobe udp://localhost:6601&#xA;ffprobe version 4.2.8 Copyright (c) 2007-2022 the FFmpeg developers&#xA;  built with gcc 8 (GCC)&#xA;  configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags=&#x27;-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection&#x27; --extra-ldflags=&#x27;-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld &#x27; --extra-cflags=&#x27; &#x27; --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-frei0r --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libaom --enable-libdav1d --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-libjack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librsvg --enable-libsrt --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-version3 --enable-vapoursynth --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzimg --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect&#xA;  libavutil      56. 31.100 / 56. 31.100&#xA;  libavcodec     58. 54.100 / 58. 54.100&#xA;  libavformat    58. 29.100 / 58. 29.100&#xA;  libavdevice    58.  8.100 / 58.  8.100&#xA;  libavfilter     7. 57.100 /  7. 57.100&#xA;  libavresample   4.  0.  0 /  4.  0.  0&#xA;  libswscale      5.  5.100 /  5.  5.100&#xA;  libswresample   3.  5.100 /  3.  5.100&#xA;  libpostproc    55.  5.100 / 55.  5.100&#xA;[mpeg2video @ 0x55e1be0910c0] Invalid frame dimensions 0x0.&#xA;    Last message repeated 9 times&#xA;Input #0, mpegts, from &#x27;udp://localhost:6601&#x27;:&#xA;  Duration: N/A, start: 262.760000, bitrate: N/A&#xA;  Program 1 &#xA;    Metadata:&#xA;      service_name    : RTSP Session&#xA;      service_provider: FFmpeg&#xA;    Stream #0:0[0x100]: Video: mpeg2video (Main) ([2][0][0][0] / 0x0002), yuv420p(tv, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc&#xA;    Stream #0:1[0x101]: Audio: mp2 ([4][0][0][0] / 0x0004), 16000 Hz, mono, s16p, 160 kb/s&#xA;

    &#xA;

    Why the video stream is not playing in VLC ?

    &#xA;

    Why nmap do not see that UPD port is open ?

    &#xA;