
Recherche avancée
Autres articles (108)
-
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 (...) -
Multilang : améliorer l’interface pour les blocs multilingues
18 février 2011, parMultilang est un plugin supplémentaire qui n’est pas activé par défaut lors de l’initialisation de MediaSPIP.
Après son activation, une préconfiguration est mise en place automatiquement par MediaSPIP init permettant à la nouvelle fonctionnalité d’être automatiquement opérationnelle. Il n’est donc pas obligatoire de passer par une étape de configuration pour cela. -
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 ;
Sur d’autres sites (18047)
-
avcodec/mjpegdec : Use correct number of codes for VLC tables
8 octobre 2020, par Andreas Rheinhardtavcodec/mjpegdec : Use correct number of codes for VLC tables
Commit 1249698e1b424cff8e77e6a83cfdbc9d11e01aa7 made
ff_mjpeg_decode_dht() call build_vlc() with a wrong (too hight)
number of codes. The reason it worked is that the lengths of the extraneous
entries is initialized to zero and ff_init_vlc_sparse() ignores codes
with a length of zero. But using a too high number of codes was
nevertheless bad, because a) the assert in build_vlc() could have been
triggered (namely if the real amount of codes is 256) and b) the loop in
build_vlc() uses initialized data (leading to Valgrind errors [1]).
Furthermore, the old code spend CPU cycles in said loop although the
result won't be used anyway.[1] : http://fate.ffmpeg.org/report.cgi?slot=x86_64-archlinux-gcc-valgrind&time=20201008025137
Reviewed-by : Paul B Mahol <onemda@gmail.com>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@gmail.com> -
FFMPEG restream m3u8 to Youtube keeps returning "Failed to update header with correct duration & filesize" after 1st segment
12 septembre 2020, par user3263433I'm trying to retream a m3u8 live feed toYouTube but I keep running into errors.


When watching the feed in a webplayer it works fine.


The headers of the m3u8 file are as follow :


#EXTM3U
#EXT-X-VERSION:6
#EXT-X-TARGETDURATION:8
#EXT-X-MEDIA-SEQUENCE:127629
#EXT-X-DISCONTINUITY-SEQUENCE:0
#EXT-X-PROGRAM-DATE-TIME:2020-09-12T12:57:13.280Z



Here is the ffmpeg log :


frame= 226 fps= 25 q=29.0 size= 1303kB time=00:00:07.04 bitrate=1516.2kbits/frame= 238 fps= 

 25 q=23.0 size= 1414kB time=00:00:07.52 bitrate=1540.5kbits/[https @ 0x56067993d3c0] Opening 'fileurl.ts' for reading
 frame= 250 fps= 25 q=19.0 size= 1536kB time=00:00:08.00 bitrate=1572.8kbits/frame= 251 fps= 24 q=17.0 size= 1536kB time=00:00:08.04 bitrate=1565.3kbits/[flv @ 0x560679c4be40] 
Failed to update header with correct duration.
 [flv @ 0x560679c4be40] Failed to update header with correct filesize.
 frame= 251 fps= 22 q=-1.0 Lsize= 1851kB time=00:00:09.92 bitrate=1528.0kbits/s dup=0 drop=499 speed=0.859x



It seems like it loads 1 .ts file fine but fails after that.


I'm currently using :


ffmpeg -re -i (urlToM3U8) -codec copy -f flv rtmp://a.rtmp.youtube.com/live2/(streamkey)



-
What is the correct command line format for ffmpeg in this case
11 septembre 2020, par Adam FentonI apologise if this is a duplicate. I have used ffmpeg in the past to convert .pngs to .mp4 but now I am using it on my own files and I am not sure of the format it should have.
I have some files with the following naming convention :


./profiles_0.png
 ./profiles_40.png
 ...
 ./profiles_400.png



The number of files I have varies, i.e. it isn't always 400 and the interval isn't always going to be 40. I have tried the following :


ffmpeg -framerate 1 -i profiles_%d0.png -r 6 -pix_fmt yuv420p out.mp4



but that only captures one of the images. Is there a flexible format in the 'profiles_%d0.png" argument that captures all of the files in that directory regardless of the number of characters following the underscore or does it require that I change my naming convention ?


Cheers for any help,
A