
Recherche avancée
Autres articles (49)
-
Participer à sa traduction
10 avril 2011Vous pouvez nous aider à améliorer les locutions utilisées dans le logiciel ou à traduire celui-ci dans n’importe qu’elle nouvelle langue permettant sa diffusion à de nouvelles communautés linguistiques.
Pour ce faire, on utilise l’interface de traduction de SPIP où l’ensemble des modules de langue de MediaSPIP sont à disposition. ll vous suffit de vous inscrire sur la liste de discussion des traducteurs pour demander plus d’informations.
Actuellement MediaSPIP n’est disponible qu’en français et (...) -
Les formats acceptés
28 janvier 2010, parLes commandes suivantes permettent d’avoir des informations sur les formats et codecs gérés par l’installation local de ffmpeg :
ffmpeg -codecs ffmpeg -formats
Les format videos acceptés en entrée
Cette liste est non exhaustive, elle met en exergue les principaux formats utilisés : h264 : H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 m4v : raw MPEG-4 video format flv : Flash Video (FLV) / Sorenson Spark / Sorenson H.263 Theora wmv :
Les formats vidéos de sortie possibles
Dans un premier temps on (...) -
Supporting all media types
13 avril 2011, parUnlike most software and media-sharing platforms, MediaSPIP aims to manage as many different media types as possible. The following are just a few examples from an ever-expanding list of supported formats : images : png, gif, jpg, bmp and more audio : MP3, Ogg, Wav and more video : AVI, MP4, OGV, mpg, mov, wmv and more text, code and other data : OpenOffice, Microsoft Office (Word, PowerPoint, Excel), web (html, CSS), LaTeX, Google Earth and (...)
Sur d’autres sites (7318)
-
AS3 AIR FFMPEG netStream.seek issue
14 novembre 2015, par AntBirchI’m having trouble with NetStream in AS3. The project I am working on allows users to browse a video (locally) and play it back. The issue I am having is that
netStream.seek(0);
from what I can tell it doesn’t do anything, although I get inside a NetStatusEvent function andNetStream.Seek.Notify
is triggered. I’m using NativeProcess and the following function is this makes any difference.public function ProgressEventOutputHandler(e:ProgressEvent):void {
videoByteArray = new ByteArray();
nativeProcess.standardOutput.readBytes(videoByteArray, 0, nativeProcess.standardOutput.bytesAvailable);
netStream.appendBytes(videoByteArray);
}Am I missing something here ? I am pausing netStream before using
netStream.seek(0);
.EDIT :
In an attempt to fix this issue I followed the instructions by VC.One I’ve done the following :
-
Moved
videoByteArray = new ByteArray();
to my init function and also createdtempVideoByteArray = new ByteArray();
in this function. -
Update my ProgressEventOutputHandler function so that it no longer created a new ByteArray for videoByteArray and changed this line -
nativeProcess.standardOutput.readBytes(videoByteArray, videoByteArray.length, nativeProcess.standardOutput.bytesAvailable);
I have changed nothing else and now the video will not load. If I allow a new ByteArray to be created inside the ProgressEventOutputHandler function the video does load again.
-
-
Why is ffmpeg warning "Guessed Channel Layout for Input Stream #0.0 : mono" ? [closed]
14 janvier, par chasep255I am using ffmpeg to read and write raw audio to/from my python script. Both the save and load commands I use produce the warning "Guessed Channel Layout for Input Stream #0.0 : mono" ? This is despite that fact that I am telling ffmpeg using
-ac 1
before both the input and output that there is only one channel. I saw some other answers where I should set-guess_layout_max 0
but this seems like a hack since I don't want ffmpeg to guess ; I am telling it exactly how many channels there are with-ac 1
. It should not need to make any guess.

My save command is formatted as follows with
r
being the sample rate andf
being the file I want to save the raw audio to. I am sending raw audio via stdin from python over a pipe.

ffmpeg_cmd = 'ffmpeg -hide_banner -loglevel warning -y -ar %d -ac 1 -f u16le -i pipe: -ac 1 %s' % (r, shlex.quote(f))


Likewise my load command is the following with ffmpeg reading from
f
and writing raw audio to stdout.

ffmpeg_cmd = 'ffmpeg -hide_banner -loglevel warning -i %s -ar %d -ac 1 -f u16le -c:a pcm_u16le -ac 1 pipe:' % (shlex.quote(f), r)


-
php-ffmpeg installation on apache2
17 février 2020, par BN83Trying to run PHP-FFMPEG and after install via composer I’m currently getting this.
PHP Fatal error : Uncaught
Alchemy\BinaryDriver\Exception\ExecutableNotFoundException :
Executable not found, proposed : avprobe, ffprobe in
/var/www/html/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php:159\nStack
trace :\n#0
/var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php(48) :
Alchemy\BinaryDriver\AbstractBinary::load(Array, NULL,
Object(Alchemy\BinaryDriver\Configuration))\n#1
/var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFProbe.php(226) :
FFMpeg\Driver\FFProbeDriver::create(Object(Alchemy\BinaryDriver\Configuration),
NULL)\n#2
/var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFMpeg.php(117) :
FFMpeg\FFProbe::create(Array, NULL,
Object(Doctrine\Common\Cache\ArrayCache))\n#3
/var/www/html/starapp/test.php(4) : FFMpeg\FFMpeg::create()\n#4
main\n\nNext FFMpeg\Exception\ExecutableNotFoundException : Unable
to load FFProbe in
/var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php:50\nStack
trace :\n#0 /var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMp in
/var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php
on line 50Some people have suggested running the following :
$ffmpeg = FFMpeg\FFMpeg::create([
'ffmpeg.binaries' => 'usr/bin/ffmpeg',
'ffprobe.binaries' => 'usr/bin/ffprobe',
'timeout' => 3600, 'ffmpeg.threads' => 12
]);However I have no ffmpeg/ffprobe files in usr/bin and can’t seem to find them anywhere.
EDIT :
FFMpeg is installed. I rebooted the server and restarted apache2 and now the files are visible. Getting this now :
PHP Fatal error : Uncaught
Alchemy\BinaryDriver\Exception\ExecutableNotFoundException :
Executable not found, proposed : usr/bin/ffprobe in
/var/www/html/vendor/alchemy/binary-driver/src/Alchemy/BinaryDriver/AbstractBinary.php:159\nStack
trace :\n#0
/var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php(48) :
Alchemy\BinaryDriver\AbstractBinary::load(Array, NULL,
Object(Alchemy\BinaryDriver\Configuration))\n#1
/var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFProbe.php(226) :
FFMpeg\Driver\FFProbeDriver::create(Object(Alchemy\BinaryDriver\Configuration),
NULL)\n#2
/var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/FFMpeg.php(117) :
FFMpeg\FFProbe::create(Array, NULL,
Object(Doctrine\Common\Cache\ArrayCache))\n#3
/var/www/html/starapp/test.php(11) : FFMpeg\FFMpeg::create(Array,
NULL)\n#4 main\n\nNext
FFMpeg\Exception\ExecutableNotFoundException : Unable to load FFProbe
in
/var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php:50\nStack
trace :\n#0 /var/www/html/vendor/php-ffmpeg/php-ffmp in
/var/www/html/vendor/php-ffmpeg/php-ffmpeg/src/FFMpeg/Driver/FFProbeDriver.php
on line 50