
Recherche avancée
Médias (1)
-
ED-ME-5 1-DVD
11 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Audio
Autres articles (103)
-
La sauvegarde automatique de canaux SPIP
1er avril 2010, parDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...) -
Automated installation script of MediaSPIP
25 avril 2011, parTo overcome the difficulties mainly due to the installation of server side software dependencies, an "all-in-one" installation script written in bash was created to facilitate this step on a server with a compatible Linux distribution.
You must have access to your server via SSH and a root account to use it, which will install the dependencies. Contact your provider if you do not have that.
The documentation of the use of this installation script is available here.
The code of this (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (11834)
-
Insert video into another video both of different formats in a time efficient way
7 février 2017, par Sharath HuddarI have an assignment which requires that the code I write takes a large video(1 to 3 hrs) and a smaller video (10-60 seconds) and the smaller video is inserted at intervals of 30 minutes into the larger video. Note that the videos are not necessarily in the same format.
I tried to encode the large and the small video to a common format (mp4) and then split the large video based on time (while encoding it to mp4) and then concat all the videos in a predefined sequence (also while encoding to mp4). All these operations were carried out using FFMPEG.
Although this method worked, it too close to 20 hours to perform the whole operation on an Intel NUC (having an i5 processor and 8GB RAM)
Is there a faster way to do this without compromising on quality ?
-
How to upload 7MB GIF to Twitter's API
22 février 2021, par randombitsI have a bunch of JPEG frames that I use ImageMagick to stitch together into a GIF. The final product has the following type :


GIF image data, version 89a, 1280 x 720


This gives the effect of an animated GIF. My file sizes range anywhere between 6-8MB.


If I upload this media manually to Twitter, it works great. Using
TwitterOAuth
PHP library found here when I attempt the following :

$media = $twitterConnection->upload('media/upload', ['media' => 'my_file.gif');


I get the following error :


Image file size must be <= 5242880 bytes


I have also tried uploading the file using Twitter's recommended Python large video library and that failed with the following :


INIT
Media ID: 1362940800456351744
APPEND
4194304 of 7685061 bytes uploaded
APPEND
7685061 of 7685061 bytes uploaded
Upload chunks complete.
FINALIZE
{'media_id': 1362940800456351744, 'media_id_string': '1362940800456351744', 'media_key': '7_1362940800456351744', 'size': 7685061, 'expires_after_secs': 86400, 'processing_info': {'state': 'pending', 'check_after_secs': 1}}
Media processing status is pending
Checking after 1 seconds
STATUS
Media processing status is failed



I am willing to use any platform/utility to get my video files uploaded to Twitter. What is my best bet to either :


1 : Fix my file type to adhere to Twitter's requirements. Should it not be a GIF ? Should I be converting my still shot JPEG files to another format ?


2 : Is there an API that Twitter has available that will allow the GIFs of these sizes to be uploaded ? Again, I can upload these files via the regular Twitter web UI client, but I cannot automate it via their API.


How do I upload my GIF to Twitter using their API ?


-
HLS with FFmpeg, browser skips m3u8 in sequence
16 octobre 2019, par Jongseok YoonI’m writing a program with C++, receiving 2-second-long mp4 video and converting it to m3u8 and same-duration ts files in real-time.
Problem is when I check it with browsers on PC, it doesn’t load m3u8 properly.
For example, when I start to watch m3u8, it loads first m3u8 with #EXT-X-MEDIA-SEQUENCE : 1, then it keeps loading first m3u8, then suddenly skips to #EXT-X-MEDIA-SEQUENCE : 4 or larger.
Streaming still works, but it is very unstable due to that problem. It loads some ts together, then loads nothing while loading same m3u8 it already loaded, and skips 3 or more m3u8 and loads ts files together and again.
ffmpeg -loglevel level+warning -i SOURCE.mp4 -an -filter:v fps=fps=10 -f hls -hls_list_size 7 -strftime 1 -hls_segment_filename '1.ts' -hls_flags append_list+omit_endlist DEST.m3u8
This is ffmpeg command in my program, using hls_segment_filename option to overwrite ts files so I limit number of files under 100, and it runs every 2 second.
Maybe, I’m overwriting it too fast to be loaded ?