
Recherche avancée
Médias (91)
-
DJ Z-trip - Victory Lap : The Obama Mix Pt. 2
15 septembre 2011
Mis à jour : Avril 2013
Langue : English
Type : Audio
-
Matmos - Action at a Distance
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
DJ Dolores - Oslodum 2004 (includes (cc) sample of “Oslodum” by Gilberto Gil)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Danger Mouse & Jemini - What U Sittin’ On ? (starring Cee Lo and Tha Alkaholiks)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
Cornelius - Wataridori 2
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
-
The Rapture - Sister Saviour (Blackstrobe Remix)
15 septembre 2011, par
Mis à jour : Septembre 2011
Langue : English
Type : Audio
Autres articles (63)
-
Problèmes fréquents
10 mars 2010, parPHP et safe_mode activé
Une des principales sources de problèmes relève de la configuration de PHP et notamment de l’activation du safe_mode
La solution consiterait à soit désactiver le safe_mode soit placer le script dans un répertoire accessible par apache pour le site -
Mediabox : ouvrir les images dans l’espace maximal pour l’utilisateur
8 février 2011, parLa visualisation des images est restreinte par la largeur accordée par le design du site (dépendant du thème utilisé). Elles sont donc visibles sous un format réduit. Afin de profiter de l’ensemble de la place disponible sur l’écran de l’utilisateur, il est possible d’ajouter une fonctionnalité d’affichage de l’image dans une boite multimedia apparaissant au dessus du reste du contenu.
Pour ce faire il est nécessaire d’installer le plugin "Mediabox".
Configuration de la boite multimédia
Dès (...) -
MediaSPIP 0.1 Beta version
25 avril 2011, parMediaSPIP 0.1 beta is the first version of MediaSPIP proclaimed as "usable".
The zip file provided here only contains the sources of MediaSPIP in its standalone version.
To get a working installation, you must manually install all-software dependencies on the server.
If you want to use this archive for an installation in "farm mode", you will also need to proceed to other manual (...)
Sur d’autres sites (11299)
-
golomb : Convert to the new bitstream reader
30 janvier 2017, par Diego Biurrungolomb : Convert to the new bitstream reader
- [DBH] libavcodec/aic.c
- [DBH] libavcodec/cavs.c
- [DBH] libavcodec/cavsdec.c
- [DBH] libavcodec/dirac.c
- [DBH] libavcodec/ffv1dec.c
- [DBH] libavcodec/ffv1enc.c
- [DBH] libavcodec/fic.c
- [DBH] libavcodec/flacdec.c
- [DBH] libavcodec/flacenc.c
- [DBH] libavcodec/golomb.h
- [DBH] libavcodec/golomb_legacy.h
- [DBH] libavcodec/h264_cavlc.c
- [DBH] libavcodec/h264_parse.c
- [DBH] libavcodec/h264_parser.c
- [DBH] libavcodec/h264_ps.c
- [DBH] libavcodec/h264_refs.c
- [DBH] libavcodec/h264_sei.c
- [DBH] libavcodec/h264_slice.c
- [DBH] libavcodec/h264dec.c
- [DBH] libavcodec/hevc_parser.c
- [DBH] libavcodec/hevc_ps.c
- [DBH] libavcodec/hevc_ps_enc.c
- [DBH] libavcodec/hevc_sei.c
- [DBH] libavcodec/hevcdec.c
- [DBH] libavcodec/jpeglsdec.c
- [DBH] libavcodec/jpeglsenc.c
- [DBH] libavcodec/loco.c
- [DBH] libavcodec/ralf.c
- [DBH] libavcodec/rv30.c
- [DBH] libavcodec/rv34.c
- [DBH] libavcodec/rv40.c
- [DBH] libavcodec/shorten.c
- [DBH] libavcodec/svq3.c
- [DBH] libavcodec/tests/golomb.c
- [DBH] libavformat/hevc.c
-
nodejs ffmpeg works in local but not in production
24 octobre 2019, par HUNGvar proc =
ffmpeg()
.input('./public/img/capture/photoframe.png')
.input( scenePath + '%04d.png')
.inputFPS(15)
.input( msgPath + '%04d.png')
.inputFPS(15)
.input( path + data + '.' + ext )
.complexFilter([
"[3:v]scale=668:-1[scaledUGC]",
"[0]overlay=66:155[output0]",
"[output0][scaledUGC]overlay=66:155[output1]",
"[output1][1]overlay=66:155[output2]",
"[output2][2]overlay=66:155[output3]",
"[output3][0]overlay=0:0[output4]"
], 'output4')
.outputFPS(15)
.on('start', function(command) {
if (env === 'development') {
console.log(new Date());
console.log('Start with command:'+command);
}
})
// .on('progress', function(progress) {
// if (env === 'development') {
// console.log(progress.percent + "% done");
// }
// })
.on('end', function() {
if (env === 'development') {
console.log(new Date());
console.log('file has been converted succesfully');
}
var gifMaker =
ffmpeg()
.input('./public/_ugc/' + data + '.mp4')
.save('./public/_ugc/' + data + '.gif');
res.send({
status: "success",
uid: data
});
})
.on('error', function(err) {
console.log('an error happened: ' + err.message);
res.send({
status: "err",
uid: "err_video"
});
})
.save('./public/_ugc/' + data + '.mp4');I have the above code that can successfully generate a 5s video in my local Mac.
However, when I push the code to the production Ubuntu, it can only generate a 1s video only.
There is no error in the Ubuntu side. I wonder if I missed anything.
I also wonder should I preload the source images first ?
node v12.13.0
ffmpeg version 2.8.15-0
ubuntu0.16.04.1
-
ffmpeg Extract multiple streams from mkv to mp4
28 mai 2016, par Sebastien LemichezThe situation
I’m working on a everything to high compatibility mp4 app.
The goal is to pass a video file and get a mp4 file that can be played by almost every player.I’m using ffmpeg to do so with this command :
"ffmpeg -i " + inputPath + " -c:v libx264 -profile:v baseline -level 3.0 -preset ultrafast " + outputPath
I’m doing it in a c# wrapper and it’s working like a charm.
The Problem
The real problem comes with extra streams that you can commonly find in mkv files like extra audio stream and multiple subtitles.
So my goal is to use ffprobe.exe to get all input streams, extract them into different files and then using mp4box.exe to add them to my high compatibility mp4 file generated by ffmpeg.exe
What I’ve done so far
I have managed to get input streams in json with a structure like this :
"streams":[
{
"index": 0,
"codec_name": "h264",
"codec_type": "video"
},
{
"index": 1,
"codec_name": "aac",
"codec_type": "audio"
},
{
"index": 2,
"codec_name": "subrip",
"codec_type": "subtitle"
"tags":{
"language": "eng"
}
},
{
"index": 3,
"codec_name": "subrip",
"codec_type": "subtitle"
"tags":{
"language": "fre"
}
},
{
"index": 4,
"codec_name": "aac",
"codec_type": "audio"
"tags":{
"language": "fre"
"title": "Commentary"
}
}
]Where I’m stuck
To extract those extra stream I would need to do something like this :
ffmpeg -i input.mkv \
-map 0:2 -c copy subtitle-2.srt \
-map 0:3 -c copy subtitle-3.srt \
-map 0:4 -c copy audio-4.aacSo is there a way to use my ffprobe result to get these file extension because I have a codec_name "subrip" that should be saved in a srt.
I’m avoiding an hard coded list because if I miss a format it will break. I’m more looking for a ffmpeg or ffprobe associated list I can use.
English is not my native language so sorry for any misstakes.