Recherche avancée

Médias (1)

Mot : - Tags -/pirate bay

Autres articles (72)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

  • Sélection de projets utilisant MediaSPIP

    29 avril 2011, par

    Les exemples cités ci-dessous sont des éléments représentatifs d’usages spécifiques de MediaSPIP pour certains projets.
    Vous pensez avoir un site "remarquable" réalisé avec MediaSPIP ? Faites le nous savoir ici.
    Ferme MediaSPIP @ Infini
    L’Association Infini développe des activités d’accueil, de point d’accès internet, de formation, de conduite de projets innovants dans le domaine des Technologies de l’Information et de la Communication, et l’hébergement de sites. Elle joue en la matière un rôle unique (...)

Sur d’autres sites (6717)

  • Laravel / ffmpeg headers not found on centos 7

    24 septembre 2023, par Jack The Baker

    I want to use ffmpeg on laravel project. OS is centos7 and panel is DirectAdmin and using php 8.1

    


    


    PHP Version 8.1.12

    


    


    I installed ffmpeg on centos 7 and I get ffmpeg

    


    ffmpeg version 3.4.13 Copyright (c) 2000-2023 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-44)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --docdir=/usr/share/doc/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --extra-ldflags='-Wl,-z,relro ' --extra-cflags=' ' --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3 --enable-bzlib --disable-crystalhd --enable-fontconfig --enable-gcrypt --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libcdio --enable-libdrm --enable-indev=jack --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmp3lame --enable-nvenc --enable-openal --enable-opencl --enable-opengl --enable-libopenjpeg --enable-libopus --disable-encoder=libopus --enable-libpulse --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libvidstab --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-libzvbi --enable-avfilter --enable-avresample --enable-libmodplug --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-libmfx --enable-runtime-cpudetect
libavutil      55. 78.100 / 55. 78.100
libavcodec     57.107.100 / 57.107.100
libavformat    57. 83.100 / 57. 83.100
libavdevice    57. 10.100 / 57. 10.100
libavfilter     6.107.100 /  6.107.100
libavresample   3.  7.  0 /  3.  7.  0
libswscale      4.  8.100 /  4.  8.100
libswresample   2.  9.100 /  2.  9.100
libpostproc    54.  7.100 / 54.  7.100


    


    But in phpinfo and php -m ffmpeg not listed ! yet so I noticed should configure ffmpeg on php then I run :

    


    ./configure && make


    


    on /usr/ffmpeg/ffmpeg-php-0.6.0

    


    But result is :

    


    


    checking for ffmpeg headers... configure : error : ffmpeg headers not
found. Make sure ffmpeg is compiled as shared libraries using the
—enable-shared option

    


    


    Then I run :

    


    ./configure --enable-shared


    


    But still the same error.

    


    In laravel project I got error :

    


    exception: "ErrorException"
file: "/home/site.com/public_html/laravel/vendor/php-ffmpeg/php-ffmpeg/src/Alchemy/BinaryDriver/AbstractBinary.php"
line: 149
message: "file_exists(): open_basedir restriction in effect. File(/usr/bin/ffmpeg) is not within the allowed path(s): (/home/admin/:/tmp/:/var/tmp/:/opt/alt/php81/usr/shar...


    


    After many hours searching and testing still I couldn't fix this issue, any suggestion ?

    


  • Issue with Batch File for FFmpeg Video Frame Extraction

    30 septembre 2023, par Claudio Martini

    Issue

    


    [swscaler @ 0000019531bb00c0] deprecated pixel format used, make sure you did set range correctly
Output #0, image2, to 'temp_frames/frame%08d.jpg':
  Metadata:
    major_brand     : mp42
    minor_version   : 0
    compatible_brands: mp42mp41
    encoder         : Lavf60.11.100
  Stream #0:0(eng): Video: mjpeg, yuvj420p(pc, progressive), 3840x2160 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn (default)
    Metadata:
      creation_time   : 2023-09-29T13:37:07.000000Z
      handler_name    : ?Mainconcept Video Media Handler
      vendor_id       : [0][0][0][0]
      encoder         : Lavc60.26.100 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[image2 @ 000001951c61b980] Could not open file : temp_frames/frame00000001.jpg
