Recherche avancée

Médias (1)

Mot : - Tags -/iphone

Autres articles (46)

  • Gestion générale des documents

    13 mai 2011, par

    MédiaSPIP ne modifie jamais le document original mis en ligne.
    Pour chaque document mis en ligne il effectue deux opérations successives : la création d’une version supplémentaire qui peut être facilement consultée en ligne tout en laissant l’original téléchargeable dans le cas où le document original ne peut être lu dans un navigateur Internet ; la récupération des métadonnées du document original pour illustrer textuellement le fichier ;
    Les tableaux ci-dessous expliquent ce que peut faire MédiaSPIP (...)

  • Publier sur MédiaSpip

    13 juin 2013

    Puis-je poster des contenus à partir d’une tablette Ipad ?
    Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir

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

  • Running FFMPEG from Shell Script /bin/sh

    19 octobre 2015, par Chris James Champeau

    I am trying to setup a Shell Script to work within an automator watch folder...

    Everything works with the exception of the Run Shell Scrip portion...

    Essentially when a file shows up in the watch folder, it runs the shell scrip which calls FFMPEG and then will move the file to an archive folder for safe keeping. However right now automator is telling me everything worked but now file is being created.

    I have the Shell set to /bin/sh and Pass input set to as arguments

    Here is my script :

    for f in "$@"
    do
    name=$(basename "$f")
    dir=$(dirname "$f")
    ffmpeg -i "$f" -b 250k -strict experimental -deinterlace -vcodec h264 -acodec aac "$dir/mp4/${name%.*}.mp4"
    echo "$dir/mp4/${name%.*}.mp4"
    done

    it does echo the correct filename, but does not actually run ffmpeg

    I have tried adding -exec before it like I have seen in some scripts but still nothing...

  • addEventListener with encrypted video-js is not working

    26 février 2024, par vinod

    I have a video uploading project in laravel. Everything is good. I have encrypted videos using "FFMPEG" packge and wanted to play on video-js player. Also wanted to show google-adsense there.

    


    The error is giving to me :

    


    IDEOJS : ERROR : videojs-contrib-ads has not seen a loadstart event 5 seconds after being initialized, but a source is present. This indicates that videojs-contrib-ads was initialized too late. It must be initialized immediately after video.js in the same tick. As a result, some ads will not play and some media events will be incorrect. For more information, see http://videojs.github.io/videojs-contrib-ads/integrator/getting-started.html

    


    and "addEventListener" is also not working except "document.addEventListener('DOMContentLoaded', function() ".

    


    I think problem is due to data-setup='{}' add into video tag. because previously, I was playing the video without encryption like the original video with full path and there was not added the data-setup='{}'. Everything was working. But after playing the encrypted video. I got the errors.

    


    Thank in advance !

    


    my view is :

    


    <video class="img-fluid myVideo video-js vjs-default-skin" preload="none" controls="controls" data-video-id="{{ Crypt::encrypt($video_list->id) }}" data-setup="&#x27;{}&#x27;">&#xA;        @if (Auth::check())&#xA;            <source src="{{ route(&#x27;video.player.show&#x27;, [&#x27;filename&#x27; => $video_list->unique_number.&#x27;.m3u8&#x27;,&#x27;type&#x27; => &#x27;full&#x27;,&#x27;video_id&#x27; => $video_list->unique_number]) }}" type="application/x-mpegURL" class="full-video">&#xA;           &#xA;        @endif&#xA;</source></video>&#xA;

    &#xA;

    js is :

    &#xA;

    <code class="echappe-js">&lt;script&gt;&amp;#xA;        document.addEventListener(&amp;#x27;DOMContentLoaded&amp;#x27;, function() {&amp;#xA;            console.log(&amp;#x27;afterload&amp;#x27;);&amp;#xA;            const videos = document.querySelectorAll(&amp;#x27;.myVideo&amp;#x27;);&amp;#xA;            let playing = [];&amp;#xA;&amp;#xA;            videos.forEach((video, index) =&gt; {&amp;#xA;                console.log(&amp;#x27;video&amp;#x27;);&amp;#xA;                console.log(video.id);&amp;#xA;                const overlay = document.querySelectorAll(&amp;#x27;.overlay&amp;#x27;)[index];&amp;#xA;                const paymentoverlay = document.querySelectorAll(&amp;#x27;.paymentoverlay&amp;#x27;)[index];&amp;#xA;&amp;#xA;                // Create a single player instance for each video&amp;#xA;                const player = videojs(video.id);&amp;#xA;&amp;#xA;                var options = {&amp;#xA;                    id: &amp;#x27;content_video&amp;#x27;, // Use the correct ID for each video element&amp;#xA;                    adTagUrl: &amp;#x27;http://pubads.g.doubleclick.net/gampad/ads?sz=640x480&amp;amp;iu=/124319096/external/ad_rule_samples&amp;amp;ciu_szs=300x250&amp;amp;ad_rule=1&amp;amp;impl=s&amp;amp;gdfp_req=1&amp;amp;env=vp&amp;amp;output=xml_vmap1&amp;amp;unviewed_position_start=1&amp;amp;cust_params=sample_ar%3Dpremidpostpod%26deployment%3Dgmf-js&amp;amp;cmsid=496&amp;amp;vid=short_onecue&amp;amp;correlator=&amp;#x27;&amp;#xA;                };&amp;#xA;&amp;#xA;                player.ima(options);&amp;#xA;&amp;#xA;                video.addEventListener(&amp;#x27;ended&amp;#x27;, function() {&amp;#xA;                console.log(&amp;#x27;111&amp;#x27;);&amp;#xA;                    // Handle video conditions after it finishes&amp;#xA;                    handleVideoConditions(video, overlay, paymentoverlay);&amp;#xA;                });&amp;#xA;&amp;#xA;                video.onplay = function() {&amp;#xA;                    playing.push(video);&amp;#xA;                    if (!video.paused) {&amp;#xA;                        video.controls = true;&amp;#xA;                        // Trigger an AJAX request to register the view&amp;#xA;                        registerView(video);&amp;#xA;                    }&amp;#xA;                };&amp;#xA;            });&amp;#xA;&amp;#xA;            function handleVideoConditions(video, overlay, paymentoverlay) {&amp;#xA;                console.log(&amp;#x27;222&amp;#x27;);&amp;#xA;                const isShortVideo = video.querySelector(&amp;#x27;.short-video&amp;#x27;);&amp;#xA;                const isFullVideo = video.querySelector(&amp;#x27;.full-video&amp;#x27;);&amp;#xA;                if (!isUserLoggedIn &amp;amp;&amp;amp; isShortVideo) {&amp;#xA;                    overlay.style.display = &amp;#x27;block&amp;#x27;;&amp;#xA;                } else if (isUserLoggedIn &amp;amp;&amp;amp; isShortVideo) {&amp;#xA;                    paymentoverlay.style.display = &amp;#x27;block&amp;#x27;;&amp;#xA;                }&amp;#xA;            }&amp;#xA;&amp;#xA;            async function registerView(video) {&amp;#xA;                const videoId = video.getAttribute(&amp;#x27;data-video-id&amp;#x27;);&amp;#xA;                const response = await fetch(`{{ route(&amp;#x27;video.registerView&amp;#x27;, [&amp;#x27;videoId&amp;#x27; =&gt; &amp;#x27;:videoId&amp;#x27;]) }}`&amp;#xA;                    .replace(&amp;#x27;:videoId&amp;#x27;, videoId));&amp;#xA;                const data = await response.json();&amp;#xA;                $(&amp;#x27;#videoview&amp;#x27; &amp;#x2B; data.id).html(data.view_count);&amp;#xA;            }&amp;#xA;&amp;#xA;        });&amp;#xA;    &lt;/script&gt;&#xA;

    &#xA;

  • kmsgrab : Do not require the modifier to stay constant.

    14 novembre 2020, par Bas Nieuwenhuizen
    kmsgrab : Do not require the modifier to stay constant.
    

    As we get a new set of objects each frame anyway, we
    do not gain anything by keeping the modifier constant.

    This helps with capturing when switching your setup a
    bit, e.g. from ingame to desktop or from X11 to wayland.

    Signed-off-by : Mark Thompson <sw@jkqxz.net>

    • [DH] libavdevice/kmsgrab.c