Recherche avancée

Médias (91)

Autres articles (53)

  • Submit enhancements and plugins

    13 avril 2011

    If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
    You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone.

  • Script d’installation automatique de MediaSPIP

    25 avril 2011, par

    Afin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
    Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
    La documentation de l’utilisation du script d’installation (...)

  • Demande de création d’un canal

    12 mars 2010, par

    En fonction de la configuration de la plateforme, l’utilisateur peu avoir à sa disposition deux méthodes différentes de demande de création de canal. La première est au moment de son inscription, la seconde, après son inscription en remplissant un formulaire de demande.
    Les deux manières demandent les mêmes choses fonctionnent à peu près de la même manière, le futur utilisateur doit remplir une série de champ de formulaire permettant tout d’abord aux administrateurs d’avoir des informations quant à (...)

Sur d’autres sites (9321)

  • Hardware acceleration of color conversion and scaling using QSV with ffmpeg, libav

    28 septembre 2023, par zerpico

    I used hardware decoding on an Intel processor using QuickSync based on this example.
https://github.com/FFmpeg/FFmpeg/blob/master/doc/examples/qsv_decode.c

    


    Then I use sws_scale to color convert from NV12 to YUV420. But is there a way to use hardware acceleration for this too ?

    


    some part of my code

    


    //decoding frame
int32_t ret = avcodec_receive_frame(_context, _tmpFrame); //i got _tmpFrame->format == AV_PIX_FMT_QSV

//retrieve data from GPU to CPU
av_hwframe_transfer_data(_decFrame, _tmpFrame, 0); //i got _decFrame->format == AV_PIX_FMT_NV12

//...some code next
//init context
conversion = sws_getContext(_context->width, _context->height, AV_PIX_FMT_NV12,
                             _context->width,_context->height, AV_PIX_FMT_YUV420P,
                             SWS_FAST_BILINEAR, NULL,NULL,NULL);

//convert frame  (is Intel QuickSync used here)?
int32_t out_height = sws_scale(conversion, src_data, src_stride, 0, src_height, dst_data, dst_stride);


    


  • Ffmpeg hardware acceleration unsupported formats betwen tranpose and auto_scaler_0

    11 août 2021, par Eduard6421

    I am trying to develop a transoding service which makes use of nvidia hardware acceleration capabilities ( The gpu used in this process is a Tesla T4) ; I want to generate a mpeg-dash playlist for my video so that i can stream it ;

    


    ffmpeg -y -hwaccel cuda -hwaccel_output_format cuda -i mobil1.mp4 -c:v h264_nvenc -c:a aac  \
-map v:0 -b:v:0 1000k -maxrate:0 1500k -bufsize:0 2500k -filter:v:0 "scale_npp=1920:1080:force_original_aspect_ratio=decrease" -map 0:a -b:a 128k \
-f dash dash.mpd


    


    But when mobile videos are uploaded ( which have rotation metadata ) I encounter the following error :

    


    Impossible to convert between the formats supported by the filter 'transpose' 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


    


    How can i solve this issue ?

    


  • Need help in hardware acceleration drivers

    2 mars 2016, par Stackoverfloooow

    I have ffmpeg video palyer built for intel NUC i3. The box comes with intel HD4000 onboard graphics support. I am building this on ubuntu 14.04 operating system. Here I am confused about choosing vdpau and vaapi graphic drivers. Which one would be appropriate for ffmpeg hwaccel implementation. Any insights/suggestions will be greatly helpful. Thank you.