
Recherche avancée
Autres articles (77)
-
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 (...) -
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 (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (10600)
-
ffmpeg show wrong with/height of video
6 mai 2020, par boygiandiI have this video : https://media.gostream.co/uploads/gostream/9wkBeGM7lOfxT902V86hzI22Baj2/23-4-2020/videos/263a34c5a2fe61b33fe17e090893c04e-1587640618504_fs.mp4



When I play it on Google Chrome, it's vertical video. But when I check with ffmpeg



ffmpeg -i "https://media.gostream.co/uploads/gostream/9wkBeGM7lOfxT902V86hzI22Baj2/23-4-2020/videos/263a34c5a2fe61b33fe17e090893c04e-1587640618504_fs.mp4"




It show video dimensions are 1080x1080



Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'a.mp4':
 Metadata:
 major_brand : isom
 minor_version : 512
 compatible_brands: isomiso2avc1mp41
 encoder : Lavf58.35.101
 Duration: 00:00:39.51, start: 0.000000, bitrate: 1577 kb/s
 Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p, 1080x1080 [SAR 9:16 DAR 9:16], 1464 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 47.95 tbc (default)
 Metadata:
 handler_name : VideoHandler
 Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 128 kb/s (default)
 Metadata:
 handler_name : SoundHandler
At least one output file must be specified




And when I livestream this video to Facebook, it scaled vertical video into square form : https://imgur.com/a/A8dQ7j7



How can I correct video size when livestream ?


-
FFMPEG : Add timestamp to file name HLS
7 mai 2020, par Neel DuttaI want to add timestamp to my file name in the following ffmpeg command (in nginx rtmp) :



exec ffmpeg -i rtmp://localhost:1936/stream/$name 
 -c:v libx264 -b:v 2500k -g 30 -r 30 -s 1280x720 -vf "drawtext=fontfile=/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans-Bold.ttf: text=%{localtime}: fontsize=30: fontcolor=white@0.8: x=10: y=h-th-10" -preset fast -profile:v baseline -hls_list_size 0 -f hls /network_drive/$name-$date_%d-%b-%y-%H-%M-%S.m3u8
 -ss 00:00:05.000 -vframes 1 /network_drive/$name.jpg;




What i want to achieve is the an .m3u8 file, with a filename of e.g : "
stream_name-01-Apr-2020-10-46-45.m3u8
", followed by its .ts files e.g : "stream_name-01-Apr-2020-10-46-450.ts, stream_name-01-Apr-2020-10-46-451.ts, stream_name-01-Apr-2020-10-46-452.ts
", and so on.


But the above command doesnt seem to work, and results in filename "stream_name-%d-%b-%y-%H-%M-%S.m3u8".
I've tried using strftime, but had no luck.


-
MobileFFMPeg Not converting mkv to Mp4
7 mai 2020, par JleeI'm currently running the following code on my device in order to convert all mkv files in a directory to an mp4. But for some reason no files are converted. I double checked the dir name and it is correct, is there something wrong with my syntax ?



let path = self.documentsDir()
let url = URL(string: path.addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!)
 var rc = MobileFFmpeg.execute("-i jellyfish.mkv -c:v libx264 -preset -slow -crf 22 -c:a copy youroutput.mp4")
 if (rc == RETURN_CODE_SUCCESS) {
 print("Command execution completed successfully.\n");
 } 
 else if (rc == RETURN_CODE_CANCEL) {
 print("Command execution cancelled by user.\n");
 } 
 else {
 print("Command execution failed with rc=%d and output=%@.\n", rc, MobileFFmpegConfig.getLastCommandOutput);
 }




2020-05-07 13:36:02.782150-0400 WebmBrowser[8025:138754] ERROR: /Users/jlee/Library/Developer/CoreSimulator/Devices/8CD81B87-9E27-4F3C-8601-C76945FAD4D8/data/Containers/Data/Application/B7A0D956-3BAB-4203-82EE-5FDBF38B2F13/Documents/jellyfish.mkv: Invalid data found when processing input

Command execution failed with rc=%d and output=%@.