
Recherche avancée
Autres articles (101)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
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 -
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...)
Sur d’autres sites (4727)
-
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 !