
Recherche avancée
Autres articles (55)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
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 ;
-
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 (8085)
-
poster adjustment after getting it from video
30 juin 2016, par JassI am capturing poster from this video https://www.youtube.com/watch?v=wg-kEWsL6Xc using following code. Video can be any, I am just giving example.
shell_exec('ffmpeg -y -itsoffset -4 -i "'.base_path().'/assets/videos/'.$file_name.'.mp4" -vcodec mjpeg -vframes 1 -an -f rawvideo -filter:v scale=1170:ih*1170/iw "'.base_path().'/assets/videos/thumbnail/'.$file_name.'.jpg"')
Width = 1170px,
Height= 300px (as it is background image so it does not matter)
But I am facing adjustment problem. Following are my current views
First : Head is cutting, here I am using css property background : url(’completepath’) center no-repeat ;
Second : Showing black portion on top of head. This is the original image that I am getting from ffmpeg code.
My Question : But I need image like in you tube, you can notice that in all videos we can see top portion of humans without being cutting even black portion is well adjusted.
Currently I am downloading and testing with youtube videos but in actual job seekers will make their own videos using android/iphone or any camera and will upload on our site.
so how i can overcome this issue means show image with proper human face and body ?
thanks in advance.
-
iFrameExtractor no ffmpeg with build_universal script
15 août 2016, par AlecGambleI’m trying to follow this tutorial on how to extract the frames from an iphone video :
http://www.codza.com/extracting-frames-from-movies-on-iphone#more-343
It says to do the following :
- open Terminal
- clone the repository :
git clone git://github.com/lajos/iFrameExtractor.git
- go to the ffmpeg folder in the project :
cd iFrameExtractor/ffmpeg
- build the ffmpeg libraries :
./build_universal
So there’s no ffmpeg folder in iFrameExtractor after cloning the repository so I went to the github page and it says to download the latest version of ffmpeg and move to to the ffmpeg folder (I presume it just means within iFrameExtractor) :
- Download the latest ffmpeg (0.11.1 tested) :
git clone git://source.ffmpeg.org/ffmpeg.git
So I’ve done that but there’s no file or directory when I try to run
./build_universal
and I can see that there isn’t.Any ideas what I’m doing wrong ?
Alternatively I was also looking at just installing ffmpeg-ios and trying to extract the frames myself :
https://github.com/kewlbear/FFmpeg-iOS-build-script
and I’ve run the script so I’ve got that folder in my xcode project as well but I’m unsure on how to link it properly ?
-
FFMPEG .mov to .mp4 convertion failure [solved]
24 mai 2016, par Pasha RumkinI’m converting .mov and .mp4 to .mp4 with FFMPEG to play them on iOS and Android devices. Mp4 from Android is converting properly and playing on both devices iPhone and Android. But iPhone’s .mov result is strange. It’s playing on iPhone and Android 4. But when I’m trying to open this video with Photo app (Android 5, 6) it outputs unsupported video message.
FFMPEG command :
ffmpeg -i app/data/storage/68/fa/39/68fa392b-df25-4622-93ab-cf9bf1253f63 \
-y -b:a 128k -ac 2 -acodec libfdk_aac -b:v 300k -vcodec libx264 \
-filter:v scale=w=320:h=trunc(ow/a/2)*2 -vprofile baseline \
-movflags faststart -f mp4 \
app/data/storage/68/fa/39/68fa392b-df25-4622-93ab-cf9bf1253f63.mp4ffprobe with output file :
ffprobe version N-80026-g936751b Copyright (c) 2007-2016 the FFmpeg developers
built with gcc 4.8 (Ubuntu 4.8.4-2ubuntu1~14.04.3)
configuration: --extra-libs=-ldl --prefix=/opt/ffmpeg --mandir=/usr/share/man --enable-avresample --disable-debug --enable-nonfree --enable-gpl --enable-version3 --enable-libopencore-amrnb --enable-libopencore-amrwb --disable-decoder=amrnb --disable-decoder=amrwb --enable-libpulse --enable-libfreetype --enable-gnutls --enable-libx264 --enable-libx265 --enable-libfdk-aac --enable-libvorbis --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libspeex --enable-libass --enable-avisynth --enable-libsoxr --enable-libxvid --enable-libvidstab
libavutil 55. 24.100 / 55. 24.100
libavcodec 57. 42.100 / 57. 42.100
libavformat 57. 36.100 / 57. 36.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 45.100 / 6. 45.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 0.101 / 2. 0.101
libpostproc 54. 0.100 / 54. 0.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '68fa392b-df25-4622-93ab-cf9bf1253f63.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf57.36.100
Duration: 00:00:00.65, start: 0.000000, bitrate: 297 kb/s
Stream #0:0(und): Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 320x568, 178 kb/s, 30 fps, 30 tbr, 15360 tbn (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo, fltp, 129 kb/s (default)
Metadata:
handler_name : SoundHandler