
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (64)
-
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...) -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (8327)
-
Revision f2541f8a4a : rdopt : fix use of uninitialized value in addition rd_pick_intra4x4mby_modes / r
5 novembre 2012, par James ZernChanged Paths : Modify /vp9/encoder/rdopt.c rdopt : fix use of uninitialized value in addition rd_pick_intra4x4mby_modes / rd_pick_intra8x8mby_modes would both use the input value of 'rate_y' in the return calculation. In many places this value is uninitialized. Remove the unneeded sum. (...)
-
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


-
FFMpeg Cygwin Compilation
22 janvier 2021, par John ErnestI'm trying to compile ffmpeg with the following :


./configure --disable-stripping --enable-debug=3 --extra-cflags="-g" --disable-optimizations



However, I'm getting an undefined reference to GUID_NULL :


$ make
LD ffmpeg_g.exe
/usr/lib/gcc/x86_64-pc-cygwin/9.3.0/../../../../x86_64-pc-cygwin/bin/ld: libavdevice/libavdevice.a(dshow_enummediatypes.o):dshow_enummediatypes.c (.rdata$.refptr.GUID_NULL[.refptr.GUID_NULL]+0x0): undefined reference to `GUID_NULL'
collect2: error: ld returned 1 exit status
make: *** [Makefile:114: ffmpeg_g.exe] Error 1



However, my libavdevice.pc reads :


prefix=/usr/local
exec_prefix=${prefix}
libdir=/usr/local/lib
includedir=/usr/local/include

Name: libavdevice
Description: FFmpeg device handling library
Version: 58.11.101
Requires: libavfilter >= 7.87.100, libswscale >= 5.8.100, libavformat >= 58.48.100, libavcodec >= 58.96.100, >Requires.private:
Conflicts:
Libs: -L${libdir} -lavdevice -lpsapi -lole32 -lstrmiids -luuid -loleaut32 -lshlwapi -lgdi32 -lm -lvfw32 -lxc>Libs.private:
Cflags: -I${includedir}



Note the libs line is cut off by nano, but includes -luuid. Any ideas ?