Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (105)

  • Encoding and processing into web-friendly formats

    13 avril 2011, par

    MediaSPIP automatically converts uploaded files to internet-compatible formats.
    Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
    Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
    Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
    All uploaded files are stored online in their original format, so you can (...)

  • Formulaire personnalisable

    21 juin 2013, par

    Cette page présente les champs disponibles dans le formulaire de publication d’un média et il indique les différents champs qu’on peut ajouter. Formulaire de création d’un Media
    Dans le cas d’un document de type média, les champs proposés par défaut sont : Texte Activer/Désactiver le forum ( on peut désactiver l’invite au commentaire pour chaque article ) Licence Ajout/suppression d’auteurs Tags
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire. (...)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

Sur d’autres sites (9756)

  • Passing long url as string in python subprocess

    16 février 2015, par rogoro

    When I pass this long url as

    subprocess.Popen(["ffmpeg", "-i",
    "https://r6---sn-ufuxaxjvh-q4fe.googlevideo.com/videoplayback?pl=16&upn=1-Ch_dUO4YE&ipbits=0&requiressl=yes&sver=3&itag=22&ratebypass=yes&dur=86.053&source=youtube&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&key=yt5&mime=video%2Fmp4&fexp=900805%2C907263%2C919150%2C927622%2C942901%2C943917%2C945089%2C947225%2C948124%2C948603%2C952302%2C952605%2C952612%2C952901%2C955301%2C957201%2C959701&expire=1424133614&id=o-ANRJvkk7EYBC4ug2L1u_aJ9BifNGN5wrOnqvWkhce-WT&mm=31&initcwndbps=5045000&signature=5DC013D85BE81A4EFFA9C7B9510865A5BB7E2121.3655C01D8075EAB4668D4AFB28C401896038470A&ip=137.144.99.102&ms=au&mv=m&mt=1424111820", "out.mp4"], stdout=subprocess.PIPE)

    It works.

    But It doesn’t when I pass it as variable.
    Example :

     link =
     "the_above_long_string"

    subprocess.Popen(["ffmpeg", "-i", link, "out.mp4"], stdout=subprocess.PIPE) // NOT WORKING

    Any idea how to make it work ?


    ERROR

    ffmpeg version N-69659-gc0367f7 Copyright (c) 2000-2015 the FFmpeg developers
     built with gcc 4.9.2 (GCC)
     configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-lzma --enable-decklink --enable-zlib
     libavutil      54. 18.100 / 54. 18.100
     libavcodec     56. 21.102 / 56. 21.102
     libavformat    56. 19.100 / 56. 19.100
     libavdevice    56.  4.100 / 56.  4.100
     libavfilter     5.  9.104 /  5.  9.104
     libswscale      3.  1.101 /  3.  1.101
     libswresample   1.  1.100 /  1.  1.100
     libpostproc    53.  3.100 / 53.  3.100
    [tls @ 000000000033b9c0] The TLS connection was non-properly terminated.
    https://r6---sn-ufuxaxjvh-q4fe.googlevideo.com/videoplayback?sver=3&ratebypass=yes&signature=BD4B6B18A9753B2B99F8C439FD1A7D809E866740.D3822A9D82D67A0F92908863E08F887A101B58A7&initcwndbps=5112500&ipbits=0&source=youtube&dur=86.053&itag=22&pl=16&mime=video%2Fmp4&fexp=907263%2C927622%2C934954%2C9406738%2C9406963%2C943917%2C947225%2C948124%2C952302%2C952605%2C952612%2C952901%2C955301%2C957201%2C959701&mm=31&requiressl=yes&mt=1424116526&mv=m&ms=au&ip=137.144.99.102&key=yt5&upn=6MJQ3GrpFkA&expire=1424138291&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2Citag%2Cmime%2Cmm%2Cms%2Cmv%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&id=o-AGbNQ-s1alKbG-j05uoGOvT4MMeDv3qdgMqWZu-vGap9

    : Input/output error
  • vlc 2.1.5 cannot find libavutil under ffmpeg

    22 février 2015, par micr0sub

    The distro I’m using (CentOS 6.6) doesn’t have a high enough version of VLC in yum that I’ve found (>=2.1.0) for the project I’m working on, so I’m trying to build it from source. After finding out that the version of ffmpeg in the repositories is also not high enough (see https://www.bountysource.com/issues/173789-build-process-is-busted-in-vdpau) I’ve built ffmpeg from source as well. Now that’s finished, I get :

    usr@host$: ffmpeg
       ffmpeg version N-70054-g7a459be Copyright (c) 2000-2015 the FFmpeg developers
         built with gcc 4.4.7 (GCC) 20120313 (Red Hat 4.4.7-11)
         configuration:
         libavutil      54. 19.100 / 54. 19.100
         libavcodec     56. 25.100 / 56. 25.100
         libavformat    56. 23.100 / 56. 23.100
         libavdevice    56.  4.100 / 56.  4.100
         libavfilter     5. 11.100 /  5. 11.100
         libswscale      3.  1.101 /  3.  1.101
         libswresample   1.  1.100 /  1.  1.100

    However, when I run ./configure under VLC I get the following message :

    No package 'libavutil' found. Pass --disable-avcodec to ignore this error.

    Does anyone know why this is happening ?

    Thanks.

  • ffmpeg error : "Missing ')' or too many args in 'if(gt(a,1),650,-1)'"

    23 février 2015, par Remini me

    I am trying to run this ffmpeg command in linux shell, to scale down the video (if portrait, than to maximum height of 650, while adjusting the width. And if landscape, then 650 maximum width, and adjust the height with aspect ratio) :

    ffmpeg -i 1.mp4 -r 30 -vf scale="'if(gt(a,1),650,-1)':'if(gt(a,1),-1,650)'" -vcodec libx264 output_file1.mp4

    But I get the following error :

    [scale @ 0x1d48a40] [Eval @ 0x7fff53a49340] Missing ’)’ or too many
    args in ’if(gt(a,1),650,-1)’ [scale @ 0x1d48a40] [Eval @
    0x7fff53a49340] Missing ’)’ or too many args in ’if(gt(a,1),-1,650)’
    Error when evaluating the expression ’if(gt(a,1),-1,650)’

    **EDIT : I have tried using the new @slhck syntax :

    -vf "scale=if(gt(a\,1)\,650\,-2):if(gt(a\,1)\,-2\,650)"

    The result I got was :

    ffmpeg version 0.8.16-4:0.8.16-0ubuntu0.12.04.1, Copyright (c)
    2000-2014 the Libav developers built on Sep 16 2014 18:33:49 with
    gcc 4.6.3 The ffmpeg program is only provided for script compatibility
    and will be removed in a future release. It has been deprecated in the
    Libav project to allow for incompatible command line syntax
    improvements in its replacement called avconv (see Changelog for
    details). Please use avconv instead.

    Seems stream 0 codec frame rate differs from container frame rate :
    180000.00 (180000/1) -> 90000.00 (180000/2) Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’1.mp4’ : Metadata :
    major_brand : isom
    minor_version : 0
    compatible_brands : isom3gp4
    creation_time : 2015-02-05 14:54:24 Duration : 00:00:45.30, start : 0.000000, bitrate : 17058 kb/s
    Stream #0.0(eng) : Video : h264 (High), yuv420p, 1920x1080, 17021 kb/s, 30.01 fps, 90k tbr, 90k tbn, 180k tbc
    Metadata :
    creation_time : 2015-02-05 14:54:24
    Stream #0.1(eng) : Audio : aac, 48000 Hz, stereo, s16, 124 kb/s
    Metadata :
    creation_time : 2015-02-05 14:54:24 File ’output_file1.mp4’ already exists. Overwrite ? [y/N] y

    [buffer @ 0x747ec0] w:1920 h:1080 pixfmt:yuv420p [scale @ 0x745a40] [Eval @ 0x7fffac94b220] Missing ’)’ or too many args in
    ’if(gt(a,1),650,-2)’ [scale @ 0x745a40] [Eval @ 0x7fffac94b220]
    Missing ’)’ or too many args in ’if(gt(a,1),-2,650)’ Error when
    evaluating the expression ’if(gt(a,1),-2,650)’ Error opening
    filters !

    What should I do ?