
Recherche avancée
Autres articles (66)
-
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 (...) -
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...)
Sur d’autres sites (7060)
-
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


-
Changelog : list the new SBC codec
17 décembre 2017, par Aurelien Jacobs -
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>