
Recherche avancée
Autres articles (77)
-
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...) -
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ; -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (14149)
-
How can I combine two audios into one, but using the length of the first audio ?
21 avril 2021, par vaginatorZalupiThere are two audios. I need to connect them to each other (two channels), but with the same length as the first. I found a command on Stack Overflow that partially solves my problem :
ffmpeg -i AgAD3RMAAvgr.ogg -i audio.mp3 -filter_complex amix=inputs=2:duration=longest output.mp3
.

-
Issue with openh264enc gstreamer plugin and tcp connections
20 septembre 2016, par agaldosI am trying to stream over TCP encoded video into a EC2 Instance. Using "x264enc" encoder, all works correctly. I get the frames and generate the video correctly.
The issue comes when I try to use the "openh264enc" encoder.
If I put in the server "nc -l -p 5555" I can check that data is arriving into the port but when I put the pipeline goes to PREROLLING state and nothing more happens. If I cut the process in the sender, this message appears in the server :
ubuntu@ip-172-31-87-56:~$ gst-launch-1.0 -e -v tcpserversrc host=ec2-52-29-128-23.eu-central-1.compute.amazonaws.com port=5555 ! h264parse ! mpegtsmux ! filesink location=file.ts
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstTCPServerSrc:tcpserversrc0: current-port = 5555
Pipeline is PREROLLING ...
ERROR: from element /GstPipeline:pipeline0/GstH264Parse:h264parse0: No valid frames found before end of stream
Additional debug info:
gstbaseparse.c(1281): gst_base_parse_sink_event_default (): /GstPipeline:pipeline0/GstH264Parse:h264parse0
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstTCPServerSrc:tcpserversrc0: current-port = 0
Freeing pipeline ...Pipeline used in the EC2 Instance, the server :
gst-launch-1.0 -e -v tcpserversrc host=ec2-52-29-128-23.eu-central-1.compute.amazonaws.com port=5555 ! h264parse ! mpegtsmux ! filesink location=file.ts
Sender pipeline with x264enc :
gst-launch-1.0 -e videotestsrc horizontal-speed=5 ! x264enc ! tcpclientsink port=5555 host=52.29.128.23
Sender pipeline with openh264enc :
gst-launch-1.0 -e videotestsrc horizontal-speed=5 ! openh264enc ! tcpclientsink port=5555 host=52.29.128.23
-
Vertical video subtitles burn font size
20 mai 2020, par fantomI have two videos, one of them is has display aspect ratio (DAR) 16:9 (horizontal) and another one has 9:16 (vertical). I need to burn in subtitles into them, and for horizontal video I need to set Fontsize=18. But if I try to use the same settings with vertical video, I get very big text size, so I need to set Fontsize=10 to get the same size of letters as in horizontal video.
The question is, why I get different displayed font sizes for different DAR and is there any way to have one settings for both (I don't know up front which orientation video will have when burning subtitles and want to not depend on it)