Recherche avancée

Médias (91)

Autres articles (103)

  • Mise à disposition des fichiers

    14 avril 2011, par

    Par défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
    Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
    Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)

  • Problèmes fréquents

    10 mars 2010, par

    PHP et safe_mode activé
    Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
    La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

Sur d’autres sites (7781)

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

  • vf_crop : make config_props work properly when called multiple times.

    18 mars 2013, par Anton Khirnov
    vf_crop : make config_props work properly when called multiple times.
    

    Do not leak the x/y expressions.

    • [DH] libavfilter/vf_crop.c
  • ffmpeg works in command line but it doesn't work well in c#

    14 août 2016, par Ahmad Ali Mukashaty

    I want to stream movie via udp so I use this command line and it works well

    ffmpeg -re -i test.mkv -q 1 -vcodec libx264 -f mpegts udp://network:port

    but I want to run this command line using c# like this :

    process = new Process();        
    process.StartInfo.FileName = "cmd.exe";
    process.StartInfo.WorkingDirectory = @"c:\FFmpegTool\bin";
    process.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
    process.StartInfo.Arguments = "/C ffmpeg.exe";
    process.Start();

    process.StartInfo.FileName = "ffmpeg";
    process.StartInfo.Arguments = "-re -i test.mkv -q 1 -vcodec libx264 -f mpegts udp://network:port";
    process.Start();

    it works but I can’t receive the stream

    why this commnand doesn’t work well when I use it in c# and what’s the different bettwen ranning command in cmd directly or using process class in c#