Recherche avancée

Médias (1)

Mot : - Tags -/ogg

Autres articles (47)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Automated installation script of MediaSPIP

    25 avril 2011, par

    To overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
    You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
    The documentation of the use of this installation script is available here.
    The code of this (...)

Sur d’autres sites (5540)

  • lavf/jacosubdec : compute subtitle duration correctly

    19 février 2019, par Adam Sampson
    lavf/jacosubdec : compute subtitle duration correctly
    

    When a JACOsub subtitle has two timestamps, they represent its start and
    end times (http://unicorn.us.com/jacosub/jscripts.html#l_times) ; the
    duration is the difference between the two, not the sum of the two.

    The subtitle end times in the FATE test for this were wrong as a result ;
    fix them too. (This test is based on JACOsub's demo.txt, and the end
    time computed for the last line using @ now matches what the comments
    there say it should be.)

    Also tested in practice using MPV, a LaserDisc, and some authentic 1993
    JACOsub files.

    Signed-off-by : Adam Sampson <ats@offog.org>
    Reviewed-by : Paul B Mahol <onemda@gmail.com>
    Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>

    • [DH] libavformat/jacosubdec.c
    • [DH] tests/ref/fate/sub-jacosub
  • RaspberryPi HLS streaming with nginx and ffmpeg ; v4l2 error : ioctl(VIDIOC_STREAMON) : Protocol error

    22 janvier 2021, par Mirco Weber

    I'm trying to realize a baby monitoring with a Raspberry Pi (Model 4B, 4GB RAM) and an ordinary Webcam (with integrated Mic).&#xA;I followed this Tutorial : https://github.com/DeTeam/webcam-stream/blob/master/Tutorial.md

    &#xA;

    Shortly described :

    &#xA;

      &#xA;
    1. I installed and configured an nginx server with rtmp module enabled.
    2. &#xA;

    3. I installed ffmpeg with this configuration —enable-gpl —enable-nonfree —enable-mmal —enable-omx-rpi
    4. &#xA;

    5. I tried to stream ;)
    6. &#xA;

    &#xA;

    The configuration of nginx seems to be working (sometimes streaming works, the server starts without any complication and when the server is up and running, the webpage is displayed).&#xA;The configuration of ffmpeg seems to be fine as well, since streaming sometimes works...

    &#xA;

    I was trying a couple of different ffmpeg-commands ; all of them are sometimes working and sometimes resulting in an error.&#xA;The command looks like following :

    &#xA;

    ffmpeg -re&#xA;-f v4l2&#xA;-i /dev/video0&#xA;-f alsa&#xA;-ac 1&#xA;-thread_queue_size 4096&#xA;-i hw:CARD=Camera,DEV=0&#xA;-profile:v high&#xA;-level:v 4.1&#xA;-vcodec h264_omx&#xA;-r 10&#xA;-b:v 512k&#xA;-s 640x360&#xA;-acodec aac&#xA;-strict&#xA;-2&#xA;-ac 2&#xA;-ab 32k&#xA;-ar 44100&#xA;-f flv&#xA;rtmp://localhost/show/stream;&#xA;

    &#xA;

    Note : I rearranged the code to make it easier to read. In the terminal, it is all in one line.&#xA;Note : There is no difference when using -f video4linux2 instead of -f v4l2

    &#xA;

    The camera is recognized by the system :

    &#xA;

    pi@raspberrypi:~ $ v4l2-ctl --list-devices&#xA;bcm2835-codec-decode (platform:bcm2835-codec):&#xA;    /dev/video10&#xA;    /dev/video11&#xA;    /dev/video12&#xA;&#xA;bcm2835-isp (platform:bcm2835-isp):&#xA;    /dev/video13&#xA;    /dev/video14&#xA;    /dev/video15&#xA;    /dev/video16&#xA;&#xA;HD Web Camera: HD Web Camera (usb-0000:01:00.0-1.2):&#xA;    /dev/video0&#xA;    /dev/video1&#xA;

    &#xA;

    When only using -i /dev/video0, audio transmission never worked.&#xA;The output of arecord -L was :

    &#xA;

    pi@raspberrypi:~ $ arecord -L&#xA;default&#xA;    Playback/recording through the PulseAudio sound server&#xA;null&#xA;    Discard all samples (playback) or generate zero samples (capture)&#xA;jack&#xA;    JACK Audio Connection Kit&#xA;pulse&#xA;    PulseAudio Sound Server&#xA;usbstream:CARD=Headphones&#xA;    bcm2835 Headphones&#xA;    USB Stream Output&#xA;sysdefault:CARD=Camera&#xA;    HD Web Camera, USB Audio&#xA;    Default Audio Device&#xA;front:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    Front speakers&#xA;surround21:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    2.1 Surround output to Front and Subwoofer speakers&#xA;surround40:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    4.0 Surround output to Front and Rear speakers&#xA;surround41:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    4.1 Surround output to Front, Rear and Subwoofer speakers&#xA;surround50:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    5.0 Surround output to Front, Center and Rear speakers&#xA;surround51:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    5.1 Surround output to Front, Center, Rear and Subwoofer speakers&#xA;surround71:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers&#xA;iec958:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    IEC958 (S/PDIF) Digital Audio Output&#xA;dmix:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    Direct sample mixing device&#xA;dsnoop:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    Direct sample snooping device&#xA;hw:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    Direct hardware device without any conversions&#xA;plughw:CARD=Camera,DEV=0&#xA;    HD Web Camera, USB Audio&#xA;    Hardware device with all software conversions&#xA;usbstream:CARD=Camera&#xA;    HD Web Camera&#xA;    USB Stream Output&#xA;

    &#xA;

    that's why i added -i hw:CARD=Camera,DEV=0.

    &#xA;

    As mentioned above, it worked very well a couple of times with this configuration and commands.&#xA;But very often, i get the following error message when starting to stream :

    &#xA;

    pi@raspberrypi:~ $ ffmpeg -re -f video4linux2 -i /dev/video0 -f alsa -ac 1 -thread_queue_size 4096 -i hw:CARD=Camera,DEV=0 -profile:v high -level:v 4.1 -vcodec h264_omx -r 10 -b:v 512k -s 640x360 -acodec aac -strict -2 -ac 2 -ab 32k -ar 44100 -f flv rtmp://localhost/show/stream&#xA;ffmpeg version N-100673-g553eb07737 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with gcc 8 (Raspbian 8.3.0-6&#x2B;rpi1)&#xA;  configuration: --enable-gpl --enable-nonfree --enable-mmal --enable-omx-rpi --extra-ldflags=-latomic&#xA;  libavutil      56. 63.101 / 56. 63.101&#xA;  libavcodec     58.117.101 / 58.117.101&#xA;  libavformat    58. 65.101 / 58. 65.101&#xA;  libavdevice    58. 11.103 / 58. 11.103&#xA;  libavfilter     7. 96.100 /  7. 96.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;  libpostproc    55.  8.100 / 55.  8.100&#xA;[video4linux2,v4l2 @ 0x2ea4600] ioctl(VIDIOC_STREAMON): Protocol error&#xA;/dev/video0: Protocol error&#xA;

    &#xA;

    And when I'm swithing to /dev/video1 (since this was also an output for v4l2-ctl --list-devices), I get the following error message :

    &#xA;

    pi@raspberrypi:~ $ ffmpeg -re -f v4l2 -i /dev/video1 -f alsa -ac 1 -thread_queue_size 4096 -i hw:CARD=Camera,DEV=0 -profile:v high -level:v 4.1 -vcodec h264_omx -r 10 -b:v 512k -s 640x360 -acodec aac -strict -2 -ac 2 -ab 32k -ar 44100 -f flv rtmp://localhost/show/stream&#xA;ffmpeg version N-100673-g553eb07737 Copyright (c) 2000-2021 the FFmpeg developers&#xA;  built with gcc 8 (Raspbian 8.3.0-6&#x2B;rpi1)&#xA;  configuration: --enable-gpl --enable-nonfree --enable-mmal --enable-omx-rpi --extra-ldflags=-latomic&#xA;  libavutil      56. 63.101 / 56. 63.101&#xA;  libavcodec     58.117.101 / 58.117.101&#xA;  libavformat    58. 65.101 / 58. 65.101&#xA;  libavdevice    58. 11.103 / 58. 11.103&#xA;  libavfilter     7. 96.100 /  7. 96.100&#xA;  libswscale      5.  8.100 /  5.  8.100&#xA;  libswresample   3.  8.100 /  3.  8.100&#xA;  libpostproc    55.  8.100 / 55.  8.100&#xA;[video4linux2,v4l2 @ 0x1aa4610] ioctl(VIDIOC_G_INPUT): Inappropriate ioctl for device&#xA;/dev/video1: Inappropriate ioctl for device&#xA;

    &#xA;

    When using the video0 input, the webcam's LED that recognizes an access is constantly on. When using video1not.

    &#xA;

    After hours and days of googling and tears and whiskey, for the sake of my liver, my marriage and my physical and mental health, I'm very sincerly asking for your help...&#xA;What the f**k is happening and what can I do to make it work ???

    &#xA;

    Thanks everybody :)

    &#xA;

    UPDATE 1 :

    &#xA;

      &#xA;
    1. using the full path to ffmpeg does not change anything...
    2. &#xA;

    3. /dev/video0 and /dev/video1 have access rights for everybody
    4. &#xA;

    5. sudo ffmpeg ... does not change anything as well
    6. &#xA;

    7. the problem seems to be at an "early stage". Stripping the command down to ffmpeg -i /dev/video0 results in the same problem
    8. &#xA;

    &#xA;

    UPDATE 2 :
    &#xA;It seems that everything is working when I first start another Application that needs access to the webcam and then ffmpeg...&#xA;Might be some driver issue, but when I'm looking for loaded modules with lsmod, there is absolutely no change before and after I started the application...&#xA;Any help still appreciated...

    &#xA;

    UPDATE 3 :
    &#xA;I was checking the output of dmesg.
    &#xA;When I started the first application I received this message :
    &#xA;uvcvideo: Failed to query (GET_DEF) UVC control 12 on unit 2: -32 (exp. 4).&#xA;
    And when I started ffmpeg, nothing happend but everything worked...

    &#xA;

  • How should I write my privacy notice for Matomo Analytics under GDPR ?

    24 avril 2018, par InnoCraft

    Important note : this blog post has been written by digital analysts, not lawyers. The purpose of this article is to show you an example of a privacy notice for Matomo under GDPR. This work comes from our interpretation of the UK privacy commission : ICO. It cannot be considered as professional legal advice. So as GDPR, this information is subject to change. We strongly advise you to have a look at the different privacy authorities in order to have up to date information.

    A basic rule of thumb is that if you are not processing personal data, then you do not need to show any privacy notice. But if you are doing so, such as processing full IP addresses, then a privacy notice is required at the time of the data collection. Please note that personal data may also be hidden, for example, in page titles or page URLs.

    In this blog post, we will define what a privacy notice is according to GDPR and how to write it if you are using Matomo and you are processing personal data.

    What is a privacy notice under GDPR ?

    One of the most important rights that a data subject has under GDPR, is the right to be informed about the collection and use of their personal data.

    Here is what ICO is saying about the privacy notice :

    “You must provide individuals with information including : your purposes for processing their personal data, your retention periods for that personal data, and who it will be shared with. We call this ‘privacy information’.”

    “When you collect personal data from the individual it relates to, you must provide them with privacy information at the time you obtain their data.”

    Note that a privacy notice is different from a privacy policy.

    The privacy notice has to include :

    • the reasons why you are processing the personal data
    • for how long
    • who the different parties you are going to share them with are

    So whatever lawful basis you are using (explicit consent or legitimate interest), you need to have a privacy notice if you collect personal data.

    What does this privacy notice look like ?

    ICO is providing best practices in order to display the information :

    • a layered approach
    • dashboards
    • just-in-time notices
    • icons
    • mobile and smart device functionalities

    Once more, it really depends on the data you are processing with Matomo. If you wish to track personal data on the entire website, you will probably have an upper or footer privacy notice such as :

    If you wish to process specific data, you could also insert just-in-time notices such as :

    What is the information you need to disclose to the final user ?

    To us, there are two things to distinguish between the privacy notice and the privacy policy.

    According to ICO, the privacy notice needs to include the 3 following elements :

    • the reasons why you are processing the personal data
    • for how long
    • who are the different parties you are going to share them with

    But you also need to inform them about :

    • The name and contact details of your organisation.
    • The name and contact details of your representative (if applicable).
    • The contact details of your data protection officer (if applicable).
    • The purposes of the processing.
    • The lawful basis for the processing.
    • The legitimate interests for the processing (if applicable).
    • The categories of personal data obtained (if the personal data is not obtained from the individual it relates to).
    • The recipients or categories of recipients of the personal data.
    • The details of transfers of the personal data to any third countries or international organisations (if applicable).
    • The retention periods for the personal data.
    • The rights available to individuals in respect of the processing.
    • The right to withdraw consent (if applicable).
    • The right to lodge a complaint with a supervisory authority.
    • The source of the personal data (if the personal data is not obtained from the individual it relates to).
    • The details of whether individuals are under a statutory or contractual obligation to provide the personal data (if applicable, and if the personal data is collected from the individual it relates to).
    • The details of the existence of automated decision-making, including profiling (if applicable).

    Pretty long, don’t you think ? In order to reduce it, you can either adopt a layered approach where your “pop-up” window will act as a drop down menu. Or from what we understood, page 5 of this document provided by ICO, a privacy notice can link to a more detailed document, such as a privacy policy page.

    Examples

    Let’s take the example of a website which tracks the non-anonymised full IP address, and using User ID functionality to keep track of logged-in users. Under GDPR, the owner of the website will have to choose either to process personal data based on “Legitimate interests” or on “Consent”. Here is how it will look like :

    Example of a privacy notice under GDPR Legitimate interests

    This site uses Matomo to analyze traffic and help us to improve your user experience.

    We process your email address and IP address and cookies are stored on your browser for 13 months. This data is only processed by us and our web hosting platform. Please read our Privacy Policy to learn more.

    Example of a privacy notice under GDPR Consent

    This site uses Matomo to analyze traffic and help us to improve your user experience.

    We process your email address and IP address and cookies are stored on your browser for 13 months. This data is only processed by us and our web hosting platform.

    [Accept] or [Opt-out]

    Please read our Privacy Policy to learn more.

    Once that information is provided to the user, you can then link it to your privacy policy where you will provide more details about it. Soon we will issue a blog post dealing with how to write a privacy policy page for Matomo.

    The post How should I write my privacy notice for Matomo Analytics under GDPR ? appeared first on Analytics Platform - Matomo.