
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 (28)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 is the first MediaSPIP stable release.
Its official release date is June 21, 2013 and is announced here.
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)
Sur d’autres sites (4124)
-
Video width is different in different devices
8 novembre 2017, par DavidI have a special video when i want to get this video’s width code returns different value for Samsung galaxy s6 and Samsung note 3. I tested many different codes and libraries, but result is the same.
in Samsung galaxy s6 : 640x480
in Samsung note 3 : 853x480
when I open this video with Gspot program it shows :Recommended Display Size : 853x480
and this is the same value is returned by our IOS app tested in Iphone 7. aspect radio is not the same and this is big problem.
here is some of codes I tested :
(1)
MediaMetadataRetriever metaRetriever = new MediaMetadataRetriever();
metaRetriever.setDataSource(path);
Bitmap bmp = metaRetriever.getFrameAtTime(-1);
int height = bmp.getHeight();
int width = bmp.getWidth();(2)
MediaPlayer myMediaPlayer= MediaPlayer.create(ApplicationLoader.applicationContext,
Uri.fromFile(new File(path)));
width = myMediaPlayer.getVideoWidth();
height = myMediaPlayer.getVideoHeight();(3)
MediaMetadataRetriever metaRetriever = new MediaMetadataRetriever();
metaRetriever.setDataSource(path);
String heights = metaRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_VIDEO_HEIGHT);
String widths = metaRetriever.extractMetadata(MediaMetadataRetriever.METADATA_KEY_VIDEO_WIDTH);
int height = Integer.valueOf(heights);
int width = Integer.valueOf(widths);(4)
MediaPlayer myMediaPlayer= MediaPlayer.create(ApplicationLoader.applicationContext, Uri.fromFile(new File(path)));
myMediaPlayer.setOnVideoSizeChangedListener((mp, width, height) -> {
int videoWidth = width;
int videoHeight = height;
);
myMediaPlayer.setDataSource(path);
myMediaPlayer.prepare();FFmpegMediaMetadataRetriever, FFmpeg Java, ExoPlayer and some other libraries returns the same result.
-
Libvpx unknown encoder with php exec
5 juin 2016, par Justin TullockI have centos7 with ffmpeg compiled with libvpx. I can run
ffmpeg -i gif.gif -c:v libvpx -crf 12 -b:v 500K webm.webm
which works perfectly but when I try the same command with php exec() it returns this :
{array(16) { [0]=> string(66) "ffmpeg version 2.6.8 Copyright (c) 2000-2016
the FFmpeg developers" [1]=> string(55) " built with gcc 4.8.5 (GCC)
20150623 (Red Hat 4.8.5-4)" [2]=> string(1053) " configuration: --
refix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --
incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --
arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -
fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-
switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-
gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 -
-enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree --
disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame
--enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --
enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora
--enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --
enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --
enable-postproc --enable-pthreads --disable-static --enable-shared --enable-
gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-
runtime-cpudetect" [3]=> string(40) " libavutil 54. 20.100 / 54. 20.100"
[4]=> string(40) " libavcodec 56. 26.100 / 56. 26.100" [5]=> string(40) "
libavformat 56. 25.101 / 56. 25.101" [6]=> string(40) " libavdevice 56.
4.100 / 56. 4.100" [7]=> string(40) " libavfilter 5. 11.102 / 5. 11.102"
[8]=> string(40) " libavresample 2. 1. 0 / 2. 1. 0" [9]=> string(40) "
libswscale 3. 1.101 / 3. 1.101" [10]=> string(40) " libswresample 1. 1.100 /
1. 1.100" [11]=> string(40) " libpostproc 53. 3.100 / 53. 3.100" [12]=>
string(30) "Input #0, gif, from 'gif.gif':" [13]=> string(29) " Duration:
N/A, bitrate: N/A" [14]=> string(76) " Stream #0:0: Video: gif, bgra,
563x307, 25 fps, 25 tbr, 100 tbn, 100 tbc" [15]=> string(24) "Unknown
encoder 'libvpx'" } int(1)ffmpeg -v returns this
ffmpeg version N-80161-g7e0623b Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --enable-libvpx
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 44.100 / 57. 44.100
libavformat 57. 37.101 / 57. 37.101
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 46.100 / 6. 46.100
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101What am I missing ?
-
OpenShift — installing ffmpeg
2 juillet 2016, par aweeeezyI’m new to deploying web apps — I just started looking into hosting plans yesterday morning when I settled on OpenShift. I have my app running, but it depends on
node-youtube-dl
which returns this error when trying to download a video from a link :Error: Command failed: WARNING: m_djk1RQ2Ew: writing DASH m4a. Only some players support this container. Install ffmpeg or avconv to fix this automatically.
ERROR: ffprobe or avprobe not found. Please install one.So I searched around for awhile and kept returning to the same list instructions for how to install ffmpeg on OpenShift :
cd $OPENSHIFT_DATA_DIR
mkdir bin
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
wget http://ffmpeg.org/releases/ffmpeg-2.0.1.tar.gz
tar -xvf yasm-1.2.0.tar.gz
cd yasm-1.2.0
./configure --prefix=$OPENSHIFT_DATA_DIR/bin --bindir=$OPENSHIFT_DATA_DIR/bin
make
make install
export PATH=$OPENSHIFT_DATA_DIR/bin:$PATH
cd $OPENSHIFT_DATA_DIR
tar -xvf ffmpeg-2.0.1.tar.gz
cd ffmpeg-2.0.1
./configure --prefix=$OPENSHIFT_DATA_DIR/bin --bindir=$OPENSHIFT_DATA_DIR/bin
make
make installNow my
~/app-root/data
has ffprobe in it as well as some other codec related things, butnode-youtube-dl
still returns the same error saying I don’t have the necessary codecs installed. Here’s a listing of the contents of my data directory on OpenShift :-rwxr-xr-x. 1 11024048 Jul 2 01:51 ffmpeg
-rwxr-xr-x. 1 10967408 Jul 2 01:51 ffprobe
-rwxr-xr-x. 1 10611184 Jul 2 01:51 ffserver
drwx------. 10 4096 Jul 2 01:51 include
drwx------. 3 4096 Jul 2 01:51 lib
drwx------. 4 29 Jul 2 01:51 share
-rwxr-xr-x. 1 2116650 Jul 2 01:15 vsyasm
-rwxr-xr-x. 1 2115479 Jul 2 01:15 yasm
-rwxr-xr-x. 1 2102821 Jul 2 01:15 ytasmI really want OpenShift to work because it’s the last step to finishing off this one app before I move onto new projects — I don’t want to switch to paid hosting that will allow me to install stuff because I won’t be ready to determine an appropriate plan until a few months from now. That leaves me with trying to get ffmpeg to compile properly on OpenShift...so either a) I’m ignorant and it has long since been determined to be impossible by the OpenShift community or b) I’m ignorant and there’s a simple thing I’m doing wrong when building my codec libraries.
Anybody out there know what’s wrong or had success installing these codecs before ? I’d greatly appreciate some guidance !