
Recherche avancée
Autres articles (58)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
Creating farms of unique websites
13 avril 2011, parMediaSPIP platforms can be installed as a farm, with a single "core" hosted on a dedicated server and used by multiple websites.
This allows (among other things) : implementation costs to be shared between several different projects / individuals rapid deployment of multiple unique sites creation of groups of like-minded sites, making it possible to browse media in a more controlled and selective environment than the major "open" (...)
Sur d’autres sites (7325)
-
Generate single MPEG-Dash segment with ffmpeg
25 août 2021, par woubucI've been trying to implement a Plex-like video player that transcodes an arbitrary video file on-demand, and plays it with MPEG-Dash on a webpage. I was able to implement the client side player with the
dash.js
reference implementation, so it will dynamically request segments from the server (usingSegmentTemplate
in the mpd file).


But I'm having some problems generating these chunks in real-time. Ffmpeg lets me set
-ss
and-t
to define the boundaries of the segment I need, but they don't play properly in the player because they're "full" video files rather than Dash segments.


So how do I adjust my ffmpeg command to transcode just the part I need as a Dash segment, without having to generate the segments for the entire video file in advance ?



The input video file can be any format, so it cannot be assumed it's in an mp4/dash-compatible codec. So transcoding (with ffmpeg or similar tool) is required.



My current ffmpeg command looks like this (after lots of trying) :



ffmpeg -ss 10 -t 5 -i video.mkv -f mp4 -c:a aac -c:v h264 -copyts -movflags empty_moov+frag_keyframe temp/segment.mp4




The client-side player should be able to buffer the next X segments, and the user should be able to view the current position on the duration bar and seek to a different position. So treating it as a live stream isn't an option.


-
Youtube DASH stream through to iOS format
29 juillet 2014, par viperfxI have a stream link of a DASH codec format audio file using youtube-dl. It plays fine in the browser but on iOS the DASH codec is not supported. I am wondering how I can use ffmpeg to transcode the HTTPS stream live and then resend it out an AAC encoded m4a file or something that the iOS SDK supports through streaming - mp3 also works. I think using something such as nginx as the middleware inbetween would be a good idea. I can use python app to receive the request /videoID, it would grab the stream link and transcode it live feed it to nginx which would serve the correctly transcoded format back to the iOS app.
Does anyone have any suggestions/ideas on how to achieve this ? I am stuck on the details on the ffmpeg bit.
-
Add subtitles and storyboards to mpeg dash [closed]
19 janvier, par ahamid555I need to stream a youtube video in my website and I need to do it not using the embed mode. I tried several steps and I failed to make it work completely. Please provide me any solutions for each step if you know.


- 

- I tried to download the video in mpeg-dash format (with manifest and all chunk files) and I failed. Is it possible at first place ?
- I downloaded the video using ytdlp and I transcoded the movie to mpeg-dash format using ffmpeg, but I couldn't add subtitles and storyboards during the transcode, because the vvt subtitles are not compatible with mp4 containers.
- I decided to transcode the video first and then add the subtitles and storyboards using other tools (MP4Box) which I failed, too. Do you know any tool that does it as I want ?