Recherche avancée

Médias (91)

Autres articles (102)

  • Gestion des droits de création et d’édition des objets

    8 février 2011, par

    Par défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;

  • Dépôt de média et thèmes par FTP

    31 mai 2013, par

    L’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
    Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)

  • ANNEXE : Les plugins utilisés spécifiquement pour la ferme

    5 mars 2010, par

    Le site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)

Sur d’autres sites (10871)

  • ffmpeg - whatsapp : video format not supported

    31 décembre 2016, par Santhosh Yedidi

    I have two videos (.mp4) files. One uploads to whatsapp and another does not.

    using ffmpeg i checked their properties :

    a) Properties of video which uploads :

     Duration: 00:00:56.45, start: 0.148000, bitrate: 1404 kb/s
       Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x1080, 1359 kb/s, 23.98 fps, 23.98 tbr, 90k tbn, 47.95 tbc (default)
       Metadata:
         handler_name    : VideoHandler
       Stream #0:1(eng): Audio: aac (HE-AACv2) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 47 kb/s (default)
       Metadata:
         handler_name    : SoundHandler
    At least one output file must be specified

    b) video which does not upload to whatsapp (because its says format not supported)

     Duration: 00:00:56.10, start: 0.000000, bitrate: 543 kb/s
       Stream #0:0: Video: h264 (High) (H264 / 0x34363248), yuv420p, 1080x1080 [SAR 1:1 DAR 1:1], 464 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 47.95 tbc
       Stream #0:1: Audio: aac (LC) ([255][0][0][0] / 0x00FF), 48000 Hz, stereo, fltp, 56 kb/s

    The difference in video I noticed :

    (avc1 / 0x31637661) vs (H264 / 0x34363248)

    1359 kb/s vs 464 kb/s

    90k tbn vs 23.98 tbn

    What can be the reason

    Also the second video is not being played in Android.

    The link for the video is

    https://drive.google.com/open?id=0B4UM6vTHw4pyMExQQ1lxZGp0N2c

  • Unable to find a suitable output format for '|' ffmpeg and python subprocess

    20 octobre 2016, par nadermx

    I currently am trying to run this command (found on this answer)

    ffmpeg -i input.flv -vf scale=320:-1 -r 10 -f image2pipe -vcodec ppm - | convert -delay 5 -loop 0 - output.gif

    in a python program using import subprocess library. The issue I’m running into is that when I run it in terminal it works fine, but when I run it in my python code I get this error

    Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'https://r7---sn-p0n5jxaa-hxms.googlevideo.com/videoplayback?ms=au&requiressl=yes&mt=1476932644&pl=24&itag=22&id=o-AAJEpGAb5MS-rP073pLWFKlJ-wUTAEEIFHdx7yPOZoBS&dur=4712.861&mime=video%2Fmp4&sparams=dur%2Cei%2Cgcr%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&mm=31&ip=187.190.166.119&mn=sn-p0n5jxaa-hxms&mv=m&lmt=1471437242705377&ipbits=0&ratebypass=yes&upn=G5WdwNKKKtM&gcr=mx&source=youtube&ei=MDUIWKegH4uhugK2mbH4DQ&key=yt6&initcwndbps=3328750&expire=1476954512&signature=783E4022EDB282BE372603EF7A78C2A71B957352.B691135B7EA6AC2D7B2B2E41F1FAD9683022EE38':
     Metadata:
       major_brand     : mp42
       minor_version   : 0
       compatible_brands: isommp42
       creation_time   : 2016-08-17T12:26:42.000000Z
     Duration: 01:18:32.81, start: 0.000000, bitrate: 319 kb/s
       Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1280x720 [SAR 1:1 DAR 16:9], 190 kb/s, 25 fps, 25 tbr, 90k tbn, 50 tbc (default)
       Metadata:
         creation_time   : 2016-08-17T12:26:42.000000Z
         handler_name    : ISO Media file produced by Google Inc.
       Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 125 kb/s (default)
       Metadata:
         creation_time   : 2016-08-17T12:26:42.000000Z
         handler_name    : ISO Media file produced by Google Inc.
    [NULL @ 0x32996e0] Unable to find a suitable output format for '|'
    |: Invalid argument

    The python code I did is this,

    subprocess.Popen(['ffmpeg', '-i', input.flv, '-vf', 'scale=320:-1', '-r', '10', '-f', 'image2pipe',
                        '-vcodec', 'ppm',  '-', '|', 'convert', '-loop', '0', '-', 'gif:-', '|',
                        'convert', '-', 'layers', 'Optimize', '-', 'output.gif'], shell=False)
  • libavformat/hlsenc : default segment name and use_localtime

    1er janvier 2017, par Bela Bodecs
    libavformat/hlsenc : default segment name and use_localtime
    

    in hlcenc.c, in the hls_write_header() function the default format
    string for strftime() function contains %s specifier when use_localtime
    is true. This %s specifier will insert the seconds since EPOCH. But %s
    is not available on all system/environment. This patch check %s
    availabilty at runtine and alter the default format string if necessary.

    Signed-off-by : Bela Bodecs <bodecsb@vivanet.hu>
    Signed-off-by : Steven Liu <lq@chinaffmpeg.org>

    • [DH] libavformat/hlsenc.c