
Recherche avancée
Autres articles (47)
-
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir
Sur d’autres sites (12624)
-
ffmpeg mp4 encode 'no frame !' error
20 avril 2012, par Lee JacobsonI'm using the following command to convert video to MP4 :
/usr/bin/ffmpeg -i /home/myvideo.mp4 -sameq /home/vconverted.mp4
Problem is I'm getting an error :
[h264 @ 0x167335c0]no frame!
Error while decoding streamIs there any extra parameters I should be using to stop these errors
Thanks !
-
Is it real connect subtitles when streaming video (HLS, M3U8)
12 avril 2019, par Mikhail PetrovI am trying to create a stream in which the tracks from the convertible file (in my case .mkv to .m3u8) will be played through m3u8. At the moment, it turns out to switch between multiple resolutions, and even select the audio track, but does not see the subtitles at all.
Video works, audio tracks are switched, but no subtitles are visible at all
ffprobe source file :
https://paste2.org/czUePDPjNext, perform coding and splitting into tracks :
ffmpeg -i '/home/mishkapetran/Загрузки/Rick.mkv' \
-map 0:v:0 -c:v libx264 -profile:v baseline -preset:v superfast -strict -2 -s 426x240 -f hls -hls_time 10 -hls_list_size 0 -segment_list rick240p -hls_segment_filename '/home/mishkapetran/Загрузки/test/Rick240p_%d.ts' '/home/mishkapetran/Загрузки/test/Rick240p.m3u8' \
-map 0:a:0 -c:a aac -f hls -hls_time 10 -hls_list_size 0 -segment_list rick_ru -hls_segment_filename '/home/mishkapetran/Загрузки/test/RickTrack_ru_%d.aac' '/home/mishkapetran/Загрузки/test/RickTrack_ru.m3u8' \
-map 0:a:1 -c:a aac -f hls -hls_time 10 -hls_list_size 0 -segment_list rick_en -hls_segment_filename '/home/mishkapetran/Загрузки/test/RickTrack_en_%d.aac' '/home/mishkapetran/Загрузки/test/RickTrack_en.m3u8' \
-map 0:s:0 suben.vtt -f hls -hls_time 10 -hls_list_size 0 -segment_list en -hls_segment_filename '/home/mishkapetran/Загрузки/test/sub_en_%d.vtt' '/home/mishkapetran/Загрузки/test/sub_en.m3u8' \
-map 0:s:1 subru.vtt -f hls -hls_time 10 -hls_list_size 0 -segment_list ru -hls_segment_filename '/home/mishkapetran/Загрузки/test/sub_ru_%d.vtt' '/home/mishkapetran/Загрузки/test/sub_ru.m3u8'Then in the same folder I create the m3u8 master :
#EXTM3U
#EXT-X-VERSION:5
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",NAME="Russian",LANGUAGE="ru",AUTOSELECT=YES,URI="RickTrack_ru.m3u8"
#EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio",NAME="English",LANGUAGE="en",AUTOSELECT=NO,URI="RickTrack_en.m3u8"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="Russian",DEFAULT=YES,FORCED=NO,AUTOSELECT=YES,LANGUAGE="ru",URI="sub_ru.m3u8"
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subs",NAME="English",DEFAULT=NO,FORCED=NO,AUTOSELECT=YES,LANGUAGE="en",URI="sub_en.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=928000,CODECS="avc1.42c00d,mp4a.40.2",RESOLUTION=480x270,AUDIO="audio",SUBTITLES="subs"
Rick240p.m3u8 -
How to swap package configuration for environment
24 juillet 2018, par Finn MaunsellI’d like to change the location that I get ffmpeg from for my anaconda environment. The problem has occured because I want to use the ffmpeg configuration for my base system instead of the configuration meant for the environment.
If I use
ffmpeg
in ubuntu bash then I get this for my active environment :ffmpeg version N-91510-gd134b8d Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
configuration: --prefix=/home/notebook/ffmpeg_build --pkg-config-flags=--static --extra-cflags=-I/home/notebook/ffmpeg_build/include --extra-ldflags=-L/home/notebook/ffmpeg_build/lib --extra-libs='-lpthread -lm' --bindir=/home/notebook/bin --enable-gpl --enable-libaom --enable-openssl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfreeand for non-environment :
ffmpeg version 3.4.1 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 4.8.2 (GCC) 20140120 (Red Hat 4.8.2-15)
configuration: --prefix=/home/notebook/anaconda2/envs/tensorflow --disable-doc --enable-shared --enable-static --extra-cflags='-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC -I/home/notebook/anaconda2/envs/tensorflow/include' --extra-cxxflags='=-Wall -g -m64 -pipe -O3 -march=x86-64 -fPIC' --extra-libs=
'-L/home/notebook/anaconda2/envs/tensorflow/lib -lz' --enable-pic --enable-gpl --enable-version3 --enable-hardcoded-tables --enable-avresample --enable-libx264Solving this will allow me to use the 2nd ffmpeg installation in my conda environment.