
Recherche avancée
Autres articles (89)
-
Gestion des droits de création et d’édition des objets
8 février 2011, parPar défaut, beaucoup de fonctionnalités sont limitées aux administrateurs mais restent configurables indépendamment pour modifier leur statut minimal d’utilisation notamment : la rédaction de contenus sur le site modifiables dans la gestion des templates de formulaires ; l’ajout de notes aux articles ; l’ajout de légendes et d’annotations sur les images ;
-
Contribute to documentation
13 avril 2011Documentation is vital to the development of improved technical capabilities.
MediaSPIP welcomes documentation by users as well as developers - including : critique of existing features and functions articles contributed by developers, administrators, content producers and editors screenshots to illustrate the above translations of existing documentation into other languages
To contribute, register to the project users’ mailing (...) -
Submit bugs and patches
13 avril 2011Unfortunately a software is never perfect.
If you think you have found a bug, report it using our ticket system. Please to help us to fix it by providing the following information : the browser you are using, including the exact version as precise an explanation as possible of the problem if possible, the steps taken resulting in the problem a link to the site / page in question
If you think you have solved the bug, fill in a ticket and attach to it a corrective patch.
You may also (...)
Sur d’autres sites (4638)
-
FFmpeg + HTTP Images - How to recover from lost connection ?
20 juin 2019, par user11588722I have a command which works very well, but stops dead if the connection is lost for even a second. The images are remotely hosted. Is there a way to prevent the command from completely stopping ? Maybe make it continue after the connection comes back ?
ffmpeg -y -f concat -safe 0 -protocol_whitelist "file,http,https,tcp,tls" -i "Temp/images.txt" -i "Assets/screen.png" -i "Temp/audio.mp3" -filter_complex "[0]scale=3840x2160,zoompan=z='if(lte(zoom,1.0),1.2,max(1.001,zoom-0.0010))':x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)':fps=15:d=200[p];[p][1]overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2, drawtext=fontfile=Assets/Fonts/Heathergreen.otf:text='%%~ni':fontcolor=black:fontsize=32:x=90:y=582[v];[2:a]showwaves=mode=cline:s=110x36:r=15:scale=sqrt:colors=0x222222,colorkey=0x000000:0.01:0.1,format=yuva420p[w];[v][w]overlay=77:444,scale=1280:720[outv]" -map "[outv]" -map 2:a -c:v libx264 -c:a aac -preset ultrafast -shortest "Temp/video.mp4"
I’ve tried looking into FFmpeg documentation and tried timeouts and other options, but either they don’t work or (more likely) I’m doing something wrong.
Any advice would be appreciated. Thank you. -
Automatically fade audio
25 mars 2019, par Nadav TasherI have a working script that plays a different audio every 45 minutes.
The audio files change on a daily basis, so i cant manually fade them in/out in Audacity.
In the script, i have the following line :
ffplay -i /home/user/Ringtone1.mp3 -ss 00:00:7 -t 20 -nodisp -autoexit
But every time, the audio cuts abruptly after 20 seconds, which isn’t very ear-pleasing.
I want to make the audio fade in from 0 to max in 5 seconds and then fade out from max to 0 in 5 seconds (at the end of the 20 seconds).
How can i do that ?
-
fetch several fields in id3 tag ffmpeg php
14 avril 2016, par Asim khanNeed help in fetching several fields in id3 tag ffmpeg php. the output file format i want to change for example another bitrate mp3 320 kbps instead of 128.......and to include ID3 tags fetch from db.
<?php
session_start();
include "DB.inc";
$xxid = $_POST['xxid'];
$sxxid = $_POST['sxxid'];
if(is_array($_FILES)) {
if(is_uploaded_file($_FILES['userAudio']['tmp_name'])) {
$sourcePath = $_FILES['userAudio']['tmp_name'];
$temp = explode(".",$_FILES["userAudio"]["name"]);
$newfilename = $_POST['sxxid'] . '.' .end($temp);
$ext = end($temp);
$common_path = "assets/$xxid";
if (!is_dir($common_path)) {
mkdir($common_path);
}
$common_path = "assets/$xxid/audio";
if (!is_dir($common_path)) {
mkdir($common_path);
}
$targetPath = $common_path.'/'.$newfilename;
$web_common_path = SITE_LINK."/assets/$xxid/audio/";
$web_targetPath = $web_common_path.$newfilename;
$filename = array();
$filename[0] = $common_path.$_POST['sxxid'].'.wav';
$num_files = count($filename);
for ($n=0; $n<$num_files; $n++) {
if (file_exists($filename[$n])) {
unlink ($filename[$n]);
}
}
if(move_uploaded_file($sourcePath,$targetPath)) {
$mp3 = $common_path.'/'.$_POST['sxxid'].'.mp3';
shell_exec('ffmpeg -i ' . $targetPath . ' '. $mp3);
?>
<audio controls="controls"><source src="<?php echo $web_targetPath." type="audio/wav"></source></audio>
<?php
} else {
echo "Uploaded file can not be moved";
}
} else {
echo "Uploaded file not found";
}
} else {
echo "Uploaded not allowed";
}
?>