
Recherche avancée
Autres articles (71)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Le plugin : Podcasts.
14 juillet 2010, parLe problème du podcasting est à nouveau un problème révélateur de la normalisation des transports de données sur Internet.
Deux formats intéressants existent : Celui développé par Apple, très axé sur l’utilisation d’iTunes dont la SPEC est ici ; Le format "Media RSS Module" qui est plus "libre" notamment soutenu par Yahoo et le logiciel Miro ;
Types de fichiers supportés dans les flux
Le format d’Apple n’autorise que les formats suivants dans ses flux : .mp3 audio/mpeg .m4a audio/x-m4a .mp4 (...)
Sur d’autres sites (3159)
-
Working with mkfifo and transport streams, is this possible ?
7 décembre 2017, par vedant galaI want to execute a bash script that would do the following :
Application ’ffmpeg’ generates a LIVE transport stream (.ts) file. I need to work on this live streaam (perform de-multiplexing, etc).
Now I know this has to be done via FIFOs ; but here is my task.
I need to redirect the output of ffmpeg to write to a fifo, and then another application will work on that fifo contents. This happens continuously in real time until I press, say Ctrl+C.
Is this possible ?
Will I have to do this is two terminals ?I’m basically writing a bash script for the above operations (and more) so do I have to invoke two terminals, or maybe fork ?
Kindly advise.
Thanks in advance !
-
Video playback in Python not working
6 juin 2016, par user3354383I am having trouble getting video playback to work for Python. I am using Spyder as my IDE.
I am trying to play a video file from my computer using the code below but I can not get any video to play, it won’t even open a new window for playback.
I have looked at some threads about this problem but none of the following solutions seem to work :
- changing the ffmpeg file name to opencv_ffmpeg_(version number)_64(if it is a 64 bit)
- moving the ffmpeg file to the python27 folder
- moving the ffmpeg file to the dll folder
My code :
import numpy as np
import cv2
filename = 'C:/Users/ishraq/Downloads/traffic2.mp4'
vidcap = cv2.VideoCapture(filename)
while(vidcap.isOpened()):
success, frame_org = vidcap.read()
cv2.imshow('frame',frame_org)
if cv2.waitKey(1) & 0xFF == ord('q'):
break
vidcap.release()
cv2.destroyAllWindows() -
FFmepg Encode Video and Add Subtitles Not Working with Maps
16 avril 2018, par Matt McManisI’m trying to convert a video and add subtitles, but the subtitles are never added.
It only works if I remove
-map 0:v?
and-map 0:a?
.However I need maps so I can select the streams, such as
-map 0:a:1
.ffmpeg -y
-i "C:\Users\Matt\video.mp4"
-i "C:\Users\Matt\subtitle.ass"
-c:v libx264
-preset medium -crf 37 -pix_fmt yuv420p
-vf "scale=trunc(iw/2)*2:trunc(ih/2)*2"
-map 0:v?
-map_chapters 0
-c:s ass
-map 0:s?
-c:a ac3
-b:a 320k
-map 0:a?
-map_metadata 0
"C:\Users\Matt\video.mkv"