
Advanced search
Medias (91)
-
MediaSPIP Simple : futur thème graphique par défaut?
26 September 2013, by
Updated: October 2013
Language: français
Type: Video
-
avec chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
sans chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
config chosen
13 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
SPIP - plugins - embed code - Exemple
2 September 2013, by
Updated: September 2013
Language: français
Type: Picture
-
GetID3 - Bloc informations de fichiers
9 April 2013, by
Updated: May 2013
Language: français
Type: Picture
Other articles (74)
-
Organiser par catégorie
17 May 2013, byDans 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 (...) -
Création définitive du canal
12 March 2010, byLorsque votre demande est validée, vous pouvez alors procéder à la création proprement dite du canal. Chaque canal est un site à part entière placé sous votre responsabilité. Les administrateurs de la plateforme n’y ont aucun accès.
A la validation, vous recevez un email vous invitant donc à créer votre canal.
Pour ce faire il vous suffit de vous rendre à son adresse, dans notre exemple "http://votre_sous_domaine.mediaspip.net".
A ce moment là un mot de passe vous est demandé, il vous suffit d’y (...) -
Le profil des utilisateurs
12 April 2011, byChaque 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 (...)
On other websites (5931)
-
Selfoptimization ffmpeg script
20 November 2023, by TheRob87I'd like to split mp3 Files at a specific range by silence.
To do that I have the following script, but don't know how to stop and restart the search function:


$minDuraton = 180
 $maxDuraton = 480
 $paramDB = -42
 $w_paramDB = $paramDB


 $silparam = [string]$w_paramDB+"dB:d=0.2"

C:\ffmpeg\bin\ffmpeg.exe -v warning -i "C:\mp3\test.mp3" -af silencedetect=$silparam,ametadata=mode=print:file=-:key=lavfi.silence_start -vn -sn -f s16le -y D:\Mailbox\09_Tools\PS_Scripte\mp3\Tmp_silents_part.txt|
%{ if ($_ -match "start"){
 $i++
 $text,$time = $_ -split "="
 $p_Duration = $time - $StartPart
 if($p_Duration -gt ($maxDuraton +10)){
 # Stop ffmepg and restart with new parameter

 ##### -please help- #####

 # editing Parameter
 $w_paramDB = [INT]($w_paramDB * 1,10)

 }
 elseif($p_Duration -ge $minDuraton ){
 $null = $PartArr.Add($time)
 $StartPart = $time
 } 
 }
}

$PartArr
$i
$segments = ($PartArr) -join "," #PartArr | Join-String -Separator ','

$segmentsC:

C:\ffmpeg\bin\ffmpeg.exe -i "C:\mp3\test.mp3" -f segment -segment_times $segments "C:\mp3\output_silc_%03d.mp3"



-
ffmpeg not using wildcard properly from batch script [closed]
25 October 2024, by timonskuWhat I want to do is actually super simple and is working just fine if executed from within the cmd window, though it does not work when used within a batch script. The following command would normally get all .png files with the pattern anim_xxxx.png (%04d stands for 4 numbers in ffmpeg).



ffmpeg -f image2 -i anim_%04d.png -vcodec mjpeg -q:v 0 -r 25 foo.avi




Now the error I get is with the wildcard for my image sequence and I have no clue what the problem is. Using another wildcard like * gives me the same error.





[image2 @ 000000000033e8c0] Could find no file with with path
 'anim_render.bat4d.png' and index in the range 0-4
 anim_render.bat4d.png: No such file or directory





does %04d resemble any variable in a batch file that does not exist outside of batch files? I could not find any similar cases so far.


-
run ffmpeg from PHP web script
18 February 2014, by it6I need to manage the recording/capture of a website mindwhile it is running a slide-show to get videos form these slides.
My approach is:
<?php
define('FFMPEG_LIBRARY', '/usr/bin/ffmpeg ');
$ffmpegcmd = "ffmpeg -f x11grab -r 25 -s 800x600 -i :0.0 /tmp/output.mpg";
shell_exec($ffmpegcmd);
?>But i get this error from php error log:
[x11grab @ 0x81e8aa0] device: :0.0 -> display: :0.0 x: 0 y: 0 width: 800 height: 600
No protocol specified
No protocol specified
[x11grab @ 0x81e8aa0] Could not open X display.
:0.0: Input/output errorSimilar command from console run good.
Please, any help to get display and be able to control ffmpeg from browser php script?
Thanks in advance.
thanks for your time.
I got rid the X display error, but not I still haven't got the capture.
Using xvfb I get an unknown file at /tmp written by www-data user:
rw-r—r— 1 www-data www-data 11252 Sep 12 09:49 server-B20D7FC79C7F597315E3E501AEF10E0D866E8E92.xkm
Running startx I got also an unknown file at /tmp
rw------- 1 www-data www-data 59 Sep 12 09:53 serverauth.oLcFlG7tXC
any of both grow in size so it is not capturing anything. The content is some binary thing.
What are those files about?What I am trying is to write a script in which I can control the time ffmpeg is capturing the desktop to create a video from a jquery slide displayed on a website.
My try from console is closer, but if I can do it by browser I will be able to know when to stop sending an AJAX request once the slide is finished.
This is my try from console:
#!/bin/bash
# start the slide website: I will need to change it to control by querystring the language and course level
firefox http://www.languagecourse.net/vocabulary-trainer.php &
# start recording: I will need to adjust the frame to capture
ffmpeg -f x11grab -r 25 -s 800x600 -i :0.0 /tmp/output2.mpg &
# since I can't control the time a course takes I pause an arbitrary time
sleep 5
# look for the capture PID and close it
for i in $(ps aux | grep ffmpeg | sed "s/ */#/g" | cut -f2 -d#)
do
echo "proceso $i killed"
kill -9 $i
doneI wonder once the website is opened I can continue doing the control from AJAX, but not know if I will be able to get the ffmpeg PID to stop the command.
I will appreciate any kind of comments.
Regards,
·_-