Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (104)

  • Les tâches Cron régulières de la ferme

    1er décembre 2010, par

    La gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
    Le super Cron (gestion_mutu_super_cron)
    Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...)

  • MediaSPIP 0.1 Beta version

    25 avril 2011, par

    MediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

Sur d’autres sites (13518)

  • Video Recording doesn't capture entire duration of a designated time

    18 avril 2017, par Carl Rogues

    I am having an issue dealing with a video recording issue for security cameras. The cameras in question have been set to record 5 minute videos and then start on the next recording. However, I have noticed that the videos that I pull up only have a common file size of 28 MB. The quality of the videos starts off great, but immediately start declining to the point where a few seconds of motion in real life are stretched out to minutes of the recording (takes more than 20s to see the next frame), thus losing precious seconds.

    I originally thought that bandwidth might be a problem, but I don’t have enough evidence to support this theory. However the problem only began recently and the video file sizes from the past were 150 MB on average. I am only starting out in this area, but here is some of the specifics I have gathered from the sh scripts running the cameras :

    Livestreaming :

    1. fps : 15

    2. codec : libx264

    3. resolution : 640x480

    4. preset : superfast

    5. pixel format : yuv420p

    6. tune : zerolatency

    Motion Detect :

    1. fps : 24

    2. resolution : 1280x720

    3. format : mjpeg

    Recording :

    1. Duration : 5 minutes (300 seconds)

    2. format : mjpeg

    3. video codec : libx264

    4. probesize : 32

    5. analyzeduration : 0

    6. preset : ultrafast

    7. pixel format : yuvj420p

    Here is the recording input and output :

    ff_264opts="-c:v libx264 -preset ultrafast-pix_fmt yuvj420p"

    ff_input="-y -probesize 32 -analyzeduration 0 -f mjpeg -re -use_wallclock_as_timestamps 1 -i http://localhost/${camera}_stream/?action=stream"

    ffmpeg ${ff_input} ${ff_264opts} -t $duration $video_file > /dev/null 2> $ffmpeg_log_file

    My question is why am I having this issue ? Any help and/or advice would be greatly appreciated !

    It should be noted that I am using 4 cameras that are connected to one system.

    The cameras are 2.0MP usb cameras from ELP and do not come with built-in H.264 (Uses mjpeg).

  • FFMPEG - errors when combining videos

    1er décembre 2012, par ethrbunny

    I have two .OGG files of similar size, FPS and duration. My goal is to combine them into a side-by-side presentation using FFMPEG. To this end I've tried the following cmd :

    ffmpeg -i subject.ogg -vf "[in]pad=3*iw:3*ih[left] ;movie=clinician.ogg[right] ;[left] [right]overlay=100:0[out]" combined.ogg

    Suffice to say that the resultant video is non-playable. During the combination process FFMPEG prints lots of errors that read like :

    [Parsed_overlay_2 @ 0x1eb7d3e0] Buffer queue overflow, dropping

    What is this telling me ?

    Note :

    • both source files are playable
    • I padded the 'output' to be rather large in an attempt to understand the params
    • the placement of the 2nd video at 100:0 is arbitrary. Once I get the cmd working I'll move it to a better location in the output.
    • both videos began life as .FLV recorded from web cameras. I converted them to .ogg as FFMPEG didn't want to combine two .FLV files. If there is a better route to this, please let me know.

    So - what's wrong with my parameters and what am I doing to cause these FFMPEG errors ?

    EDIT :
    ffmpeg -i clinician.ogg

    Input #0, ogg, from 'clinician.ogg' :
    Duration : 00:05:20.98, start : 0.001000, bitrate : 2273 kb/s
    Stream #0:0 : Video : theora, yuv420p, 500x500 [SAR 1:1 DAR 1:1], 1k tbr, 1k tbn, 1k tbc
    Metadata :
    SERVER : Red5 Server 1.0.0 RC1 $Rev : 4193 $
    CANSEEKTOEND : true
    ENCODER : Lavf54.31.100
    Stream #0:1 : Audio : vorbis, 8000 Hz, stereo, s16
    Metadata :
    SERVER : Red5 Server 1.0.0 RC1 $Rev : 4193 $
    CANSEEKTOEND : true
    ENCODER : Lavf54.31.100

    ffmpeg -i subject.ogg

    Input #0, ogg, from 'subject.ogg' :
    Duration : 00:05:17.60, start : 0.001000, bitrate : 1341 kb/s
    Stream #0:0 : Video : theora, yuv420p, 300x300 [SAR 1:1 DAR 1:1], 83.33 tbr, 1k tbn, 1k tbc
    Metadata :
    SERVER : Red5 Server 1.0.0 RC1 $Rev : 4193 $
    CANSEEKTOEND : true
    ENCODER : Lavf54.31.100
    Stream #0:1 : Audio : vorbis, 8000 Hz, stereo, s16
    Metadata :
    SERVER : Red5 Server 1.0.0 RC1 $Rev : 4193 $
    CANSEEKTOEND : true
    ENCODER : Lavf54.31.100

  • Generating test data – Introducing the Piwik Platform

    9 octobre 2014, par Thomas Steur — Development

    This is the next post of our blog series where we introduce the capabilities of the Piwik platform (our previous post was How to create a command). This time you’ll learn how to generate test data.

    Developers are developing on their local Piwik instance which usually does not contain useful data compared to a real Piwik installation in production (only a few test visits and a few tests users and websites). The ‘VisitorGenerator’ plugin lets you generate any number of visits, websites, users, goals and more. The generator makes sure there will be data for each report so you can easily test anything.

    Getting started

    In this series of posts, we assume that you have already installed Piwik. If not, visit the Piwik Developer Zone where you’ll find the Installation guide for developers.

    Installing the VisitorGenerator plugin

    The easiest way to install the plugin is by using the Marketplace in Piwik itself. It is accessible via Settings => Marketplace => Get new functionality. There you’ll find the plugin “VisitorGenerator” which you can install and activate in one click.

    If your Piwik instance is not connected to the internet you can download the plugin from the VisitorGenerator page on the Marketplace. Afterwards you can install the plugin by going to Settings => Marketplace => Uploading a plugin and uploading the previously downloaded ZIP file.

    If you have already installed the plugin make sure it is activated by going to Settings => Plugins.

    Generating websites

    After you have installed the plugin you can add as many websites as you need. This is useful for instance when you want to test something that affects many websites such as the ‘All Websites’ dashboard or the Websites manager. To generate any number of websites use the following command :

    ./console visitorgenerator:generate-website --limit=10

    This will generate 10 websites. If you need more websites simply specify a higher limit. In case you are wondering the names and URLs of the websites are randomly generated by the Faker PHP library.

    Generating goals

    In case you want to test anything related to Goals you should execute the following command :

    ./console visitorgenerator:generate-goals --idsite=1

    This will generate a few goals for the specified site. The generated goals are defined in a way to make sure there will be conversions when generating the visits in the next step.

    Generating visits

    To generate visits there are two possibilities. Either via the Piwik UI by going to Settings => Visitor Generator or by using the command line. The UI is a bit limited in generating visits so we recommend to use the command line. There you can generate visits as follows :

    ./console visitorgenerator:generate-visits --idsite=1

    This will generate many different visits for the current day. Don’t worry if it takes a while, it will insert quite a few visits by default.

    In case you want to generate visits for multiple days in the past as well you can specify the --days option.

    ./console visitorgenerator:generate-visits --idsite=1 --days=5

    Providing your own logs

    Half of the generated visits are randomly generated and half of the visits are based on real logs to make sure there is data for each report. If you want to generate visits based on your own logs for a more realistic testing just place your log files in the plugins/VisitorGenerator/data folder and make sure the file name ends with .log. You can find a few examples in the VisitorGenerator data folder.

    To generate visits based only on real log files then use the --no-fake option.

    ./console visitorgenerator:generate-visits --idsite=1 --no-fake

    All generated visits will come from the logs and no random visits nor random fake data will be used.

    Advanced features

    We are regularly adding new commands, tools and runtime checks to make your life as a developer easier. For instance you can also generate users and annotations. In the future we want to extend the plugin to create visits in the background to make sure there will be constantly new actions in the real time report.

    Are you missing any kind of generator or any other feature to make your life as a developer easier ? Let us know by email, we are listening !

    Would you like to know more about the Piwik platform ? Go to our Piwik Developer Zone where you’ll find guides and references on how to develop plugin and themes.