
Recherche avancée
Autres articles (59)
-
Activation de l’inscription des visiteurs
12 avril 2011, parIl est également possible d’activer l’inscription des visiteurs ce qui permettra à tout un chacun d’ouvrir soit même un compte sur le canal en question dans le cadre de projets ouverts par exemple.
Pour ce faire, il suffit d’aller dans l’espace de configuration du site en choisissant le sous menus "Gestion des utilisateurs". Le premier formulaire visible correspond à cette fonctionnalité.
Par défaut, MediaSPIP a créé lors de son initialisation un élément de menu dans le menu du haut de la page menant (...) -
HTML5 audio and video support
13 avril 2011, parMediaSPIP uses HTML5 video and audio tags to play multimedia files, taking advantage of the latest W3C innovations supported by modern browsers.
The MediaSPIP player used has been created specifically for MediaSPIP and can be easily adapted to fit in with a specific theme.
For older browsers the Flowplayer flash fallback is used.
MediaSPIP allows for media playback on major mobile platforms with the above (...) -
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 : (...)
Sur d’autres sites (12427)
-
FFMpeg overlay and fade images and text in and out at over video background
28 décembre 2019, par grootesterPrior to applying the drawbox and drawtext text option I was able to fade in and out images easily. However, attempting to incorporate the drawtext produces unwanted errors. Any ideas how this could be rememdied ? Love to show multi-line text (different fonts) centered over box at specific times with fade in fade out times that works alongside images fading in out at specific times.
ffmpeg -i vids/testVid.mp4 -loop 1 -i slideshow/pic1.png -loop 1 -i slideshow/pic2.png -loop 1 -i slideshow/pic3.png -i slideshow/pic4.png -filter_complex "[0:v]drawbox=x=40:y=40:w=250:h=75:color=white,drawtext=fontfile=arialb.ttf:fontsize=24:font color=black:text=Micky Mouse,drawtext=fontfile=arial.ttf:fontsize=24 : font color=black:text=January 1st 1938 — December 19th 2019fade=st=0:d=1:alpha=1,fade=out:st=5:d=1:alpha=1,trim=0:6,setpts=PTS+4/TB[ovr1] ; [2]fade=st=0:d=1:alpha=1,fade=out:st=5:d=1:alpha=1,trim=0:6,setpts=PTS+10/TB[ovr2] ; [3]fade=st=0:d=1:alpha=1,fade=out:st=5:d=1:alpha=1,trim=0:6,setpts=PTS+16/TB[ovr3] ; [4]fade=st=0:d=1:alpha=1,fade=out:st=5:d=1:alpha=1,trim=0:6,setpts=PTS+22/TB[ovr4] ; [0:v][ovr1]overlay=(main_w-overlay_w)/2 :(main_h-overlay_h)/2:enable=’between(t,4,10)’[base1] ; [base1][ovr2]overlay=(main_w-overlay_w)/2 :(main_h-overlay_h)/2:enable=’between(t,10,16)’[base2] ; [base2][ovr3]overlay=(main_w-overlay_w)/2 :(main_h-overlay_h)/2:enable=’between(t,16,22)’[base3] ; [base3][ovr4]overlay=(main_w-overlay_w)/2 :(main_h-overlay_h)/2:enable=’between(t,22,28)’[out]" -map "[out]" -c:v libx264 -c:a copy -flags +global_header -crf 27 -preset veryfast -s 1920x1080 -y slideshow/outTest.mp4
-
FFMPEG Image overlay Fade in and out on Video not working properly
24 août 2015, par HardCore CODERhi i have a video around 30 second and i want to set overlay image between 5 - 10 second only and play remaining video as per as.
But i have an issue the video start with black screen and fade in on 5th second and play well upto 10 second and fade out to black after 10 second and whole video is black screen upto 30 second
-i input.mp4 -i 34232944.png -filter_complex " [0:v][1:v] overlay=0:0:enable=’between(t,5,10)’,fade=t=in:st=5:d=1,
fade=t=out:st=10:d=1 ’" -c:v libx264 -crf 23 output.mp4video link :-
https://www.dropbox.com/s/vmbed5vxtakfhg5/TinyTake24-08-2015-02-59-59.mp4?dl=0Please help me.
Thanks -
Issue transcoding H.265 to H.264 stream with FFMPEG
5 octobre 2023, par Diego SatizabalI'm having an issue trying to do some tests restreaming an H.265 stream to H.264 as follows :


- 

- I use a MP4 file as video source, then I use VLC to stream it with H.265 codec as follows :




- 

- I go to media -> stream menu, then select a file and stream :






- 

- The second step allows me to add a destination for the stream, I chose HTTP :






- 

- The next step allows me to select a profile, I select Video - H.265 + MP3 (MP4) profile leaving the Activate Transcoding option :






- 

-
Previous steps allow me to stream the video file, I can open another instance of VLC and open the URL of the created stream (http://localhost:8080/test) and it is able to playback the stream. Moreover, if I go to Tools -> Codec Info menu I see that the playback indeed uses H.265 codec.


-
Then I try to use FFMPEG library to take that input stream and transcode to two separate stream, one H.264 for a copy of the video and another an opus audio output with the following command :








ffmpeg -i http://localhost:8080/test -c:v libx264 -bsf:v h264_mp4toannexb -b:v 2M -profile:v baseline -pix_fmt yuv420p -x264-params keyint=120 -max_delay 0 -bf 0 -listen 1 -f h264 unix:/tmp/myvideo.sock -c:a libopus -page_duration 20000 -vn -listen 1 -f opus unix:/tmp/myaudio.sock



But I get the following error :




If I try RTSP instead of HTTP it works but the stream is awful, I can barely see some frames on the receiver and the video usually freezes or just shows black.


I'm using Ubuntu with VLC 3.0.18 and FFMPEG 4.4.2.


I have specific requirements to handle the live streams, I cannot just convert and save to a new container (MP4 file) the transcoded video, I require a source streaming H.265 and transcode the stream to be injected into a WebRTC server (requiring H.264 as input).


Any help/suggestion is much appreciated in advance !