
Recherche avancée
Autres articles (32)
-
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
-
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (4370)
-
Why can't we find the header file that actually exists ?
15 décembre 2020, par zhukov18961201I am a C language beginners, I encountered a problem, can not find the header file, but in fact, these header files are in the current file, I saw online methods (for example : solution) are to add - I option can solve this problem, but I am very curious, why can't it find itself, can only rely on - I option ?


include path :


ls .
include test_ffmpeg.c
ls include/libavcodec/
avcodec.h avfft.h dirac.h dxva2.h vaapi.h vdpau.h videotoolbox.h xvmc.h
avdct.h d3d11va.h dv_profile.h qsv.h vda.h version.h vorbis_parser.h



source tree :


root
 |-----test_ffmpeg.c 
 |-----include 
 



code :


#include 

#include "./include/libavcode/avcodec.h"
#include "./include/libvformat/acfomat.h"
#include "./include/libavfilter/avfilter.h"

int main(void)
{

 return 0;
}



compile :


gcc test_ffmpeg.c -lavcodec -lavdevice -lavfilter -lavformat -lavutil



a fatal error occured :


test_ffmpeg.c:3:10: fatal error: ./include/libavcode/avcodec.h: No such file or directory
#include "./include/libavcode/avcodec.h"
 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.



-
ffmpeg hundreds of videos- to-image as shell script in keyboard maestro
28 juillet 2023, par LeopardiFirst I would like to say that I use MacOS, I am new using ffmpeg and keyboard maestro and have no little to none experience in coding. But I think I did learned a bit is the past few weeks trying to solve the problem I will ask now. Believe me I tried searching for answers online and did a lot of trial and error before coming here to ask my question.
so here is what I am trying to do :


I have a folder (/Users/Documents/clips) with 450 short AVI clips (foto1.avi, foto2.avi...., foto450.avi) from which I would like to extract all frames from. I know how to extract all frames from 1 clip and copy them to an existing directory :


*ffmpeg -i /Users/Documents/clips/foto1.avi /Users/Documents/Frames/Foto1/frame%06d.png *


With their command all frames from the clip Foto1.avi (frame000001.png, frame000002.png...., frame000132.png) are copied to the folder /Foto1.


With keyboard Maestro I created 450 folders named afters the 450 .avi clips.


Is there a way to write a ffmpeg command that will extract the frames of all 450 .avi clips to the folder with the same name as the file ?


I was hoping there would be a way of seeing variables in this kind of way :


ffmpeg -i /Users/Documents/clips/foto%.avi /Users/Documents/Frames/Foto%/frame%06d.png


I really appreciate any help. Thank you !


I tried searching for answers in forums, ffmpeg database. And since I have almost no knowledge on coding sometimes is hard to decipher and understand the meaning of the code.


-
No such file or directory : 'ffmpeg' in Django/Docker
6 avril 2024, par tthheemmaanniiI run my Django code in Docker. I run transcription software that requires ffmpeg to function. However I've been getting the error
[Errno 2] No such file or directory: 'ffmpeg'
whenever I try to run my code.

Here's my views.py :


def initiate_transcription(request, session_id):
 ...
 with open(file_path, 'rb') as f:
 path_string = f.name
 transcript = transcribe_file(path_string,audio_language, output_file_type)

 ...



Here's my Dockerfile :


# Pull base image
FROM python:3.11.4-slim-bullseye

# Set environment variables
ENV PIP_NO_CACHE_DIR off
ENV PIP_DISABLE_PIP_VERSION_CHECK 1
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
ENV COLUMNS 80

#install Debian and other dependencies that are required to run python apps(eg. git, python-magic).
RUN apt-get update \
 && apt-get install -y --force-yes \
 nano python3-pip gettext chrpath libssl-dev libxft-dev \
 libfreetype6 libfreetype6-dev libfontconfig1 libfontconfig1-dev\
 && rm -rf /var/lib/apt/lists/*
RUN apt-get update && apt-get install -y git
RUN apt-get update && apt-get install -y libmagic-dev
RUN apt-get -y update && apt-get -y upgrade && apt-get install -y --no-install-recommends ffmpeg


# Set working directory for Docker image
WORKDIR /code/

RUN apt-get update \
 && apt-get -y install libpq-dev gcc

# Install dependencies
COPY requirements.txt .
RUN pip install -r requirements.txt

# Copy project
COPY . .



I've searched online for possible solutions but have not been able to find anything similar to my problem