Recherche avancée

Médias (0)

Mot : - Tags -/metadatas

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

Autres articles (44)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Installation en mode ferme

    4 février 2011, par

    Le mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
    C’est la méthode que nous utilisons sur cette même plateforme.
    L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
    Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (7600)

  • Python - playing video using ffplay displays file in larger resolution

    10 décembre 2019, par derBrain

    I’m working on a simple script that plays a video using ffplay.
    The problem I’m running into is that the output file has a larger resolution than it should have.
    The resolution of the file to be played is 1280x720, however, when I open the file with ffplay, the output is scaled to 1920x1080.
    I even tried to downscale the output by factor 1.5 (to get it to play in 1280x720), but the quality is noticeably worse compared to playing the same file in VLC player.
    What am I missing here ?

    This is the code I’m using :

    dbFile = "file.mp4"
    open_dbFile = "ffplay {0} -window_title {1} -left 50 -top 50 -nostats".format(dbFile, "DB_file")
    sub.Popen(open_dbFile)

    this is the log :

    ffplay version N-95171-g6ca3d34ff8 Copyright (c) 2003-2019 the FFmpeg developers
     built with gcc 9.2.1 (GCC) 20190918

    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. 35.100 / 56. 35.100
     libavcodec     58. 59.101 / 58. 59.101
     libavformat    58. 33.100 / 58. 33.100
     libavdevice    58.  9.100 / 58.  9.100
     libavfilter     7. 59.100 /  7. 59.100
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100

    Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2017-12-24T15:03:27.000000Z
     Duration: 00:08:36.83, start: 0.000000, bitrate: 588 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 459 kb/s, 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc (default)
       Metadata:
         creation_time   : 2017-12-24T15:03:27.000000Z
         handler_name    : ISO Media file produced by Google Inc. Created on: 12/24/2017.
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
       Metadata:
         creation_time   : 2017-12-24T15:03:27.000000Z
         handler_name    : ISO Media file produced by Google Inc. Created on: 12/24/2017.
      1.59 A-V: -0.014 fd=   0 aq=   19KB vq=   30KB sq=    0B f=0/0

    Thanks for your help !
    db

  • Power-Up your Piwik installation with Custom Reports

    13 novembre 2017, par InnoCraft — Plugins

    Would you like to create a report in Piwik with just the data you want and nothing else ? Would you like to be free to decide the shape of it ? Are you struggling with the Piwik database and wish you could have an easy interface to create the report you want ? Are you tired of exporting your data in a spreadsheet ? Since last October, there’s a solution and it’s called Custom Reports.

    With custom reports you will :

    1. get a user-friendly interface to create the report you wish
    2. see all the possible combinations to create the report you desire
    3. reveal new data combinations which were not directly available in Piwik

    User friendly interface

    The time when you created your reports from MySQL database is over. Now with custom reports you can create the report you want and get the data you need in just a few seconds.
    Custom reports are part of the main user interface. You can access them in just one click :

    As you can see from above the interface is straightforward, just indicate the name of your report and start to select the dimensions and metrics you would like to see.

    See all the possible combinations to create the report you desire

    As a user the big question has always been, how much data does Piwik collect and where can I find a list of all those data points ? Here you have the solution. Piwik is gathering in custom reports all the possible combinations so you can select only the data you want :

    Creating such a report is going to take you no more than a minute. As with any reports within Piwik, you can easily get information regarding the specific data you are using by hovering your mouse on the question mark next to each dimension and metric :

    Make new combinations which were not directly available in Piwik

    By default, not all combinations are possible within the Piwik user interface. Now thanks to Custom Reports, you can easily design the report you want. Here is for example a report crossing page titles and page url :

    You can then identify if there are any duplicate titles within your content and see the associated URL in a single report.

    You could also identify easily what are your most viewed entry page from Google :

    Custom reports can also be used with segments and filters in order to get even more specific data.
    Here we have an example of a custom report designed to take into consideration only the visits coming from Wikipedia :

    What is the next step ?

    As you understood it, Piwik custom reports is the must-have plugin in order to take your Piwik to the next level. Why wait ? Piwik custom reports are available through the marketplace.

    If you are not sure yet, you can always give it a try within our Piwik Cloud infrastructure.

  • ffmpeg rtp streaming errors : RTP : dropping old packet received too late

    2 février 2019, par Андрей_RnD

    I start video transfer by means of ffmpeg like this :

    ffmpeg -f video4linux2 -i /dev/video0 -vcodec libx264 -preset ultrafast -crf 20 -tune zerolatency -s 800x600 -r 25 -b:v 0.9M -sdp_file video.sdp -f rtp rtp://192.168.10.24:5010    

    I reproduce this way :

    ffplay -protocol_whitelist file,udp,rtp video.sdp    

    Everything works just fine. Then I interrupt transmission and after a couple of seconds I resume. ffplay does not immediately start to reproduce but errors occur :

    ....
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 14 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 33 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 41 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 49 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 33 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 27 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 14 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 48 times
    [sdp @ 0x6ebf80] RTP: dropping old packet received too lateB f=1/1
       Last message repeated 34 times
    ......    

    After a some time, playback is restored, but it is too long. Is there a way to eliminate or minimize the occurrence of errors of this nature when the incoming stream is suspended, can options or something else ? Read the manual ffmpeg nothing worthwhile about this did not naryl .... ((((