
Recherche avancée
Médias (1)
-
Revolution of Open-source and film making towards open film making
6 octobre 2011, par
Mis à jour : Juillet 2013
Langue : English
Type : Texte
Autres articles (66)
-
MediaSPIP version 0.1 Beta
16 avril 2011, parMediaSPIP 0.1 beta est la première version de MediaSPIP décrétée comme "utilisable".
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Pour avoir une installation fonctionnelle, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Amélioration de la version de base
13 septembre 2013Jolie sélection multiple
Le plugin Chosen permet d’améliorer l’ergonomie des champs de sélection multiple. Voir les deux images suivantes pour comparer.
Il suffit pour cela d’activer le plugin Chosen (Configuration générale du site > Gestion des plugins), puis de configurer le plugin (Les squelettes > Chosen) en activant l’utilisation de Chosen dans le site public et en spécifiant les éléments de formulaires à améliorer, par exemple select[multiple] pour les listes à sélection multiple (...)
Sur d’autres sites (13474)
-
How to convert mpeg-dash files back to mp4 or mkv via FFMPEG
15 janvier 2017, par Saif UllahRecently I tried downloading a video file via a program called "video cache view", it created two video files instead of one numbered as mpegdashtmp1.mp4 which are i guess in some mpeg-dash format. I searched about it and came to know that out of these two files one should contain the audio and the other will be the video part. How can I convert those files to mp4/mkv via FFMPEG.
-
dash.js not playing mpd file generated by MP4Box
9 mars 2016, par user3291299I have transcoded and stripped the audio of an mp4 file as follows :
$ ffmpeg -codec:a libvo_aacenc -ar 44100 -ac 1 -codec:v libx264 -profile:v baseline -level 13 -b:v 2000k dir/out.mp4 -i dir/original.mp4
$ ffmpeg -i dir/out.mp4 -an dir/out_an.mp4
I’ve used the following MP4Box command to generate a mpd :
$ MP4Box -dash 30000 -dash-profile on-demand -segment-name out-seg -out dir/out_dash dir/out.mp4
This results in the following mpd file :
<?xml version="1.0"?>
<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" minbuffertime="PT1.500000S" type="static" mediapresentationduration="PT0H2M11.77S" profiles="urn:mpeg:dash:profile:full:2011">
<programinformation moreinformationurl="http://gpac.sourceforge.net">
</programinformation>
<period duration="PT0H2M11.77S">
<adaptationset segmentalignment="true" maxwidth="640" maxheight="360" maxframerate="30000/1001" par="16:9">
<contentcomponent contenttype="video" lang="und"></contentcomponent>
<contentcomponent contenttype="audio" lang="und"></contentcomponent>
<representation mimetype="video/mp4" codecs="avc1.42c00d,mp4a.40.02" width="640" height="360" framerate="30000/1001" sar="1:1" audiosamplingrate="44100" startwithsap="0" bandwidth="2097272">
<audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"></audiochannelconfiguration>
<segmentlist timescale="1000" duration="30046">
<initialization sourceurl="out-seginit.mp4"></initialization>
<segmenturl media="out-seg1.m4s"></segmenturl>
<segmenturl media="out-seg2.m4s"></segmenturl>
<segmenturl media="out-seg3.m4s"></segmenturl>
<segmenturl media="out-seg4.m4s"></segmenturl>
<segmenturl media="out-seg5.m4s"></segmenturl>
</segmentlist>
</representation>
</adaptationset>
</period>
</mpd> -
How to set segment duration of a DASH stream using ffmpeg ?
25 juillet 2024, par ipartolaI am trying to convert a video to a live DASH stream using ffmpeg. The command looks like this :


ffmpeg -i input.mp4 -preset veryfast \
-c:v libx264 -pix_fmt yuv420p -map 0:v:0 \
-s:0 1280x720 -b:v:0 2M -maxrate:0 2.5M -bufsize:0 4M \
-use_template 1 -use_timeline 1 -seg_duration 1 -f dash foo/stream.mpd



I would like to have the segment duration be 1 second long. However the above command seems to produce chunk files about 8 seconds long instead. However if I change the command to the following (adding
-g 5
) :

ffmpeg -i input.mp4 -preset veryfast \
-c:v libx264 -pix_fmt yuv420p -map 0:v:0 \
-s:0 1280x720 -b:v:0 2M -maxrate:0 2.5M -bufsize:0 4M \
-g 5 \
-use_template 1 -use_timeline 1 -seg_duration 1 -f dash foo/stream.mpd



I get chunk files that are much closer to 1 second long. Obviously this isn't ideal since that will produce a keyframe every 5 frames. So :


a) I don't understand the relationship between seg_duration and keyframe interval. Why is ffmpeg not automatically just putting a keyframe at the beginning of each chunk ?


b) How do I get the chunk/segment length I want ?