
Recherche avancée
Autres articles (51)
-
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...) -
Selection of projects using MediaSPIP
2 mai 2011, parThe examples below are representative elements of MediaSPIP specific uses for specific projects.
MediaSPIP farm @ Infini
The non profit organizationInfini develops hospitality activities, internet access point, training, realizing innovative projects in the field of information and communication technologies and Communication, and hosting of websites. It plays a unique and prominent role in the Brest (France) area, at the national level, among the half-dozen such association. Its members (...)
Sur d’autres sites (8888)
-
FFMPEG audio/video livestream with html5 dashjs player : time is not sync
14 avril 2017, par Dániel KisI am going to create a live video & audio stream with ffmeg with libvpx-vp9 codec, and I want to view it from html5 browser with dashjs. But when the dashjs opens the video it seatches for chunks than not yet exits. It seems that the chunk counter is running in double speed in client side.
Here is how I create the stream :
VP9_LIVE_PARAMS="-speed 6 -tile-columns 4 -frame-parallel 1 -threads 8 -static-thresh 0 -max-intra-rate 300 -deadline realtime -lag-in-frames 0 -error-resilient 1"
TARGET_PATH="/var/www/html/live/stream"
ffmpeg \
-thread_queue_size 8192 \
-f v4l2 -input_format mjpeg -r 30 -s 640x360 -i /dev/video0 \
-thread_queue_size 16384 \
-f alsa -ar 44100 -ac 2 -i hw:1,0 \
-map 0:0 \
-pix_fmt yuv422p \
-c:v libvpx-vp9 \
-s 640x360 -keyint_min 60 -g 60 ${VP9_LIVE_PARAMS} \
-b:v 300k \
-f webm_chunk \
-header "${TARGET_PATH}/glass_360.hdr" \
-chunk_start_index 1 \
"${TARGET_PATH}/glass_360_%d.chk" \
-map 1:0 \
-c:a libvorbis \
-b:a 64k -ar 44100 \
-f webm_chunk \
-audio_chunk_duration 2000 \
-header "${TARGET_PATH}/glass_171.hdr" \
-chunk_start_index 1 \
"${TARGET_PATH}/glass_171_%d.chk" \some seconds later I call the ffmpeg again to create manifest file :
ffmpeg \
-analyzeduration 1000\
-f webm_dash_manifest -live 1 \
-i "${TARGET_PATH}/glass_360.hdr" \
-f webm_dash_manifest -live 1 \
-i "${TARGET_PATH}/glass_171.hdr" \
-c copy \
-map 0 -map 1 \
-f webm_dash_manifest -live 1 \
-adaptation_sets "id=0,streams=0 id=1,streams=1" \
-chunk_start_index 1 \
-chunk_duration_ms 2000 \
-time_shift_buffer_depth 7200 \
-minimum_update_period 7200 \
"${TARGET_PATH}/glass_live_manifest.mpd"My server’s clock is synced to "http://time.akamai.com/?iso"
HTML5 player :
<code class="echappe-js"><script src="https://cdn.dashjs.org/latest/dash.all.min.js"></script>Live broadcast<script><br />
var url = "glass_live_manifest.mpd";<br />
var player = dashjs.MediaPlayer().create();<br />
player.initialize(document.querySelector("#videoPlayer"), url, true);<br />
<br />
</script> -
To large apk file when using .so files
12 septembre 2014, par ArslanI am using a 3rd party API for camera library that is using ffmpeg frame recorder and .so files along with javacv.
I am also using a 3rd party library for extracting meta data out from a video which also has some .so files
When i merged all these files into only one folder "armeabi" my application did not work.
So I have to copy all these files to all other folders "armeabi-v7a, mips, x86". Which works perfectly fine but obviously the size of the apk is now too large.Total size of these file are 20MB per folder. That make 80MB for all folder. My .apk size is 41MB. Please suggest ma what I can do to remove duplicate files/folders or reduce .apk size.
Why I need all these folders armeabi, armeabi-v7a, mips, x86
.so files in folder
-
mp3 and multiple image convert to mp4 [on hold]
16 mai 2017, par Henrik C WibergI need some guidance to convert an mp3 audio file, along with multiple photos to an mp4 file, using php/laravel.
It must end with a mp4 file with a slideshow of images along with an audio file.
How do you recommend me to begin the task ?
I have this Json :{
- data [
{
id: 1,
name: "item 1",
image: "image_1.jpg",
start: "2017-01-01T02:00:00",
end: "2017-01-01T02:30:00"
},
{
id": 2,
name: "item 2",
image: "image_2.jpg",
start: "2017-01-01T02:31:00",
end: "2017-01-01T02:50:00"
},
{
id": 3,
name: "item 3",
image: "image_3.jpg",
start: "2017-01-01T02:51:00",
end: "2017-01-01T03:00:00"
}
],
- meta {
audiofile: {
mp3: 'example.com/audio/audiofile.mp3',
start: "2017-01-01T02:00:00",
end: "2017-01-01T03:00:00"
}
}This json must be converted to one mp4 file, where image has to be placed and displayed on a timeline while ’audiofile.mp3’ is playing.
Or do you know some code samples I can see ? :-)