
Recherche avancée
Médias (1)
-
La conservation du net art au musée. Les stratégies à l’œuvre
26 mai 2011
Mis à jour : Juillet 2013
Langue : français
Type : Texte
Autres articles (65)
-
Publier sur MédiaSpip
13 juin 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 -
Ajouter notes et légendes aux images
7 février 2011, parPour pouvoir ajouter notes et légendes aux images, la première étape est d’installer le plugin "Légendes".
Une fois le plugin activé, vous pouvez le configurer dans l’espace de configuration afin de modifier les droits de création / modification et de suppression des notes. Par défaut seuls les administrateurs du site peuvent ajouter des notes aux images.
Modification lors de l’ajout d’un média
Lors de l’ajout d’un média de type "image" un nouveau bouton apparait au dessus de la prévisualisation (...) -
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 (7905)
-
Laravel FFmpeg error ffprobe running command -show_streams -print_format json is not running How i can resolve it ?
12 octobre 2019, par Shahzad WarisI’m using laravel FFmpeg Package v4 to change the Dimension of the video.
This is my queue log.[2019-10-12 15:14:17] local.INFO : ffprobe running command
"C :/FFmpeg/bin/ffprobe.exe"
C :\wamp64\www\creamer\creamer\storage\app\public\videos1570870350.mp4
-show_streams -print_format json [2019-10-12 15:14:17] local.ERROR : ffprobe failed to execute command "C :/FFmpeg/bin/ffprobe.exe"
C :\wamp64\www\creamer\creamer\storage\app\public\videos1570870350.mp4
-show_streams -print_format json [2019-10-12 15:14:17] local.ERROR : Unable to probe
C :\wamp64\www\creamer\creamer\storage\app\public\videos1570870350.mp4
"exception" :"[object] (FFMpeg\Exception\RuntimeException(code : 0) :
Unable to probe
C :\wamp64\www\creamer\creamer\storage\app\public\videos1570870350.mp4
at
C :\wamp64\www\creamer\creamer\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php:263,
Alchemy\BinaryDriver\Exception\ExecutionFailureException(code : 0) :
ffprobe failed to execute command \"C :/FFmpeg/bin/ffprobe.exe\"
C :\wamp64\www\creamer\creamer\storage\app\public\videos1570870350.mp4
-show_streams -print_format json at C :\wamp64\www\creamer\creamer\vendor\alchemy\binary-driver\src\Alchemy\BinaryDriver\ProcessRunner.php:100)
[stacktrace]0 C :\wamp64\www\creamer\creamer\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFProbe.php(206) :
FFMpeg\FFProbe->probe(’C :\wamp64\www\c...’, ’-show_streams’,
’streams’)1 C :\wamp64\www\creamer\creamer\vendor\php-ffmpeg\php-ffmpeg\src\FFMpeg\FFMpeg.php(92) :
FFMpeg\FFProbe->streams(’C :\wamp64\www\c...’) [internal
function] : Illuminate\Queue\Console\WorkCommand->handle() 1 :
https://github.com/pascalbaljetmedia/laravel-ffmpeg?ref=madewithlaravel.comThis is Queue code :
namespace App\Jobs;
use App\Video;
use FFMpeg;
use FFMpeg\Coordinate\Dimension;
use FFMpeg\Format\Video\X264;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
class ConvertVideoForDownloading implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public $video;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct(Video $v)
{
$this->video = $v;
}
/**
* Execute the job.
*
* @return void
*/
public function handle()
{
// create a video format...
$lowBitrateFormat = (new X264)->setKiloBitrate(500);
// open the uploaded video from the right disk...
FFMpeg::fromDisk('local')
->open('public\videos' . $this->video->videoLink)
// add the 'resize' filter...
->addFilter(function ($filters) {
$filters->resize(new Dimension(960, 540));
})
// call the 'export' method...
->export()
// tell the MediaExporter to which disk and in which format we want to export...
->toDisk('local')
->inFormat($lowBitrateFormat)
// call the 'save' method with a filename...
->save($this->video->id . '.mp4');
// update the database so we know the convertion is done!
// $this->video->update([
// 'converted_for_downloading_at' => Carbon::now(),
// ]);
}
} -
Join a lot of frames with some audio files
30 octobre 2019, par Laurin NeffWhat I’m trying to do
I have 3697 frames (frames/[0-3696].png) and 5 audio files, which are the same length in total as the resulting video should be (audio/[0-4].mp3). I’m trying to play the frames at 15 fps, with the audio files playing in sequence and putting this into out.mp4. How can I achieve this ?
File tree
frames
|-0.png
|-1.png
|...
|-3695.png
\-3696.png
audio
|-0.mp3
|-1.mp3
|-2.mp3
|-3.mp3
\-4.mp3What I’ve tried
ffmpeg -i frames/%d.png -i audio/%d.mp3 -vf fps=15 out.mp4
What I expect
I expect out.mp4 to contain all frames, with the 5 mp3 files playing in sequence
What actually happens
$ ffmpeg -i frames/%d.png -i audio/%d.mp3 -vf fps=15 out.mp4
ffmpeg version n4.2.1 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 9.1.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-nvdec --enable-nvenc --enable-omx --enable-shared --enable-version3
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
Input #0, image2, from 'frames/%d.png':
Duration: 00:02:27.88, start: 0.000000, bitrate: N/A
Stream #0:0: Video: png, rgb24(pc), 1920x1080, 25 fps, 25 tbr, 25 tbn, 25 tbc
audio/%d.mp3: No such file or directory -
ffmpeg take input and output as webm on port
12 octobre 2019, par RussellHarrowerI am wondering how I can take an audio input and output it as a webm
This is what I thought would work to get it to rtp out but running into issue.
ffmpeg -i http://stream.radiomedia.com.au:8003/stream -c copy -f rtp rtp://127.0.0.1/streamID:54321
it returns
ffmpeg -i http://stream.radiomedia.com.au:8003/stream -c copy -f rtp rtp://127.0.0.1/streamID:54321 ffmpeg version 4.2.1-0york0~18.04 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 7 (Ubuntu 7.4.0-1ubuntu1~18.04.1)
configuration: --prefix=/usr --extra-version='0york0~18.04' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --arch=amd64 --enable-gpl --disable-stripping --enable-avresample --disable-filter=resample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libcodec2 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libjack --enable-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librsvg --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-lv2 --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-nonfree --enable-libfdk-aac --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libx264 --enable-shared
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
libpostproc 55. 5.100 / 55. 5.100
[mp3 @ 0x564cf51de940] invalid concatenated file detected - using bitrate for duration
Input #0, mp3, from 'http://stream.radiomedia.com.au:8003/stream':
Metadata:
track : 1
title : DNR1 Signal 1
comment : www.dvdvideosoft.com
date : 2019
icy-br : 128
icy-description : Radio Media PTY LTD
icy-genre : Indie
icy-name : DRN1
icy-pub : 0
icy-url : https://www.drn1.com.au
StreamTitle :
Duration: N/A, start: 0.025057, bitrate: 320 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
Metadata:
encoder : LAME3.99r
Output #0, rtp, to 'rtp://127.0.0.1/streamID:54321':
Metadata:
track : 1
title : DNR1 Signal 1
comment : www.dvdvideosoft.com
date : 2019
icy-br : 128
icy-description : Radio Media PTY LTD
icy-genre : Indie
icy-name : DRN1
icy-pub : 0
icy-url : https://www.drn1.com.au
StreamTitle :
encoder : Lavf58.29.100
Stream #0:0: Audio: mp3, 44100 Hz, stereo, fltp, 320 kb/s
Metadata:
encoder : LAME3.99r
SDP:
v=0
o=- 0 0 IN IP4 127.0.0.1
s=DNR1 Signal 1
c=IN IP4 127.0.0.1
t=0 0
a=tool:libavformat 58.29.100
m=audio 0 RTP/AVP 14
b=AS:320
a=control:streamid=0
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Press [q] to stop, [?] for help
av_interleaved_write_frame(): Invalid argument Error writing trailer of rtp://127.0.0.1/streamID:54321: Invalid argument
size= 0kB time=-00:00:00.02 bitrate=N/A speed=N/A video:0kB audio:1kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown
Conversion failed!