
Recherche avancée
Médias (1)
-
The Great Big Beautiful Tomorrow
28 octobre 2011, par
Mis à jour : Octobre 2011
Langue : English
Type : Texte
Autres articles (47)
-
Personnaliser en ajoutant son logo, sa bannière ou son image de fond
5 septembre 2013, parCertains thèmes prennent en compte trois éléments de personnalisation : l’ajout d’un logo ; l’ajout d’une bannière l’ajout d’une image de fond ;
-
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 (6344)
-
Why am I getting an error for stream #0.1 ?
30 juillet 2014, par Rob Avery IVI’m converting videos using ffmpeg-php. Here is my code :
// Set our source file
$srcFile = $uploadFilm.".".$film_type;
$destFile = $uploadFilm;
$ffmpegPath = "ffmpeg";
// Create our FFMPEG-PHP class
$ffmpegObj = new ffmpeg_movie($srcFile);
// Save our needed variables
$srcWidth = makeMultipleTwo($ffmpegObj->getFrameWidth());
$srcHeight = makeMultipleTwo($ffmpegObj->getFrameHeight());
$srcFPS = $ffmpegObj->getFrameRate();
if($ffmpegObj->hasAudio()){
$srcAB = intval($ffmpegObj->getAudioBitRate()/1000);
$srcAR = $ffmpegObj->getAudioSampleRate();
}else{
$srcAB = 0;
$srcAR = 0;
}
// Call our convert using exec()
//$command = $ffmpegPath . " -i " . $srcFile . " -ar " . $srcAR . " -ab " . $srcAB . "k -f flv -s " . $srcWidth . "x" . $srcHeight . " " . $destFile;
//$command = "whoami";
$command = $ffmpegPath . ' -i ' .'"'. $srcFile . '" -ar ' . $srcAR . ' -ab ' . $srcAB . 'k -f flv -s ' . $srcWidth . 'x' . $srcHeight . ' "' . $destFile . '" 2>&1';
$outputCommand = array();
$status = 1;
exec($command, $outputCommand, $status);The output gives out this error at the end :
Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height
I know that both
$srcAB
and$srcAR
have values because this is the command this being ran :ffmpeg -i source -ar 48000 -ab 160k -f flv -s 1920x1080 destination
Of course, after the command is executed, the "convert video" has a size 0, which means it didn’t convert it.
What am I missing here ?
EDIT : Here is my full output :
FFmpeg version SVN-r26402, Copyright (c) 2000-2011 the FFmpeg developers
built on Jul 18 2014 08:41:45 with gcc 4.4.7 20120313 (Red Hat 4.4.7-3)
configuration: --enable-libmp3lame --disable-mmx --enable-shared
libavutil 50.36. 0 / 50.36. 0
libavcore 0.16. 1 / 0.16. 1
libavcodec 52.108. 0 / 52.108. 0
libavformat 52.93. 0 / 52.93. 0
libavdevice 52. 2. 3 / 52. 2. 3
libavfilter 1.74. 0 / 1.74. 0
libswscale 0.12. 0 / 0.12. 0
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/path/to/file/bbb_sunflower_1080p_30fps_normal.mp4':
Metadata:
major_brand : isom
minor_version : 1
compatible_brands: isomavc1
creation_time : 2013-12-16 17:44:39
title : Big Buck Bunny, Sunflower version
artist : Blender Foundation 2008, Janus Bager Kristensen 2013
comment : Creative Commons Attribution 3.0 - http://bbb3d.renderfarming.net
genre : Animation
composer : Sacha Goedegebure
Duration: 00:10:34.60, start: 0.000000, bitrate: 3481 kb/s
Stream #0.0(und): Video: h264, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], 2998 kb/s, 30 fps, 30 tbr, 30k tbn, 60 tbc
Metadata:
creation_time : 2013-12-16 17:44:39
Stream #0.1(und): Audio: mp3, 48000 Hz, 2 channels, s16, 160 kb/s
Metadata:
creation_time : 2013-12-16 17:44:42
Stream #0.2(und): Audio: ac3, 48000 Hz, 6 channels, s16, 320 kb/s
Metadata:
creation_time : 2013-12-16 17:44:42
[buffer @ 0x2231e20] w:1920 h:1080 pixfmt:yuv420p
Output #0, flv, to '/path/to/file/bbb_sunflower_1080p_30fps_normal.flv':
Stream #0.0(und): Video: flv, yuv420p, 1920x1080 [PAR 1:1 DAR 16:9], q=2-31, 200 kb/s, 90k tbn, 30 tbc
Metadata:
creation_time : 2013-12-16 17:44:39
Stream #0.1(und): Audio: libmp3lame, 48000 Hz, 6 channels, s16, 160 kb/s
Metadata:
creation_time : 2013-12-16 17:44:42
Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Error while opening encoder for output stream #0.1 - maybe incorrect parameters such as bit_rate, rate, width or height -
Splicer Error Creating Video : Retrieving the COM class factory for component with CLSID {78530B75-61F9-11D2-8CAD-00A024580902} failed [duplicate]
26 septembre 2014, par wrox DeveloperThis question already has an answer here :
-
Splicer.dll on Windows 2008
3 answers
I am trying to integrate splicer into my asp.net MVC Project.I had a problem with Splicer code (which create video from images) works at local but gives the following error at server :
Retrieving the COM class factory for component with CLSID 78530B75-61F9-11D2-8CAD-00A024580902 failed due to the following error : 80040154 Class not registered (Exception from HRESULT : 0x80040154 (REGDB_E_CLASSNOTREG)).
Here is the link of my test sample
http://fctdev.azurewebsites.net/Home/Test
I know this question is already asked on this form and other forms but that doesn’t resolve my issue
Please help to solve the error
-
Splicer.dll on Windows 2008
-
Creating a movie from multiple .png files
21 octobre 2014, par QuantumFoolI’ve got quite a few .png files, and I need to create a movie out of them. So, I’m going through this tutorial which uses ffmpeg :
http://www.miscdebris.net/blog/2008/04/28/create-a-movie-file-from-single-image-files-png-jpegs/
When I go to type the first line (sudo apt-get install ffmpeg), in Terminal and enter my password as appropriate, I get :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ffmpeg is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'ffmpeg' has no installation candidateThat’s funny ; I installed the latest version manually this morning ! Anyway, I proceed with the instructions assuming ffmpeg is installed properly (I’m looking at the file where it downloaded to, so that can’t be the issue) :
cd Downloads
cd python-meep
cd Images
ffmpeg -qscale 4 -r 20 -b 9600 -i Image%03d.png movie.mp4To my surprise, I get :
ffmpeg: command not found
I just installed it ! Furthermore, I dragged my manual installation folder into the very same directory with the pictures ! What’s going on ?
Thanks !