
Recherche avancée
Autres articles (62)
-
List of compatible distributions
26 avril 2011, parThe table below is the list of Linux distributions compatible with the automated installation script of MediaSPIP. Distribution nameVersion nameVersion number Debian Squeeze 6.x.x Debian Weezy 7.x.x Debian Jessie 8.x.x Ubuntu The Precise Pangolin 12.04 LTS Ubuntu The Trusty Tahr 14.04
If you want to help us improve this list, you can provide us access to a machine whose distribution is not mentioned above or send the necessary fixes to add (...) -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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 (7886)
-
avcodec/allcodecs : Don't include libx264 twice in the list of codecs
11 mai 2021, par Andreas Rheinhardtavcodec/allcodecs : Don't include libx264 twice in the list of codecs
Since a247ac640df3da573cd661065bf53f37863e2b46, allcodecs.c contained
two lines that matched the regex used by find_filters_extern in
configure ; as a result, libx264 appeared twice the list of codecs
(if enabled).Fix this by using only one matching line by adding a preprocessor define
for the part that differed in the two old lines : The const qualifier.Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-
Changelog : list the new SBC codec
17 décembre 2017, par Aurelien Jacobs -
FFMPEG Streaming, using list for multiple presentations
3 janvier 2021, par JJ The SecondI am currently using a third party library to transcode videos from mp4 to HLS. https://video.aminyazdanpanah.com/python/start?r=hls#hls Great documentation and works fine however I have an issue by passing a list to hls.representations() that I think is something wrong I do. Here is how I run my code.


presetList = []
rep_1 = Representation(Size(1920,1080), Bitrate(4096 * 1024, 320 * 1024))
 presetList.append(rep_1)
rep_2 = Representation(Size(1440, 900), Bitrate(2048 * 1024, 320 * 1024))
 presetList.append(rep_2)

video = "file.mp4"
video = ffmpeg_streaming.input(video)
completed_destination = "completed.m3u8"
hls = video.hls(Formats.h264())
hls.representations(presetList)
hls.output(completed_destination)



When I run this I get following error, that is triggered by library meaning values in my list not passed properly ?


File "/var/www/transcoder/transcoder/env/lib/python3.8/site-packages/ffmpeg_streaming/_hls_helper.py", line 87, in stream_info
 f'BANDWIDTH={rep.bitrate.calc_overall}',
AttributeError: 'list' object has no attribute 'bitrate'



if I instead run the same code with only change as below, works like a charm :


hls.representations(rep_1, rep_2)



What am I doing wrong here ? Thanks