
Recherche avancée
Autres articles (60)
-
Mise à jour de la version 0.1 vers 0.2
24 juin 2013, parExplications des différents changements notables lors du passage de la version 0.1 de MediaSPIP à la version 0.3. Quelles sont les nouveautés
Au niveau des dépendances logicielles Utilisation des dernières versions de FFMpeg (>= v1.2.1) ; Installation des dépendances pour Smush ; Installation de MediaInfo et FFprobe pour la récupération des métadonnées ; On n’utilise plus ffmpeg2theora ; On n’installe plus flvtool2 au profit de flvtool++ ; On n’installe plus ffmpeg-php qui n’est plus maintenu au (...) -
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
Dépôt de média et thèmes par FTP
31 mai 2013, parL’outil MédiaSPIP traite aussi les média transférés par la voie FTP. Si vous préférez déposer par cette voie, récupérez les identifiants d’accès vers votre site MédiaSPIP et utilisez votre client FTP favori.
Vous trouverez dès le départ les dossiers suivants dans votre espace FTP : config/ : dossier de configuration du site IMG/ : dossier des média déjà traités et en ligne sur le site local/ : répertoire cache du site web themes/ : les thèmes ou les feuilles de style personnalisées tmp/ : dossier de travail (...)
Sur d’autres sites (9364)
-
how to generate multiple bitrate output hls files from live rtsp stream
10 février 2015, par prashantaI am gerating single bitrate live hls content from live rtsp stream . I am using the following command
ffmpeg -v verbose -i rtsp://127.0.0.1:8080/test.sdp -vcodec libx264 -acodec aac -ac 1 -strict -2 -crf 18 -profile:v baseline -maxrate 400k -bufsize 1835k -pix_fmt yuv420p -flags -global_header -hls_time 10 -hls_list_size 3 -hls_wrap 4 -hls_flags delete_segments -start_number 1 /usr/local/apache-tomcat-7.0.53/webapps/ROOT/hls/index1.m3u8
How can I modify the above FFmpeg command to generate multiple bitrate output content ? Please help me.
-
Deal with dropped frames in live stream
8 juillet 2020, par arunk2We encode a stream (RTMP) into HLS with ffmpeg. During the conversion we observe a lot of variation in fps. We could trace it back to the 'frames' dropped at source (during video upload from tools like OBS). This introduces a bad CX during playback of generated HLS - like buffering/getting-stuck.


Question :
What is the typical way to handle dropped frames in live stream graciously - like duplicating previous frames or other means ? Pointers to related resources ?


-
Encoding rawframes to raw h264 live [closed]
25 juillet 2024, par Enry FrafranciI'm trying to make an application that generates an mp4 stream live in node.js.


So far I've successfully got the stream part working with static pre-encoded raw h264 files, then passing them trough
jmuxer
, streaming it to anexpress
endpoint.
Now I would like to generate live the h264 stream based on a canvas that gets drawn live.
I've managed to use thecanvas
module to do that with no issue, but problems arise when trying to compress and encode the canvas output withffmpeg
. This is the command that I'm running, while piping in the raw video frames, and expecting on the pipe output the raw h264 stream :

ffmpeg -f rawvideo -r 30 -pixel_format rgb24 -video_size 640x480 -i pipe:0 -c:v libx264 -pixel_format yuv420p -preset fast -f h264_mp4toannexb pipe:1



But this is the error message I receive instead :


Output format h264_mp4toannexb is not available



I know for sure my frame generation works correctly and
ffmpeg
accepts it because a previous project of mine used basically the same exact code, with the exception of the output being a simple mp4 file and not a stream.

Any help to figure out what's a good solution is appreciated !


Thanks


Rico