
Recherche avancée
Autres articles (47)
-
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 -
Publier sur MédiaSpip
13 juin 2013Puis-je poster des contenus à partir d’une tablette Ipad ?
Oui, si votre Médiaspip installé est à la version 0.2 ou supérieure. Contacter au besoin l’administrateur de votre MédiaSpip pour le savoir -
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 ;
Sur d’autres sites (8267)
-
FFMPEG UDP to DASH I am wondering if it could be written more efficiently ?
18 mars 2019, par c7borgI have the below working but it is quite cpu intensive I’ve just moved to ffmpeg 3.4 and was wondering if it could be written more efficently ?
The below takes a multicast stream from our local LAN avoids the choppy footage by using the scenecut then adjusts the audio with the async to keep it in time and uses the yadif to deinterlace to provide better quality. This command/script also trims the maximum number of segments otherwise with a live stream it would fill up the directory.
If anyone has any improvements I’d much appreciate it
I also add subtitles using -filter_complex "[0:v][0:s]overlay" but this conflicts with the -vf yadif option.
ffmpeg -i \
"udp://@239.192.4.5:1234?overrun_nonfatal=1&fifo_size=50000000" \
-acodec aac -strict -2 -vcodec libx264 \
-vf yadif \
-af aresample=async=1 \
-x264opts 'keyint=25:scenecut=-1' \
-window_size 10 -extra_window_size 10 \
-f dash /var/www/html/stream/out.mpdIf it can’t be written more efficiently at least this may help others as it took me a long time to get this far. For reference I use shaka player in chromium for the client side
-
lavf/matroska : Add functions for WebM DASH Manifest
7 juillet 2014, par Vignesh Venkatasubramanianlavf/matroska : Add functions for WebM DASH Manifest
Add functions and logic to matroskadec for use by the WebM DASH Manifest
XML Muxer. The actual muxer is added in a future patch.Signed-off-by : Vignesh Venkatasubramanian <vigneshv@google.com>
Signed-off-by : Michael Niedermayer <michaelni@gmx.at> -
FFMPEG || NGINX RTMP server not naming MPEG DASH chunks
12 avril 2020, par Mathew KnightFeel like i'm smashing my head against a brick wall here, i've been tryin to figure thisout for so long....



Basically i'm trying to send an RTMP stream to my NGINX server running on Ubuntu 18.04, then transcode it to a custom MPEG DASH stream that muxes the stream into 2 streams for audio and video.



as i need to have the chunks in the same destination folder i need to rename them.



when i try the following FFMPEG script it just keeps giving me chunks named for example :



chunk-stream-audio-%05d.webm



the %05d should be the chunk number running consecutively.



Running a similar script on my Macbook the chunks generate correctly... is this an error of have i done something wrong here ?



Here's my FFMPEG script



exec_push ffmpeg -re -an -i 'rtmp://localhost:1935/live/stream' -map 0:v:0 -c:v libvpx-vp9 -s 1920x1080 -bufsize 15000k -b:v 15000k -keyint_min 150 -g 150 -tile-columns 4 -frame-parallel 1 -an -f dash -init_seg_name 'init-stream$RepresentationID$_video.webm' -chunk_start_index 1 -media_seg_name 'chunk-stream$RepresentationID$-video-$Number$.webm' '/home/mathewknight/Desktop/test/video.mpd' -map 0:a:0 -c:a libopus -mapping_family 255 -b:a 1024k -vn -f dash -init_seg_name 'init-stream$RepresentationID$_audio.webm' -chunk_start_index 1 -media_seg_name 'chunk-stream$RepresentationID$-audio-$Number%05d$.webm' '/home/mathewknight/Desktop/test/audio.mpd' 2>>/var/log/nginx/ffmpeg.log;