Recherche avancée

Médias (2)

Mot : - Tags -/media

Autres articles (96)

  • Pas question de marché, de cloud etc...

    10 avril 2011

    Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
    sur le web 2.0 et dans les entreprises qui en vivent.
    Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
    Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
    le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
    Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...)

  • Menus personnalisés

    14 novembre 2010, par

    MediaSPIP utilise le plugin Menus pour gérer plusieurs menus configurables pour la navigation.
    Cela permet de laisser aux administrateurs de canaux la possibilité de configurer finement ces menus.
    Menus créés à l’initialisation du site
    Par défaut trois menus sont créés automatiquement à l’initialisation du site : Le menu principal ; Identifiant : barrenav ; Ce menu s’insère en général en haut de la page après le bloc d’entête, son identifiant le rend compatible avec les squelettes basés sur Zpip ; (...)

  • Configuration spécifique pour PHP5

    4 février 2011, par

    PHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
    Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
    Modules spécifiques
    Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...)

Sur d’autres sites (8853)

  • add localtime to each frame as metadata or subtitle while streaming use ffmpeg

    15 novembre 2019, par Mohammad M

    I want to encode some raw frames as nvenc_h264 and then stream it over UDP. What I need, now, is to add some data like capturing time to each frame as its metadata or subtitle(just for that frame or specifying in the metadata that it is just related to which frame.).

    now I use this command in C# to start FFmpeg for receiving raw frame using pipe and stream it over UDP.

             "-f rawvideo -vcodec rawvideo -pixel_format rgba"
             + " -colorspace bt709"
             + " -s " + width + "x" + height
             + " -framerate " + frameRate + " -vsync 0 "
             + " -loglevel warning -i - "// +// preset.GetOptions()
             + " -c:v h264_nvenc  -preset ll -zerolatency 1 -cq 10 -bf 2 -g 150 -f mpeg pipe:10" //udp://172.20.82.106:2000?"  //outputPath

    The base code that I used is here :
    https://github.com/keijiro/FFmpegOut

    and I use this command for receiving and saving the file :
    ffmpeg -i udp://127.0.0.1:2001 -c:v h264_nvenc video.mp4

    As I said I want the times as data that I can process it later, not just like a watermark on the frame. How can I add it ? is there any way ?

  • 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 ?

    


  • Please use -q:a or -q:v, -qscale is ambiguous

    20 septembre 2017, par Abhishek

    I’m using FFMpeg to encode a video. This is the command :

    fmpeg/ffmpeg -i '/home/ninbizco/public_html/public/temporary/15cf7_8665.mp4'
       -ab 64k -ar 44100 -qscale 5 -r 25 -vcodec libx264 -acodec aac
       -strict experimental -preset veryfast -f mp4 -vf "scale=480:386" -y
       '/home/ninbizco/public_html/temporary/sitevideo/82_vconverted.1' 2>&1

    But I’m getting following error :

    Please use -q:a or -q:v, -qscale is ambiguous
    [AVFilterGraph @ 0x42838a0] Error initializing threading.
    [AVFilterGraph @ 0x42838a0] Error creating filter 'anull'
    Error opening filters!

    Following are the ffmpeg version details :

    ffmpeg version N-63893-gc69defd Copyright (c) 2000-2014 the FFmpeg developers
     built on Jul 16 2014 05:38:01 with gcc 4.6 (Debian 4.6.3-1)

    Can anyone tell me if it’s related to server configuration, because it’s not working on only one site and I’m not sure which server configuration to check. This command works fine on my localhost and other sites with the same ffmpeg version.