
Recherche avancée
Autres articles (53)
-
Modifier la date de publication
21 juin 2013, parComment changer la date de publication d’un média ?
Il faut au préalable rajouter un champ "Date de publication" dans le masque de formulaire adéquat :
Administrer > Configuration des masques de formulaires > Sélectionner "Un média"
Dans la rubrique "Champs à ajouter, cocher "Date de publication "
Cliquer en bas de la page sur Enregistrer -
Les autorisations surchargées par les plugins
27 avril 2010, parMediaspip core
autoriser_auteur_modifier() afin que les visiteurs soient capables de modifier leurs informations sur la page d’auteurs -
Encoding and processing into web-friendly formats
13 avril 2011, parMediaSPIP automatically converts uploaded files to internet-compatible formats.
Video files are encoded in MP4, Ogv and WebM (supported by HTML5) and MP4 (supported by Flash).
Audio files are encoded in MP3 and Ogg (supported by HTML5) and MP3 (supported by Flash).
Where possible, text is analyzed in order to retrieve the data needed for search engine detection, and then exported as a series of image files.
All uploaded files are stored online in their original format, so you can (...)
Sur d’autres sites (5699)
-
mp3 audio merging with -itsoffset using ffmpeg : no effect
30 mai 2019, par ItzhakI use ffmpeg to merge mp3’s in my node server. It works but the offset doesn’t have any effect..
I can’t see what is wrong then i’d like to get your help :)var command = "ffmpeg -i "+ input1+ " -itsoffset 40 -i " + input2 +" -filter_complex amerge -c:a libmp3lame -q:a 4 "+ output;
exec(command, function (error, stdout, stderr) {
if (stdout) console.log(stdout);
if (stderr) console.log(stderr);
if (error) {
console.log('exec error: ' + error);
response.statusCode = 404;
response.end();
} else {
// Do something
}
});I tried it also on my computer just in the terminal and it also works with the same problem..
Thanks,
Itzhak -
FFMPEG command works in shell, but not in node.js
10 février 2017, par moeiscoolWhen my ffmpeg command is built by my node.js application it does not run. it says
Output file #0 does not contain any stream
but if i copy and paste that line into terminal it works fine. Any ideas ?
ffmpeg -loglevel warning -i rtsp://50.73.56.89/axis-media/media.3gp -stimeout 2000 -r 5 -movflags frag_keyframe+empty_moov -s 640x480 -use_wallclock_as_timestamps 1 -q:v 1 -f segment -segment_time 3600000 -segment_format webm -c:v libvpx -strftime 1 '/home/nodejs/cloudcam/videos/2Df5hBE/bunny/%Y-%m-%dT%H-%M-%S.webm'
note the single quotes wrapping the filename. I tried using double quotes but it did the same thing. I need the quotes for the particular app i am building. Some names are not space friendly.
-
Converting mp4 AAC to AVC using Python
12 janvier 2020, par zion.b.i am using
ffmpeg
to convert video format. I have a video inmp4 aac
and want to convert it tomp4 avc
. I successfully(!!!) usedffmpeg
to covert image toavi
/mkv
/even copy of themp4
but nothing gives me what i desire.The idea is to have a video file format that will run on mostly all mobile devices such as
mp4 avc
.My python code :
import subprocess #need to install ffmpegin terminal/cmd
def convert_video(video_input, video_output):
cmds = ['ffmpeg', '-i', video_input, video_output]
subprocess.Popen(cmds)
convert_video("videoName.mp4", "videoNameCopy.mp4")