
Recherche avancée
Médias (1)
-
Carte de Schillerkiez
13 mai 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Texte
Autres articles (103)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Menus personnalisés
14 novembre 2010, parMediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
Menus créés à l’initialisation du site
Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)
Sur d’autres sites (14563)
-
How to extract orientation information from videos ?
23 décembre 2016, par SidAfter surfing through tons of documentation on the web it seems that the iPhone always shoots the video at a 480x360 aspect ratio and applies a transformation matrix on the video track. (480x360 may change but its always the same for a given device)
Here is a way of modifying the ffmpeg source within a iOS project and accessing the matrix http://www.seqoy.com/correct-orientation-for-iphone-recorded-movies-with-ffmpeg/
Here is a cleaner way of finding the transformation matrix in iOS-4
how to detect (iphone sdk) if a video file was recorded in portrait orientation, or landscapeHow can the orientation of the video be extracted in either of the options below -
iOS 3.2
ffmpeg (through the command line server side)
ruby
Any help will be appreciated.
-
mips : add support for R6
24 février 2016, par Vicente Olivert Rieramips : add support for R6
Understanding the mips32r6 and mips64r6 ISAs in the configure script is
not enough. In order to have full support for MIPS R6 in FFmpeg we need
to be able to build it, and for that we need to make sure we don’t use
incompatible assembler code which makes the build fail. Ifdefing the
offending code is sufficient to fix the problem.Signed-off-by : Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc>- [DH] libavcodec/mips/aaccoder_mips.c
- [DH] libavcodec/mips/aacdec_mips.h
- [DH] libavcodec/mips/aacpsdsp_mips.c
- [DH] libavcodec/mips/aacpsy_mips.h
- [DH] libavcodec/mips/aacsbr_mips.c
- [DH] libavcodec/mips/aacsbr_mips.h
- [DH] libavcodec/mips/ac3dsp_mips.c
- [DH] libavcodec/mips/acelp_filters_mips.c
- [DH] libavcodec/mips/acelp_vectors_mips.c
- [DH] libavcodec/mips/amrwbdec_mips.c
- [DH] libavcodec/mips/amrwbdec_mips.h
- [DH] libavcodec/mips/celp_filters_mips.c
- [DH] libavcodec/mips/celp_math_mips.c
- [DH] libavcodec/mips/compute_antialias_float.h
- [DH] libavcodec/mips/fft_mips.c
- [DH] libavcodec/mips/iirfilter_mips.c
- [DH] libavcodec/mips/lsp_mips.h
- [DH] libavcodec/mips/mpegaudiodsp_mips_fixed.c
- [DH] libavcodec/mips/mpegaudiodsp_mips_float.c
- [DH] libavcodec/mips/sbrdsp_mips.c
- [DH] libavutil/mips/float_dsp_mips.c
-
Working directory in Dockerfile is not what is expected to be
31 mai 2022, par user1765862I have following Dockerfile


FROM public.ecr.aws/lambda/dotnet:6 AS base

FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim as build
WORKDIR /src
COPY ["AWSServerless.csproj", "AWSServerless/"]
RUN dotnet restore "AWSServerless/AWSServerless.csproj"

WORKDIR "/src/AWSServerless"
COPY . .
RUN dotnet build "AWSServerless.csproj" --configuration Release --output /app/build

FROM build AS publish

RUN apt-get update && apt-get install -y apt-utils libgdiplus libc6-dev

RUN apt-get install -y ffmpeg

RUN dotnet publish "AWSServerless.csproj" \
 --configuration Release \ 
 --runtime linux-x64 \
 --self-contained false \ 
 --output /app/publish \
 -p:PublishReadyToRun=true 

FROM base AS final
WORKDIR /var/task

CMD ["AWSServerless::AWSServerless.LambdaEntryPoint::FunctionHandlerAsync"]
COPY --from=publish /app/publish .



As per ffmpeg docs In order to use ffmpeg I need to set its binary folder
for example with


{
 "BinaryFolder": "/var/task",
 "TemporaryFilesFolder": "/tmp"
}



Error




An error occurred trying to start process './ffmpeg' with working
directory '/var/task'. No such file or directory




What is the working directory here ?


Update :
Actual error is being thrown when I try to execute following command (FFMpegCore package) from my api controller


public class MyController : ControllerBase
{
 public async Task<string> Get()
 { 
 await FFMpegArguments
 .FromPipeInput(new StreamPipeSource(myfile))
 .OutputToPipe(new StreamPipeSink(outputStream), options => options
 .WithVideoCodec("vp9")
 .ForceFormat("webm"))
 .ProcessAsynchronously();
 ...
 } 
}
</string>