Recherche avancée

Médias (1)

Mot : - Tags -/école

Autres articles (111)

  • Organiser par catégorie

    17 mai 2013, par

    Dans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
    Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
    Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...)

  • Récupération d’informations sur le site maître à l’installation d’une instance

    26 novembre 2010, par

    Utilité
    Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
    Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...)

  • Personnaliser les catégories

    21 juin 2013, par

    Formulaire de création d’une catégorie
    Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
    Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
    On peut modifier ce formulaire dans la partie :
    Administration > Configuration des masques de formulaire.
    Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
    Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...)

Sur d’autres sites (9984)

  • Nginx RTMP module to generate HLS

    28 novembre 2020, par Joe Lin

    I'm streaming an audio stream with opus codec from Kurento
via ffmpeg to nginx-rtmp-module. I'm using the below command to stream to nginx-rtmp :

    


    ffmpeg -protocol_whitelist file,udp,rtp  -i test-audio.sdp  
-c:a libopus  -f opus rtmp:///live/


    


    I see no error on the ffmpeg side. But there's no m3u8 file being generated. But I noticed the following in the nginx log :

    


    2020/11/23 23:19:31 [info] 95#0: *8 connect: app='live' args='' flashver='FMLE/3.0 (compatible; Lavf57.83' swf_url='' tc_url='rtmp://192.168.4.28:1935/live' page_url='' acodecs=0 vcodecs=0 object_encoding=0, client: 172.17.0.1, server: 0.0.0.0:1935


    


    Noticed the acodes=0. Does this mean that it doesn't like opus codec ?

    


    Below is my nginx.conf :

    


    rtmp {
    server {
        listen 1935;
        chunk_size 4096;
        application hopefm {
            live on;
            interleave on;

            hls on;
            hls_path /mnt/hls;
            hls_fragment 3;
            hls_playlist_length 60;
        }
    }
}


    


    Thanks for any help.

    


  • Why psnr values generated by ffmpeg is inf?

    2 décembre 2020, par Lin Lingfeng

    I use ffmpeg to calcute PSNR value.
    
OS : Ubuntu-18.04
    
Commond :

    


    ffmpeg -i ../dataset/1080p-1k_rename/ggg_30_.jpg -i ../dataset/decode_dir_1k/ggg_30_.jpg -lavfi psnr="stats_file=./jpg_name.log" -f null -


    


    Result :

    


    ffmpeg version 4.3.1-static https://johnvansickle.com/ffmpeg/  Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 8 (Debian 8.3.0-6)
...
...

Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf58.45.100
    Stream #0:0: Video: wrapped_avframe, yuvj420p, 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 25 fps, 25 tbn, 25 tbc (default)
    Metadata:
      encoder         : Lavc58.91.100 wrapped_avframe
frame=    1 fps=0.0 q=-0.0 Lsize=N/A time=00:00:00.04 bitrate=N/A speed=1.74x    
video:1kB audio:0kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
[Parsed_psnr_0 @ 0x7461800] PSNR y:46.226028 u:inf v:inf average:47.986940 min:47.986940 max:47.986940


    


    u:inf v:inf
Why U and V are inf ?

    


  • disable muxing in YOUTUBE-DL

    3 février 2020, par user3515562

    I want to disbale post process in youtube-dl(2020.01.24).
    My batch file contains

    set /p ytlink=Enter the link of Youtube Video:-    
    youtube-dl -x -o D:\%%(title)s.%%(ext)s %ytlink%  
    pause  

    The youtube-dl first downloads webm file or any other file than use post process ffmpeg.exe to convert it.
    I want to disable post process.Their must be no post process happening after youtube-dl download.

    - x is the option to only download audio file of the YouTube video in webm format .There is no post processing involved.But youtube-dl by default tries to convert the webm file to some other format, which is post processing.Post processing of audio file by default is one that i want to disable
    OS=Windows 10