
Recherche avancée
Médias (91)
-
MediaSPIP Simple : futur thème graphique par défaut ?
26 septembre 2013, par
Mis à jour : Octobre 2013
Langue : français
Type : Video
-
avec chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
sans chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
config chosen
13 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
SPIP - plugins - embed code - Exemple
2 septembre 2013, par
Mis à jour : Septembre 2013
Langue : français
Type : Image
-
GetID3 - Bloc informations de fichiers
9 avril 2013, par
Mis à jour : Mai 2013
Langue : français
Type : Image
Autres articles (29)
-
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 : (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...) -
De l’upload à la vidéo finale [version standalone]
31 janvier 2010, parLe chemin d’un document audio ou vidéo dans SPIPMotion est divisé en trois étapes distinctes.
Upload et récupération d’informations de la vidéo source
Dans un premier temps, il est nécessaire de créer un article SPIP et de lui joindre le document vidéo "source".
Au moment où ce document est joint à l’article, deux actions supplémentaires au comportement normal sont exécutées : La récupération des informations techniques des flux audio et video du fichier ; La génération d’une vignette : extraction d’une (...)
Sur d’autres sites (2768)
-
ffmpeg hls muxer is missing codec info in master playlist when codecs are copied from input
21 septembre 2021, par doganffmpeg hls muxer has the option to set master playlist but the created playlist is missing the important codec information.


Example :


ffmpeg -hide_banner -i <input /> -c copy -f hls -master_pl_name master.m3u8 stream.m3u8



Expected :


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=77595,RESOLUTION=1280x720,CODECS="avc1.64001f,mp4a.40.2"
stream.m3u8



Instead I get this


#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=77595,RESOLUTION=1280x720
stream.m3u8



Is there a way to make ffmpeg set the codec info in playlist from the input source ? It works as expected if I encode the input using libx264 but I do not want to do any expensive encoding but copy the codecs from the input.


-
Video append of 5656b failed for segment #2 in playlist Gstreamer RTSP to HLS
28 juin 2021, par 55597I'm trying to forward an RTSP stream(video and audio) using GStreamer and stream it to HLS.


Here is what I'm running on the RTSP server send :


./test-launch 'v4l2src device=/dev/video0 ! clockoverlay ! nvvidconv ! nvv4l2h264enc ! h264parse ! rtph264pay name=pay0 pt=96 alsasrc device="hw:2,0" ! voaacenc ! rtpmp4apay pt=97 name=pay1'



The command I'm trying to use to receive is :


gst-launch-1.0 rtspsrc location=rtsp://127.0.0.1:8554/test name=rtspsrchls ! queue ! rtph264depay ! h264parse ! mpegtsmux name=mux ! hlssink location="/home/nano128/tdservice/hls_rtsp/public/segment%05d.ts" playlist-location=/home/nano128/tdservice/hls_rtsp/public/playlist.m3u8 target-duration=20 max-files=5 rtspsrchls. ! queue ! rtpmp4adepay ! aacparse ! audio/mpeg ! mux.



The HLS stream starts and I am able to see it on my browser. But I get these errors on the browser.


video append of 5656b failed for segment #2 in playlist



When I try to play the segment0.ts on vlc it is playing properly but when I l play sement1.ts I hear only audio.


What is wrong with my GStreamer command ?


-
How to add a subtitle to an HLS playlist using FFmpeg ?
24 mai 2021, par AradI have a video (
video.mp4
) and a subtitle file (subtitle.srt
).

I'm trying to use FFmpeg to generate a VoD HLS playlist with 3 different resolutions for the video ; and I also want the subtitle file to turn into segmented
.vtt
files.

I've tried the following command, but it doesn't work, it gives me a "Conversion failed !" message without any further information :


ffmpeg -i video.mp4 -i subtitle.srt \
-preset slow -g 60 -sc_threshold 0 \
-map 0 -map 0 -map 0 -map 1 \
-s:v:0 640x360 -c:v:0 h264 -b:v:0 500k \
-s:v:1 854x480 -c:v:1 h264 -b:v:1 1000k \
-s:v:2 1280x720 -c:v:2 h264 -b:v:2 2000K \
-c:a copy -c:s webvtt \
-f hls -hls_playlist_type vod -var_stream_map "v:0,a:0 v:1,a:1 v:2,a:2" \
-master_pl_name master.m3u8 -hls_time 6 -hls_list_size 0 -hls_allow_cache 1 -start_number 1 \
-hls_segment_filename "output/hls/%v/seg-%d.ts" output/hls/%v/index.m3u8



I'm struggling to find any useful information in FFmpeg docs or anywhere else regarding how subtitles can be added to an HLS playlist. What should the command be like exactly ? What am I missing in mine ?