Recherche avancée

Médias (1)

Mot : - Tags -/artwork

Autres articles (44)

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

  • Ajouter des informations spécifiques aux utilisateurs et autres modifications de comportement liées aux auteurs

    12 avril 2011, par

    La manière la plus simple d’ajouter des informations aux auteurs est d’installer le plugin Inscription3. Il permet également de modifier certains comportements liés aux utilisateurs (référez-vous à sa documentation pour plus d’informations).
    Il est également possible d’ajouter des champs aux auteurs en installant les plugins champs extras 2 et Interface pour champs extras.

  • Use, discuss, criticize

    13 avril 2011, par

    Talk to people directly involved in MediaSPIP’s development, or to people around you who could use MediaSPIP to share, enhance or develop their creative projects.
    The bigger the community, the more MediaSPIP’s potential will be explored and the faster the software will evolve.
    A discussion list is available for all exchanges between users.

Sur d’autres sites (6157)

  • Web script can't find installed package/software (CentOS)

    14 janvier 2017, par Ryan Butterworth

    I’m pretty new to using SSH and such to install software. I’m trying to use https://github.com/eyecatchup/php-yt_downloader on my site (http://voddr.com/yt/index.php?id=yrreBFLghMc) but as you can see, it comes back with the error "You must have Ffmpeg installed in order to use this function."

    I have installed ffmpeg, using Nux Desktop (see the guide I followed here : https://www.vultr.com/docs/how-to-install-ffmpeg-on-centos)

    When typing "ffmpeg" into SSH it comes back with this, which must mean it is installed :

    command: ffmpeg

    Also, I tried the command "which ffmpeg", which returned the path of ffmpeg : "/usr/bin/ffmpeg"

    php-yt_downloader uses which ffmpeg to detect whether it is installed, and if not, it returns the error "You must have Ffmpeg installed in order to use this function." - but if I’m able to use it fine from my SSH window, why can’t the script detect it ?

    All I’m wondering, is there something else I must do when installing software to allow a domain to use it (like install the software in the domain’s path ?), or is this entirely a problem with the php-yt_downloader resource ? I’m using CentOS 7 and Plesk web panel.

  • Tainted canvas may not be exported. When trying to send it via ajax to php file

    6 décembre 2015, par romikette F

    I am trying to capture an image from a local video so I can make a thumb out of it. I am trying to avoid using video conversions (like ffmpeg) to save server resources and keep my videos in theyr original format.
    I’we been reading about tainted canvases and I understand I am trying to breach the browsers security protocols. But this article https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#What_is_a_tainted_canvas said that I could pull an image if it were from a different source (something something).
    So far I have this :

    <video src="http://www.w3schools.com/html/mov_bbb.mp4" type="video/mp4" controls="controls"></video><br />
    <button>Capture</button> <br /><br />
    <div></div>
    <canvas></canvas> <br /><br />

    and :

    function capture(){
    var canvas = document.getElementById('mYcanvas');
    var video = document.getElementById('video');
    canvas.getContext('2d').drawImage(video, 0, 0, video.videoWidth, video.videoHeight);

    function getBase64() {
    var img = document.getElementById("mYcanvas");
    var canvas = document.createElement("canvas");
    canvas.width = img.width;
    canvas.height = img.width;
    var ctx = canvas.getContext("2d");
    ctx.drawImage(img, 0, 0);
    var dataURL = canvas.toDataURL("image/png");
    alert(dataURL.replace(/^data:image\/(png|jpg);base64,/, ""));

    $.ajax({
       url: 'submit_image.php',
       type: 'POST',
       data: {
           imgdata: dataURL
       },
       success: function (res) {
               document.getElementById("response").innerHTML = res;
           }
    });
    }
    getBase64();

    }

    Never mind the php. It dose not receive anything.

  • FFMPEG, MPV, SVP 4 Pro : not converting as original resolution problem, yuv420p10 -> p010 [closed]

    12 août 2023, par LeeShey

    I am using SVP4 Pro(Frame rate conversion).&#xA;The SVP 4 Pro setting :&#xA;RIFE AI engine setting&#xA;encoder commands&#xA;Transcoding 4K(3840x2160) video exports 3840x2144 resolution.&#xA;I think converting yuv420p10 -> p010 causes video height loss.

    &#xA;

    I did transcoding FHD video(just for test), but it worked lossless.&#xA;Problems to 4K, but not FHD ??

    &#xA;

    Here's the log :

    &#xA;

    19:36:05.942: ===== Starting mpv ======&#xA;19:36:05.942: Command line: C:\Program Files (x86)\SVP 4\mpv64\mpv.exe D:/Candy/prob3.mov --o=D:/Candy/prob3.SVP.VO.mov --no-audio --no-sub --no-sub-auto --input-ipc-server=mpvencodepipe --input-media-keys=no --no-msg-color --vf=lavfi=[yadif=send_frame],vapoursynth:[C:\Users\????\AppData\Roaming\SVP4\scripts\ffff.py]:4:16 --ovc=hevc_nvenc --ovcopts=preset=lossless,time_base=1000/120000,threads=16&#xA;19:36:05.982: (&#x2B;) Video --vid=1 (*) (prores 3840x2160 60.000fps)&#xA;19:36:05.982: Audio --aid=1 --alang=eng (*) (pcm_s16le 2ch 48000Hz)&#xA;19:36:06.277: vstrt: TensorRT version mismatch, built with 2135 but loaded with 2136; continue but fingers crossed...&#xA;19:36:06.856: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars&#xA;19:36:06.930: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars&#xA;19:36:07.005: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars&#xA;19:36:07.079: CUDA lazy loading is not enabled. Enabling it can significantly reduce device memory usage. See `CUDA_MODULE_LOADING` in https://docs.nvidia.com/cuda/cuda-c-programming-guide/index.html#env-vars&#xA;19:36:09.683: [autoconvert] Converting yuv420p10 -> p010&#xA;19:36:09.693: VO: [lavc] 3840x2144 p010&#xA;19:36:09.693: [vo/lavc] Opening encoder: NVIDIA NVENC hevc encoder [hevc_nvenc]&#xA;19:36:09.695: [ffmpeg] hevc_nvenc: The selected preset is deprecated. Use p1 to p7 &#x2B; -tune or fast/medium/slow.&#xA;19:36:10.130: [encode] Opening output file: D:/Candy/prob3.movprob3.SVP.VO.mov&#xA;19:36:10.131: [encode] Opening muxer: QuickTime / MOV [mov]&#xA;19:36:10.131: [ffmpeg] mov: WARNING codec timebase is very high. If duration is too long,&#xA;19:36:10.131: [ffmpeg] file may not be playable by quicktime. Specify a shorter timebase&#xA;19:36:10.131: [ffmpeg] or choose different container.&#xA;19:36:10.136: [autoconvert] Converting yuv420p10 -> p010&#xA;19:36:10.145: V: 00:00:00 / 00:00:15 (0%) {0.0min 0.0MB}&#xA;19:36:11.087: -- PAUSED --&#xA;&#xA;

    &#xA;