
Recherche avancée
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 Streaming USB Webcam Video with Music Playlist
3 février 2020, par 556duckvaderHello I am setting up streaming box that will be using a USB webcam as my video source and I am wanting to add in background audio to the live streams. I am wanting to do this by specifying a playlist and have it play through the audio files and then loop back once the playlist is finished. I have the ffmpeg command that allows me to stream the USB webcam and I can get one audio file to play but I can’t get seem to figure out how to get the playlist to work. Any help would be great. Below is what I have that is working.
ffmpeg -f v4l2 -s 1280x720 -i /dev/video0 -i /home/pi/twitchMusic/ES_Arrows-MarVei.mp3 -c:a copy -c:v libx264 -r 24 -rtbufsize 1500k -preset ultrafast -crf 23 -force_key_frames 'expr:gte(t,n_forced*2)' -minrate 2200k -maxrate 2200k -pix_fmt yuv420p -b:v 2500k -bufsize 2200k -f flv rtmp://live.twitch.tv/app/TWITCH_KEY
-
How to convert mp4 to HLS and add subtitles to master playlist with ffmpeg
26 septembre 2023, par light01I'm trying to use
ffmpeg
to convert anmp4
file toHLS
, add subtitles, and have them in themaster playlist
.


I managed to get it to create
index_vtt.m3u8
files that contain the subtitles, but it doesn't want to add the stream to themaster playlist
.
I'm new to this so I don't fully understand how the whole ffmpeg works (I'm mainly just trying out bunch of resources I found on the net)


I'm using the following command :



../ffmpeg-4.2.1/ffmpeg -i ../input.mp4 -i ../subtitile.vtt -c:s webvtt -profile:v baseline -level 21 -s 1280x720 -start_number 0 -hls_playlist_type vod -hls_time 10 -hls_list_size 3 -f hls -master_pl_name master.m3u8 index.m3u8`




It generates
master.m3u8



#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=140800,RESOLUTION=1280x720,CODECS="avc1.42c015,mp4a.40.2"
index.m3u8




I can play it in vlc, but it doesn't recognize any subtitles.
Then I modify the
master.m3u8
so it looks like this :


#EXTM3U
#EXT-X-VERSION:6

#EXT-X-MEDIA:TYPE=SUBTITLES,URI="index_vtt.m3u8",GROUP-ID="default-text-group",LANGUAGE="hr",NAME="Croatian",AUTOSELECT=YES

#EXT-X-STREAM-INF:BANDWIDTH=140800,RESOLUTION=1280x720,CODECS="avc1.42c01e,mp4a.40.2",SUBTITLES="default-text-group"
index.m3u8




And everything is fine. How can I tell
ffmpeg
to do this for me ?

-
How to download m3u8 playlist with URL redirection ? (blob URL,HydraX, JW Player version 8.4.2)
17 novembre 2019, par wltprgmThe video in https://hydrax.net/ is using HLS, .m3u8 file, direct link is https://hydrax.net/demo/hydrax.html (from the iframe src).
However,
youtube-dl
couldn’t read from the .m3u8 file I downloaded from blob in chrome.And using
ffmpeg
method (which usually works) to download from the .m3u8 file failed because the first segment of the file is a URL redirectError when loading first segment 'https://i.donald-gaines.xyz/redirect/7qC173pnWiDwe2TumUTYnzX4WdbPn8XJDzhqDzXPo39PWtX4EaAxLq7FLUW17aI/WhsiWh1RO6oSXzr6QqkTOgljgRrXBgpJtQf6gMBAC5Jq95JkuQlWKpfpgPoo/BSGGloj6MOe7cO4K9HoDj76PRzjSVoiwcJ1Xl34kc3Z5/Bl2WS3KO8WsicRVG8l1EBoi3RN2DnqZx6o13U56YnDBv'
2b0bdf87-656f-4880-8357-f7fd6329b2f8.m3u8: Invalid data found when processing inputSomebody asked the same question in reddit some days ago : link