
Recherche avancée
Autres articles (94)
-
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 ;
-
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 (17765)
-
Issue with video compression using HLS from laravel protonemedia/laravel-ffmpeg package
29 mars 2023, par Mateo KantociI'm using laravel-ffmpeg package in order to compress videos and save it as .m3u8.
In another words, I have a job that is gathering all uncompressed files and compress them 1by1 and save them to google cloud storage. Furthermore, compression is using exportForHLS from package and throws an error :


ProtoneMedia\LaravelFFMpeg\Exporters\HLSPlaylistGenerator::getStreamInfoLine(): Return value must be of type string, null returned in /var/www/html/ipaparazzo/vendor/pbmedia/laravel-ffmpeg/src/Exporters/HLSPlaylistGenerator.php:32



In some cases compression works but my job is failing for most of the time.


Anyone experienced similar issue ?


P.S. It is working as expected when using public storage.


This is my code exactly as per laravel-ffmpeg documentation :


->exportForHLS()
->setSegmentLength(10) // optional
->setKeyFrameInterval(48) // optional
->addFormat($lowBitrate, function($media) {
 $media->scale(426, 240);
})
->addFormat($midBitrate, function($media) {
 $media->scale(640, 360);
})
->addFormat($highBitrate, function($media) {
 $media->scale(640, 480);
})
->onProgress(function ($percentage) {
 echo "{$percentage}% transcoded\n";
})
->toDisk('gcs2')
->save($videoPath)
->cleanupTemporaryFiles();



-
vdpau : use the correct namespace for the union
10 juillet 2013, par Luca Barbato -
How to determine the best way to split video and merge it back ?
6 novembre 2018, par Rami AlzebakLet’s say that I want to convert a Video to different resolution.
The workflow is as follows :
1- Splitting the video into n blocks
2- Convert the resolution of the block
3- Merge the blocksThe reason why I am doing is to achieve the conversion process on parallel workers (not necessarily threads )
The issue is I can’t determine what is the best number of blocks to split the video.
E.g : When splitting a large video into 10 blocks it will reduce the total time .
but when splitting a small one it may increase the total time .any hints or keys on the topic ?