
Recherche avancée
Autres articles (102)
-
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
Emballe médias : à quoi cela sert ?
4 février 2011, parCe plugin vise à gérer des sites de mise en ligne de documents de tous types.
Il crée des "médias", à savoir : un "média" est un article au sens SPIP créé automatiquement lors du téléversement d’un document qu’il soit audio, vidéo, image ou textuel ; un seul document ne peut être lié à un article dit "média" ;
Sur d’autres sites (13715)
-
FFmpeg how to get the first drawtext's x,y value to the second drawtext, and change the fontsize every frame, how to create a var ?
22 octobre 2019, par FFmpeg2019I have a
ffmpeg
code :ffmpeg -i input.mp4 -vf drawtext=text=hello:fontsize=18:x=rand(0,640):y=rand(0,480),drawtext=world:fontsize=fontsize+0.1:x=16+?:y=? output.mp4
And have three questions :
- How to let the "fontsize+0.1" work ?
- The two " ?" how to get the first
drawtext
’s x,y values ? let the two strings become one string like this :hello world
. - how to create a var ?
-
How can we reduce the size of audio file after uploading ?
8 novembre 2019, par Arjun PujariI have used this command in the terminal to install the package :
composer require pbmedia/laravel-ffmpeg
. The package is successfully downloaded, but I don’t know how to use it. I don’t even know if this package can also reduce the audio file size or not.Anyone know any other library or package ?
<form action="{{route('upload')}}" method="post" enctype="multipart/form-data">
Select Audio to upload:
<input type="file" />
<input type="submit" value="upload MP3" />
</form>
<?phpHere is my controller. Write basic code for save file :
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use Pbmedia\LaravelFFMpeg\FFMpeg;
class FileCompress extends Controller
{
public function compressFile(Request $request)
{
$uploadFileName = mt_rand().time(). '.' . $file->getClientOriginalExtension();
$filetype = substr($file->getClientMimeType(), 0, strpos($file->getClientMimeType(), "/"));
if($filetype == 'video'){
$localpath = public_path().'/videos/'.$uploadFileName;
//code for video file compress.
}else{
//code for audio file compress.
}
}
}But I need to reduce the audio file size when a file is uploaded or reduce the file size immediately after the file upload. How can i do that ?
-
doc/decoders,decoders : add various missing final dots
21 juin 2013, par Stefano Sabatini