Recherche avancée

Médias (21)

Mot : - Tags -/Nine Inch Nails

Autres articles (53)

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

Sur d’autres sites (8722)

  • Passing arguments to Powershells Call Operatore - I can't get it to work

    2 janvier 2020, par morgola22

    For some reason I cannot get even the most simple Ffmpeg case to work :

    $pathToFfmpeg = "PathToFfmpeg\ffmpeg.exe"
    $video = "PathToVideoFile\video.mp4"
    $param = "--i $video", "output.avi"
    $execute = &$pathToFfmpeg $param

    This should result in the most basic Ffmpeg usage according to Ffmpeg website : ffmpeg -i input.mp4 output.avi.
    However all I receive is :

    ffmpeg.exe : ffmpeg version git-2020-01-01-7b58702 Copyright (c) 2000-2020 the FFmpeg developers
    At line:4 char:12
    + [string[]] $execute = &$pathToFfmpeg $param
    +                          ~~~~~~~~~~~~~~~~~~~~~
       + CategoryInfo          : NotSpecified: (ffmpeg version ...mpeg developers:String) [], RemoteException
       + FullyQualifiedErrorId : NativeCommandError

     built with gcc 9.2.1 (GCC) 20191125
     configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass
    --enable-libdav1d --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb
    --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame
    --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma
    --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex
    --enable-libxvid --enable-libaom --enable-libmfx --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec
    --enable-dxva2 --enable-avisynth --enable-libopenmpt --enable-amf
     libavutil      56. 38.100 / 56. 38.100
     libavcodec     58. 65.100 / 58. 65.100
     libavformat    58. 35.101 / 58. 35.101
     libavdevice    58.  9.102 / 58.  9.102
     libavfilter     7. 70.101 /  7. 70.101
     libswscale      5.  6.100 /  5.  6.100
     libswresample   3.  6.100 /  3.  6.100
     libpostproc    55.  6.100 / 55.  6.100
    Unrecognized option '-i PathToVideoFile\video.mp4'.
    Error splitting the argument list: Option not found

    So it seems I am doing something wrong. Anybody knows how I get this to work ? I have tried different methods to create the params array and checked with EchoArgs.exe, but no avail. I am out of ideas. It looks like Ffmpeg does not recognise what Powershell is passing to it.

  • Error FFMpeg Laravel Filters on HLS conversion

    3 novembre 2020, par TwistCode

    I'm trying to transform a mp4 to m3u8 video format using ffmpeg library on Laravel.

    


    Currently it works with the bitrates and the size of the generated videos, but when I try to add the filters to define the resolutions, it generates the following log error.

    


    


    20-11-03 16:55:19] local.ERROR : custom_filter filter is supported
starting from 0.3 ffmpeg version ; your ffmpeg version is
git-2020-08-26-8f2c1f2 "userId":1,"exception" :"[object]
(FFMpeg\Exception\RuntimeException(code : 0) : custom_filter filter is
supported starting from 0.3 ffmpeg version ; your ffmpeg version is
git-2020-08-26-8f2c1f2 at
C :\laragon\www\maquillate\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\Media\AdvancedMedia.php:344)

    


    


    This is my current implementation

    


        $lowBitrate = (new \FFMpeg\Format\Video\X264('libfaac', 'libx264'))->setKiloBitrate(250);
    $midBitrate = (new \FFMpeg\Format\Video\X264('libfaac', 'libx264'))->setKiloBitrate(500);
    $highBitrate = (new \FFMpeg\Format\Video\X264('libfaac', 'libx264'))->setKiloBitrate(1000);


        FFMpeg::FromDisk('local')->open($media)
            ->exportForHLS()
            ->setSegmentLength(10) // optional
            ->setKeyFrameInterval(48) // optional
            ->addFormat($lowBitrate, function ($video) {
                $video->addLegacyFilter(function ($filters) {
                    $filters->resize(new \FFMpeg\Coordinate\Dimension(640, 480));
                });
            })
            ->addFormat($midBitrate)
            ->addFormat($highBitrate)
            ->save('public/hls/' . $video->id . '/video.m3u8');


    


    If I remove the filters from this code, they work without any problem, but I need to add these dimensions.

    


    this is the documentation of Laravel FFmpeg what I need to do : https://github.com/protonemedia/laravel-ffmpeg#hls

    


    Note : my operating system is Windows 10

    


  • Nvidia on Linux : "Codec h264_cuvid is not supported"

    2 août 2020, par Raphael

    I configured FFMPEG to use Nvidia, but when I try this command

    


    ffmpeg -vsync 0 -hwaccel cuvid -c:v h264_cuvid -i input.mp4 -c:a copy -c:v h264_nvenc -b:v 5M output.mp4

    


    I get the error

    


    


    [h264_cuvid @ 0x556eaa3ea780] Codec h264_cuvid is not supported

    


    


    Here's the output of nvidia-smi :

    


    +-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.51.05    Driver Version: 450.51.05    CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce 940MX       On   | 00000000:01:00.0 Off |                  N/A |
| N/A   47C    P5    N/A /  N/A |    396MiB /  2004MiB |     22%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1131      G   /usr/lib/xorg/Xorg                 37MiB |
|    0   N/A  N/A      1883      G   /usr/lib/xorg/Xorg                129MiB |
|    0   N/A  N/A      2175      G   /usr/bin/gnome-shell               92MiB |
|    0   N/A  N/A      3649      G   ...AAAAAAAAA= --shared-files      126MiB |
+-----------------------------------------------------------------------------+


    


    And the output of ffmpeg :

    


    ffmpeg version git-2020-07-25-7c8ad72 Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (Ubuntu 9.3.0-10ubuntu2)
  configuration: --enable-nonfree --enable-cuda-nvcc --enable-libnpp --enable-gpl --enable-libx264 --extra-cflags=-I/usr/local/cuda/include --extra-ldflags=-L/usr/local/cuda/lib64
  libavutil      56. 57.100 / 56. 57.100
  libavcodec     58. 97.102 / 58. 97.102
  libavformat    58. 49.100 / 58. 49.100
  libavdevice    58. 11.101 / 58. 11.101
  libavfilter     7. 87.100 /  7. 87.100
  libswscale      5.  8.100 /  5.  8.100
  libswresample   3.  8.100 /  3.  8.100
  libpostproc    55.  8.100 / 55.  8.100