
Recherche avancée
Médias (1)
-
Géodiversité
9 septembre 2011, par ,
Mis à jour : Août 2018
Langue : français
Type : Texte
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 (3598)
-
Video encoding and decoding by the player during online playback [closed]
10 janvier 2024, par rahkarenovinI made a player to stream the video.


I want to do 32-bit encoding on the video with the help of ffmpeg.
so that the video will only play in my player.


The problems I have :


- 

-
I want to put my 32-bit password in the player, the player will check this password while playing the video, if the password is the same, the video will be played.


-
I don't know how to decode the video with the below player.








What code is needed ? What command can I use to decode the video ?


My player code :


<div class="grid">
 <main>
 <div>
 
 
 </div>
 </main>
</div>

<code class="echappe-js"><script&#xA; type="text/javascript"&#xA; src="https://cdn.polyfill.io/v2/polyfill.min.js?features=es6,Array.prototype.includes,CustomEvent,Object.entries,Object.values,Math.trunc"&#xA; crossorigin="anonymous"&#xA;></script>


<script type="text/javascript" src="https://cdn.plyr.io/3.5.2/plyr.js"></script>


<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>


<script>&#xA; const source = &#x27;https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8&#x27;;&#xA; const player = new Plyr(&#x27;#player&#x27;);&#xA; var video = document.getElementById(&#x27;player&#x27;);&#xA; if(Hls.isSupported()) {&#xA; var hls = new Hls();&#xA; hls.loadSource(source);&#xA; hls.attachMedia(video);&#xA; hls.on(Hls.Events.MANIFEST_PARSED,function() {&#xA; video.play();&#xA; });&#xA; }else if (video.canPlayType(&#x27;application/vnd.apple.mpegurl&#x27;)) {&#xA; video.src = source;&#xA; video.addEventListener(&#x27;loadedmetadata&#x27;,function() {&#xA; video.play();&#xA; });&#xA; }&#xA;</script>



-
-
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>