
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)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Création définitive du canal
12 mars 2010, parLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
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 (...)
Sur d’autres sites (3554)
-
Use animation.save with ffmpeg writer within a Python package
16 janvier 2021, par Logan YangI'm writing a Python package that produces some animated plots. I can successfully use
matplotlib.animation.save
to save gifs as such :

anim.save(f"./{file}", writer="imagemagick", fps=15)



But if I try to save it to
mp4
like this, it doesn't work because I guess it can't find ffmpeg on my system (MacOS)

anim.save(f"./{file}",writer=FFMpegWriter(fps=15))



Error :


MovieWriter stderr:
dyld: Library not loaded: /usr/local/opt/x265/lib/libx265.165.dylib
 Referenced from: /usr/local/bin/ffmpeg
 Reason: image not found
...



My intention is to make it platform agnostic, since it's a Python package I'm writing, I would like it to be portable so that the user can use it out-of-the-box with
pip install
. Since gif is already working withimagemagick
, I'm not sure how to make it work for ffmpeg writer.

I tried pip install ffmpeg in my project but that didn't work. Any suggestion is appreciated !


-
How to get frame information from fragmented mp4
17 novembre 2020, par Duke AtistaI'm using the following command to generate fmp4 files


ffmpeg -rtsp_transport tcp -i rtsp://someuser:somepassword@somedomain:someport/Streaming/Channels/101 -acodec copy -vcodec copy -hls_segment_type fmp4 -hls_time 2 -hls_list_size 10 -hls_flags delete_segments+append_list+split_by_time -hls_playlist_type event test.m3u8


I need to know the exact duration and frame count of each fragment. Unfortunately -vstats appears to be ignored.


I tried to probe one of the segments using


ffprobe -show_frames ./test0.m4s


But I get


[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb68e80b000] could not find corresponding track id 1 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb68e80b000] could not find corresponding trex (id 1) [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb68e80b000] could not find corresponding track id 0 [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb68e80b000] trun track id unknown, no tfhd was found [mov,mp4,m4a,3gp,3g2,mj2 @ 0x7fb68e80b000] error reading header ./test0.m4s: Invalid data found when processing input


I'm assuming that is because the initialisation segment has not been loaded but I can't find the option to do so.


If I try probing the initialisation segment with


ffprobe -show_frames ./init.mp4


I get no frame information and the error


Could not find codec parameters for stream 0 (Video: h264 (avc1 / 0x31637661), none, 2560x1440): unspecified pixel format Consider increasing the value for the 'analyzeduration' and 'probesize' options


Would appreciate any help.


-
Revision 65f13afd7d : Fix building for arm with Visual Studio 2013 The microsoft build tools explicit
4 mai 2014, par Martin StorsjoChanged Paths :
Modify /build/make/configure.sh
Modify /build/make/gen_msvs_vcxproj.sh
Fix building for arm with Visual Studio 2013The microsoft build tools explicitly disallow building for arm in
the "desktop" target configuration ; one has to target "Windows
Store" apps (aka WinRT/Metro) or Windows Phone. In Visual Studio
2012, one could just pick the v110_wp80 toolset which made the
vcxproj files buildable. In Visual Studio 2013, picking the v120_wp81
toolset isn’t enough - one has to configure the vcxproj files
as an "AppContainerApplication". This has the implication that
you can’t just build a plain .exe (such as the examples) - an .exe
project would need to have an AppxManifest file. Therefore we can
only build the library itself.If loaded into Visual Studio for Windows (the Windows Store/Phone
version of Visual Studio, not the Desktop one), the obj_int_extract
project is omitted since it’s treated as incompatible. Building
from the command line with msbuild works fine though.The armv7-win32-vs12 target was added as part of a638bdf4 even
though actual use of it hadn’t been tested.Change-Id : Iee8088252cf790317aeb6b417d29058225f1f629