Recherche avancée

Médias (1)

Mot : - Tags -/Rennes

Autres articles (71)

  • MediaSPIP version 0.1 Beta

    16 avril 2011, par

    MediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
    Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
    Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
    Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)

  • 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 (8832)

  • Python Virtualenv & Youtube_dl : ffprobe or avprobe not found. Please install one

    25 janvier 2020, par J. Diaz
    • My goal : Download podcast as MP3
    • Used Python, Flask and Youtube_dl on Ubuntu 18.04 and Nginx
    • I followed this tutorial to set up my server : Flask app with uSWGI and Nginx

    Point 1 : Deployment was successful and running a simple flask app in the browser works.
    Point 2 : I add the following code to my simple flask route to be rendered.

    @app.route('/video', methods=['POST'])
    def videoland():

       ydl_opts = {
           'format': 'bestaudio/best',
           'verbose': True,
           'postprocessors': [{
               'key': 'FFmpegExtractAudio',
               'preferredcodec': 'mp3',
               'preferredquality': '192',
           }],
           'postprocessor_args': [
               '-ar', '16000'
           ],
           'prefer_ffmpeg': True,
       }

       with youtube_dl.YoutubeDL(ydl_opts) as ydl:
           ydl.download(['http://www.youtube.com/watch?v=BaW_jenozKc'])

       return Response('Response test')

    Here is the problem : When I render this page, I receive 500 error and ’Response test’ is never shown.
    However, the MP3 file gets to be downloaded in my project directory without problems (Sounds perfect)

    By checking ’journalctl’ of my project, I find the following :

    [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
    [debug] youtube-dl version 2019.11.28
    [debug] Python version 3.6.9 (CPython) - Linux-4.15.0-1051-aws-x86_64-with-Ubuntu-18.04-bionic
    [debug] exe versions: none
    [debug] Proxy map: {}
    [youtube] BaW_jenozKc: Downloading webpage
    [youtube] BaW_jenozKc: Downloading video info webpage
    [debug] Invoking downloader on 'https://r3---sn-aigl6nl7.googlevideo.com/videoplayback?expire=1579853383&ei=51EqXpe4HZiuxgKiz4SYBw&ip=35.178.16.206&id=o-AP8Cssz7OHlOd6PRswoEVAAVY7kfgYf0ZV-jL_TE9HZH&itag=140&source=youtube&requiressl=yes&mm=31%2C29&mn=sn-aigl6nl7%2Csn-aigzrn7z&ms=au%2Crdu&mv=m&mvi=2&pl=15&initcwndbps=860000&vprv=1&mime=audio%2Fmp4&gir=yes&clen=157753&dur=9.891&lmt=1387961817989105&mt=1579831690&fvip=3&keepalive=yes&fexp=23842630&c=WEB&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=ALgxI2wwRQIgI4XTN3uqTHc10HQcotiqwL8-hSqUwnop-mrrYaIwICsCIQCSeyXDEvxEVafgIOWkMloobolXXoWRYHqzPH3fh2OfOA%3D%3D&lsparams=mm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=AHylml4wRQIgZKbNf2W3csHWf1leFuPJHx07S8sRJLL0-luUuXb5BqACIQD7WbHSG0E17nyoq0yTB8udlgt0-1drPysUoYKp0V539w%3D%3D&ratebypass=yes'
    [download] youtube-dl test video ''_ä↭T
  • how to fix errors while converting yuv to mp4 using ffmpeg, with out compression

    10 janvier 2020, par johanna

    I am trying to convert a yuv file to mp4, without further compression, using :
    ffmpeg -f rawvideo -s 768x432 -r 50 -i test.yuv -c:a acc -strict experimental test.mp4 but I am getting the following error :

    ffmpeg version N-94000-g78e1d7f Copyright (c) 2000-2019 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36)
     configuration:
     libavutil      56. 28.100 / 56. 28.100
     libavcodec     58. 52.102 / 58. 52.102
     libavformat    58. 27.103 / 58. 27.103
     libavdevice    58.  7.100 / 58.  7.100
     libavfilter     7. 55.100 /  7. 55.100
     libswscale      5.  4.101 /  5.  4.101
     libswresample   3.  4.100 /  3.  4.100
    [rawvideo @ 0x22f0700] Estimating duration from bitrate, this may be inaccurate
    Input #0, rawvideo, from 'test.yuv':
     Duration: 00:00:00.38, start: 0.000000, bitrate: 198476 kb/s
       Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 768x432, 199065 kb/s, 50 tbr, 50 tbn, 50 tbc
    File 'test.mp4' already exists. Overwrite ? [y/N] y
    Stream mapping:
     Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native))
    Press [q] to stop, [?] for help
    Output #0, mp4, to 'test.mp4':
     Metadata:
       encoder         : Lavf58.27.103
       Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 768x432, q=2-31, 200 kb/s, 50 fps, 12800 tbn, 50 tbc
       Metadata:
         encoder         : Lavc58.52.102 mpeg4
       Side data:
         cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1
    test.yuv: corrupt input packet in stream 0
    [rawvideo @ 0x22fa780] Invalid buffer size, packet size 469698 < expected frame_size 497664
    Error while decoding stream #0:0: Invalid argument
    frame=   18 fps=0.0 q=24.8 Lsize=    3340kB time=00:00:00.34 bitrate=80445.8kbits/s speed=3.51x
    video:3339kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.028110%

    I am also trying : ffmpeg -f rawvideo -s 768x432 -r 50 -i test.yuv -c:a acc -strict experimental test.mp4 but I am getting the following error :

    ffmpeg version N-94000-g78e1d7f Copyright (c) 2000-2019 the FFmpeg developers built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-36) configuration: libavutil      56. 28.100 / 56. 28.100 libavcodec     58. 52.102 / 58. 52.102 libavformat    58. 27.103 / 58. 27.103 libavdevice    58.  7.100 / 58.  7.100 libavfilter     7. 55.100 /  7. 55.100 libswscale      5.  4.101 /  5.  4.101 libswresample   3.  4.100 /  3.  4.100 [rawvideo @ 0x22f0700] Estimating duration from bitrate, this may be inaccurate Input #0, rawvideo, from 'test.yuv': Duration: 00:00:00.38, start: 0.000000, bitrate: 198476 kb/s Stream #0:0: Video: rawvideo (I420 / 0x30323449), yuv420p, 768x432, 199065 kb/s, 50 tbr, 50 tbn, 50 tbc File 'test.mp4' already exists. Overwrite ? [y/N] y Stream mapping: Stream #0:0 -> #0:0 (rawvideo (native) -> mpeg4 (native)) Press [q] to stop, [?] for help Output #0, mp4, to 'test.mp4': Metadata: encoder         : Lavf58.27.103 Stream #0:0: Video: mpeg4 (mp4v / 0x7634706D), yuv420p, 768x432, q=2-31, 200 kb/s, 50 fps, 12800 tbn, 50 tbc Metadata: encoder         : Lavc58.52.102 mpeg4 Side data: cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: -1 pr_768x432_50_QP22.yuv: corrupt input packet in stream 0 [rawvideo @ 0x22fa780] Invalid buffer size, packet size 469698 < expected frame_size 497664 Error while decoding stream #0:0: Invalid argument frame=   18 fps=0.0 q=24.8 Lsize=    3340kB time=00:00:00.34 bitrate=80445.8kbits/s speed=3.51x video:3339kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.028110%

    how can I solve these errors ?

  • Command line ffmpeg, to insert part of a mp3 audio to another file

    14 janvier 2020, par tgkprog

    Want to copy from 3rd second of b.mp3 till 2:05 seconds of b.mp3 and append to the end of a.mp3 (its 3:23 long).

    Command :

    ffmpeg -i a.mp3 -i b.mp3

    Output :

    ffmpeg version 4.0.4-0ubuntu1 Copyright (c) 2000-2019 the FFmpeg developers   built with gcc 8 (Ubuntu 8.2.0-7ubuntu1)
     configuration: --prefix=/usr --extra-version=0ubuntu1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
     libavutil      56. 14.100 / 56. 14.100
     libavcodec     58. 18.100 / 58. 18.100
     libavformat    58. 12.100 / 58. 12.100
     libavdevice    58.  3.100 / 58.  3.100
     libavfilter     7. 16.100 /  7. 16.100
     libavresample   4.  0.  0 /  4.  0.  0
     libswscale      5.  1.100 /  5.  1.100
     libswresample   3.  1.100 /  3.  1.100
     libpostproc    55.  1.100 / 55.  1.100
    Input #0, mp3, from 'a.mp3':
     Metadata:
       encoder         : Lavf58.12.100
     Duration: 00:02:48.00, start: 0.011021, bitrate: 144 kb/s
       Stream #0:0: Audio: mp3, 48000 Hz, stereo, fltp, 144 kb/s
       Metadata:
         encoder         : Lavc58.18
    Input #1, mp3, from 'b.mp3':
     Metadata:
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2mp41
       encoder         : Lavf58.12.100
     Duration: 00:01:33.02, start: 0.011995, bitrate: 117 kb/s
       Stream #1:0: Audio: mp3, 44100 Hz, stereo, fltp, 117 kb/s
       Metadata:
         encoder         : Lavc58.18
    At least one output file must be specified