
Recherche avancée
Autres articles (55)
-
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 ;
-
Ecrire une actualité
21 juin 2013, parPrésentez les changements dans votre MédiaSPIP ou les actualités de vos projets sur votre MédiaSPIP grâce à la rubrique actualités.
Dans le thème par défaut spipeo de MédiaSPIP, les actualités sont affichées en bas de la page principale sous les éditoriaux.
Vous pouvez personnaliser le formulaire de création d’une actualité.
Formulaire de création d’une actualité Dans le cas d’un document de type actualité, les champs proposés par défaut sont : Date de publication ( personnaliser la date de publication ) (...) -
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
Sur d’autres sites (8874)
-
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.


-
find matching files using a.bat script and assign them to a variable ?
2 octobre 2019, par A PersonI am trying to assign a file to a variable in batch-file and then also assign anoter 2 files into anoter variable.
However, i am having an issue.
From research, i found how i can do the assigning but does anyone know how i can do the below.
From a folder or text file (either is fine) find the .m2v video file and assign that to Var1 then find matching audio in .wav and put that in Var2 and the third is also an audio .wav with mathcing name and assign that to Var3.
Problem i am having is that trying to find the matching 2 audio file to the video.
The video file is named as PAV_PRG_13683Highc450277201906251802090353.m2v
Audio 1 is : PAV_PRG_13683High01c450211201906251802090376.wav
Audio 2 is : PAV_PRG_13683High00c450211201906251802090368.wav
the file name matches until it sees the word High. Everything after High is not needed and is random string so trying to match is an issue.
is there a way to find the match by comparing everything before High.
Also as i will be using the variable and putting them through ffmpeg to merge, is there way to do it so that when the ffmpeg command is done, it moves to the next matching files and assigns them to the variable.
files are store in 2 folders
One folder has all the video files *.m2v
and another folder has all the *.wav audio files in pairs of 2. Each video has exactly 2 audios (left right audio)
is there any hel pon this subject, i have already come up empty in my research and have been checking for this over the last week spent almost 30 hours.
-
Use ffmpeg/avconv to re-stram a combined stream ?
28 novembre 2014, par TerminelloHaving two separate stream sources (audio and video) each from an IP-camera, I would like to
- combine them into a single stream
- save this into a file (using segmentation)
- re-stream (specific word unknown for me, sorry) the combined stream so that other users may access it without having to combine the streams on their own
The first two things : I have already accomplished like that :
ffmpeg -use_wallclock_as_timestamps 1 -f mjpeg -i 'http://camera.ip.address/videostream.cgi?user=username&pwd=password' -i 'http://camera.ip.address/videostream.asf?user=username&pwd=password' -map 0:v -map 1:a -acodec copy -vcodec copy -f segment -segment_time 3600 -reset_timestamps 1 'out%03d.mkv'
Credits go to santiago (foscam.com forums)
But how to make this stream available on the LAN at the same time while being recorded and saved to HDD ?
BTW : You might ask, why do I need this : Because many clients do not have capabilitys to combine a stream from multiple sources, so I set up a server which does this task and clients do not go directly to the audio/video source (IP-camera) but catch the newly generated stram = : the idea.