Recherche avancée

Médias (1)

Mot : - Tags -/belgique

Autres articles (42)

  • Participer à sa traduction

    10 avril 2011

    Vous 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 (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

  • D’autres logiciels intéressants

    12 avril 2011, par

    On ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
    La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
    On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
    Videopress
    Site Internet : (...)

Sur d’autres sites (7315)

  • Piping pi's opencv video to ffmpeg for Youtube streaming

    16 mai 2017, par Mango Plaster

    This 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 a video from youtube and convert to MP4

    26 mars 2019, par Ghomrani Ilyes

    I created a script to download a youtube video and extract an images from it for each period

    screenshotvideo

    def screenshotvideo(url, interval, id, fullduration, title, quality):
       interval = int(interval)
       parsed_t = isodate.parse_duration(fullduration)
       durationseconds=parsed_t.total_seconds()
       iterat=int(durationseconds/int(interval))
       for i in range(0, iterat):
           print(str(id))
           print(str(i))
           print(str(i*interval))
           part(url, time.strftime('%H:%M:%S', time.gmtime(int(i*interval))), "00:00:01", title+"-"+str(id), quality)

    part

    def part(url, starttime, duration, name, quality):
       f = os.popen("ffmpeg $(youtube-dl -f "+quality+" -g '"+url+"' | sed 's/.*/-ss "+starttime+" -i &/') -t "+duration+" -c copy "+name+".mp4")
       now = f.read()
       print(now)
       f = os.popen("ffmpeg -i "+name+".mp4 -ss 00:00:00 -vframes 1 "+name+".jpg")
       now = f.read()
       print(now)
       f = os.popen("rm -rf "+name+".mp4")
       now = f.read()
       print(now)

    so i got the folowing error in the first ffmpeg command

    [mp4 @ 0x55d537f64240] Could not find tag for codec vp8 in stream #0, codec not currently supported in container.

    Could not write header for output file #0 (incorrect codec parameters ?) : Invalid argument

  • Downloading a video from youtube and convert to MP4

    24 mars 2019, par Ilyes GHOMRANI

    I created a script to download a youtube video and extract an images from it for each period

    screenshotvideo

    def screenshotvideo(url, interval, id, fullduration, title, quality):
       interval = int(interval)
       parsed_t = isodate.parse_duration(fullduration)
       durationseconds=parsed_t.total_seconds()
       iterat=int(durationseconds/int(interval))
       for i in range(0, iterat):
           print(str(id))
           print(str(i))
           print(str(i*interval))
           part(url, time.strftime('%H:%M:%S', time.gmtime(int(i*interval))), "00:00:01", title+"-"+str(id), quality)

    part

    def part(url, starttime, duration, name, quality):
       f = os.popen("ffmpeg $(youtube-dl -f "+quality+" -g '"+url+"' | sed 's/.*/-ss "+starttime+" -i &/') -t "+duration+" -c copy "+name+".mp4")
       now = f.read()
       print(now)
       f = os.popen("ffmpeg -i "+name+".mp4 -ss 00:00:00 -vframes 1 "+name+".jpg")
       now = f.read()
       print(now)
       f = os.popen("rm -rf "+name+".mp4")
       now = f.read()
       print(now)

    so i got the folowing error in the first ffmpeg command

    [mp4 @ 0x55d537f64240] Could not find tag for codec vp8 in stream #0, codec not currently supported in container.

    Could not write header for output file #0 (incorrect codec parameters ?) : Invalid argument