
Recherche avancée
Médias (1)
-
Publier une image simplement
13 avril 2011, par ,
Mis à jour : Février 2012
Langue : français
Type : Video
Autres articles (59)
-
Contribute to translation
13 avril 2011You can help us to improve the language used in the software interface to make MediaSPIP more accessible and user-friendly. You can also translate the interface into any language that allows it to spread to new linguistic communities.
To do this, we use the translation interface of SPIP where the all the language modules of MediaSPIP are available. Just subscribe to the mailing list and request further informantion on translation.
MediaSPIP is currently available in French and English (...) -
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
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 : (...)
Sur d’autres sites (11265)
-
avutil/mathematics : Document av_rescale_rnd() behavior on non int64 results
20 octobre 2021, par Michael Niedermayer -
fate : remove forgotten transpose filter results from old system.
30 avril 2013, par Clément Bœsch -
Creating custom length .ts files results in unplayable .m3u8
10 septembre 2019, par rbarabCould someone familiar with ffmpeg and hls have a look at this please ?
For a very specific use case, we are cutting mp4 videos to custom length .ts files and using them to create .m3u8 hls files, which we are serving to an Angular front end.
The problem is that the hls files are not playing correctly, seemingly all players are stopping at the value of #EXT-X-TARGETDURATION regardless of how many chunks are played by then.
Using the standard ffmpeg hls creation command everything works fine :
ffmpeg -y -i ./hiv4.mp4 -c:v libx264 -c:a copy -f segment -segment_time 6 -segment_format mpegts -segment_list sample2/out.m3u8 -segment_list_type m3u8 sample2/file%d.tsUsing our code, the problem occurs :
ffmpeg -y -i ./hiv4.mp4 -ss 00:02:32.8 -to 00:02:42.6 -c:v libx264 -c:a copy ./sample1/new/1.tsThis is how our .m3u8 looks like :
#EXTM3U
#EXT-X-VERSION:2
#EXT-X-MEDIA-SEQUENCE:0
#EXT-X-TARGETDURATION:35
#EXTINF:35.54,
https://DOMAIN/vault/media/v2/vd322310a5bc14c14b8afb80dfaeac6c0mp4.mp4/2.82-37.36.ts?access_token=TOKEN
#EXTINF:19.56,
https://DOMAIN/vault/media/v2/vd322310a5bc14c14b8afb80dfaeac6c0mp4.mp4/19.8-39.36.ts?access_token=TOKEN
#EXT-X-ENDLISTTrying to open the above file locally in vlc results in vlc recognizing the correct duration, but stops playing at 35 sec.
We currently think that we are doing something wrong with the cutting and .ts creation and related encoding.
We are aware, that we are not within the recommended ts lengths, but cutting the mp4 to uniform 10-second segments with our command results in the same issue.