Recherche avancée

Médias (1)

Mot : - Tags -/remix

Autres articles (47)

  • Ajouter notes et légendes aux images

    7 février 2011, par

    Pour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
    Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
    Modification lors de l’ajout d’un média
    Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...)

  • Support de tous types de médias

    10 avril 2011

    Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)

  • Des sites réalisés avec MediaSPIP

    2 mai 2011, par

    Cette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
    Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page.

Sur d’autres sites (7279)

  • nvenc encoder performed resolution 2560 * 1440 encoding yuv444 failed ?

    8 novembre 2022, par Travis990

    NVIDIA Gefore GTX 1660Ti graphics card, I use video-sdk-samples for HEVC encoding, YUV format : NV_ENC_BUFFER_FORMAT_YUV444, resolution “1920 * 1080” and “3840 * 2160” resolution encoding is successful, but resolution 2560*1440 encoding, prompting error info :NV_ENC_ERR_INVALID_PARAM, I do not know where the problem lies ?

    


    void NvEncoder::DoEncode(NV_ENC_INPUT_PTR inputBuffer, std::vector<bool> &amp;vKeyFrame, std::vector> &amp;vPacket, NV_ENC_PIC_PARAMS *pPicParams)&#xA;{&#xA;    NV_ENC_PIC_PARAMS picParams = {};&#xA;    if (pPicParams)&#xA;    {&#xA;        picParams = *pPicParams;&#xA;    }&#xA;    picParams.version = NV_ENC_PIC_PARAMS_VER;&#xA;    picParams.pictureStruct = NV_ENC_PIC_STRUCT_FRAME;&#xA;    picParams.inputBuffer = inputBuffer;&#xA;    picParams.bufferFmt = GetPixelFormat();&#xA;    picParams.inputWidth = GetEncodeWidth();&#xA;    picParams.inputHeight = GetEncodeHeight();&#xA;    picParams.outputBitstream = m_vBitstreamOutputBuffer[m_iToSend % m_nEncoderBuffer];&#xA;    picParams.completionEvent = m_vpCompletionEvent[m_iToSend % m_nEncoderBuffer];&#xA;    NVENCSTATUS nvStatus = m_nvenc.nvEncEncodePicture(m_hEncoder, &amp;picParams);&#xA;    if (nvStatus == NV_ENC_SUCCESS || nvStatus == NV_ENC_ERR_NEED_MORE_INPUT)&#xA;    {&#xA;        m_iToSend&#x2B;&#x2B;;&#xA;        GetEncodedPacket(m_vBitstreamOutputBuffer, vKeyFrame, vPacket, false);&#xA;    }&#xA;    else&#xA;    {&#xA;        printf("picParams.inputWidth = %d,picParams.inputHeight = %d \n", picParams.inputWidth, picParams.inputHeight);&#xA;        NVENC_THROW_ERROR("nvEncEncodePicture API failed", nvStatus);&#xA;    }&#xA;}&#xA;&#xA;error:&#xA;nvEncEncodePicture Prompt Error:NV_ENC_ERR_INVALID_PARAM &#xA;&#xA;</bool>

    &#xA;

    `

    &#xA;

  • FFmpeg script for linux and windows batch video encode different settings depending on video resolution [closed]

    28 décembre 2022, par Jaroslav Havel

    I'm looking for advice, help. I would like to convert all home videos to H265 using ffmpeg. Videos are in different formats and resolutions (3GP, mov, avi, mpg, mp4). I have an idea of which setting to set for which resolution, but I don't know how to write it all into a script (windows and linux). For these resolutions

    &#xA;

    CRF 18-22 for &lt;= 576p use 20&#xA;CRF 19-23 for > 576 and &lt;= 720p use 21&#xA;CRF 20-24 for >720 and &lt;= 1080p use 22&#xA;CRF 22-28 for >= 2160p 4K use 25&#xA;

    &#xA;

    For windows i have

    &#xA;

    @ECHO OFF&#xA;&#xA;FOR %%F IN ("*.*") DO (&#xA;     ffmpeg -i %%F -c:v libx265 -crf 20 -preset faster -profile:v main -pix_fmt yuv420p -acodec libmp3lame -b:a 192k %%~nF_new.mkv&#xA;)&#xA;

    &#xA;

    Big thanks for the help

    &#xA;

  • How to stich images into a video with resolution larger then 4K using FFMPEG ?

    14 janvier 2023, par Aviram Fireberger

    I have a folder with images that I've extracted from one video.&#xA;The resolution for each image is 5760 X 2880.&#xA;All images are in the following format :&#xA;out-1.jpg, out-2.jpg , out-3.jpg ..... out-1000.jpg

    &#xA;

    I tried couple of different ways to stich them :

    &#xA;

    Using CPU - libx264

    &#xA;

    ffmpeg -r 30 -f image2 -s 5760X2880 -start_number 1 -i "AllFrames/out-%d.jpg" -vframes 119 -vcodec libx264 -crf 25  -pix_fmt yuv420p "/AllVideoChunks/Chunk_1.mp4"&#xA;

    &#xA;

    Worked well but the speed is about X0.05 only.

    &#xA;

    Using GPU - h264_nvenc

    &#xA;

    ffmpeg -r 30 -f image2 -s 4000X2000 -start_number 1 -i "AllFrames/out-%d.jpg" -vframes 119 -vcodec h264_nvenc -gpu  0 -preset slow -b:v 75M  -pix_fmt yuv420p"/AllVideoChunks/Chunk_1.mp4"&#xA;

    &#xA;

    Working very fast and high quality, but the problem is that I can't use it for images and output bigger then width 4096

    &#xA;

    Using GPU - hevc_nvenc

    &#xA;

    ffmpeg -r 30 -f image2 -s 5760X2880 -start_number 1 -i "AllFrames/out-%d.jpg" -vframes 119 -vcodec hevc_nvenc -gpu  0 -preset slow -b:v 75M  -pix_fmt yuv420p"/AllVideoChunks/Chunk_1.mp4"&#xA;

    &#xA;

    Working X10 more then the CPU at the speed of X0.5, good quality, but the problem is that I can't use it in normal players (can't play it in Unity)

    &#xA;

    Is there another video codec that can work on GPU that support more then 4K resolution ?&#xA;Can I transform the 'hevc_nvenc ' output to 'h264' on GPU in higher resolution ? should I do this transformation on CPU ?

    &#xA;