
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (111)
-
Support de tous types de médias
10 avril 2011Contrairement à beaucoup de logiciels et autres plate-formes modernes de partage de documents, MediaSPIP a l’ambition de gérer un maximum de formats de documents différents qu’ils soient de type : images (png, gif, jpg, bmp et autres...) ; audio (MP3, Ogg, Wav et autres...) ; vidéo (Avi, MP4, Ogv, mpg, mov, wmv et autres...) ; contenu textuel, code ou autres (open office, microsoft office (tableur, présentation), web (html, css), LaTeX, Google Earth) (...)
-
Script d’installation automatique de MediaSPIP
25 avril 2011, parAfin de palier aux difficultés d’installation dues principalement aux dépendances logicielles coté serveur, un script d’installation "tout en un" en bash a été créé afin de faciliter cette étape sur un serveur doté d’une distribution Linux compatible.
Vous devez bénéficier d’un accès SSH à votre serveur et d’un compte "root" afin de l’utiliser, ce qui permettra d’installer les dépendances. Contactez votre hébergeur si vous ne disposez pas de cela.
La documentation de l’utilisation du script d’installation (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (14585)
-
Convert M3U8 playlist to MP4 using GStreamer
9 février 2023, par IdanI'm trying to convert an HLS playlist to MP4 file. The .ts files in the list are guaranteed to be h264/aac and with the same resolution (for cases when there is a EXT-X-DISCONTINUITY tag).



this is the closes I got to a working pipeline :



gst-launch-1.0 mp4mux name=mux ! filesink location=x.mp4 souphttpsrc location="https://remote/path/to/index.m3u8" ! decodebin name=decode ! videoconvert ! queue ! x264enc ! mux. decode. ! audioconvert ! avenc_aac ! mux.




Don't really know if the result is valid as this command line gets GStreamer to play the HLS in
playing
time instead of fast forward and ingest as fast as possible (the list is closed with#EXT-X-ENDLIST
).


Second issue is that it looks to me like this pipeline is encoding the stream instead of just coping it. I don't need it to encode, only change the container. H264/aac in the .TS files is what I also need in the .MP4 file.



So, is it possible to only copy and not transcode using as-fast-as-u-can ingestion and not real-life speed ?



Basically, I am trying to find the GStreamer equivalent to this FFmpeg command :



FFmpeg -i "https://remote/path/to/index.m3u8" -c copy x.mp4




(I have to use GStreamer and not FFmpeg.)


-
avformat : add subtitle support in master playlist m3u8
29 mars 2020, par Limin Wangavformat : add subtitle support in master playlist m3u8
Test with the following command for the webvtt subtitle :
$ ./ffmpeg -y -i input_with_subtitle.mkv \
-b:v:0 5250k -c:v h264 -pix_fmt yuv420p -profile:v main -level 4.1 \
-b:a:0 256k \
-c:s webvtt -c:a mp2 -ar 48000 -ac 2 -map 0:v -map 0:a:0 -map 0:s:0 \
-f hls -var_stream_map "v:0,a:0,s:0,sgroup:subtitle" \
-master_pl_name master.m3u8 -t 300 -hls_time 10 -hls_init_time 4 -hls_list_size \
10 -master_pl_publish_rate 10 -hls_flags \
delete_segments+discont_start+split_by_time ./tmp/video.m3u8Check the master m3u8 :
$ cat tmp/master.m3u8
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="subtitle",NAME="subtitle_0",DEFAULT=YES,URI="video_vtt.m3u8"
#EXT-X-STREAM-INF:BANDWIDTH=6056600,RESOLUTION=1280x720,CODECS="avc1.4d4829,mp4a.40.33",SUBTITLES="subtitle"
video.m3u8Check the result by convert to mkv :
$ ./ffmpeg -strict experimental -i ./tmp/master.m3u8 -c:v copy -c:a mp2 -c:s srt ./test.mkvSigned-off-by : Limin Wang <lance.lmwang@gmail.com>
-
Create audio/video, audio only, and video only HLS playlist version of the same media file
15 avril 2020, par Kevin PaekI have a
media.mp4
file.


Currently I convert it to an HLS playlist with this command :



ffmpeg -y -i \
 "media.mp4" \
 -g 48 -sc_threshold 0 \
 -profile:v baseline -level:v 3.0 -pix_fmt yuv420p \
 -map 0:0 -map 0:1 -map 0:0 -map 0:1 \
 -map 0:0 -map 0:1 -map 0:0 -map 0:1 \
 -map 0:0 -map 0:1 -map 0:0 -map 0:1 \
 -c copy \
 -s:v:0 256x144 -c:v:0 libx264 -b:v:0 200k -minrate:v:0 200k -maxrate:v:0 200k -bufsize:v:0 200k \
 -s:v:1 426x240 -c:v:1 libx264 -b:v:1 400k -minrate:v:1 400k -maxrate:v:1 400k -bufsize:v:1 400k \
 -s:v:2 640x360 -c:v:2 libx264 -b:v:2 700k -minrate:v:2 700k -maxrate:v:2 700k -bufsize:v:2 700k \
 -s:v:3 854x480 -c:v:3 libx264 -b:v:3 1280k -minrate:v:3 1280k -maxrate:v:3 1280k -bufsize:v:3 1280k \
 -s:v:4 1280x720 -c:v:4 libx264 -b:v:4 2560k -minrate:v:4 2560k -maxrate:v:4 2560k -bufsize:v:4 2560k \
 -s:v:5 1920x1080 -c:v:5 libx264 -b:v:5 5120k -minrate:v:5 5120k -maxrate:v:5 5120k -bufsize:v:5 5120k \
 -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2 v:3,a:3 v:4,a:4 v:5,a:5" \
 -master_pl_name "master.m3u8" \
 -f hls \
 -hls_playlist_type vod \
 -hls_time 5 \
 -hls_list_size 0 \
 -hls_flags split_by_time+round_durations \
 -start_number 1 \
 -hls_segment_filename "av/%v/%02d.ts" \
 "av/%v/prog_index.m3u8"




I can create audio only and video only version with the
-an
and-vn
flags, but it would convert the file 3 times.


Is there a way I can create all three versions with only 1 conversion ?



I couldn't figure out a way to convert the resulting
master.m3u8
into and audio only and video only version.
Also tried creating aconverted_media.mp4
then using that to just copy the audio and video streams and just make the 3 playlists, but that didn't work either.


Any help appreciated.