
Recherche avancée
Autres articles (88)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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 ;
-
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (10055)
-
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=%@.



-
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.


-
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 ?