
Recherche avancée
Autres articles (71)
-
Demande de création d’un canal
12 mars 2010, parEn fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...) -
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer
Sur d’autres sites (6497)
-
Run external app using process in .Net Maui
23 septembre 2022, par master_rukoI built a WPF app that uses
System.Diagnostics.Process
to run ffmpeg.exe. In there I added an "External" folder to hold the ffmpeg files.



Then just did something like


new ProcessStartInfo()
{
 FileName = @"External\ffmpeg\bin\x64\ffmpeg.exe",
 ...
}



Which worked just fine.


Now I want to port this project to .Net Maui to leverage its cross-platformness so my app can be run on PC or Mac.


My question is where do I add the ffmpeg files in the Maui project ? Do I Just put them in "Resources/Raw" and do some kind of check in my code to see which version use ; do I make a "Resources" folder in "Platforms/Windows" and "Platforms/MacCatalyst" and add the appropriate files there ?


Side Note : I know almost nothing about Mac.


-
Compiling libavcodec with emscripten (with hardware acceleration)
14 juin 2018, par MauroI am trying to compile libavcodec library with emscripten to generate a wasm to be used in a web project. It works, but I wanted to enable hardware acceleration (at least for OSX) but I cannot make it working.
I am using this configuration :—cc=emcc \
—enable-cross-compile \
—target-os=none \
—arch=x86 \
—disable-runtime-cpudetect \
—disable-asm \
—disable-stripping \
\
—disable-bzlib \
—disable-iconv \
—disable-libxcb \
—disable-lzma \
—disable-sdl \
—disable-securetransport \
—disable-xlib \
—disable-zlib \
—disable-network \
—disable-d3d11va \
—disable-dxva2 \
\
—disable-all \
—disable-everything \
—enable-ffmpeg \
—enable-avcodec \
—enable-avformat \
—enable-avutil \
—enable-avfilter \
—enable-swresample \
—enable-swscale \
—enable-decoder=h264 \
—enable-decoder=hevc \
—enable-encoder=mjpeg \
—enable-vda \
—enable-hwaccel=h264_vda \
—enable-vaapi \
—enable-sharedbut the result is : no hwaccels enabled. Is there something I am missing in the configuration ?
Thanks
-
Problems in building ffmpeg 2.3.3 for android using android NDK
2 septembre 2014, par Alin
An ffmpeg android for android 2.3+ which allows me to decompress/add watermark/recompress a video file. I need to have it working on all current CPUs.
What I did so far
I looked in a lot of sources for guidance. Most of the articles are obsolete or simply not work. Not to mention the whole struggle I went to from installing ubuntu on virtualBox, an OS which I never seen before. The whole java/sdk/ndk install was pretty easy but I had hard times in setting the PATH variables and most importantly WHERE to set them.
So, here is my structure :
The default folder path is/home/alin
in which I have
The PATH is set in
etc/profile
and I can confirm that it works. I know that it works because runningjava -version
orndk-build
run just fine> ANDROID_SDK=/home/alin/android/sdk ANDROID_NDK=/home/alin/android/ndk
> JAVA_HOME=/usr/local/java/jdk1.8.0_20
> PATH=$PATH:$HOME/bin:$JAVA_HOME/bin:$ANDROID_SDK/platform-tools:$ANDROID_SDK/tools:$ANDROID_NDK
> export JAVA_HOME export ANDROID_SDK export ANDROID_NDK export PATHI have downloaded the latest sources from ffmpeg.org and saved it in
ndk/sources
folder, insources
I have created an android_build.sh file as from (http://www.roman10.net/how-to-build-ffmpeg-with-ndk-r9/)#!/bin/bash
NDK=/home/alin/android/ndk
SYSROOT=$NDK/platforms/android-9/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64
function build_one
{
./configure \
--prefix=$PREFIX \
--enable-shared \
--disable-static \
--disable-doc \
--disable-ffmpeg \
--disable-ffplay \
--disable-ffprobe \
--disable-ffserver \
--disable-avdevice \
--disable-doc \
--disable-symver \
--cross-prefix=$TOOLCHAIN/bin/arm-linux-androideabi- \
--target-os=linux \
--arch=arm \
--enable-cross-compile \
--sysroot=$SYSROOT \
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \
--extra-ldflags="$ADDI_LDFLAGS" \
$ADDITIONAL_CONFIGURE_FLAG
make clean
make
make install
}
CPU=arm
PREFIX=$(pwd)/android/$CPU
ADDI_CFLAGS="-marm"
build_oneWhen running the
.sh
file I get this :
Trying different build.sh sometimes I got different errors... so I have no idea what to do next.
Please guide me to :
- be able to build ffmpeg
- make it compatible with as many devices as possible.
Thank you.