
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (65)
-
Les images
15 mai 2013 -
Taille des images et des logos définissables
9 février 2011, parDans beaucoup d’endroits du site, logos et images sont redimensionnées pour correspondre aux emplacements définis par les thèmes. L’ensemble des ces tailles pouvant changer d’un thème à un autre peuvent être définies directement dans le thème et éviter ainsi à l’utilisateur de devoir les configurer manuellement après avoir changé l’apparence de son site.
Ces tailles d’images sont également disponibles dans la configuration spécifique de MediaSPIP Core. La taille maximale du logo du site en pixels, on permet (...) -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...)
Sur d’autres sites (7195)
-
ffmpeg merge audio and video streams on the fly
19 décembre 2022, par KikoI'm trying to get a stream from Youtube and stream it via HTTP, but I have to use separate audio and video streams to get good quality. I don't know how to merge the streams on the fly with
ffmpeg
. (I'm usingpytube
)

I know I can do this by saving the streams, then merging them, and then streaming the output, but I would like to do it on the fly. This is my current code (which uses the old progressive streams) :


yt = YouTube(f"https://www.youtube.com/watch?v={url}")
video = yt.streams.filter(file_extension='mp4', progressive=True).first()
async def stream(response):
 for chunk in pytube_request.stream(video.url):
 await response.write(chunk)
return ResponseStream(stream, content_type="audio/mp4")



-
yt-dlp and ffmpeg CLI : dynamically naming output file using ${}
14 juin 2022, par garsonI'm trying to dynamically name the output created by running yt-dlp and piping to ffmpeg for further processing. Ideally I'd also like to preserve other metadata from the Youtube in the output mp4 file.


What I have tried (working example)


yt-dlp "https://www.youtube.com/watch?v=PtkqwslbLY8" -o - | /
ffmpeg -i - -vcodec libx264 -crf 23 -preset fast -profile:v /
baseline -level 3 -refs 6 -vf "scale=640:-1,pad=iw:480:0:(oh-ih)/2,/
format=yuv420p" -acodec copy ${%(title)s}out.mp4



What the current result is


However, this just creates a file called out.mp4, without anything of the earlier video title in the file name.


What I want the result to be


I want the result to be a file called something like Jupiter_101_National_Geographicout.mp4 (based on the title of the Youtube Video).


-
php streaming video : can tmp file be accessed before move_uploaded_file ?
5 août 2019, par JintorMy question is about accessing file while they are being uploaded to the server.
Can I perform "live" video streaming but BEFORE move_uploaded_file ???
because move_uploaded_file have to wait until the video is completely finished.
<?php
// Can I access tmp before move_uploaded_file ?
move_uploaded_file('tmp_name','new_location');Is there a way to access the tmp file during upload and perform ffmpeg ?
I was considering upload by chunk via xhr request... but it seems .mp4 from a mobile don’t necessarily apply a fast start...
how live streaming services companies do it ?
**** More clarifications :
Live streaming. Example User X take his phone and want to go live, he hit a button "stream yourself" than the camera starts recording and while uploading, the server begins to save it to the server and other users like Y, Z, A, B begin to watch while X is still begin live