
Advanced search
Medias (2)
-
GetID3 - Bloc informations de fichiers
9 April 2013, by
Updated: May 2013
Language: français
Type: Picture
-
GetID3 - Boutons supplémentaires
9 April 2013, by
Updated: April 2013
Language: français
Type: Picture
Other articles (17)
-
Publier sur MédiaSpip
13 June 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 -
Configuration spécifique pour PHP5
4 February 2011, byPHP5 est obligatoire, vous pouvez l’installer en suivant ce tutoriel spécifique.
Il est recommandé dans un premier temps de désactiver le safe_mode, cependant, s’il est correctement configuré et que les binaires nécessaires sont accessibles, MediaSPIP devrait fonctionner correctement avec le safe_mode activé.
Modules spécifiques
Il est nécessaire d’installer certains modules PHP spécifiques, via le gestionnaire de paquet de votre distribution ou manuellement : php5-mysql pour la connectivité avec la (...) -
La sauvegarde automatique de canaux SPIP
1 April 2010, byDans le cadre de la mise en place d’une plateforme ouverte, il est important pour les hébergeurs de pouvoir disposer de sauvegardes assez régulières pour parer à tout problème éventuel.
Pour réaliser cette tâche on se base sur deux plugins SPIP : Saveauto qui permet une sauvegarde régulière de la base de donnée sous la forme d’un dump mysql (utilisable dans phpmyadmin) mes_fichiers_2 qui permet de réaliser une archive au format zip des données importantes du site (les documents, les éléments (...)
On other websites (5658)
-
PNG sequence to MP4 while looping the animation
19 April 2016, by user245115So, I’m trying to convert a PNG sequence to an MP4 and loop the animation about 100 times, the only problem is my script doesn’t seem to be working properly.
What the script is supposed to do is get the number of PNG files in the frames directory, and send them to FFMPEG 100 times. Only problem is my script isn’t working right. Here’s the code.
#!/bin/bash
loopcode()
{
tmpdir=frames
picext=png
one=$(ls -l ${tmpdir}/*.png | wc -l)
two=$(echo "${one}+0" | bc -l)
three=0
while [ ! ${loopi} -eq ${looper} ]; do
while [ ! ${three} -eq ${two} ]; do
three=$(printf "%09d" ${two})
echo ${tmpdir}/${three}.${picext}
two=$(echo "${two}+1" | bc -l)
done
two=0
loopi=$(echo "${loopi}+1" | bc -l)
done
}
looper=100
loopi=0
outfile=output.mp4
fps=5
convert frames/*.png frames/%09d.jpeg
loopcode && sleep 5
cat $(loopcode) | ffmpeg -framerate 1/5 -i - -c:v libx264 -r 30 -pix_fmt yuv420p "${outfile}" -
FFmpeg av_guess_format returns NULL
12 September 2014, by KageI’m following the example code here: http://cekirdek.pardus.org.tr/ ismail/ffmpeg-docs/output-example_8c-source.html
My code is as follows:
fmt = av_guess_format(NULL, filename, NULL);
if (!fmt) {
LOGE(1,"Could not deduce output format from file extension: using MPEG.\n");
fmt = av_guess_format("mp4", NULL, NULL);
}
if (!fmt) {
LOGE(1, "Could not find suitable output format\n");
exit(1);
}The two times that I call av_guess_format, it is returning NULL both times.
I am calling both av_register_all() and avcodec_register_all() beforehand.Any ideas as to why this is returning NULL?
Thanks in advance.
-
FFMPEG - ignoring invalid SAR: 0/0
10 September 2015, by SultanenIm using FFMPEG to merge multiple IP cameras streams into one MPEG stream. This works well for some cameras but i get this error message when i stream a DLink MJPEG stream:
[mjpeg @ 0x7fd0f900b600] ignoring invalid SAR: 0/000:00.26 bitrate=2673.8kbits/s dup=1 drop=907
Last message repeated 12 times
[mjpeg @ 0x7fd0f900b600] ignoring invalid SAR: 0/000:00.26 bitrate=2673.8kbits/s dup=1 drop=920
Last message repeated 13 times
[mjpeg @ 0x7fd0f900b600] ignoring invalid SAR: 0/000:00.26 bitrate=2673.8kbits/s dup=1 drop=934
Last message repeated 12 times
[mjpeg @ 0x7fd0f900b600] ignoring invalid SAR: 0/000:00.26 bitrate=2673.8kbits/s dup=1 drop=947The ffmpeg command i use is:
ffmpeg \
-i http://admin:@IP1/video.cgi?resolution=640x480 \
-i http://admin:@IP2/video.cgi?resolution=640x480 \
-filter_complex "[0:v]scale=320:240,pad=640:480[a]; [1:v]scale=320:240[b];[a][b]overlay=320[out]" \
-map [out] \
-f mpeg1video \
-r 30 http://outputURL \ffprobe gives me the following information about the stream
[mjpeg @ 0x7fe20b80c000] Format mjpeg detected only with low score of 25, misdetection possible!
[mjpeg @ 0x7fe20c000000] ignoring invalid SAR: 0/0
Input #0, mjpeg, from 'http://admin:@IP1/video.cgi?resolution=640x480':
Duration: N/A, bitrate: N/A
Stream #0:0: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 640x480, 25 tbr, 1200k tbn, 25 tbcWhat does this mean and how can i avoid it?