Recherche avancée

Médias (1)

Mot : - Tags -/ticket

Autres articles (87)

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

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

  • Librairies et binaires spécifiques au traitement vidéo et sonore

    31 janvier 2010, par

    Les logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
    Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
    Binaires complémentaires et facultatifs flvtool2 : (...)

Sur d’autres sites (6403)

  • I could not encode using the Intel® Media Server Studio on the ZOTAC ZBOX PI225

    22 avril 2018, par Ubunkun

    I’ve succeeded to install the Intel® Media Server Studio to the
    ZOTAC ZBOX PI225. And, I’ve built the ffmepg as following.

    $ ffmpeg -codecs | grep qsv
    ffmpeg version N-90764-g396c019 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
     configuration: --enable-libmfx
     libavutil      56. 15.100 / 56. 15.100
     libavcodec     58. 19.100 / 58. 19.100
     libavformat    58. 13.100 / 58. 13.100
     libavdevice    58.  4.100 / 58.  4.100
     libavfilter     7. 18.100 /  7. 18.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
    DEV.LS h264                 H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 (decoders: h264 h264_qsv ) (encoders: h264_qsv h264_vaapi )
    DEV.L. hevc                 H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_qsv ) (encoders: hevc_qsv hevc_vaapi )
    DEVIL. mjpeg                Motion JPEG (encoders: mjpeg mjpeg_qsv mjpeg_vaapi )
    DEV.L. mpeg2video           MPEG-2 video (decoders: mpeg2video mpegvideo mpeg2_qsv ) (encoders: mpeg2video mpeg2_qsv mpeg2_vaapi )
    D.V.L. vc1                  SMPTE VC-1 (decoders: vc1 vc1_qsv )
    DEV.L. vp8                  On2 VP8 (decoders: vp8 vp8_qsv ) (encoders: vp8_vaapi )

    When I’ve tried to encode using ffmpeg, but It occurred error as below.

    $ ffmpeg -i original.avi -c:v h264_qsv -profile:v main -b:v 2000k -r 30 -s 1280x720  -look_ahead 0 qsv.mp4
    ffmpeg version N-90764-g396c019 Copyright (c) 2000-2018 the FFmpeg developers
     built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-16)
     configuration: --enable-libmfx
     libavutil      56. 15.100 / 56. 15.100
     libavcodec     58. 19.100 / 58. 19.100
     libavformat    58. 13.100 / 58. 13.100
     libavdevice    58.  4.100 / 58.  4.100
     libavfilter     7. 18.100 /  7. 18.100
     libswscale      5.  2.100 /  5.  2.100
     libswresample   3.  2.100 /  3.  2.100
    Input #0, avi, from 'original.avi':
     Metadata:
       encoder         : FairUse Wizard - http://fairusewizard.com
     Duration: 01:41:12.11, start: 0.000000, bitrate: 965 kb/s
       Stream #0:0: Video: mpeg4 (Advanced Simple Profile) (XVID / 0x44495658), yuv420p, 592x304 [SAR 1:1 DAR 37:19], 828 kb/s, 23.98 fps, 23.98 tbr, 23.98 tbn, 23.98 tbc
       Stream #0:1: Audio: mp3 (U[0][0][0] / 0x0055), 48000 Hz, stereo, fltp, 128 kb/s
    Stream mapping:
     Stream #0:0 -> #0:0 (mpeg4 (native) -> h264 (h264_qsv))
     Stream #0:1 -> #0:1 (mp3 (mp3float) -> aac (native))
    Press [q] to stop, [?] for help
    [mpeg4 @ 0x2fe5700] Video uses a non-standard and wasteful way to store B-frames ('packed B-frames'). Consider using the mpeg4_unpack_bframes bitstream filter without encoding but stream copy to fix it.
    [h264_qsv @ 0x2fce7c0] Encoder will work with partial HW acceleration
    [h264_qsv @ 0x2fce7c0] Error initializing the encoder: invalid video parameters (-15)
    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
    [aac @ 0x2ff0e00] Qavg: 14764.986
    [aac @ 0x2ff0e00] 2 frames left in the queue on closing
    Conversion failed!

    It seems like that something of parameter missing, I think.

    If you have an idea to solve this, let me know.

    Bests,

  • FFmpeg returning error when obs studio tries to enable NVENC

    20 octobre 2022, par Qwerty_PLM

    Apparently the error in obs is "Failed to open NVENC codec : generic error in an external library". I'm using ffmpeg nvenc encoder. the log shows the following lines.

    


    [h264_nvenc @ 0x56341a8cdf40] The selected preset is deprecated. Use p1 to p7 + -tune or fast/medium/slow.
[h264_nvenc @ 0x56341a8cdf40] OpenEncodeSessionEx failed: out of memory (10): (no details)
[h264_nvenc @ 0x56341a8cdf40] No capable devices found


    


    When I run nvidia-smi, the result is below

    


    -----------------------------------------------------------------------------+
| NVIDIA-SMI 520.56.06    Driver Version: 520.56.06    CUDA Version: 11.8     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   54C    P5    21W /  N/A |     58MiB /  8192MiB |     26%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      5595      G   /usr/lib/Xorg                      12MiB |
|    0   N/A  N/A     15882      G   obs                                44MiB |
+-----------------------------------------------------------------------------+



    


    My environment :

    


      

    • Arch linux with kernel 6.0.2
    • 


    • RTX 3070 laptop
I hope to find an solution to allow me to use nvenc encoding for recording videos.
    • 


    


    Software encoding does work, but I'm using a laptop cpu which provides poor performance.

    


    UPD : applying the patch from https://github.com/keylase/nvidia-patch worked but I want to know why it didn't work before because I've never run any process that uses nvenc, and the patch only enables multiple nvenc sessions.

    


  • Problems linking to FFMPEG library in Visual Studio 2010

    11 décembre 2013, par Dídac Pérez

    I have cross-compiled FFMPEG from Debian using the mingw32 toolchain. The result of the compilation is a set of .a files. When I try to use them in my project I get linker errors, concretely the following ones :

    1>RTSPCapture.obj : error LNK2019: unresolved external symbol _avformat_free_context referenced in function ...
    1>RTSPCapture.obj : error LNK2019: unresolved external symbol _avio_close referenced in function ...
    1>RTSPCapture.obj : error LNK2019: unresolved external symbol _avcodec_close referenced in function ...
    (and much more...)

    I have already included the header files like this :

    extern "C"
    {
       #include <libavcodec></libavcodec>avcodec.h>
       #include <libavformat></libavformat>avformat.h>
       #include <libavformat></libavformat>avio.h>
    }

    And I use the .a files like this :

    #pragma comment(lib, "libavcodec.a")
    #pragma comment(lib, "libavformat.a")
    #pragma comment(lib, "libavutil.a")

    May I know why I am still getting linker errors ? Best regards,

    EDIT : I have realized that this is not possible. So, what should I do to use FFMPEG library in my MSVC2010 project taking into account that I can't compile ffmpeg in Windows ? it seems to be REALLY difficult...