
Recherche avancée
Autres articles (70)
-
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Des sites réalisés avec MediaSPIP
2 mai 2011, parCette page présente quelques-uns des sites fonctionnant sous MediaSPIP.
Vous pouvez bien entendu ajouter le votre grâce au formulaire en bas de page. -
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 (...)
Sur d’autres sites (10387)
-
avfilter/split : switch to activate()
1er mars 2022, par Paul B Mahol -
FFmpeg Not Creating or Appending Final HLS Segment When RTMP Stream Ends [closed]
14 août 2024, par ArjitI am transcoding an RTMP stream to HLS using FFmpeg, and I have a problem : when the RTMP stream finishes, the last segment, which does not reach the target duration, is not created as a
.ts
file. Consequently, this last segment is not appended to the playlist file.

command :


fmpeg -i rtmp://localhost:1935/live/xyz -c:v libx264 -preset veryfast -b:v 400k -c:a aac -b:a 64k -s 426x240 -hls_playlist_type event -hls_time 10 -hls_list_size 0 -hls_segment_filename jack/240p_%03d.ts jack/240p.m3u8



I expected that when the RTMP stream ends or when i terminate that FFmpeg process, FFmpeg would create a .ts file for the last segment, even if it is shorter than the target duration (10 seconds), and that this segment would be appended to the playlist (output.m3u8).


-
Concat with short inpoint and outpoint differences leads to long still image in the final video
11 mai 2017, par P. DeeI create a
list.txt
withinpoint
andoutpoint
markers, that are sometimes close - down to 0.5s in difference with GoPro MP4-files.Then I use
-y -f concat -safe 0 -i list.txt -c:v libx264 -c:a aac -af aresample=async=1 -pix_fmt yuv420p "filename.mp4"
.What happens is that the smaller the differences between
inpoint
andoutpoint
are, the longer a still image of the first video image is shown. Recently I had a 60 seconds long video and 30 seconds of it at the beginning were just the same image.How do I need to change my command ?