[vost#0:0/mjpeg @ 000001951c603e80] Error submitting a packet to the muxer: I/O error
[out#0/image2 @ 000001951cb8ee80] Error muxing a packet
[out#0/image2 @ 000001951cb8ee80] video:389kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
frame=    1 fps=0.0 q=1.0 Lsize=N/A time=00:00:00.24 bitrate=N/A speed=1.03x
Conversion failed!


    


    I've noticed that using an escape code '%%' for the '%' character, as suggested for similar issues, resolves the problem :

    


    ffmpeg -i video.mp4 -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 tmp_frames/frame%%08d.jpg


    


    However, the same issue occurs even when the command is used within a drag&drop batch file :

    


    setlocal enabledelayedexpansion

REM Check if an MP4 file was dragged onto the script
if "%~1"=="" (
    echo Drag an MP4 file onto this script to begin frame extraction.
    pause
    exit /b
)

REM Extract frames from the MP4 file
ffmpeg -i "%~1" -qscale:v 1 -qmin 1 -qmax 1 -vsync 0 temp_frames/frame%%08d.jpg

echo Extraction complete.
pause


    


    This is essentially the same code, but it doesn't work as expected within the batch file. Can anyone provide insight into why this issue is occurring and how to resolve it within the batch file context ?

    


  • ffmpeg : Decoding error : Invalid data found when processing input (.CR2 file)

    16 septembre 2023, par PZL

    I am writing a script to process .CR2 images taken with my Canon EOS M5 camera, but am running into this error (using ffmpeg on Windows) :

    


    $ ../ffmpeg/bin/ffmpeg -i input/397.cr2 output.jpg
ffmpeg version 2023-09-07-git-9c9f48e7f2-full_build-www.gyan.dev Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
  libavutil      58. 19.100 / 58. 19.100
  libavcodec     60. 26.100 / 60. 26.100
  libavformat    60. 11.100 / 60. 11.100
  libavdevice    60.  2.101 / 60.  2.101
  libavfilter     9. 11.100 /  9. 11.100
  libswscale      7.  3.100 /  7.  3.100
  libswresample   4. 11.100 /  4. 11.100
  libpostproc    57.  2.100 / 57.  2.100
Input #0, tiff_pipe, from 'input/397.cr2':
  Duration: N/A, bitrate: N/A
  Stream #0:0: Video: tiff, rgb24, 6000x4000 [SAR 1:1 DAR 3:2], 25 fps, 25 tbr, 25 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (tiff (native) -> mjpeg (native))
Press [q] to stop, [?] for help
[tiff @ 00000202bd01b8c0] rps 0 invalid
[vist#0:0/tiff @ 00000202bd01c600] Decoding error: Invalid data found when processing input
[swscaler @ 00000202bf6df340] deprecated pixel format used, make sure you did set range correctly
[vost#0:0/mjpeg @ 00000202bd00e800] No filtered frames for output stream, trying to initialize anyway.
[vost#0:0/mjpeg @ 00000202bd00e800] No information about the input framerate is available. Falling back to a default value of 25fps. Use the -r option if you want a different framerate.
Output #0, image2, to 'output.jpg':
  Metadata:
    encoder         : Lavf60.11.100
  Stream #0:0: Video: mjpeg, yuvj444p(pc, progressive), 6000x4000 [SAR 1:1 DAR 3:2], q=2-31, 200 kb/s, 25 fps, 25 tbn
    Metadata:
      encoder         : Lavc60.26.100 mjpeg
    Side data:
      cpb: bitrate max/min/avg: 0/0/200000 buffer size: 0 vbv_delay: N/A
[vist#0:0/tiff @ 00000202bd01c600] Decode error rate 1 exceeds maximum 0.666667
[out#0/image2 @ 00000202bd0104c0] video:0kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[out#0/image2 @ 00000202bd0104c0] Output file is empty, nothing was encoded(check -ss / -t / -frames parameters if used)
frame=    0 fps=0.0 q=0.0 Lsize=N/A time=N/A bitrate=N/A speed=N/A    
Conversion failed!


    


    The .CR2 file can be opened normally in Photoshop and Windows Photo Viewer (with the raw image extension).

    


    I can get around this issue by converting the image to JPEG using another program, but I would to work with the original file if possible.