
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (105)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Problèmes fréquents
10 mars 2010, parPHP 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 -
Qu’est ce qu’un éditorial
21 juin 2013, parEcrivez votre de point de vue dans un article. Celui-ci sera rangé dans une rubrique prévue à cet effet.
Un éditorial est un article de type texte uniquement. Il a pour objectif de ranger les points de vue dans une rubrique dédiée. Un seul éditorial est placé à la une en page d’accueil. Pour consulter les précédents, consultez la rubrique dédiée.
Vous pouvez personnaliser le formulaire de création d’un éditorial.
Formulaire de création d’un éditorial Dans le cas d’un document de type éditorial, les (...)
Sur d’autres sites (11294)
-
Docker build dependent on host Ubuntu version not on the actual Docker File
26 mars 2021, par user8912375I'm facing an issue with my docker build.


I have a dockerfile as follow :


FROM python:3.6


RUN apt-get update && apt-get install -y libav-tools 
....



The issue I'm facing is that I'm getting this error when building on ubuntu:20.04 LTS


E: Package 'libav-tools' has no installation candidate



I made some research and found out that
ffmpeg
should be a replacement forlibav-tools


FROM python:3.6


RUN apt-get update && apt-get install -y ffmpeg 
....



I tried again without any issue.


but when I tried to build the same image with
ffmpeg
on ubuntu:16.04 xenial I'm getting a message that

E: Package 'ffmpeg' has no installation candidate



after that, I replace the
ffmpeg
withlibav-tools
and it worked on ubuntu:16.04

I'm confused now why docker build is dependant on the host ubuntu version that I'm using and not the actual dockerfile.


shouldn't docker build be coherent whatever the ubuntu version I'm using.


-
NVIDIA Version Outdated Error when mine is updated
21 février 2021, par Agent MerlotI'm trying to encode stuff with my NVIDIA GeForce MX150 (Driver Version : 461.09).


import os

os.system(f'ffmpeg -i "Cells at Work Season 2 - Episode 07 - English Subbed.mp4" -c:a copy -c:v hevc_nvenc "07.mp4"')


Whenever I'm trying to run it, I'm getting this error.


[hevc_nvenc @ 0000017a8bdf7e40] Cannot load nvEncodeAPI64.dll

[hevc_nvenc @ 0000017a8bdf7e40] The minimum required Nvidia driver for nvenc is 436.15 or newer

Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height

Conversion failed!


What bugs me is that it says that I need 436.15 or newer, and mine is 461.09. That means it should work, right ? Can anyone help ?


-
Your FFProbe version is too old and does not support
19 janvier 2021, par SupunSperaI am Using Laravel 8 and ffmpeg to save thumbnail from a video.




$path = Storage::putFile('public/uploads/videos', new File($data['video']));
 $path_parts = explode("uploads/videos/", $path);
 $video = explode("public/videos/", $path_parts[1]);
 $video_name = $video[0];
 $thumbnail_name = explode('.', $video_name);
 $thumbnail_name1 = $thumbnail_name[0] . ".png";

 $thumbnail = 'public/videos/thumbnails/' . $thumbnail_name1;
 FFMpeg::fromDisk('local')
 ->open($path)
 ->getFrameFromSeconds(5)
 ->export()
 ->toDisk('local')
 ->save($thumbnail);







I receive this error. Your FFProbe version is too old and does not support.