
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 (14)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Librairies et logiciels spécifiques aux médias
10 décembre 2010, parPour un fonctionnement correct et optimal, plusieurs choses sont à prendre en considération.
Il est important, après avoir installé apache2, mysql et php5, d’installer d’autres logiciels nécessaires dont les installations sont décrites dans les liens afférants. Un ensemble de librairies multimedias (x264, libtheora, libvpx) utilisées pour l’encodage et le décodage des vidéos et sons afin de supporter le plus grand nombre de fichiers possibles. Cf. : ce tutoriel ; FFMpeg avec le maximum de décodeurs et (...) -
Emballe Médias : Mettre en ligne simplement des documents
29 octobre 2010, parLe plugin emballe médias a été développé principalement pour la distribution mediaSPIP mais est également utilisé dans d’autres projets proches comme géodiversité par exemple. Plugins nécessaires et compatibles
Pour fonctionner ce plugin nécessite que d’autres plugins soient installés : CFG Saisies SPIP Bonux Diogène swfupload jqueryui
D’autres plugins peuvent être utilisés en complément afin d’améliorer ses capacités : Ancres douces Légendes photo_infos spipmotion (...)
Sur d’autres sites (6867)
-
ffmpeg - Encoding Percentage in PHP
13 juillet 2012, par JimboI've written a whole system in PHP and bash on the server to convert and stream videos in HTML5 on my VPS. The conversion is done by ffmpeg in the background and the contents is output to block.txt.
Having looked at the following posts :
Can ffmpeg show a progress bar ?
and
ffmpeg video encoding progress bar
amongst others, I can't find a working example.
I have always struggled with the regexes and maths, and I need to grab the currently encoded progress as a percentage.
The first post I linked above gives :
$log = @file_get_contents('block.txt');
preg_match("/Duration:([^,]+)/", $log, $matches);
list($hours,$minutes,$seconds,$mili) = split(":",$matches[1]);
$seconds = (($hours * 3600) + ($minutes * 60) + $seconds);
$seconds = round($seconds);
$page = join("",file("$txt"));
$kw = explode("time=", $page);
$last = array_pop($kw);
$values = explode(' ', $last);
$curTime = round($values[0]);
$percent_extracted = round((($curTime * 100)/($seconds)));
echo $percent_extracted;The $percent_extracted variable echoes zero, and as maths is not my strong point, I really don't know how to progress here.
Here's one line from the ffmpeg output from block.txt (if it's helpful)
time=00:19:25.16 bitrate= 823.0kbits/s frame=27963 fps= 7 q=0.0 size=
117085kB time=00:19:25.33 bitrate= 823.1kbits/s frame=27967 fps= 7
q=0.0 size= 117085kB time=00:19:25.49 bitrate= 823.0kbits/s
frame=27971 fps= 7 q=0.0 size= 117126kBPlease help me output this percentage, once done I can create my own progress bar. Thanks.
-
ffmpeg on iOS 5.1 Undefined Symbols Error
25 avril 2012, par AndyDunnSo I've spent several hours now working through the scant amount of information available online about building ffmpeg for iOS. The building process seems to work well and I end up with fat files for armv6 and armv7 which I drag over into my project.
However, whenever I try to use the "avcodec_init()" command I get the following error :
Undefined symbols for architecture armv7 :
"_avcodec_init", referenced from :-[FirstViewController viewDidLoad] in FirstViewController.o
ld : symbol(s) not found for architecture armv7
clang : error : linker command failed with exit code 1 (use -v to see invocation)
The library files are included in the 'Link Binary with Libraries' of the project settings, so they are definitely compiled into the app. I just can't for the life of me work out why I'm getting an error on this.
I've tried several different projects, and downloaded some existing project files from the web and get the same error.
This is the build script I used :
export PLATFORM="iPhoneOS" export MIN_VERSION="4.0" export
MAX_VERSION="5.1" export
DEVROOT=/Volumes/Lion/Applications/Xcode.app/Contents/Developer/Platforms/$PLATFORM.platform/Developer
export SDKROOT=$DEVROOT/SDKs/$PLATFORM$MAX_VERSION.sdk export
CC=$DEVROOT/usr/bin/llvm-gcc export LD=$DEVROOT/usr/bin/ld export
CPP=$DEVROOT/usr/bin/cpp export CXX=$DEVROOT/usr/bin/llvm-g++ export
AR=$DEVROOT/usr/bin/ar export LIBTOOL=$DEVROOT/usr/bin/libtool export
NM=$DEVROOT/usr/bin/nm export CXXCPP=$DEVROOT/usr/bin/cpp export
RANLIB=$DEVROOT/usr/bin/ranlibCOMMONFLAGS="-pipe -gdwarf-2 -no-cpp-precomp -isysroot $SDKROOT
-marm -fPIC" export LDFLAGS="$COMMONFLAGS -fPIC" export CFLAGS="$COMMONFLAGS -fvisibility=hidden" export
CXXFLAGS="$COMMONFLAGS -fvisibility=hidden
-fvisibility-inlines-hidden"FFMPEG_LIBS="libavcodec libavdevice libavformat libavutil libswscale"
echo "Building armv6..."
make clean ./configure \
—cpu=arm1176jzf-s \
—extra-cflags='-arch armv6 -miphoneos-version-min=$MIN_VERSION -mthumb' \
—extra-ldflags='-arch armv6 -miphoneos-version-min=$MIN_VERSION' \
—enable-cross-compile \
—arch=arm \
—target-os=darwin \
—cc=$CC \
—sysroot=$SDKROOT \
—prefix=installed \
—disable-network \
—disable-decoders \
—disable-muxers \
—disable-demuxers \
—disable-devices \
—disable-parsers \
—disable-encoders \
—disable-protocols \
—disable-filters \
—disable-bsfs \
—enable-decoder=h264 \
—enable-decoder=svq3 \
—enable-gpl \
—enable-pic \
—disable-doc perl -pi -e 's/HAVE_INLINE_ASM 1/HAVE_INLINE_ASM 0/' config.h make -j3mkdir -p build.armv6 for i in $FFMPEG_LIBS ; do cp ./$i/$i.a
./build.armv6/ ; doneecho "Building armv7..."
make clean ./configure \
—cpu=cortex-a8 \
—extra-cflags='-arch armv7 -miphoneos-version-min=$MIN_VERSION -mthumb' \
—extra-ldflags='-arch armv7 -miphoneos-version-min=$MIN_VERSION' \
—enable-cross-compile \
—arch=arm \
—target-os=darwin \
—cc=$CC \
—sysroot=$SDKROOT \
—prefix=installed \
—disable-network \
—disable-decoders \
—disable-muxers \
—disable-demuxers \
—disable-devices \
—disable-parsers \
—disable-encoders \
—disable-protocols \
—disable-filters \
—disable-bsfs \
—enable-decoder=h264 \
—enable-decoder=svq3 \
—enable-gpl \
—enable-pic \
—disable-doc perl -pi -e 's/HAVE_INLINE_ASM 1/HAVE_INLINE_ASM 0/' config.h make -j3mkdir -p build.armv7 for i in $FFMPEG_LIBS ; do cp ./$i/$i.a
./build.armv7/ ; donemkdir -p build.universal for i in $FFMPEG_LIBS ; do lipo -create
./build.armv7/$i.a ./build.armv6/$i.a -output ./build.universal/$i.a ;
donefor i in $FFMPEG_LIBS ; do cp ./build.universal/$i.a ./$i/$i.a ; done
make install
-
How to integrate DLNA and ffmpeg ?
27 mars 2015, par vishnuWhile streaming contents from DMS , I need to encode it using FFMpeg for downscaling. Is there any way to do the same. What are the tools i require and also the procedure to do it ?