Recherche avancée

Médias (3)

Mot : - Tags -/collection

Autres articles (36)

  • (Dés)Activation de fonctionnalités (plugins)

    18 février 2011, par

    Pour gérer l’ajout et la suppression de fonctionnalités supplémentaires (ou plugins), MediaSPIP utilise à partir de la version 0.2 SVP.
    SVP permet l’activation facile de plugins depuis l’espace de configuration de MediaSPIP.
    Pour y accéder, il suffit de se rendre dans l’espace de configuration puis de se rendre sur la page "Gestion des plugins".
    MediaSPIP est fourni par défaut avec l’ensemble des plugins dits "compatibles", ils ont été testés et intégrés afin de fonctionner parfaitement avec chaque (...)

  • Activation de l’inscription des visiteurs

    12 avril 2011, par

    Il est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
    Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
    Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...)

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

  • FTP Video Upload and Thumbnail Rotation Issue

    25 juin 2018, par Bits Please

    I am uploading video using ffmpeg command. I am then creating then thumbnail. I want to rotate video, how can I achieve this ?

    Here is my Code :

       $thumbnail_name =  preg_replace('"\.(mp4|avi|flv|vob|oggg)$"', '.jpg', $newfilename);

    $movie = "/home/foldername/public_html/master/assets/user_videos/".$newfilename;

    $thumbnail = "/home/foldername/public_html/master/assets/user_videos/".$thumbnail_name;

    $command = '/usr/bin/ffmpeg -y -ss 00:00:01 -i '.$movie.' -f image2 -vframes 1 '.$thumbnail.' 2>&1';
  • Calling ffmpeg from subprocess.run and refering to specific directory

    27 décembre 2018, par Akalyn

    I’m trying to compile images contained in a given directory D into an mp4 video from a python script. I decided to use ffmpeg and hence called it through
    subprocess.run().

    When I issue the following command from another directory than D :

    ffmpeg -framerate 30 -pattern_type glob -i 'path/to/D/*.jpg' -vcodec libx264 -y movie.mp4

    it works fine.

    The same thing happens when I issue the command from the python script with the shell=True option :

    subprocess.run(" ".join(["ffmpeg", "-framerate", "30", "-pattern_type", "glob", "-i", "'path/to/D/*.jpg'", "-vcodec", "libx264", "-y", "movie.mp4"]), shell=True)

    However I know that relying on shell=True is not recommended. I tried using subprocess.run without that option :

    subprocess.run(["ffmpeg", "-framerate", "30", "-pattern_type", "glob", "-i", "'path/to/D/*.jpg'", "-vcodec", "libx264", "-y", "movie.mp4"])

    but it resulted in the following error :

    'path/to/D/*.jpg': No such file or directory.


    Why does the call to ffmpeg fail when calling it through subprocess.run with shell=False option ?

  • ffprobe failed to execute command

    31 août 2020, par Ted Bed

    I'm trying to get a frame from a video in a temp location but I get an error like this :

    


    Uncaught Alchemy\BinaryDriver\Exception\ExecutionFailureException: ffprobe failed to execute command '/usr/bin/ffprobe' '/tmp/phpfwEh9u' 


    


    Which is weird because I have another script that does the exact same thing but there is no error. Are there any reasons for why this could be happening ? Could there be any factors causing this in my script :

    


    $sec = 1;
$movie =  $filentmpname;
$thumbnail = 'thumbnail_uploads/' . $imfileid;

$ffmpeg = FFMpeg\FFMpeg::create();
$video = $ffmpeg->open($movie);
$frame = $video->frame(FFMpeg\Coordinate\TimeCode::fromSeconds($sec));
$frame->save($thumbnail);