
Recherche avancée
Médias (1)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
Autres articles (27)
-
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (4818)
-
Online RTMP radio with Python + FFmpeg + Nginx : unable to have a continuous output stream
2 décembre 2023, par Igor LongoThinking about an application similar to an online radio, I'm trying to transmit a sequence of audio files chosen by the user, where he chooses which file will be played in the sequence, sufficiently in advance for the reproduction not to be muted. I'm using FFmpeg in a Python script and an RTMP server running Nginx.
The problem is that interrupting the transmission between one file and another appears to be breaking the transmission on output. Sometimes files are skipped and other times it simply crashes for the client.


I have already tried transmitting the sequence of files in real time, using '-re', and I have also tried not using '-re', creating a custom queue manager in Python with the intention of trying to keep only 'n' files in the server buffer .
Below is an excerpt of the code :


ffmpeg_command = [
'ffmpeg',
'-loglevel', 'warning',
# '-re', # read input at native frame rate
'-i', file_path,
'-c:a', 'aac',
'-ar', '44100',
'-bufsize', '1024k',
'-af', 'atempo=1.0',
'-b:a', '128k',
'-f', 'flv',
'-flvflags', 'no_duration_filesize',
rtmp_url # server url
]
subprocess.run(ffmpeg_command, check=True)


Any tips on how I can resolve this ?


-
avcodec/hevcdec : Check early whether film grain is supported, fix race
22 août 2022, par Andreas Rheinhardtavcodec/hevcdec : Check early whether film grain is supported, fix race
Applying film grain happens after ff_thread_finish_setup(),
so the parameters synced in hevc_update_thread_context() must not
be modified. But this is exactly what happens in case applying
film grain fails. (The likely result is that in case of frame threading
an uninitialized frame is output.)Given that it is actually very easy to know in advance whether
ff_h274_apply_film_grain() supports a given set of parameters,
one can check for this before ff_thread_finish_setup()
and avoid allocating an unused buffer lateron.Reviewed-by : Niklas Haas <ffmpeg@haasn.xyz>
Signed-off-by : Andreas Rheinhardt <andreas.rheinhardt@outlook.com> -
How to extract duration time of online videos listed in a text file
22 août 2022, par GinofalaciI need to check the duration of thousand of videos online. I m trying to get this from a text file containing the urls of the videos.


I have those two commands that are working great with one url, but i don't find out how to get it work with a list within a file text.


fmpeg -i My.url 2>&1 | grep "Duration"| cut -d ' ' -f 4 | sed s/,//



or this :


ffmpeg -i my.url 2>&1 | grep Duration | sed 's/Duration: \(.*\), start/\1/g'



im trying :


fmpeg -i listurls.txt 2>&1 | grep "Duration"| cut -d ' ' -f 4 | sed s/,//



or this :


ffmpeg -i listurls.txt 2>&1 | grep Duration | sed 's/Duration: \(.*\), start/\1/g'



my file text is like this :


myurl1.m3u8

myurl2.m3u8

myurl3.m3u8

myurl4.m3u8

myurl5.m3u8

I've also tried :


file 'myurl1.m3u8'

file 'myurl2.m3u8'

file 'myurl3.m3u8'

file 'myurl4.m3u8'

file 'myurl5.m3u8'

but it doesn't work.


Also some videos might not be online anymore, but still referenced, so it would give no result, but I would like if possible to have the result "0" than nothing, it will be much easier to use the results afterwards.


(awk, sed, mediainfo, exiftool, any will be good, ) Thanks in advance.