
Recherche avancée
Autres articles (79)
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...) -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs
Sur d’autres sites (10036)
-
Im failing to build .so file for android from FFMPEG
15 juillet 2020, par yejafotI tried many times with different versions of ffmpeg but failed eventually. I dont know how they wrote .sh file to configure different tools. Here are some .sh files i tried and it all failed. Either it shows only
android/share
folder instead of

- 

-
android/include


-
android/lib


-
android/share










OR


i end up in error like
no file or folder exist
,etc

I will share
build_arm64-v8a
different version of files below

VERSION 1


#!/bin/bash
export NDK=/media/sf_sharing/android-ndk
export HOST_TAG=linux-x86_64 # adjust to your building host
export TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/$HOST_TAG

export CC=$TOOLCHAIN/bin/aarch64-linux-android21-clang
export CXX=$TOOLCHAIN/bin/aarch64-linux-android21-clang++

function build_arm64-v8a
{
 ./configure \
 --prefix=./android/arm64-v8a \
 --enable-static \
 --enable-pic \
 --disable-asm \
 --disable-opencl \
 --disable-cli \
 --host=aarch64-linux \
 --cross-prefix=$TOOLCHAIN/bin/aarch64-linux-android- \
 --sysroot=$TOOLCHAIN/sysroot \

 make clean
 make
 make install
}

build_arm64-v8a
echo build_arm64-v8a finished



VERSION 2


#!/bin/bash

TOOLCHAIN=/media/sf_sharing/my-android-toolchain64
CROSS_PREFIX=$TOOLCHAIN/bin/aarch64-linux-android-
rm -f $(pwd)/compat/strtod.o
function build_one
{
./configure --prefix=$PREFIX --enable-shared --disable-static --enable-protocol=file --enable-pic --enable-small --disable-programs --disable-doc --disable-symver --target-os=android --enable-cross-compile --cross-prefix=$CROSS_PREFIX --extra-cflags="-Os -fpic $ADDI_CFLAGS" --extra-ldflags="$ADDI_LDFLAGS" --sysroot=$TOOLCHAIN/sysroot $ADDITIONAL_CONFIG_FLAG
make clean
make -j2
make install
}

CPU=arm64-v8a
mkdir -p $(pwd)/android/$CPU
PREFIX=$(pwd)/android/$CPU
ADDI_CFLAGS="-march=armv8-a"
ADDI_LDFLAGS="-L$TOOLCHAIN/sysroot/usr/lib"
ADDITIONAL_CONFIG_FLAG="--arch=aarch64 --enable-yasm"
build_one



VERSION 3


#!/bin/bash
export NDK=/media/sf_sharing/android-ndk
export HOST_TAG=linux-x86_64 # adjust to your building host
export TOOLCHAIN=$NDK/toolchains/llvm/prebuilt/$HOST_TAG

export CC=$TOOLCHAIN/bin/aarch64-linux-android21-clang
export CXX=$TOOLCHAIN/bin/aarch64-linux-android21-clang++

function build_arm64-v8a
{
 ./configure \
 --prefix="$HOME/ffmpeg_build" \
 --pkg-config-flags="--static" \
 --extra-cflags="-I$HOME/ffmpeg_build/include" \
 --extra-ldflags="-L$HOME/ffmpeg_build/lib" \
 --extra-libs="-lpthread -lm" \
 --bindir="$HOME/bin" \
 --enable-gpl \
 --enable-gnutls \
 --enable-libaom \
 --enable-libass \
 --enable-libfdk-aac \
 --enable-libfreetype \
 --enable-libmp3lame \
 --enable-libopus \
 --enable-libvorbis \
 --enable-libvpx \
 --enable-libx264 \
 --enable-libx265 \
 --enable-nonfree \

 make clean
 make
 make install
}

build_arm64-v8a
echo build_arm64-v8a finished



I'm using


- 

-
ffmpeg-snapshot.tar.bz2


-
android-ndk-r21d-linux-x86_64








the only thing i know in 'ndk 21` is we need to use default toolchain (android documentation says).


How to create .sh file to build .so file to use in android ?


-
-
how to setup rtmp wtih ffmpeg and aparat.com ?
29 juillet 2020, par Demon Seekeri am completely new to rtmp and nginx and ubuntu
i just want to use a vps to restream my stream to multiple site like twitch, youtube etc...
it worked fine for me but recently my main streaming website aparat.com change his system and they don't take push command in /usr/local/nginx/conf/nginx.conf
i used this :


application live {
live on;
record off;
push rtmp://live.cdn.asset.aparat.com:443/event/<stream key="key">;
}
</stream>


and it work fine with twitch or youtube or mixer but it won't work with aparat.com


don't know why they give me this instead and tell me to use it :


application live {
live on;
record off;
hls off;
dash off;
wait_key on;
exec_publish ffmpeg -i rtmp://127.0.0.1/live/name -async 1 -vsync 1 -c copy -f flv "rtmp://rtmp.cdn.asset.aparat.com:443/event/<stream key="key">";
}
</stream>


when i start streaming i get no stream on site.
should i change anything beside on the line i highligh ?
should i install anything on my ubuntu 18.04.4 ?


please just consider i have no idea about anything there and i just cope paste codes...


i install ffmpeg and stunnel already and config them
i also try this :


exec_publish ffmpeg -i rtmp://127.0.0.1/live/name -async 1 -vsync 1 -c copy -f flv "rtmp://live.cdn.asset.aparat.com:443/event/<stream key="key">";
</stream>


exec_publish ffmpeg -i rtmp://127.0.0.1:19350/live/name -async 1 -vsync 1 -c copy -f flv "rtmp://live.cdn.asset.aparat.com:443/event/<stream key="key">";
</stream>


exec_publish ffmpeg -i rtmp://127.0.0.1:19350/live/name -async 1 -vsync 1 -c copy -f flv "rtmp://rtmp.cdn.asset.aparat.com:443/event/<stream key="key">";
</stream>


an i should say everything is ok with twitch and youtube
also i use OBS to stream games and everything is fine when i stream directly to aparat.com and using
rtmp ://rtmp.cdn.asset.aparat.com:443/event


-
avformat/argo_asf : don't check file version
10 août 2020, par Zane van Iperenavformat/argo_asf : don't check file version
It has no bearing on structure. Determined by looking at the ASF
files from several Argonaut games :
- FX Fighter,
- Croc,
- Croc 2,
- The Emperor's New Groove, and
- Disney's Aladdin in Nasira's RevengeThe only versions that appear are 1.1, 1.2, and 2.1, and their
structure is identical.Reviewed-by : Alexander Strasser <eclipse7@gmx.net>
Signed-off-by : Zane van Iperen <zane@zanevaniperen.com>