Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (70)

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

  • 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 (13888)

  • python ffmpeg not decoding text from webcam video frame

    13 juin 2024, par sar5050

    I am trying to construct python script with ffmpeg command to capture a webcam, decode the text from the camera frame and stream the same through an RTSP stream. I am able to receive the streaming through the player, but text decoding is not happening with the following example code : Help is needed to understand the problem, whether it is a piping problem or any other mistake in the code.

    


    ffmpeg_cmd = (
    "ffmpeg -f v4l2 -framerate 30 -video_size 1280x720 -i /dev/video0 -f alsa -i hw:0 -c:v libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv420p -c:a aac -b:a 128k -f rtsp rtsp://localhost:8554/stream"
)

pytesseract_cmd = (
    "pytesseract --tessdata-dir /usr/share/tesseract-ocr/4.00/tessdata/ -l eng --oem 3 --psm 6 stdin stdout"
)

ffmpeg_process = subprocess.Popen(ffmpeg_cmd.split(), stdout=subprocess.PIPE)
pytesseract_process = subprocess.Popen(pytesseract_cmd.split(), stdin=ffmpeg_process.stdout, stdout=subprocess.PIPE)

while True:
    frame = np.frombuffer(ffmpeg_process.stdout.read(1280*720*3), dtype=np.uint8).reshape((720, 1280, 3))
    text = pytesseract_process.stdout.readline().strip()
    print(text)


    


  • ffmpeg concat batch loop with text file

    4 octobre 2013, par Lisa Jacobs

    I'm trying to batch a concat loop for a series of avi files where I need to add to each AVI a preroll and postroll movie.

    Here's what I've tried :

    _input.txt file :

    file '3D_preroll.avi'
    file '%%a'
    file '3D_postroll.avi'

    concat.bat file :

    for %%a in ("*.avi") do ffmpeg -f concat -i _input.txt -c:v libx264 -b:v 1700k -minrate 1500k -maxrate 1900k -bufsize 1900k -deinterlace -acodec libvo_aacenc -ac 2 -ar 48000 -ab 92k "%%a"_432p.mp4
    pause

    Unfortunately, I get the following error message before FFMPEG crashes :
    Impossible to open '%%a'

    What am I doing wrong ?

    Thank you :)

  • fftools/ffmpeg : store stream media type in OutputStream

    11 avril 2023, par Anton Khirnov
    fftools/ffmpeg : store stream media type in OutputStream
    

    Reduces access to a deeply nested muxer property
    OutputStream.st->codecpar->codec_type for this fundamental and immutable
    stream property.

    Besides making the code shorter, this will allow making the AVStream
    (OutputStream.st) private to the muxer in the future.

    • [DH] fftools/ffmpeg.c
    • [DH] fftools/ffmpeg.h
    • [DH] fftools/ffmpeg_mux.c
    • [DH] fftools/ffmpeg_mux_init.c