
Recherche avancée
Médias (1)
-
Video d’abeille en portrait
14 mai 2011, par
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (46)
-
Gestion générale des documents
13 mai 2011, parMé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 2013Puis-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, parCette 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 ChampeauI 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"
doneit 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 vinodI 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="'{}'">
 @if (Auth::check())
 <source src="{{ route('video.player.show', ['filename' => $video_list->unique_number.'.m3u8','type' => 'full','video_id' => $video_list->unique_number]) }}" type="application/x-mpegURL" class="full-video">
 
 @endif
</source></video>



js is :


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



-
kmsgrab : Do not require the modifier to stay constant.
14 novembre 2020, par Bas Nieuwenhuizenkmsgrab : 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>