Recherche avancée

Médias (33)

Mot : - Tags -/creative commons

Autres articles (111)

  • Les vidéos

    21 avril 2011, par

    Comme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
    Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
    Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)

  • Websites made ​​with MediaSPIP

    2 mai 2011, par

    This page lists some websites based on MediaSPIP.

  • Possibilité de déploiement en ferme

    12 avril 2011, par

    MediaSPIP peut être installé comme une ferme, avec un seul "noyau" hébergé sur un serveur dédié et utilisé par une multitude de sites différents.
    Cela permet, par exemple : de pouvoir partager les frais de mise en œuvre entre plusieurs projets / individus ; de pouvoir déployer rapidement une multitude de sites uniques ; d’éviter d’avoir à mettre l’ensemble des créations dans un fourre-tout numérique comme c’est le cas pour les grandes plate-formes tout public disséminées sur le (...)

Sur d’autres sites (7434)

  • Anomalie #2542 : forum interne

    8 mars 2012, par christophe ulmer

    avec sqlite3 , cela fonctionne

  • I can't configure FFMPEG in python docker image

    2 avril 2024, par Jrneliodias

    I am attempting to create a Python Docker image to utilize OpenCV for processing video frame by frame, but I am encountering difficulties with the codec. Gives this erro :

    


    [ERROR:0@38.410] global cap_ffmpeg_impl.hpp:3130 open Could not find encoder for codec_id=27, error: Encoder not found [ERROR:0@38.410] global cap_ffmpeg_impl.hpp:3208 open VIDEOIO/FFMPEG: Failed to initialize VideoWriter

    


    my docker file :

    


    `# Use a base image with the necessary dependencies
FROM python:3.9-slim

    


    Install ffmpeg and other dependencies

    


    RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y

    


    Set the working directory inside the container

    


    WORKDIR /app/ai_model

    


    Copy the requirements file to the working directory

    


    COPY requirements.txt .

    


    RUN apt-get update && apt-get install -y postgresql-server-dev-all

    


    Install the required dependencies

    


    RUN pip install —upgrade pip &&
    
grep -v -e opencv requirements.txt | pip install —no-cache-dir -r /dev/stdin &&
    
pip install —no-cache-dir onnxruntime-gpu==1.14.0 &&
    
pip install —upgrade pip && pip install —no-cache-dir -r requirements.txt

    


    Copy the rest of the application code to the working directory

    


    COPY . .

    


    Expose the port on which the app will run

    


    EXPOSE 8080

    


    Define the command to run the app

    


    CMD ["python", "app.py"]
`

    


    I am aware that OpenCV does not inherently support the h264 codec, yet I require video support for HTML player integration. I have found that when running on Windows, utilizing the 'av1' codec with 'openh263-1.8.0-win64.dll' from Cisco resolves the issue.Cisco

    


    Consequently, I have endeavored to incorporate the same codec into the Python Docker image, but to no avail. The container reports an error indicating that it cannot locate the codec.

    


    Thanks for your time.

    


  • I can't configure OpenCV to use FFMPEG in python docker image

    2 avril 2024, par Jrneliodias

    I am attempting to create a Python Docker image to utilize OpenCV for processing video frame by frame, but I am encountering difficulties with the codec. Gives this erro :

    


    [ERROR:0@38.410] global cap_ffmpeg_impl.hpp:3130 open Could not find encoder for codec_id=27, error: Encoder not found [ERROR:0@38.410] global cap_ffmpeg_impl.hpp:3208 open VIDEOIO/FFMPEG: Failed to initialize VideoWriter

    


    my docker file :

    


    # Use a base image with the necessary dependencies
FROM python:3.9-slim

# Install ffmpeg and other dependencies
RUN apt-get update && apt-get install ffmpeg libsm6 libxext6  -y


# Set the working directory inside the container
WORKDIR /app/ai_model

# Copy the requirements file to the working directory
COPY requirements.txt .


RUN apt-get update && apt-get install -y postgresql-server-dev-all

# Install the required dependencies
RUN pip install --upgrade pip && \
    grep -v -e opencv requirements.txt | pip install --no-cache-dir -r /dev/stdin && \
    pip install  --no-cache-dir onnxruntime-gpu==1.14.0 && \
    pip install --upgrade pip && pip install --no-cache-dir -r requirements.txt

# Copy the rest of the application code to the working directory
COPY . .

# Expose the port on which the app will run
EXPOSE 8080

# Define the command to run the app
CMD ["python", "app.py"]


    


    `

    


    I am aware that OpenCV does not inherently support the h264 codec, yet I require video support for HTML player integration. I have found that when running on Windows, utilizing the 'av1' codec with 'openh263-1.8.0-win64.dll' from Cisco resolves the issue.Cisco

    


    Consequently, I have endeavored to incorporate the same codec into the Python Docker image, but to no avail. The container reports an error indicating that it cannot locate the codec.

    


    Thanks for your time.