
Recherche avancée
Médias (1)
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (7)
-
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 (...) -
Gestion générale des documents
13 mai 2011, parMédiaSPIP ne modifie jamais le document original mis en ligne.
Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...) -
Les vidéos
21 avril 2011, parComme les documents de type "audio", Mediaspip affiche dans la mesure du possible les vidéos grâce à la balise html5 .
Un des inconvénients de cette balise est qu’elle n’est pas reconnue correctement par certains navigateurs (Internet Explorer pour ne pas le nommer) et que chaque navigateur ne gère en natif que certains formats de vidéos.
Son avantage principal quant à lui est de bénéficier de la prise en charge native de vidéos dans les navigateur et donc de se passer de l’utilisation de Flash et (...)
Sur d’autres sites (3901)
-
Python ffmpeg subprocess makes unplayable file, but is right size, and just hangs
8 juin 2021, par nadermxI currently have this subprocess calling ffmpeg.


print("Starting alphamerge")
cmd = "ffmpeg -y -nostats -loglevel 0 -i %s -i %s -filter_complex '[1][0]scale2ref[mask][main];[main][mask]alphamerge' -c:v qtrle %s" % (
 file_path, temp_file, output)
process = sp.Popen(cmd, shell=True, stdout=sp.PIPE, stderr=sp.PIPE)
stdout, stderr = process.communicate()
print('after call')

if stderr:
 return "ERROR: %s" % stderr.decode("utf-8")
print("Process finished")





But the process ends up making a file over 2 gigs, unplayable, and just hangs. It never prints "Process finished", "after call", or an error, it just hangs.


Am I calling subprocess with ffmpeg wrong ?


-
FFmpeg parameters for Fisheye image correction
19 janvier 2023, par Julio CesarI am trying to achieve two things (any of them will work for my solution) :


- 

- Fisheye video to equirectangular (and view it in 360 view)
- Fisheye video to flat (if I understood correctly, it will be just like the fisheye image (maybe I will lose some FoV ?) but without distortions. Of course in this case I will not use 360 view).






Camera specs : https://documentation.meraki.com/MV/Viewing_Video/Understanding_Image_Quality_on_the_MV32


For test purposes I am using an image as input :


For 1), I am using
ffmpeg -i input_file -vf v360=fisheye:e:ih_fov=180:iv_fov=180:pitch=90 output_file
. This command gives me a rectangular image where the half upper is black, and when testing in https://renderstuff.com/tools/360-panorama-web-viewer/ the user can navigate through this black space (I would like to limit user view, so he could not get to the black part). If I crop and remove the black part, the image in the 360 view becomes distorted (loses the aspect ratio).

For 2), I tried
ffmpeg -i input_file -vf v360=fisheye:flat:ih_fov=180:iv_fov=180 output_file
but it doesn't seem to correct the distortions properly.

FYI this video will be published in AntMedia server to be used as an iframe in web applications. I'll try to use 1) in AntMedia since it supports 360 view (https://antmedia.io/play-live-360-degree-video/).


Since I am new to this, please ask for more information if needed.

Thanks in advance.

-
java.lang.UnsatisfiedLinkError : dlopen failed : cannot locate symbol "av_bsf_next" referenced by "/lib/arm/libffmpeg.so"
21 octobre 2019, par SushritaI have a third party library which has ffmpeg as dependency and i am getting this error while executing a thread.
Process: com.joe.epmediademo, PID: 11906
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "av_bsf_next" referenced by "/data/app/com.joe.epmediademo-U-buiUc64rYJquAlCAhK5A==/lib/arm/libffmpeg.so"...
at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
at java.lang.System.loadLibrary(System.java:1657)
at Jni.FFmpegCmd.<clinit>(FFmpegCmd.java:24)
at Jni.FFmpegCmd.exec(FFmpegCmd.java:73)
at VideoHandle.EpEditor.execCmd(EpEditor.java:571)
at VideoHandle.EpEditor.exec(EpEditor.java:135)
at com.joe.epmediademo.Activity.EditActivity.execVideo(EditActivity.java:182)
at com.joe.epmediademo.Activity.EditActivity.onClick(EditActivity.java:106)
at android.view.View.performClick(View.java:6297)
at android.view.View$PerformClick.run(View.java:24797)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6626)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:811)
</clinit>