
Recherche avancée
Autres articles (103)
-
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...) -
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...)
Sur d’autres sites (16001)
-
How to choose the thumbnail of the first video instead of the second video when you concatenate them with FFMPEG ?
4 octobre 2018, par Lanh Dien Xa TamI’ve been using FFMPEG to bulk add outro to my videos. This is the code I use :
for %%f in (*.mp4) do (
echo.>%%f.txt
echo file '%%f' >> %%f.txt
echo file 'outro/outro.mp4' >> %%f.txt
)
for %%f in (*.txt) do (
ffmpeg -f concat -i %%f -c copy concatenated/%%f.mp4
)The problem is the thumbnail of the output videos is always is the second video’s (the outro) but not the first. Does anybody here know how to pick the first video thumbnail to be the output’s thumbnail instead of the second’s ?
-
Ffmpeg hls live stream video freezes for a second but audio continues and video catches up
13 décembre 2022, par Bluchip StudioI am using the latest version of ffmpeg to create a hls live stream todo this i am using the following command


/root/ffmpeg -y -loglevel debug -threads 0 -probesize 512000 -analyzeduration 512000 -user_agent "Chrome/98.0.4758.102" -i https://example.com/input.m3u8 -c:v copy -c:a copy -async 1 -tune zerolatency -fflags +genpts -hls_init_time 2.002 -hls_time 2.002 -hls_list_size 20 -hls_flags delete_segments+append_list -hls_segment_type mpegts -hls_segment_filename "/var/www/html/hls/segment_%05d.ts" -f hls "/var/www/html/hls/playlist.m3u8"



I initially tried using fmp4 but i noticed the video would lag behind major and the audio would end up well ahead so i switched to mpegts


i managed to fix the audio issue here using -async 1 on fmp4 this made no diffrence now i have a small issue where my stream will open and play but the video will freez every few seconds while the audio continues and then the video will jump to catch back up and continue then it will do it again and again and again


dose anyone know what may be causing this issue i tried swapping to x264 in stead of copying the video stream and using force key frames to set a key frame every 2 seconds but this resulted in well the same issue if not a little worse


i kind of expected the stream to play perfect with the settings i have and with the logs set to debug i cant see any errors at all


-
Stream real-time video flux in HTML video tag
26 septembre 2018, par c.censierI want to stream a real-time video flux that come from udp into a HTML
video
tag.
I made some research but I got a lot of informations and I struggle to have a clear overview of what I can do and what I can’t.The video flux use H.264 and AAC codecs, MP4 container and has a 3840x2160 (4K) resolution. I’d like to play it on Chrome (latest version).
As I understand from now, HTML
video
tag can natively read H.264/AAC videos. I made it work with the video direclty on my server (I’m using Meteor JS + React).I learnt to use FFmpeg to stream an udp flux read by VLC player, and then I used FFserver (I know it’s deprecated) to create an HTTP flux also read by VLC but not by the HTML
video
tag.So... my question is : is HTML
video
can natively read video stream from HTTP ?I’ve seen a lot of discussions about HLS and DASH, but I didn’t understand if (and why) they’re mandatory.
I read a post about someone creating a HLS
m3u8
using only FFmpeg, is it a viable solution ?FFserver configuration
HTTPPort 8090
HTTPBindAddress 0.0.0.0
MaxHTTPConnections 20
MaxClients 10
MaxBandwidth 100000
<feed>
File /tmp/feed.ffm
FileMaxSize 1g
ACL allow 127.0.0.1
</feed>
<stream>
Feed feed.ffm
Format mpeg
AudioCodec aac
AudioBitRate 256
AudioChannels 1
VideoCodec libx264
VideoBitRate 10000 // Total random here
VideoBitRateRange 5000-15000 // And here...
VideoFrameRate 30
VideoQMin 1
VideoQMax 50
VideoSize 3840x2160
VideoBufferSize 20000 // Not sure either
AVOptionVideo flags +global_header
</stream>I had to specify QMin and QMax to avoid error message but I don’t really understand what is it.
FFmpeg command line
ffmpeg -re -i bbb_sunflower_2160p_30fps_normal.mp4 -strict -2 -r 30 -vcodec libx264 http://localhost:8090/feed.ffm
This work with VLC. I’m working with a file on my computer before moving to an udp stream.