Recherche avancée

Médias (91)

Autres articles (72)

  • Les autorisations surchargées par les plugins

    27 avril 2010, par

    Mediaspip core
    autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs

  • List of compatible distributions

    26 avril 2011, par

    The table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
    If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...)

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

Sur d’autres sites (5469)

  • PHP ffmpeg output location

    18 janvier 2016, par Mick Jack

    My website allow users to upload video files to the server. Original file will be move to folder "Original" ffmpeg will compress the video and store the video in 480p folder. how to i setup ffmpeg so that it will store output of the compressed video file into original/480p ?

    Partial code of upload.php

    $target_dir = "Original/"; //where you want to upload the files to
    $target_file = $target_dir.basename($_FILES['file']['name']);
    $fileType = pathinfo($target_file, PATHINFO_EXTENSION);
    $newFileName = $target_dir.sha1(pathinfo(basename($_FILES['file']['name']), PATHINFO_FILENAME)).'480p'.'.'.$fileType;
    //$newFileName = $target_dir.sha1(pathinfo(basename($_FILES['file']['name']), PATHINFO_FILENAME)).'-'.time().'.'.$fileType;
    move_uploaded_file($_FILES['file']['tmp_name'], $newFileName);

    using this FFMPEG command

    shell_exec("C:\\ffmpeg\\bin\\ffmpeg.exe -y -i ".$newFileName." -c:v libx264 -s:v 854x480 -c:a copy \"480p\\{$newFileName}\" > logfile.txt 2>&1");

    i get the error
    480p\Original/ffbaf58f1231628f9ac2a583f038b51719006ec6480p.mp4 : No such file or directory

    i will like the output to be stored in original/480p/compressed-video-file

  • avformat/dashdec : Also fetch final partial segment

    5 avril 2021, par Matt Robinson
    avformat/dashdec : Also fetch final partial segment
    

    Currently, the DASH demuxer omits the final segment for a non-live
    stream (using SegmentTemplate) if it is shorter than the other segments.

    Correct calc_max_seg_no to round up when calulating the number of
    segments instead of rounding down to resolve this issue.

    Signed-off-by : Matt Robinson <git@nerdoftheherd.com>

    • [DH] libavformat/dashdec.c
  • Include an executables into UWP final package

    11 janvier 2019, par kangjmoon

    I’m writing an UWP Store app that calls other executables, such as OpenSSL and FFmpeg.exe. I successfully included those in a WPF app. However, with UWP, how to build them into the final package to upload to the Windows Store ?

    I’m thinking of these solutions :

    1. Add the needed file (for example, FFmpeg.exe) to the project. Then chose the Build Action property to ’Content’ and copy to Output Directory. But this option seems not possible with the whole folder with sub-folders and files in them (for example, OpenSSL portable folder).

    2. Write a method to copy the file (FFmpeg.exe) into the Local Folder of UWP app when the program starts.
      ...

    Is there a better way to do this ? Thanks.