
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (46)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 -
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)
Sur d’autres sites (9067)
-
Linking to static libs cross compiled for android complains "no archive symbol table (run ranlib)"
5 octobre 2017, par ProgramistI am trying to build FFmpeg for android as static libraries. Following is my
buildscript.sh
#!/bin/bash
cd ffmpeg-3.3
NDK=/Users/sambitpujari/codeenv/ndk/android-ndk-r15c
SYSROOT=$NDK/platforms/android-26/arch-arm/
TOOLCHAIN=$NDK/toolchains/arm-linux-androideabi-4.9/prebuilt/darwin-x86_64
CPREFIX=$TOOLCHAIN/bin/arm-linux-androideabi-ar
function build_ffmpeg_android {
./configure \
--prefix=$PREFIX \
--disable-programs \
--enable-static \
--disable-shared \
--disable-doc \
--enable-postproc \
--enable-swscale \
--enable-avfilter \
--enable-avresample \
--enable-pic \
--disable-opencl \
--disable-securetransport \
--enable-videotoolbox \
--enable-audiotoolbox \
#--enable-libx264 \
--cross-prefix=$CPREFIX \
--target-os=linux \
--arch=arm \
--enable-cross-compile \
--enable-gpl \
--sysroot=$SYSROOT \
--extra-cflags="-Os -fpic $ADDI_CFLAGS" \
--extra-ldflags="$ADDI_LDFLAGS" \
$ADDITIONAL_CONFIGURE_FLAG
make clean
make -j9
make install
}
CPU=arm
PREFIX=$(pwd)/android/$CPU
ADDI_CFLAGS="-marm"
build_ffmpeg_androidThe output of above script is placed inside
ffmpeg-3.3/android/arm
.Problem :
When trying to link to these.a
libraries from my app (-lavformat -lavcodec -lswscale -lavutil -lavfilter -lswresample -lavdevice
),
I get the following linker error for each of them:-1: error: error: avformat: no archive symbol table (run ranlib)
:-1: error: error: avcodec: no archive symbol table (run ranlib)
:-1: error: error: swscale: no archive symbol table (run ranlib)
:-1: error: error: avutil: no archive symbol table (run ranlib)
:-1: error: error: avfilter: no archive symbol table (run ranlib)
:-1: error: error: swresample: no archive symbol table (run ranlib)
:-1: error: error: avdevice: no archive symbol table (run ranlib)Looking at this discussion, I am doing it correct by selecting
arm-linux-androideabi-ar
inCPREFIX
.Question :
What else am I missing here ? What is needed in mybuildscript.sh
to satisfy correct linking ? -
avcodec/pixlet : fixes integer overflow in read_highpass()
17 août 2017, par Michael Niedermayeravcodec/pixlet : fixes integer overflow in read_highpass()
Fixes : runtime error : negation of -2147483648 cannot be represented in type 'int32_t' (aka 'int') ; cast to an unsigned type to negate this value to itself
Fixes : 2879/clusterfuzz-testcase-minimized-6317542639403008Found-by : continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by : Michael Niedermayer <michael@niedermayer.cc> -
Converting DAV to MP4 and OGG
25 avril, par mackowiakpI want to prepare WEB page containing films from security camera recorders. Each recorder transmit video files in DAV format so each film is converted to MP4 format by script, using such syntax :



ffmpeg -y -i movie.dav -vcodec libx264 -crf 24 movie.mp4




So I included in HTMLv5 code such entry :



<video width="320" height="240">
 <source src="movie.mp4" type="video/mp4">
</source></video> 




It works correctly with Chrome but not with Firefox. For proper work in FF it is necessary add link to OGG file. So correct HTMLv5 syntax for both browsers should look like this :



<video width="320" height="240">
 <source src="movie.mp4" type="video/mp4">
 <source src="movie.ogg" type="video/ogg">
</source></source></video>




Can anybody help me to pass correct ffmpeg syntax to create OGG file ?



Output from console after using -movflags +faststart options



[maciek@piotr MMM]$ ../ffmpeg-2.4.2-64bit-static/ffmpeg -movflags +faststart -y -i 04.24.23-04.24.38\[M\]\[@0\]\[0\].dav -vcodec libx264 -crf 24 10.mp4
ffmpeg version 2.4.2- http://johnvansickle.com/ffmpeg/ Copyright (c) 2000-2014 the FFmpeg developers
 built on Oct 9 2014 07:24:56 with gcc 4.8 (Debian 4.8.3-11)
 configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable- libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-libass --enable-gnutls --cc=gcc-4.8
 libavutil 54. 7.100 / 54. 7.100
 libavcodec 56. 1.100 / 56. 1.100
 libavformat 56. 4.101 / 56. 4.101
 libavdevice 56. 0.100 / 56. 0.100
 libavfilter 5. 1.100 / 5. 1.100
 libswscale 3. 0.100 / 3. 0.100
 libswresample 1. 1.100 / 1. 1.100
 libpostproc 53. 0.100 / 53. 0.100
Option movflags not found.