
Recherche avancée
Autres articles (22)
-
Submit enhancements and plugins
13 avril 2011If you have developed a new extension to add one or more useful features to MediaSPIP, let us know and its integration into the core MedisSPIP functionality will be considered.
You can use the development discussion list to request for help with creating a plugin. As MediaSPIP is based on SPIP - or you can use the SPIP discussion list SPIP-Zone. -
D’autres logiciels intéressants
12 avril 2011, parOn ne revendique pas d’être les seuls à faire ce que l’on fait ... et on ne revendique surtout pas d’être les meilleurs non plus ... Ce que l’on fait, on essaie juste de le faire bien, et de mieux en mieux...
La liste suivante correspond à des logiciels qui tendent peu ou prou à faire comme MediaSPIP ou que MediaSPIP tente peu ou prou à faire pareil, peu importe ...
On ne les connais pas, on ne les a pas essayé, mais vous pouvez peut être y jeter un coup d’oeil.
Videopress
Site Internet : (...) -
MediaSPIP Init et Diogène : types de publications de MediaSPIP
11 novembre 2010, parÀ l’installation d’un site MediaSPIP, le plugin MediaSPIP Init réalise certaines opérations dont la principale consiste à créer quatre rubriques principales dans le site et de créer cinq templates de formulaire pour Diogène.
Ces quatre rubriques principales (aussi appelées secteurs) sont : Medias ; Sites ; Editos ; Actualités ;
Pour chacune de ces rubriques est créé un template de formulaire spécifique éponyme. Pour la rubrique "Medias" un second template "catégorie" est créé permettant d’ajouter (...)
Sur d’autres sites (4581)
-
How to create a video from images with timestamps, sizes and positions with ffmpeg
23 octobre 2022, par MaxouI want to convert a subtitle file (.sup) to a video file with transparency. To do that I convert my .sup file into a multitude of png files listed in a xml file.


XML File


<?xml version="1.0" encoding="UTF-8"?>
<bdn version="0.93">
 <description>
 <format videoformat="1080p" framerate="25" dropframe="False"></format>
 <events type="Graphic" firsteventintc="00:00:00:01" lasteventouttc="00:23:59:05" numberofevents="708"></events>
 </description>
 <events>
 <event intc="00:00:00:01" outtc="00:00:03:09" forced="False">
 <graphic width="1146" height="65" x="387" y="985">seq_0001.png</graphic>
 </event>
 <event intc="00:00:04:19" outtc="00:00:07:14" forced="False">
 <graphic width="1112" height="65" x="404" y="985">seq_0002.png</graphic>
 </event>
 <event intc="00:00:08:06" outtc="00:00:10:23" forced="False">
 <graphic width="681" height="65" x="619" y="985">seq_0003.png</graphic>
 </event>
 </events>
</bdn>



I tried to generate a video using this command


ffmpeg -t 20 -s 1920x1080 \
-f rawvideo -pix_fmt yuva420p -i /dev/zero \
-i seq-1.png \
-filter_complex "[0:v][1:v] overlay=25:25:enable='between(t,0,20)'" \
empty.webm



It works but it takes a long time and I only manage to do it with one image.


It is possible to generate a video with all the images (with size, position and timestamp) include in the xml file ?


-
Issues with using FFmpeg to generate MPEG-DASH files
26 septembre 2022, par Tina JI am using the following
ffmpeg
command to generate MPEG DASH files and manifest. I usesingle_file 1
to have a single file for each representation ; so no chunking. But IDK why when I want to play the manifest using ExoPlayer, the video doesn't play from the beginning (rather it starts from around 50s).

ffmpeg -re -i .\video-h264.mkv -map 0 -map 0 -c:a aac -c:v libx264 -b:v:0 800k -b:v:1 300k -s:v:1 320x170 -profile:v:1 baseline -profile:v:0 main -bf 1 -keyint_min 120 -g 120 -sc_threshold 0 -b_strategy 0 -ar:a:1 22050 -use_timeline 1 -single_file 1 -use_template 1 -window_size 5 -adaptation_sets "id=0,streams=v id=1,streams=a" -f dash out.mpd



What is wrong with this ? Is the manifest correct ? Here is the generated mpd :


