Recherche avancée

Médias (91)

Autres articles (74)

  • Personnaliser en ajoutant son logo, sa bannière ou son image de fond

    5 septembre 2013, par

    Certains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;

  • Ecrire une actualité

    21 juin 2013, par

    Présentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
    Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
    Vous pouvez personnaliser le formulaire de création d’une actualité.
    Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...)

  • 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

Sur d’autres sites (14126)

  • Live streaming video on multiple platforms [closed]

    4 mars 2019, par Nikolay Nikolov

    I want to build an application similar to Twitch/YouTube, which mainly offers two things (and a couple of other, but they are not related to the question) - to record and send live streams and to watch other people’s live streams. Basically, if I wanted to build Twitch, where would I start in terms of protocols and back-end libraries for the processing and sending/receiving of video segments (more detailed questions follow) ? I am new to the video streaming software development and need a bit of guidance on where/how to start.

    Here are the details/requirements :

    • Video and audio
    • Scalability and low latency are more important than supreme quality
    • Adaptive bit-rate
    • No services like Wowza and such (I am willing to build the whole structure)
    • Has to work on iOS and Android (Desktop support is not as important)
    • The users should be able to watch every stream and every user should be able to stream through his camera
    • VOD is not as important
    • Going back in the stream is not as important

    If I have it right, this is how the whole process should work :

    • Android/iOS camera records video
    • Simultaneously the app saves every x seconds as a single segment and sends it to the server
    • Server processes the video in different bit rates and saves them
    • Another user requests stream based on the bandwidth of its internet connection
    • Server responds with a playlist of segments and sends each new chunk of video to the user

    Questions :

    • What protocols should I be using (HLS, MPEG-DASH, WebRTC, RTSP, etc.) and do these protocols have implementations on Android/iOS or do I have to implement them myself ?
    • What books/other resources would you recommend ?

    Thank you very much for reading my question and I look forward to reading your answers !

  • Rolling screen capture with ffmpeg on windows

    11 décembre 2020, par gap210

    I have the following code to capture a video stream from my webcam. I use ffmpeg to write to named windows pipe, then read it with python and display with opencv. The thing is that the opencv stream is 'rolling' as shown here https://www.youtube.com/watch?v=H78TRo3DZIo

    


    If I capture the output to a video instead of a pipe, with the command :

    


    ffmpeg -f dshow -video_size 1920x1080 -framerate 60 -i video="USB Video" -c:v copy out.avi

    


    everything looks fine. What should I change to achieve the desired effect ? (non-rolling stream)

    


    My code below :

    


    import cv2
import time
import subprocess
import numpy as np

w, h = 800, 600

# Get frame generator
gen = ffmpegGrab()

# Get start time
start = time.time()

# Read video frames from ffmpeg in loop
nFrames = 0
cmd = 'C:/Users/......./Downloads/ffmpeg-4.3.1-2020-11-19-full_build/bin/ffmpeg.exe -f dshow -framerate 60 -video_size 800x600 -i video="USB Video" -pix_fmt bgr24 -vcodec rawvideo -f image2pipe -'

proc = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, shell=True, bufsize=10**9)
while True:
    # Read next frame from ffmpeg

    frame = proc.stdout.read(w * h * 3)
    frame = np.frombuffer(frame, dtype=np.uint8).reshape((h, w, 3))
    cv2.imshow('screenshot', frame)

    if cv2.waitKey(1) == ord("q"):
        break

    fps = nFrames / (time.time() - start)
    print(f'FPS: {fps}')

cv2.destroyAllWindows()


    


  • ffmpeg exec hangs in windows even after redirection

    4 juin 2020, par Yashwanth Dornala

    iam using ffmpeg for php ..even after redirecting stdout the script still hangs.help.

    



    <?php

exec("youtube-dl -g https://www.youtube.com/watch?v=3Ywz4qvMfpQ 2>&1",$a);
echo $a[1];

exec(" ffmpeg -y -ss 1:30 -i \"$a[0]\" -ss 42:30 -i \"$a[1]\" -map 0:v -map 1:a -ss 10 -t 0:20 -c:v libx264 -c:a aac gog-vs-triv.mp4 > NUL 2>&1 "); 


?>


    



    ps :The above code runs good on cmd.