Recherche avancée

Médias (1)

Mot : - Tags -/sintel

Autres articles (50)

  • Configurer la prise en compte des langues

    15 novembre 2010, par

    Accéder à la configuration et ajouter des langues prises en compte
    Afin de configurer la prise en compte de nouvelles langues, il est nécessaire de se rendre dans la partie "Administrer" du site.
    De là, dans le menu de navigation, vous pouvez accéder à une partie "Gestion des langues" permettant d’activer la prise en compte de nouvelles langues.
    Chaque nouvelle langue ajoutée reste désactivable tant qu’aucun objet n’est créé dans cette langue. Dans ce cas, elle devient grisée dans la configuration et (...)

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

  • La sauvegarde automatique de canaux SPIP

    1er avril 2010, par

    Dans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
    Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)

Sur d’autres sites (4216)

  • Streaming video frame by frame using Python and SRT

    25 avril 2023, par skylighty

    Almost every implementation of exposing a video stream in Python that I could find find is based on opencv and then writing frame (numpy.ndarrays) converted to bytes to FFMPEG stream, which goes to RTMP exposed on nginx server which works pretty fine, however now I have to expose SRT.

    


    Would anyone be so kind to tell me if it's possible using FFMPEG (I already have ffmpeg recompiled with libsrt), and if it is what command should I use ?

    


    Basically, the whole pipeline at the moment looks like this : RTMP (stream source) -> Python processing frame by frame -> process.stdin.write(frames.tobytes()) -> RTMP (stream out).

    


    Where the process is FFMPEG process opened with subprocess lib, the direct command is :

    


    command = [
    'ffmpeg',
    '-y',
    '-f', 'rawvideo',
    '-vcodec', 'rawvideo',
    '-pix_fmt', 'bgr24',
    '-s', "{}x{}".format(1920, 1080),
    '-r', str(30),
    '-i', '-',
    '-c:v', 'libx264',
    '-pix_fmt', 'yuv420p',
    '-preset', 'ultrafast',
    '-f', 'flv',
    url
]
process = subprocess.Popen(command, stdin=subprocess.PIPE)


    


    I'd also like to ask if any other server will be necessary, because I had to get rtmp module for nginx to make this pipeline work as it should, so I'm pretty sure that there's work to do too.

    


    Of course I could grab the output RTMP, put it to OBS and configure it to spit out the SRT, but I'd like to expose SRT stream directly from Python code, as correct output.

    


    I'll be really grateful for any help.

    


  • FFMPEG : Set Opacity of audio waveform color

    13 août 2018, par Software Development Consultan

    I was trying to do transparency in waveform generated. It seems there is not direct option in ’showwaves’ filter so I came across ’colorkey’ which might help.

    I am trying with following :

    ffmpeg -y -loop 1 -threads 0 -i background.png -i input.mp3 -filter_complex "[1:a]aformat=channel_layouts=mono,showwaves=s=1280x100:rate=7:mode=cline:scale=sqrt:colors=0x0000ff,colorkey=color=0x0000ff:similarity=0.01:blend=0.1[v] ; [0:v][v] overlay=0:155 [v1]" -map "[v1]" -map 1:a -c:v libx264 -crf 35 -ss 0 -t 5 -c:a copy -shortest -pix_fmt yuv420p -threads 0 test_org.mp4

    So I wanted to blue color waveform and wanted to set opacity of that 1 to 0 let say. But it seems this generates blackbox which is actual background of ’1280x100’. I want to keep background of waveform transparent and just wanted to change opacity of waveform only.

    Result of my command : enter image description here

    enter image description here

    Can you please let me know your suggestion

    @Gyan, this is with reference to following question which you have answered.

    Related last question

    Thanks, Hardik

  • How to create an animated AVIF from images

    17 mai 2023, par Undone

    I have 6 images in .avif format I want to encode to a a single animated avif file.

    


    I could create a .gif from images easily with ffmpeg and convert the generated .gif to .avif But I still want a more direct method

    


    I've tried the following but it only reencodes the .avif images one by one without making a single animated AVIF file

    


    ffmpeg -i *.avif -f yuv4mpegpipe -strict -1 - | avifenc --stdin --fps 13 output.avif


    


    and with :

    


    ffmpeg  -pattern_type glob -i '*.avif' -strict -1 -pix_fmt yuv420p10 -f yuv4mpegpipe - | avifenc --stdin --fps 13 output.avif


    


    With the above command I receive an error :

    


    *.avif: No such file or directory
[1]    901919 exit 1                            ffmpeg -pattern_type glob -i '*.avif' -strict -1 -pix_fmt yuv420p10 -f  - | 
       901920 segmentation fault (core dumped)  avifenc --stdin --fps 13 output.avif