
Recherche avancée
Médias (1)
-
Collections - Formulaire de création rapide
19 février 2013, par
Mis à jour : Février 2013
Langue : français
Type : Image
Autres articles (105)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
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 (...) -
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
Sur d’autres sites (10377)
-
How to add dynamic captions with animations on a video in a cross-platform Android & iOS app and export it as a final video ? [closed]
29 avril, par Danial QskI'm building a cross-platform mobile app using Flutter (or React Native) where users can :


Add dynamic text captions with animations over a video, similar to TikTok


See these changes in real-time during video playback


Export the video with the animated captions burned into the output (e.g., MP4)


What I’ve implemented so far :


Video playback using video_player in Flutter (or react-native-video).


Captions are rendered using Canvas/UI layer during playback.


Problem : While I can overlay animated text in the UI, I can't figure out how to include these in the exported video. I’m considering using FFmpeg to burn in the captions, but I’m unclear how to integrate it with the animated UI overlays or render them into a final video on both Android and iOS.


What I want to achieve :


Efficient way to render animated text overlays onto a video and export it as a final video file on both Android and iOS.


Maintain good performance for real-time playback and smooth export.


What approaches or processing pipelines could achieve this ?
(For example, rendering the UI layer to an offscreen video, integrating with FFmpeg, or using native rendering techniques.)


-
FFMPEG remove codec x264 to final films
23 septembre 2017, par HenrykVIIII am processing my movie in ffmpeg (file merging, stabilization). The resulting metadata file gets an x264 codec. What prevents it from being reprocessed ?
I decided to remove the codec using the Internet.
script :ffmpeg -i input.mp4 -c copy -map 0 -metadata creation_time="2017-09-18 13:30:04" output.mp4
ffmpeg -i output.mp4 -vcodec copy -acodec copy -vbsf h264_changesps=removesei -map_metadata -1 out.mp4
pauseUnfortunately it does not work :
Unknown bitstream filter h264_changesps
What am I doing wrong ?
-
PHP Foreach query only displays final result for slideshow ?
22 janvier 2023, par ShaneRibzUsing a query I pull the most liked video's on a localhosted stream webpage, and use FFMPEG to create a thumbnail if one isnt already existing and the video length.


The query succesfully pulls the 4 most liked video's and displays them in a carousel. FFMPEG succesfully creates each thumbnail, and gets the length of each video.


Somewhere, for whatever reason I cant figure out, only the final slide in the carousel displays the thumbnail as its background.


Sorry if my code is messy, I'm learning how to better optimize.


<?php
 $sql = "use info";
 $pdo->exec($sql);
 $stmt = $pdo->query("SELECT * FROM `files` ORDER BY `like` DESC LIMIT 4");
 $filelist = $stmt->fetchAll(PDO::FETCH_ASSOC);
 $h = 0;
 foreach ($filelist as $row) {
 if ($h < 25){
 $h++;
 
 $name = $row['name'];
 $location = $row['location'];
 $type = $row['type'];
 $uploadby = $row['uploadby'];
 $like = $row['like'];
 $id = $row['fileid'];
 $cat1 = $row['Cat1'];
 $cat2 = $row['Cat2'];
 
 $ffmpeg = 'F:\\xampp\ffmpeg.exe'; 
 $location = str_replace("/","\\", $location);
 $video = 'F:\xampp\htdocs\\'. $location; 
 $bigloc = "F:\\xampp\htdocs\\thumb\big";
 $smallloc = "F:\\xampp\htdocs\\thumb\small";
 $image = $bigloc . "\\" . $name . ".jpg"; 
 $image2 = $smallloc . "\\" . $name. ".jpg"; 
 
 if (file_exists($image) and (file_exists($image2))) {
 
 } else {
 echo $image . " does not exist";
 $cmd="$ffmpeg -ss 00:25:00 -i ". "\"" . $video . "\"". " -s 1920x540 -vframes 1 ". "\"" .$image. "\"" . " -report"; 
 $cmd2="$ffmpeg -ss 00:25:00 -i ". "\"" . $video . "\""." -s 270x370 -vframes 1 ". "\"" .$image2. "\"";
 echo "<br />". $cmd . "<br />".$cmd2."<br />";
 exec($cmd);
 exec($cmd2);
 }
 
 $file = "\"". $video. "\"";
 $result = shell_exec('ffmpeg -i ' . escapeshellcmd($file) . ' 2>&1');
 preg_match('/(?<=Duration: )(\d{2}:\d{2}:\d{2})\.\d{2}/', $result, $match);
 $time = $match[1];
 $image = "thumb/big/" . $name . ".jpg"; 
 $image2 = "thumb/small/" . $name. ".jpg";

 ?>

 <div class="single-hero-slider-wrap single-animation-wrap slider-height-hm4 bg-image-hm4 slider-bg-color-black d-flex align-items-center slider-bg-position-1 bg-black" style="&lt;?php echo &#x27;background-image:url(&#x27;. $image.&#x27;);&#x27;;?>">
 <div class="slider-content-hm4 slider-animated">
 <h1 class="title animated"><?php echo $name;?></h1>
 <div class="sub-title-time-wrap">
 <span class="sub-title animated"><?php if ($cat2 != ""){ echo $cat1 .", ". $cat2; }else{ echo $cat1;}?></span>
 <span class="time animated"><?php echo $time;?></span>
 </div>
 <div class="slider-button">
 <a href="http://stackoverflow.com/feeds/tag/movie-details.html" class="btn-style-hm4 animated">Watch Now</a>
 </div>
 </div>
 </div>

 <?php 
 }
 } 
 ?>



When inspecting the source code on my web browser ;
"
style="<?php echo 'background-image:url('. $image.');';?>"
", this will only appear on the final slide. The first 3 slides wont have "background-image" at all.

I feel as though I'm making a silly mistake and just cant see it.


EDIT
I should note, the "$name" and "$time" for each displays properly, its just the background-image that does not.


EDIT 2
Here is the source code :


<div class="single-hero-slider-wrap single-animation-wrap slider-height-hm4 bg-image-hm4 slider-bg-color-black d-flex align-items-center slider-bg-position-1 bg-black" style="background-image: url(&#x27;thumb/big/Alita Battle Angel.png&#x27;);">
</div>


The "background-image" shows in source, but during inspect element it does not. No errors populate either.