<?xml version="1.0" encoding="utf-8"?>
<mpd xmlns="urn:mpeg:dash:schema:mpd:2011" profiles="urn:mpeg:dash:profile:isoff-live:2011" type="static" mediapresentationduration="PT1M20.1S" maxsegmentduration="PT5.0S" minbuffertime="PT16.0S">
 <programinformation>
 </programinformation>
 <servicedescription>
 </servicedescription>
 <period start="PT48.0S">
 <adaptationset contenttype="video" startwithsap="1" segmentalignment="true" bitstreamswitching="true" framerate="30/1" maxwidth="960" maxheight="540" par="517072:290799" lang="eng">
 <representation mimetype="video/mp4" codecs="avc1.4d401f" bandwidth="800000" width="960" height="540" sar="32317:32311">
 <baseurl>out-stream0.mp4</baseurl>
 <segmentlist timescale="1000000" duration="5000000" startnumber="7">
 <initialization range="0-832"></initialization>
 <segmenturl mediarange="4800141-5599188" indexrange="4800141-4800192"></segmenturl>
 <segmenturl mediarange="5599189-6243069" indexrange="5599189-5599240"></segmenturl>
 <segmenturl mediarange="6243070-7224302" indexrange="6243070-6243121"></segmenturl>
 <segmenturl mediarange="7224303-8138118" indexrange="7224303-7224354"></segmenturl>
 <segmenturl mediarange="8138119-8232111" indexrange="8138119-8138170"></segmenturl>
 </segmentlist>
 </representation>
 <representation mimetype="video/mp4" codecs="avc1.42c00d" bandwidth="300000" width="320" height="170" sar="549389:581598">
 <baseurl>out-stream2.mp4</baseurl>
 <segmentlist timescale="1000000" duration="5000000" startnumber="7">
 <initialization range="0-832"></initialization>
 <segmenturl mediarange="1782920-2005667" indexrange="1782920-1782971"></segmenturl>
 <segmenturl mediarange="2005668-2229412" indexrange="2005668-2005719"></segmenturl>
 <segmenturl mediarange="2229413-2615209" indexrange="2229413-2229464"></segmenturl>
 <segmenturl mediarange="2615210-2975346" indexrange="2615210-2615261"></segmenturl>
 <segmenturl mediarange="2975347-2999288" indexrange="2975347-2975398"></segmenturl>
 </segmentlist>
 </representation>
 </adaptationset>
 <adaptationset contenttype="audio" startwithsap="1" segmentalignment="true" bitstreamswitching="true" lang="eng">
 <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="69000" audiosamplingrate="44100">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"></audiochannelconfiguration>
 <baseurl>out-stream1.mp4</baseurl>
 <segmentlist timescale="1000000" duration="5000000" startnumber="12">
 <initialization range="0-764"></initialization>
 <segmenturl mediarange="491493-536039" indexrange="491493-491544"></segmenturl>
 <segmenturl mediarange="536040-580657" indexrange="536040-536091"></segmenturl>
 <segmenturl mediarange="580658-625158" indexrange="580658-580709"></segmenturl>
 <segmenturl mediarange="625159-669825" indexrange="625159-625210"></segmenturl>
 <segmenturl mediarange="669826-713289" indexrange="669826-669877"></segmenturl>
 </segmentlist>
 </representation>
 <representation mimetype="audio/mp4" codecs="mp4a.40.2" bandwidth="69000" audiosamplingrate="22050">
 <audiochannelconfiguration schemeiduri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="1"></audiochannelconfiguration>
 <baseurl>out-stream3.mp4</baseurl>
 <segmentlist timescale="1000000" duration="5000000" startnumber="12">
 <initialization range="0-764"></initialization>
 <segmenturl mediarange="486188-530059" indexrange="486188-486239"></segmenturl>
 <segmenturl mediarange="530060-574175" indexrange="530060-530111"></segmenturl>
 <segmenturl mediarange="574176-618922" indexrange="574176-574227"></segmenturl>
 <segmenturl mediarange="618923-663118" indexrange="618923-618974"></segmenturl>
 <segmenturl mediarange="663119-706121" indexrange="663119-663170"></segmenturl>
 </segmentlist>
 </representation>
 </adaptationset>
 </period>
</mpd>



-
ffmpeg normalized mp3 audio and album art went missing
29 août 2022, par SomeoneInNeedOfHelpI used below ffmpeg command to normalized audio of my songs and the album art is missing after running below command


ffmpeg -i "Original.mp3" -af loudnorm=I=-18:LRA=4:TP=-1 -ar 44100 -map 0:v -b:a 192k "Normalized.mp3"



ffprobe Original.mp3


Input #0, mp3, from 'Original.mp3':
 Metadata:
 encoded_by : Switch Free Home Version © NCH Software
 comment :
 disc : 1
 track : 0
 album_artist : Artist
 genre : Pop
 artist : Artist
 title : Song Title
 album : Song album
 date : 2001
 Duration: 00:04:15.91, start: 0.000000, bitrate: 200 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
 Stream #0:1: Video: mjpeg (Baseline), yuvj420p(pc, bt470bg/unknown/unknown), 1279x1280 [SAR 96:96 DAR 1279:1280], 90k tbr, 90k tbn, 90k tbc (attached pic)
 Metadata:
 title : thumbnail
 comment : Cover (front)



ffprobe Normalized.mp3


Input #0, mp3, from 'Original.mp3':
 Metadata:
 encoded_by : Switch Free Home Version © NCH Software
 comment :
 disc : 1
 track : 0
 album_artist : Artist
 genre : Pop
 artist : Artist
 title : Song Title
 album : Song album
 date : 2001
 encoder : Lavf58.67.100
Duration: 00:04:15.92, start: 0.025056, bitrate: 265 kb/s
 Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 192 kb/s
 Metadata:
 encoder : Lavc58.12
 Stream #0:1: Video: png, rgb24(pc), 1279x1280 [SAR 1:1 DAR 1279:1280], 90k tbr, 90k tbn, 90k tbc (attached pic)
 Metadata:
 title : thumbnail
 comment : Cover (front)



How can I keep the album art from the source file ?