
Recherche avancée
Médias (91)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
-
Les Miserables
4 juin 2012, par
Mis à jour : Février 2013
Langue : English
Type : Texte
-
Ne pas afficher certaines informations : page d’accueil
23 novembre 2011, par
Mis à jour : Novembre 2011
Langue : français
Type : Image
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Richard Stallman et la révolution du logiciel libre - Une biographie autorisée (version epub)
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (81)
-
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
Keeping control of your media in your hands
13 avril 2011, parThe vocabulary used on this site and around MediaSPIP in general, aims to avoid reference to Web 2.0 and the companies that profit from media-sharing.
While using MediaSPIP, you are invited to avoid using words like "Brand", "Cloud" and "Market".
MediaSPIP is designed to facilitate the sharing of creative media online, while allowing authors to retain complete control of their work.
MediaSPIP aims to be accessible to as many people as possible and development is based on expanding the (...) -
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...)
Sur d’autres sites (10604)
-
Piping pi's opencv video to ffmpeg for Youtube streaming
15 juin, par Mango PlasterThis is a small python3 script reading off picam using OpenCV :


#picamStream.py

import sys, os
from picamera.array import PiRGBArray
from picamera import PiCamera
import time
import cv2
 
# initialize the camera and grab a reference to the raw camera capture
camera = PiCamera()
camera.resolution = (960, 540)
camera.framerate = 30
rawCapture = PiRGBArray(camera, size=(960, 540))
 
# allow the camera to warmup
time.sleep(0.1)
 
# capture frames from the camera
for frame in camera.capture_continuous(rawCapture, format="bgr", use_video_port=True):

 image = frame.array
 
 # ---------------------------------
 # .
 # Opencv image processing goes here
 # .
 # ---------------------------------

 os.write(1, image.tostring())
 
 # clear the stream in preparation for the next frame
 rawCapture.truncate(0)

# end



And I am trying to pipe it to ffmpeg to Youtube stream


My understanding is that I need to reference below two commands to somehow come up with a new ffmpeg command.




Piping picam live video to ffmpeg for Youtube streaming.


raspivid -o - -t 0 -vf -hf -w 960 -h 540 -fps 25 -b 1000000 | ffmpeg -re -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -f h264 -i - -vcodec copy -acodec aac -ab 128k -g 50 -strict experimental -f flv rtmp://a.rtmp.youtube.com/live2/[STREAMKEY]






Piping OPENCV raw video to ffmpeg for mp4 file.


python3 picamStream.py | ffmpeg -f rawvideo -pixel_format bgr24 -video_size 960x540 -framerate 30 -i - foo.mp4




So far I've had no luck. Can anyone help me with this ?


-
Downloading videos one by one with youtube-dl
9 août 2019, par puterIm trying to execute the youtube-dl download command from node which is asynchronous and I have a bunch of videos that gets downloaded each time so I want to execute the
downloadClip
command as soon as each one finishes. How do I call this function in a chain like fashion so that only one video gets downloaded at a time ?var downloadClip = function( videoID, channelPath ) {
var args = [
'-o', config.fileName,
'--download-archive', channelPath + '/' + config.archiveFile,
];
var options = {
cwd: channelPath
};
return new Promise( function( resolve, reject ) {
ytdl.exec( videoID, args, options, function( err, output ) {
if ( err ) {
reject( err );
} else {
resolve( output );
}
} );
} );
}; -
How to set up a continuous stream from Icecast to YouTube Live using FFmpeg ?
16 mai 2020, par Teymur GahramanovWhen Icecast servers turns off, FFmpeg trying to reconnect but with only one attempt. Here is error which i get and my script.



[http @ 0x556612e43f80] Stream ends prematurely at 4040716, should be 1844674407370955161597x
[http @ 0x556612e43f80] Will reconnect at 4040716 error=Input/output error.
[tcp @ 0x7fe10400b7a0] Connection to tcp://185.195.26.99:8000 failed: Connection refused
[http @ 0x556612e43f80] Failed to reconnect at 0.
185.195.26.99:8000/radio: Input/output error1:40.96 bitrate=2878.3kbits/s speed=0.997x




After that stream continuing, and YouTube does not break live translation, but it goes empty.



#!/bin/bash

image=../pic/1.jpg #path to image
source=http://***.**.**.**:8000/radio #radio stream as source
youtube_url=rtmp://a.rtmp.youtube.com/live2 #rtmp://a.rtmp.youtube.com/live2
youtube_key=****-****-*****-****
resolution=1920x1080 #stream resolution

###########################################################

stream=FFREPORT=file=../log/stream-%t.log:level=32 ffmpeg \
 -thread_queue_size 1024 \
 -reconnect 1 -reconnect_at_eof 1 -reconnect_streamed 1 -reconnect_delay_max 3600 -i $source \
 -re -loop 1 -i $image \
 -acodec aac -b:a 128k -ar 44100 -strict experimental \
 -vcodec libx264 -preset ultrafast -tune stillimage -r 30 -g 60 -b:v 4500k -minrate 4000k -maxrate 4500k -bufsize 6000k \
 -s $resolution \
 -f flv \
 $youtube_url/$youtube_key\

until $stream ; do
 echo "Restarting stream ..."
 sleep 2
done