
Recherche avancée
Médias (39)
-
Stereo master soundtrack
17 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
-
1,000,000
27 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Demon Seed
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Four of Us are Dying
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Corona Radiata
26 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (98)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
ANNEXE : Les plugins utilisés spécifiquement pour la ferme
5 mars 2010, parLe site central/maître de la ferme a besoin d’utiliser plusieurs plugins supplémentaires vis à vis des canaux pour son bon fonctionnement. le plugin Gestion de la mutualisation ; le plugin inscription3 pour gérer les inscriptions et les demandes de création d’instance de mutualisation dès l’inscription des utilisateurs ; le plugin verifier qui fournit une API de vérification des champs (utilisé par inscription3) ; le plugin champs extras v2 nécessité par inscription3 (...)
Sur d’autres sites (9104)
-
Problems getting real width and height of videos
1er mai 2022, par EduardoI'm having a problem when I upload videos. The thing is that I record my videos with my cellphone in vertical way and when I download them to my computer or pass them through whatsapp they still look vertical, I can still watch them in vertical way as I recorded them, but when I try to upload them on my website using PHP and FFMPEG I always get horizontal resolutions.


I use this command to get the width of my videos :


$width = $video_attributes['width'] ;


The variable $video_attributes is an array that comes from a FFMPEG function that returns an array with the data related to the video.


Somebody could help me out with some ideas about what I'm doing wrong ?


I need to get the vertical resolution so my videos will be displayed in vertical containers in my website.


Thanks in advance :)


-
How To Abandon The Probesize Input Buffer For Real Time RTSP Playback
3 juin 2014, par user3051473As far as I know that ffmpeg need to first read probesize input buffer to analysis the codec. And the probesize data will cause realtime RTSP delay. So I’m wandering that :
How can I make av_read_frame() to skip the probesize input buffer which has already delayed ? Thanks very much.
-
Simultaneously map video and data streams to one subprocess pipeline in real-time
9 février 2023, par seabass1217I need to process the video stream and the klvdata streams simultaneously in real-time in OpenCV/Python. I'm using FFMPEG to read the file or stream as OpenCV does not retain the klvdata. I pass the data to OpenCV with the subprocess module.


My problem is I cannot figure out how to map both the video and klvdata to the same subprocess pipe simultaneously ?


My code :


#!/usr/bin/env python3
import sys, json, klvdata;
from subprocess import PIPE
import subprocess as sp
import cv2
import numpy

command = ['ffmpeg',
 '-i', 'DayFlight.mpg',
 '-map', '0:0',
 '-map', '0:d', 
 '-pix_fmt', 'bgr24',
 '-c:v', 'rawvideo', 
 '-an','-sn', 
 '-f', 'image2pipe', '-',
 '-c:d', 'copy',
 '-f','data',
 ]

pipe = sp.Popen(command, stdin=sp.PIPE, stdout=sp.PIPE, stderr=sp.PIPE, bufsize=10**8)

while True:
 raw_image = pipe.stdout.read(1280*720*3)
 image = numpy.fromstring(raw_image, dtype='uint8')
 image = image.reshape((720,1280,3)) 
 if image is not None:
 cv2.imshow('Video', image)
 if cv2.waitKey(1) & 0xFF == ord('q'):
 break
 for packet in klvdata.StreamParser(pipe.stdout): 
 metadata = packet.MetadataList()
 print(metadata)
pipe.stdout.flush()
cv2.destroyAllWindows()




Produces the below error :


Traceback (most recent call last):
 File "test_cv.py", line 32, in <module>
 metadata = packet.MetadataList()
AttributeError: 'UnknownElement' object has no attribute 'MetadataList'

</module>


Any help is greatly appreciated.