Recherche avancée

Médias (91)

Autres articles (42)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Supporting all media types

    13 avril 2011, par

    Unlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)

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

Sur d’autres sites (5768)

  • imageresizing.net : remote, extensionless files

    21 janvier 2015, par cwnchckn

    I am trying to set up a thumbnailing service supporting the most common image formats as well as PDF and some video formats. The storage backend is a simple HTTP server. The files, however, are stored using synthetic names equal to their crytographic hash and do not have extensions.

    I have a working system running ImageResizer as a HttpModule, loading the files using RemoteReader. It is set up to skip file type checks. However, I need to find a way to specify the exact decoder to use (such as with WIC, that supports &decode=wic in the request arguments), for instance &decoder=pdf or &decoder=ffmpeg. I suppose parsing the request arguments in PostAuthorizeRequestStart and extracting the decoder parameter value would be a good place to start, but I have no idea what to do next, as this is my first time ever touching Microsoft tech and the ASP.NET app anatomy is not immediately obvious.

    I would appreciate any hints, thanks

  • pip install av produces a LINK 1181 error

    6 février 2020, par user8606643

    initially, pip install av asked me to download visual C++ 14 build tools which I did
    but it is still showing me LINK 1181 errors

    I need this pyAV pakcage which is obtained by pip install av for a project, but it always shows some kind of error linked with C++ and i also have ffmpeg installed.

    C:\Users\manop>pip install av
    Collecting av
     Using cached av-7.0.0.tar.gz (2.3 MB)
    Building wheels for collected packages: av
     Building wheel for av (setup.py) ... error
     ERROR: Command errored out with exit status 1:
      command: 'c:\users\manop\appdata\local\programs\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\manop\\AppData\\Local\\Temp\\pip-install-rydo0uqj\\av\\setup.py'"'"'; __file__='"'"'C:\\Users\\manop\\AppData\\Local\\Temp\\pip-install-rydo0uqj\\av\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\manop\AppData\Local\Temp\pip-wheel-oti9y28m'
          cwd: C:\Users\manop\AppData\Local\Temp\pip-install-rydo0uqj\av\
     Complete output (38 lines):
     running bdist_wheel
     running build
     running build_py
     creating build
     creating build\lib.win-amd64-3.7
     creating build\lib.win-amd64-3.7\av
     copying av\datasets.py -> build\lib.win-amd64-3.7\av
     copying av\deprecation.py -> build\lib.win-amd64-3.7\av
     copying av\__init__.py -> build\lib.win-amd64-3.7\av
     copying av\__main__.py -> build\lib.win-amd64-3.7\av
     creating build\lib.win-amd64-3.7\av\audio
     copying av\audio\__init__.py -> build\lib.win-amd64-3.7\av\audio
     creating build\lib.win-amd64-3.7\av\codec
     copying av\codec\__init__.py -> build\lib.win-amd64-3.7\av\codec
     creating build\lib.win-amd64-3.7\av\container
     copying av\container\__init__.py -> build\lib.win-amd64-3.7\av\container
     creating build\lib.win-amd64-3.7\av\data
     copying av\data\__init__.py -> build\lib.win-amd64-3.7\av\data
     creating build\lib.win-amd64-3.7\av\filter
     copying av\filter\__init__.py -> build\lib.win-amd64-3.7\av\filter
     creating build\lib.win-amd64-3.7\av\sidedata
     copying av\sidedata\__init__.py -> build\lib.win-amd64-3.7\av\sidedata
     creating build\lib.win-amd64-3.7\av\subtitles
     copying av\subtitles\__init__.py -> build\lib.win-amd64-3.7\av\subtitles
     creating build\lib.win-amd64-3.7\av\video
     copying av\video\__init__.py -> build\lib.win-amd64-3.7\av\video
     running build_ext
     running config
     writing build\temp.win-amd64-3.7\Release\include\pyav\config.h
     running cythonize
     building 'av.buffer' extension
     creating build\temp.win-amd64-3.7\Release\src
     creating build\temp.win-amd64-3.7\Release\src\av
     C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\manop\appdata\local\programs\python\python37\include -Ibuild\temp.win-amd64-3.7\Release\include -Iinclude -Ic:\users\manop\appdata\local\programs\python\python37\include -Ic:\users\manop\appdata\local\programs\python\python37\include -Ibuild\temp.win-amd64-3.7\Release\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\Include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" /Tcsrc\av\buffer.c /Fobuild\temp.win-amd64-3.7\Release\src\av\buffer.obj
     buffer.c
     C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:c:\users\manop\appdata\local\programs\python\python37\PCbuild\amd64 /LIBPATH:c:\users\manop\appdata\local\programs\python\python37\libs /LIBPATH:c:\users\manop\appdata\local\programs\python\python37\libs /LIBPATH:c:\users\manop\appdata\local\programs\python\python37\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\Lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /LIBPATH:C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319 "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" swresample.lib swscale.lib avdevice.lib avutil.lib avcodec.lib avformat.lib avfilter.lib /EXPORT:PyInit_buffer build\temp.win-amd64-3.7\Release\src\av\buffer.obj /OUT:build\lib.win-amd64-3.7\av\buffer.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\src\av\buffer.cp37-win_amd64.lib /OPT:NOREF
     LINK : fatal error LNK1181: cannot open input file 'swresample.lib'
     error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX64\\x64\\link.exe' failed with exit status 1181
     ----------------------------------------
     ERROR: Failed building wheel for av
     Running setup.py clean for av
    Failed to build av
    Installing collected packages: av
       Running setup.py install for av ... error
       ERROR: Command errored out with exit status 1:
        command: 'c:\users\manop\appdata\local\programs\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\manop\\AppData\\Local\\Temp\\pip-install-rydo0uqj\\av\\setup.py'"'"'; __file__='"'"'C:\\Users\\manop\\AppData\\Local\\Temp\\pip-install-rydo0uqj\\av\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\manop\AppData\Local\Temp\pip-record-xac0xiy4\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\manop\appdata\local\programs\python\python37\Include\av'
            cwd: C:\Users\manop\AppData\Local\Temp\pip-install-rydo0uqj\av\
       Complete output (38 lines):
       running install
       running build
       running build_py
       creating build
       creating build\lib.win-amd64-3.7
       creating build\lib.win-amd64-3.7\av
       copying av\datasets.py -> build\lib.win-amd64-3.7\av
       copying av\deprecation.py -> build\lib.win-amd64-3.7\av
       copying av\__init__.py -> build\lib.win-amd64-3.7\av
       copying av\__main__.py -> build\lib.win-amd64-3.7\av
       creating build\lib.win-amd64-3.7\av\audio
       copying av\audio\__init__.py -> build\lib.win-amd64-3.7\av\audio
       creating build\lib.win-amd64-3.7\av\codec
       copying av\codec\__init__.py -> build\lib.win-amd64-3.7\av\codec
       creating build\lib.win-amd64-3.7\av\container
       copying av\container\__init__.py -> build\lib.win-amd64-3.7\av\container
       creating build\lib.win-amd64-3.7\av\data
       copying av\data\__init__.py -> build\lib.win-amd64-3.7\av\data
       creating build\lib.win-amd64-3.7\av\filter
       copying av\filter\__init__.py -> build\lib.win-amd64-3.7\av\filter
       creating build\lib.win-amd64-3.7\av\sidedata
       copying av\sidedata\__init__.py -> build\lib.win-amd64-3.7\av\sidedata
       creating build\lib.win-amd64-3.7\av\subtitles
       copying av\subtitles\__init__.py -> build\lib.win-amd64-3.7\av\subtitles
       creating build\lib.win-amd64-3.7\av\video
       copying av\video\__init__.py -> build\lib.win-amd64-3.7\av\video
       running build_ext
       running config
       writing build\temp.win-amd64-3.7\Release\include\pyav\config.h
       running cythonize
       building 'av.buffer' extension
       creating build\temp.win-amd64-3.7\Release\src
       creating build\temp.win-amd64-3.7\Release\src\av
       C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ibuild\temp.win-amd64-3.7\Release\include -Iinclude -Ic:\users\manop\appdata\local\programs\python\python37\include -Ic:\users\manop\appdata\local\programs\python\python37\include -Ic:\users\manop\appdata\local\programs\python\python37\include -Ibuild\temp.win-amd64-3.7\Release\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\Include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" /Tcsrc\av\buffer.c /Fobuild\temp.win-amd64-3.7\Release\src\av\buffer.obj
       buffer.c
       C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:c:\users\manop\appdata\local\programs\python\python37\PCbuild\amd64 /LIBPATH:c:\users\manop\appdata\local\programs\python\python37\libs /LIBPATH:c:\users\manop\appdata\local\programs\python\python37\libs /LIBPATH:c:\users\manop\appdata\local\programs\python\python37\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.16.27023\Lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /LIBPATH:C:\WINDOWS\Microsoft.NET\Framework64\v4.0.30319 "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" avutil.lib avfilter.lib swresample.lib swscale.lib avformat.lib avcodec.lib avdevice.lib /EXPORT:PyInit_buffer build\temp.win-amd64-3.7\Release\src\av\buffer.obj /OUT:build\lib.win-amd64-3.7\av\buffer.cp37-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.7\Release\src\av\buffer.cp37-win_amd64.lib /OPT:NOREF
       LINK : fatal error LNK1181: cannot open input file 'avutil.lib'
       error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX64\\x64\\link.exe' failed with exit status 1181
       ----------------------------------------
    ERROR: Command errored out with exit status 1: 'c:\users\manop\appdata\local\programs\python\python37\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\manop\\AppData\\Local\\Temp\\pip-install-rydo0uqj\\av\\setup.py'"'"'; __file__='"'"'C:\\Users\\manop\\AppData\\Local\\Temp\\pip-install-rydo0uqj\\av\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\manop\AppData\Local\Temp\pip-record-xac0xiy4\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\manop\appdata\local\programs\python\python37\Include\av' Check the logs for full command output.

    These are my visual C++ selections :
    my visual studio installer individual components selection

  • ffmpeg Using -movflags faststart

    17 avril 2016, par user3571514

    I tried to use the command -movflags faststart

    And got the following error :

    Microsoft Windows [Version 6.0.6002] Copyright (c) 2006 Microsoft
    Corporation. All rights reserved.

    C :\uploads\1\videos>ffmpeg -i simple1.mp4 -codec copy -map 0 -movflags faststart output.mp4

    -movflags faststart output.mp4 ffmpeg version N-34549-g13b7781, Copyright (c) 2000-2011 the FFmpeg developers built on Nov 6 2011
    22:02:08 with gcc 4.6.1 configuration : —enable-gpl
    —enable-version3 —disable-w32threads —enable-ru ntime-cpudetect —enable-avisynth —enable-bzlib —enable-frei0r —enable-libope ncore-amrnb —enable-libopencore-amrwb —enable-libfreetype
    —enable-libgsm —en able-libmp3lame —enable-libopenjpeg —enable-librtmp —enable-libschroedinger -
    -enable-libspeex —enable-libtheora —enable-libvo-aacenc —enable-libvo-amrwben c —enable-libvorbis —enable-libvpx —enable-libx264 —enable-libxavs —enable- libxvid —enable-zlib libavutil 51. 24. 0 / 51. 24. 0 libavcodec 53. 28. 0 / 53. 28.
    0 libavformat 53. 19. 0 / 53. 19. 0 libavdevice 53. 4. 0 / 53.
    4. 0 libavfilter 2. 47. 0 / 2. 47. 0 libswscale 2. 1. 0 / 2. 1. 0 libpostproc 51. 2. 0 / 51. 2. 0 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from ’simple1.mp4’ : Metadata :
    major_brand : isom
    minor_version : 512
    compatible_brands : isomiso2avc1mp41
    encoder : Lavf54.29.104 Duration : 00:02:32.81, start : 0.000000, bitrate : 1166 kb/s
    Stream #0:0(und) : Video : h264 (Main) (avc1 / 0x31637661), yuv420p, 854x480 [ SAR 1:1 DAR 427:240], 1064 kb/s, 29.97 fps, 29.97 tbr, 90k
    tbn, 59.94 tbc
    Metadata :
    handler_name : VideoHandler
    Stream #0:1(und) : Audio : aac (mp4a / 0x6134706D), 44100 Hz, mono, s16, 93 kb /s
    Metadata :
    handler_name : [mp4 muxer @ 04179D00] [Eval @ 0027DAB8] Undefined constant or missing ’(’ in ’f aststart’

    [mp4 muxer @ 04179D00] Unable to parse option value "faststart"

    [mp4 muxer @ 04179D00] Error setting option movflags to value
    faststart.

    Output #0, mp4, to ’output.mp4’ : Metadata :
    major_brand : isom
    minor_version : 512
    compatible_brands : isomiso2avc1mp41
    encoder : Lavf54.29.104
    Stream #0:0(und) : Video : h264, yuv420p, 854x480 [SAR 1:1 DAR 427:240], q=2-3 1, 1064 kb/s, 29.97 fps, 90k tbn, 29.97 tbc
    Metadata :
    handler_name : VideoHandler
    Stream #0:1(und) : Audio : aac, 44100 Hz, mono, 93 kb/s
    Metadata :
    handler_name : Stream mapping : Stream #0:0 -> #0:0 (copy) Stream #0:1 -> #0:1 (copy)

    Could not write header for output file #0 (incorrect codec parameters ?)