Recherche avancée

Médias (91)

Autres articles (73)

  • Qu’est ce qu’un masque de formulaire

    13 juin 2013, par

    Un masque de formulaire consiste en la personnalisation du formulaire de mise en ligne des médias, rubriques, actualités, éditoriaux et liens vers des sites.
    Chaque formulaire de publication d’objet peut donc être personnalisé.
    Pour accéder à la personnalisation des champs de formulaires, il est nécessaire d’aller dans l’administration de votre MediaSPIP puis de sélectionner "Configuration des masques de formulaires".
    Sélectionnez ensuite le formulaire à modifier en cliquant sur sont type d’objet. (...)

  • MediaSPIP v0.2

    21 juin 2013, par

    MediaSPIP 0.2 is the first MediaSPIP stable release.
    Its official release date is June 21, 2013 and is announced here.
    The zip file provided here only contains the sources of MediaSPIP in its standalone version.
    To get a working installation, you must manually install all-software dependencies on the server.
    If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)

  • HTML5 audio and video support

    13 avril 2011, par

    MediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
    The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
    For older browsers the Flowplayer flash fallback is used.
    MediaSPIP allows for media playback on major mobile platforms with the above (...)

Sur d’autres sites (5763)

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

  • change video resolution to specific resolution using ffmpeg in python

    2 novembre 2022, par david

    I am trying the change the resolution of some videos. The original video resolution is 1920x1080. first, I have to change the resolution to 640X480. for this I used the following code :

    &#xA;

    subprocess.call([&#x27;ffmpeg.exe&#x27;, &#x27;-y&#x27;, &#x27;-i&#x27;, pname1, &#x27;-vf&#x27;, &#x27;scale=-1:480,setsar=1:1&#x27;, &#x27;-c:v&#x27;,&#x27;libx264&#x27;, &#x27;-c:a&#x27;, &#x27;copy&#x27;, pname2])&#xA;

    &#xA;

    when I used this code it produces a file that I cannot open and when I try to open it in cmd it said : "Invalid data found when processing input".&#xA;I changed the code to this to have 640X480 :

    &#xA;

    subprocess.call([&#x27;ffmpeg.exe&#x27;, &#x27;-y&#x27;, &#x27;-i&#x27;, pname1, &#x27;-vf&#x27;, &#x27;scale=640:-2,setsar=1:1&#x27;, &#x27;-c:v&#x27;,&#x27;libx264&#x27;, &#x27;-c:a&#x27;, &#x27;copy&#x27;, pname2])&#xA;

    &#xA;

    but the output is 640X360, what is the problem and how can I change the resolution from 1920x1080 to 640x480 ?&#xA;after that I have to change the resolution of videos to their original resolution (1920x1080) again.

    &#xA;

  • change resolution of video using ffmpeg

    28 octobre 2022, par david

    I have a folder that contains videos with a resolution of 1080 and different bitrates. I am trying to change their resolution to 480 and using the following code :

    &#xA;

    subprocess.call([&#x27;ffmpeg.exe&#x27;,&#x27;-i&#x27;, pname1,&#x27;-vf&#x27;, &#x27;scale=-1:480,setsar=1:1&#x27;,&#x27;-c:v&#x27;,&#x27;libx264&#x27;,&#x27;-pix_fmt&#x27; ,&#x27;yuv420p&#x27;,&#x27;-b:v&#x27;, str(cnt)&#x2B;&#x27;K&#x27;, &#x27;-bufsize&#x27;, str(cnt)&#x2B;&#x27;K&#x27; ,&#x27;-minrate&#x27;, str(cnt)&#x2B;&#x27;K&#x27;,&#x27;-maxrate&#x27;, str(cnt)&#x2B;&#x27;K&#x27;, &#x27;-x264opts&#x27;,&#x27;keyint=60:min-keyint=60&#x27;,&#x27;-preset&#x27;, &#x27;veryfast&#x27;, &#x27;-profile:v&#x27;, &#x27;high&#x27;, &#x27;-f&#x27;, &#x27;hls&#x27;, &#x27;-hls_time&#x27;, &#x27;2&#x27;, &#x27;-hls_list_size&#x27;,&#x27;0&#x27;, pname2])&#xA;

    &#xA;

    but it produces noting in the related filename (pname2). it also shows no error.&#xA;what is the problem and how can I change the resolution to 480 ?

    &#xA;