
Recherche avancée
Autres articles (52)
-
La file d’attente de SPIPmotion
28 novembre 2010, parUne file d’attente stockée dans la base de donnée
Lors de son installation, SPIPmotion crée une nouvelle table dans la base de donnée intitulée spip_spipmotion_attentes.
Cette nouvelle table est constituée des champs suivants : id_spipmotion_attente, l’identifiant numérique unique de la tâche à traiter ; id_document, l’identifiant numérique du document original à encoder ; id_objet l’identifiant unique de l’objet auquel le document encodé devra être attaché automatiquement ; objet, le type d’objet auquel (...) -
MediaSPIP v0.2
21 juin 2013, parMediaSPIP 0.2 est la première version de MediaSPIP stable.
Sa date de sortie officielle est le 21 juin 2013 et est annoncée ici.
Le fichier zip ici présent contient uniquement les sources de MediaSPIP en version standalone.
Comme pour la version précédente, il est nécessaire d’installer manuellement l’ensemble des dépendances logicielles sur le serveur.
Si vous souhaitez utiliser cette archive pour une installation en mode ferme, il vous faudra également procéder à d’autres modifications (...) -
Mise à disposition des fichiers
14 avril 2011, parPar défaut, lors de son initialisation, MediaSPIP ne permet pas aux visiteurs de télécharger les fichiers qu’ils soient originaux ou le résultat de leur transformation ou encodage. Il permet uniquement de les visualiser.
Cependant, il est possible et facile d’autoriser les visiteurs à avoir accès à ces documents et ce sous différentes formes.
Tout cela se passe dans la page de configuration du squelette. Il vous faut aller dans l’espace d’administration du canal, et choisir dans la navigation (...)
Sur d’autres sites (6315)
-
ffprobe returns mov,mp4,m4a,3gp,3g2,mj2
19 octobre 2015, par sathiaI’m trying to find a certain way to understand if a given file is using the h.264 codec and it’s streamable.
I’m using ffprobe and sometimes I get output such as this :
{
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'file.mp4':
Metadata:
major_brand : mp42
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 2036-02-06 06:28:16
encoder : HandBrake 0.10.2 2015060900
Duration: 00:06:42.13, start: 0.000000, bitrate: 950 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709), 640x480 [SAR 1:1 DAR 4:3], 788 kb/s, 30 fps, 30 tbr, 90k tbn, 180k tbc (default)
Metadata:
creation_time : 2036-02-06 06:28:16
handler_name : VideoHandler
Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 155 kb/s (default)
Metadata:
creation_time : 2036-02-06 06:28:16
handler_name : Stereo
"format": {
"filename": "file.mp4",
"nb_streams": 2,
"nb_programs": 0,
"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
"format_long_name": "QuickTime / MOV",
"start_time": "0.000000",
"duration": "402.134000",
"size": "47787790",
"bit_rate": "950683",
"probe_score": 100,
"tags": {
"major_brand": "mp42",
"minor_version": "512",
"compatible_brands": "isomiso2avc1mp41",
"creation_time": "2036-02-06 06:28:16",
"encoder": "HandBrake 0.10.2 2015060900"
}
}
}now, it seems that the file is streamable and it’s ok to be put online, but I was expecting something like this :
"format_name": "h.264",
instead I get
"format_name": "mov,mp4,m4a,3gp,3g2,mj2",
which seems very lax in terms of specifying what the hell this file is.
I’m also using MP4Box in order to see if the video is streamable, but at this point I’m not sure how to handle specific h.264 recognition.what should I do in order to be sure that a given file has the h.264 codec ?
thanks
-
FFmpeg av_guess_format returns NULL
12 septembre 2014, par 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 returns negative values and stops rendering
15 janvier 2020, par MikeWhile trying to get a 16:9 aspect output from any resolution input, I keep running into errors.
This is, what I prompt :
ffmpeg -i "input.mp4" -i "overlay.png" -strict -2 -vcodec h264 -aspect 16:9 -filter_complex "[0]scale=604:-2,pad=604:340:(604-iw)/2:(340-ih)/2[v];[v][1]overlay=x=W-w-5:y=H-h-5" -an "output.mp4"
Errors are :
[0] => [Parsed_pad_1 @ 0xeffca0] Negative values are not acceptable.
[1] => [Parsed_pad_1 @ 0xeffca0] Failed to configure input pad on Parsed_pad_1
[2] => Error configuring complex filters.
[3] => Invalid argumentI’m happy for any help.