
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (111)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (14220)
-
FFmpeg Overlay Filter Changes Source FPS
24 juin 2021, par user4134414I want to overlay a video on top of another slow-motion video.
Surprisingly, the overlay becomes also slow-motion.


I'm applying the following command :


ffmpeg
 -to 00:00:01.000 -i camera1.mp4 // original video
 -ss 00:00:02.000 -to 00:00:09.000 -i confeti.mov // overlay video
 -filter_complex '[0]setpts=3.333*PTS[s0]; [s0][1]overlay' // change FPS of original video and overlay
 -r 24 out.mp4



The output can be seen here : out.mp4


As you can see, the "confetti" overlay is slow while the original video is playing and go back to normal speed once the original video ends.


Any idea why it happens and how can it be fixed ?


-
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 ?
-
Multiple running with executable built with pyinstaller
2 avril 2020, par seokrae.kimI build my main.py to exe by pyinstaller like this.



pyinstaller main.py --add-binary C:\sources\untitled\venv\Lib\site-packages\cv2\opencv_videoio_ffmpeg420_64.dll;.




It is simple RTSP receiver program so it need opencv_ffmpeg binary to run.
Running command like this



main.exe -address rtsp://127.0.0.1/profile1/media.smp




It works I expected.
But when the process running in multiple, (I mean more than 2 same process running)
all process not responding and shutting down.



I try clone whole result (dist folder content) to another folder
and run process another path but result is same. like this.



D:\main1\main.exe -address rtsp://127.0.0.1/profile1/media.smp
D:\main2\main.exe -address rtsp://127.0.0.2/profile1/media.smp