
Recherche avancée
Autres articles (41)
-
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
Pas question de marché, de cloud etc...
10 avril 2011Le vocabulaire utilisé sur ce site essaie d’éviter toute référence à la mode qui fleurit allègrement
sur le web 2.0 et dans les entreprises qui en vivent.
Vous êtes donc invité à bannir l’utilisation des termes "Brand", "Cloud", "Marché" etc...
Notre motivation est avant tout de créer un outil simple, accessible à pour tout le monde, favorisant
le partage de créations sur Internet et permettant aux auteurs de garder une autonomie optimale.
Aucun "contrat Gold ou Premium" n’est donc prévu, aucun (...) -
Installation en mode ferme
4 février 2011, parLe mode ferme permet d’héberger plusieurs sites de type MediaSPIP en n’installant qu’une seule fois son noyau fonctionnel.
C’est la méthode que nous utilisons sur cette même plateforme.
L’utilisation en mode ferme nécessite de connaïtre un peu le mécanisme de SPIP contrairement à la version standalone qui ne nécessite pas réellement de connaissances spécifique puisque l’espace privé habituel de SPIP n’est plus utilisé.
Dans un premier temps, vous devez avoir installé les mêmes fichiers que l’installation (...)
Sur d’autres sites (3298)
-
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.
-
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.
-
bash : find truncates some paths [duplicate]
17 novembre 2023, par fweberI'm using MacOS 13.0.1 and try to find + loop over
.mov
files to convert them to MP4 using FFMPEG. Many of my path contain spaces and special characters. I found a way of putting things together thanks to this post :

function convert_to_mp4_then_rm() {
 while IFS= read -r -d '' file
 do
 ffmpeg -i "$file" "${file%.mov}.mp4"
 done < <(find /Users/f.weber/Downloads -type f -name "*.mov" -print0)
}



This runs but I found a (random ?) error : it looks like some of the paths are truncated when they arrive to the
ffmpeg
CLI.

Example to reproduce with a basic content :


ll Downloads/
total 9472
-rw-r--r-- 1 f.weber staff 2,3M 26 sep 08:56 23-09-26 08-56-50-2538.mov
-rw-r--r-- 1 f.weber staff 2,3M 26 sep 08:56 23-09-26 08-56-50-2539.mov



When I call
convert_to_mp4_then_rm
in a terminal, the first MOV file is properly processed then I have the following error from FFMPEG :/Downloads/23-09-26 08-56-50-2539.mov: No such file or directory
. In some conditions (e.g. when the path is longer) the truncation is more obvious and can occur in the middle of a word.

What is the explanation for this ? How to forward untruncated paths to my function's core ?


Thanks !