
Recherche avancée
Autres articles (34)
-
Personnaliser les catégories
21 juin 2013, parFormulaire de création d’une catégorie
Pour ceux qui connaissent bien SPIP, une catégorie peut être assimilée à une rubrique.
Dans le cas d’un document de type catégorie, les champs proposés par défaut sont : Texte
On peut modifier ce formulaire dans la partie :
Administration > Configuration des masques de formulaire.
Dans le cas d’un document de type média, les champs non affichés par défaut sont : Descriptif rapide
Par ailleurs, c’est dans cette partie configuration qu’on peut indiquer le (...) -
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 (...) -
Support audio et vidéo HTML5
10 avril 2011MediaSPIP utilise les balises HTML5 video et audio pour la lecture de documents multimedia en profitant des dernières innovations du W3C supportées par les navigateurs modernes.
Pour les navigateurs plus anciens, le lecteur flash Flowplayer est utilisé.
Le lecteur HTML5 utilisé a été spécifiquement créé pour MediaSPIP : il est complètement modifiable graphiquement pour correspondre à un thème choisi.
Ces technologies permettent de distribuer vidéo et son à la fois sur des ordinateurs conventionnels (...)
Sur d’autres sites (8530)
-
How to dump RTSP to raw data file without encoding
28 juin 2020, par YvesI've read this link : How to dump raw RTSP stream to file ?


In this link, it seems that dumping RTSP stream to some formatted file, such as
mp4
, is normal.

But I want to store the RTSP stream into the raw data files, instead of files like
mp4
,avi
etc. And I should be able to extract data from the raw data files and send it out as RTSP stream too.

In a word, this is what I need :


- 

- receiving RTSP stream ---> 2. store RTSP data into raw data files ---> 3. read raw data files and send data as RTSP stream




Why do I need this ?


Because as my understanding, storing RTSP strema into some formatted file, such as
mp4
, needs to do an action of encoding (encode RTSP to mp4). But for me, I don't need this action, I simply need to store RTSP data and re-send it as RTSP stream. So if I can store RTSP into the raw-data file, instead ofmp4
, I don't need to spend computer resources on the action of encoding.

-
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 !


-
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.