
Recherche avancée
Médias (1)
-
Rennes Emotion Map 2010-11
19 octobre 2011, par
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (67)
-
Les images
15 mai 2013 -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
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
Sur d’autres sites (7936)
-
Laravel php timelapse an UploadedFile video element, without saving it as a file
24 août 2022, par The Blind HawkI want to be able to change the frame rate of a video from 0.05fps to 3fps.

I receive the video as anIlluminate\Http\UploadedFile
element, with mp4 format, how do I speed up its frame rate before sending it via email ?

The video is 25 minutes long, it should become 25 seconds long after changing the frame rate.

Is there a way to change the fps without saving the element as a File ?

I was planning to use the ffmpeg repository here but it requires me to save both the initial file, and the second file after changing the fps.
This is my code :


<?php

namespace Server\Mail;

use Carbon\Carbon;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Http\UploadedFile;

class TimeLapse extends Mailable
{
 use Queueable, SerializesModels;

 public UploadedFile $video;

 public bool $is_timelapsed;

 public string $format;

 /**
 * Create a new message instance.
 */
 public function __construct(
 UploadedFile $video, 
 bool $is_timelapsed, 
 string $format
 ){
 $this->video = $video;
 $this->is_timelapsed = $is_timelapsed;
 $this->format = $format;
 }

 private function timelapse(){
 // here I want to change $video element's fps from 0.05 to 3
 }

 /**
 * Build the message.
 *
 * @return $this
 */
 public function build()
 {
 if ( !$is_timelapsed ) { timelapse(); }

 $this->subject('message')
 ->text('emails.timelapse');

 $this->attach($this->video, [
 'as' => 'sample'.$format,
 'mime' => 'video/'.$format,
 ]);

 return $this;
 }
}



-
Create Seamless Video and Crop Video in one command
27 avril 2019, par Zeeshan SheikhI have a ffmpeg command that convert a video for seamless loop. But now i want to crop Video as well in same command.
is there any solution to do crop video 720x720 in same command—Seamless Commmand—
ffmpeg -i video.mp4 -filter_complex [0:v]split[body][pre] ;[pre]trim=duration=1,format=yuva420p,fade=d=1:alpha=1,setpts=PTS+(28/TB)[jt] ;[body]trim=1,setpts=PTS-STARTPTS[main] ;[main][jt]overlay -c:v libx264 -strict experimental out.mp4
-
ffmpeg, download video stream from url
5 juillet 2021, par samiullahI am developing application to save any online webinar(video or audio) given the url using ffmpeg library. Url usually contain other contents like text, images as well. So i have problem, how to separately get video stream from url using ffmpeg(or some other better free library). Url may be for any site, not only for youtube, but as an example, link may be like


http://www.youtube.com/watch?v=wnrJJYm7qIw