Recherche avancée

Médias (91)

Autres articles (63)

  • Le profil des utilisateurs

    12 avril 2011, par

    Chaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
    L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)

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

  • XMP PHP

    13 mai 2011, par

    Dixit Wikipedia, XMP signifie :
    Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
    Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
    XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)

Sur d’autres sites (5201)

  • how to use ffmpeg with mjpeg_vaapi encoder (with hardware acceleration) ?

    8 août 2018, par Marat

    When I use ffmpeg with mjpeg encoder without hardware acceleration, everything works fine. I use following command :

    ffmpeg -nostdin -rtsp_transport udp_multicast -allowed_media_types 'video' -i 'rtsp://MYIP' -ss 00:00:0.00 -f image2pipe -q:v 24 -vf scale=-2:480,format=yuv420p -c:v mjpeg -vframes 1 pipe:1

    But, when I try to use mjpeg with hardware acceleration, I always get error :

    ffmpeg -nostdin -rtsp_transport udp_multicast -allowed_media_types 'video' -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i 'rtsp://MYIP' -ss 00:00:0.00 -f image2pipe -q:v 24 -vf scale=-2:480,format=yuv420p -c:v mjpeg_vaapi -vframes 1 pipe:1
    ffmpeg version N-91514-gc51e0cd Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
     configuration: --pkg-config-flags=--static
     libavutil      56. 18.102 / 56. 18.102
     libavcodec     58. 21.106 / 58. 21.106
     libavformat    58. 17.101 / 58. 17.101
     libavdevice    58.  4.101 / 58.  4.101
     libavfilter     7. 26.100 /  7. 26.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
    libva info: VA-API version 0.39.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva info: va_openDriver() returns 0
    Input #0, rtsp, from 'rtsp://MYIP':
     Metadata:
       title           : Session streamed with GStreamer
       comment         : rtsp-server
     Duration: N/A, start: 0.180600, bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 800x600, 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (mjpeg_vaapi))
    Impossible to convert between the formats supported by the filter 'graph 0 input from stream 0:0' and the filter 'auto_scaler_0'
    Error reinitializing filters!
    Failed to inject frame into filter network: Function not implemented
    Error while processing the decoded data for stream #0:0
    Conversion failed!

    I tried with some additional options but it still keeps failing :

    ffmpeg -nostdin -rtsp_transport udp_multicast -allowed_media_types 'video' -hwaccel vaapi -vaapi_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i 'rtsp://MYIP' -ss 00:00:0.00 -f image2pipe -q:v 24 -vf "scale_vaapi=w=800:h=600" -b:v 700k -r 25 -vcodec mjpeg_vaapi -vframes 1 pipe:1                
    ffmpeg version N-91514-gc51e0cd Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
     configuration: --pkg-config-flags=--static
     libavutil      56. 18.102 / 56. 18.102
     libavcodec     58. 21.106 / 58. 21.106
     libavformat    58. 17.101 / 58. 17.101
     libavdevice    58.  4.101 / 58.  4.101
     libavfilter     7. 26.100 /  7. 26.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
    libva info: VA-API version 0.39.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/i965_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva info: va_openDriver() returns 0
    Input #0, rtsp, from 'rtsp://MYIP':
     Metadata:
       title           : Session streamed with GStreamer
       comment         : rtsp-server
     Duration: N/A, start: 0.179933, bitrate: N/A
       Stream #0:0: Video: h264 (Main), yuvj420p(pc, progressive), 800x600, 50 fps, 50 tbr, 90k tbn, 100 tbc
    Stream mapping:
     Stream #0:0 -> #0:0 (h264 (native) -> mjpeg (mjpeg_vaapi))
    [mjpeg_vaapi @ 0x374cd80] Encoding entrypoint not found (12 / 7).
    Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
    Conversion failed!

    Can please anyone suggest right options to make it work ?

  • Brew can't install libav

    21 février 2023, par yabru

    im trying to install libav using brew but it returns

    


    Error: libav has been disabled because it is not maintained upstream!

    


    I've tried to follow THIS solution but im missing the disable! date: "DATE", because: :unmaintained line when editing the libav brew formula.

    


    I've already tried reinstalling brew

    


    brew version, 4.0.1-91-g6b7ecd1
    
macOS version, 13.1 (22C65)

    


  • How to run multiple instances of VLC from command line

    5 janvier 2014, par Andy

    I have a vlc line that streams and transcodes a channel from tvheadend. Usually multiple streams are handled through VLM but for some reason VLM doesnt like tvheadend playlists. If I do this through command line it seems to be working fine

    The command is ./vlc + some options

    When you execute the command it returns a lot of output messages and you can not enter any other commands. I have successfully launched another line in a new putty session.

    Is there a way to run this as batch to execute multiple VLC commands as if they were coming from different SSH sessions ?
    Perhaps ffmpeg handles tvheadend playlists better ?