
Recherche avancée
Autres articles (46)
-
Websites made with MediaSPIP
2 mai 2011, parThis page lists some websites based on MediaSPIP.
-
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" (...) -
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
Sur d’autres sites (7344)
-
How to handle errors during downloading (using videomanifest) video and make it more robust
5 mai 2023, par Wakan TankaI'm using ffmpeg to download videos from streaming site following way :


ffmpeg.exe -i videomanifest -codec copy video.mp4 



This works, but it has some drawbacks. The problem is that sometimes my (or maybe error on server side etc.) internet connection fails, and I'm forced to restart the whole download again. I would like to make this process more robust. It would be great if
ffmpeg
can continuously split video to several smaller files during the download and if download will fail thenffmpeg
will continue (or maybe skip) from broken part. After downloading all parts I will concat them manually, this is no problem. Please treat above text just like an example, any other solution which will make downloading process more robust is welcomed. Is this possible withffmpeg
?

Here is example of
videomanifest
(this is not a fully functional file, important url parts were deleted due to privacy, so please treat it as an example for demonstration purposes)

<mpd type="static" maxsegmentduration="PT5.000S" profiles="urn:mpeg:dash:profile:isoff-live:2011" mediapresentationduration="PT0H0M4961.472S" minbuffertime="PT4.500S" xmlns="urn:mpeg:DASH:schema:MPD:2011">
 <baseurl>https://........................</baseurl>
 <period>
 <adaptationset contenttype="audio" mimetype="audio/mp4" segmentalignment="true" bitstreamswitching="true" codecs="mp4a.40.2">
 <contentprotection schemeiduri="urn:mpeg:dash:sea:2012">
 
 
 
 </contentprotection>
 <label>EnhancedAudio</label>
 <segmenttemplate timescale="44100" initialization="videotranscode?provider=Spo&amp;docId=https%3a%2...................">
 <segmenttimeline>
 <s d="221184" r="988"></s>
 <s d="49939"></s>
 </segmenttimeline>
 </segmenttemplate>
 <representation audiosamplingrate="44100" bandwidth="128000" codecs="mp4a.40.2"></representation>
 <representation audiosamplingrate="44100" bandwidth="192000" codecs="mp4a.40.2"></representation>
 </adaptationset>
 <adaptationset contenttype="audio" mimetype="audio/mp4" segmentalignment="true" bitstreamswitching="true" codecs="mp4a.40.2">
 <contentprotection schemeiduri="urn:mpeg:dash:sea:2012">
 
 
 
 </contentprotection>
 <label>OriginalAudio</label>
 <segmenttemplate timescale="44100" initialization="videotranscode?provider=Spo&amp;docId=https%3a%2f%2fstu">
 <segmenttimeline>
 <s d="221184" r="988"></s>
 <s d="49939"></s>
 </segmenttimeline>
 </segmenttemplate>
 <representation audiosamplingrate="44100" bandwidth="128000" codecs="mp4a.40.2"></representation>
 <representation audiosamplingrate="44100" bandwidth="192000" codecs="mp4a.40.2"></representation>
 </adaptationset>
 <adaptationset contenttype="video" mimetype="video/mp4" segmentalignment="true" bitstreamswitching="true" maxframerate="82690000/5512747" maxwidth="1920" maxheight="1080" codecs="avc1.4d0028">
 <contentprotection schemeiduri="urn:mpeg:dash:sea:2012">
 
 
 
 </contentprotection>
 <segmenttemplate timescale="15000" initialization="videotranscode?provider=Spo&amp;docId=https............">
 <segmenttimeline>
 <s d="74999" r="991"></s>
 <s d="22080"></s>
 </segmenttimeline>
 </segmenttemplate>
 <representation width="426" height="240" framerate="82690000/5512747" bandwidth="144000" codecs="avc1.4d401e"></representation>
 <representation width="852" height="480" framerate="82690000/5512747" bandwidth="480000" codecs="avc1.4d001f"></representation>
 <representation width="1280" height="720" framerate="82690000/5512747" bandwidth="1081600" codecs="avc1.4d001f"></representation>
 <representation width="1920" height="1080" framerate="82690000/5512747" bandwidth="2428800" codecs="avc1.4d0028"></representation>
 </adaptationset>
 </period>
</mpd>



-
ffmpeg exited with code 1 : Output with label 'videooutput' does not exist in any defined filter graph, or was already used elsewhere
12 avril 2022, par ThePrimeI'm using the https://www.npmjs.com/package/live-stream-radio module, but a few times i get this error using it. How could i solve it ? My code :


const NodeMediaServer = require('node-media-server');

const config = {
 rtmp: {
 port: 1935,
 chunk_size: 60000,
 gop_cache: true,
 ping: 30,
 ping_timeout: 60
 },
 http: {
 port: 8080,
 allow_origin: '*',
 mediaroot: 'F:/VMediaServer/mediaroot'
 },
 trans: { ffmpeg: 'C:/ffmpeg/bin/ffmpeg.exe', tasks: [ { app: 'live', ac: 'aac', vc: 'libx264', hls: true, hlsFlags: '[hls_time=2:hls_list_size=3:hls_flags=delete_segments]', dash: true, dashFlags: '[f=dash:window_size=3:extra_window_size=5]' } ] }
};

var nms = new NodeMediaServer(config)
nms.run();



-
Safari on Yosemite doesn't get total media duration from init file of video generated using MP4Box
30 avril 2015, par sonamI am trying to play HTML5 video using MediaSource Extesion. I am generating dash fragmnets using MP4Box. I am creating init fragment and respective dash fragments.
I am creating mediasource and adding init fragment to it. When this is done, all the browsers where media source extension is supported(chrome, firefox developer version, android chrome, windows 8 IE11), return correct media duration. But the same doesn’t work with safari on Yosemite, where spec says media source is supported. So on safari, media duration is updated as and when data fragments are appended to it progressively. How can I make it work in safari ? Is there something that is missing from init fragment and how to add it ?