
Recherche avancée
Autres articles (85)
-
Le profil des utilisateurs
12 avril 2011, parChaque utilisateur dispose d’une page de profil lui permettant de modifier ses informations personnelle. Dans le menu de haut de page par défaut, un élément de menu est automatiquement créé à l’initialisation de MediaSPIP, visible uniquement si le visiteur est identifié sur le site.
L’utilisateur a accès à la modification de profil depuis sa page auteur, un lien dans la navigation "Modifier votre profil" est (...) -
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. -
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 (...)
Sur d’autres sites (8172)
-
How to overlay one video on another and then if one video finishes then fullscreen the other video [FFMPEG]
2 février 2020, par siddhesh amraleffmpeg -i s2.mp4 -vf "movie=s1small.mp4 [inner];[in][inner] overlay=100:100 [out]" merge.mp4
s1 dimension : 420x320
s2 dimension : 1280x720
I want the other video to fullscreen if one video ends.
-
ffmpeg : overlay video on top of a cropped video, map the overlay audio, cut the base video to the overlays length
14 mars 2023, par rokuI'm trying to overlay a video on top of a base video which is cropped to a shorts video format (standing phone). The overlayed video should be centered on top of the base layer. The base video's length should be reduced to the overlay's length. And I want to save only the overlay's audio.


I've tried a bunch of stuff without much success. The current state of my ffmpeg command is this :


ffmpeg -i overlay.mp4 -ss 00:00:00 -to <insert base="base"> -i base.mp4 -map 1:v:0 -map 1:a -vf "crop=ih*(9/16):ih" -crf 21 output.mp4
</insert>


But this only gives me the cropped version of the base video. So my questions are :


- 

- How can I figure out the base video's length ?
- How can I actually overlay (not map) other video on top of the base video ?
- How can I map the overlay's audio ? Since
-map 1:a
the base's audio and-map 0:a
says : "Stream map '0:a' matches no streams. To ignore this, add a trailing ' ?' to the map."








Any help is appreciated.


-
ffmpeg - why I have three video streams in the output file when I have one video input (one video stream), one logo input
17 juillet 2024, par YazhouHi I'm using ffmpeg to transcode some video files from prores or dv to h264/mov. Also I want to add a logo on it and make some other changes.
The command line I use is


ffmpeg -i input.mov -i logo.png -c:a aac -c:v libx264 -pix_fmt yuv420p -crf 18 -map 0:a? -map 0:v -filter_complex "yadif,[1]scale=iw*1:-1[wm];[0:v:0][wm]overlay=main_w-overlay_w-5:5" -disposition:v:0 default output_h264.mov


And what I got has three video streams. One for the logo,one for the video with logo, and one for original video.


Though I put the default video stream as the one with both video and logo as you can see for
-disposition:v:0 default
, and it's also playing that stream. But when I tried to upload it on Vimeo or Youtube, it uses the wrong stream.


How can I change the command line to let ffmpeg only output one stream ?
And how can I remove the extra streams for the existed outcomes ?