
Recherche avancée
Médias (1)
-
Somos millones 1
21 juillet 2014, par
Mis à jour : Juin 2015
Langue : français
Type : Video
Autres articles (35)
-
Participer à sa documentation
10 avril 2011La documentation est un des travaux les plus importants et les plus contraignants lors de la réalisation d’un outil technique.
Tout apport extérieur à ce sujet est primordial : la critique de l’existant ; la participation à la rédaction d’articles orientés : utilisateur (administrateur de MediaSPIP ou simplement producteur de contenu) ; développeur ; la création de screencasts d’explication ; la traduction de la documentation dans une nouvelle langue ;
Pour ce faire, vous pouvez vous inscrire sur (...) -
Contribute to a better visual interface
13 avril 2011MediaSPIP is based on a system of themes and templates. Templates define the placement of information on the page, and can be adapted to a wide range of uses. Themes define the overall graphic appearance of the site.
Anyone can submit a new graphic theme or template and make it available to the MediaSPIP community. -
Librairies et binaires spécifiques au traitement vidéo et sonore
31 janvier 2010, parLes logiciels et librairies suivantes sont utilisées par SPIPmotion d’une manière ou d’une autre.
Binaires obligatoires FFMpeg : encodeur principal, permet de transcoder presque tous les types de fichiers vidéo et sonores dans les formats lisibles sur Internet. CF ce tutoriel pour son installation ; Oggz-tools : outils d’inspection de fichiers ogg ; Mediainfo : récupération d’informations depuis la plupart des formats vidéos et sonores ;
Binaires complémentaires et facultatifs flvtool2 : (...)
Sur d’autres sites (7282)
-
Installing ffmpeg on elastic beanstalk
9 décembre 2022, par user3813809I am trying to install ffmpeg to elastic beanstalk, I have created config file with below commands-



packages:
 yum:
 ImageMagick: []
 ImageMagick-devel: []
commands:
 01-wget:
 command: "wget -O /tmp/ffmpeg.tar.xz https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz"
 02-mkdir:
 command: "if [ ! -d /opt/ffmpeg ] ; then mkdir -p /opt/ffmpeg; fi"
 02-tar:
 command: "tar xvf /tmp/ffmpeg.tar.xz -C /opt/ffmpeg"
 04-ln:
 command: "if [[ ! -f /usr/bin/ffmpeg ]] ; then ln -sf /opt/ffmpeg/ffmpeg-3.4-64bit-static/ffmpeg /usr/bin/ffmpeg; fi"
 05-ln:
 command: "if [[ ! -f /usr/bin/ffprobe ]] ; then ln -sf /opt/ffmpeg/ffmpeg-3.4-64bit-static/ffprobe /usr/bin/ffprobe; fi"
 06-pecl:
 command: "if [ `pecl list | grep imagick` ] ; then pecl install -f imagick; fi"




Till 05-ln everything seems to be fine, but on 06-pecl I am getting below error-



[2018-03-08T08:06:29.390Z] INFO [32014] - [Application update app-f8f2d-180308_133451@78/AppDeployStage0/EbExtensionPreBuild/Infra-EmbeddedPreBuild/prebuild_1_FranchiseSoft/Command 06-pecl] : Completed activity. Result:
 PHP Warning: Module 'imap' already loaded in Unknown on line 0
 /bin/sh: line 0: [: 3.1.2: binary operator expected



-
ffmpeg -f segment fails after 30 minutes
8 mars 2018, par Musashi SakamotoWhen I used command below to convert video stream received from named pipe into .ts file which is HLS formatted,
sudo ffmpeg -i named_pipe.mkv \
-c:v libx264 -r 10 -g 30 -map 0 \
-qmin 18 -qmax 30 \
-f segment -segment_format mpegts -segment_time 3 \
-segment_list list.m3u8 \
-segment_list_type hls\
-segment_list_size 20 -strftime 1 \
%Y-%m-%d_%Hh%Mm%Ss.tsIt stops working with the speed gradually going down after about 30 minutes.
Here is the log right before it stopped working.*** dropping frame 2461 from stream 0 at ts -11787
[h264 @ 0x5639c4f49440] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11787
[h264 @ 0x5639c4fde520] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11787
[h264 @ 0x5639c4ffa4a0] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11786
[h264 @ 0x5639c5016420] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11786
[h264 @ 0x5639c50323a0] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11786
[h264 @ 0x5639c504e320] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11785
[h264 @ 0x5639c4c46e20] nal_unit_type: 1, nal_ref_idc: 1
*** dropping frame 2461 from stream 0 at ts -11785
*** dropping frame 2461 from stream 0 at ts -11785
*** dropping frame 2461 from stream 0 at ts -11784
*** dropping frame 2461 from stream 0 at ts -11784
*** dropping frame 2461 from stream 0 at ts -11784
*** dropping frame 2461 from stream 0 at ts -11783
*** dropping frame 2461 from stream 0 at ts -11783
*** dropping frame 2461 from stream 0 at ts -11783
*** dropping frame 2461 from stream 0 at ts -11782
*** dropping frame 2461 from stream 0 at ts -11782
*** dropping frame 2461 from stream 0 at ts -11782
*** dropping frame 2461 from stream 0 at ts -11781
*** dropping frame 2461 from stream 0 at ts -11781
*** dropping frame 2461 from stream 0 at ts -11781
*** dropping frame 2461 from stream 0 at ts -11780
*** dropping frame 2461 from stream 0 at ts -11780
[out_0_0 @ 0x5639c4b58b40] EOF on sink link out_0_0:default.
*** dropping frame 2461 from stream 0 at ts -11780
No more output streams to write to, finishing.
[segment @ 0x5639c4b4ab20] stream:0 start_pts_time:243 pts:22131000 pts_time:245.9 dts:22131000 dts_time:245.9 -> pts:22131000 pts_time:245.9 dts:22131000 dts_time:245.9
[segment @ 0x5639c4b4ab20] Opening '/var/www/html/hls/list.m3u8.tmp' for writing
[file @ 0x5639c6510be0] Setting default whitelist 'file,crypto'
[segment @ 0x5639c4b4ab20] EXT-X-MEDIA-SEQUENCE:62
[AVIOContext @ 0x5639c4f01f80] Statistics: 0 seeks, 1 writeouts
[segment @ 0x5639c4b4ab20] segment:'/var/www/html/hls/2018-03-06_15h59m25s.ts' count:81 ended
[AVIOContext @ 0x5639c4d1cca0] Statistics: 0 seeks, 1 writeouts
[segment @ 0x5639c4b4ab20] Opening '/var/www/html/hls/2018-03-06_16h18m11s.ts' for writing
[file @ 0x5639c4b8da80] Setting default whitelist 'file,crypto' -
NODE.JS using audioconcat , configured ffmpeg but still have prob
11 mai 2018, par Adnan KhanWant to concatenate two audio files. i used an npm package known as audioconcat but when i installed and configured the below code i am confronted with the following error
Error: Error: Cannot find ffmpeg
at E:\VoiceMan\registercheck\node_modules\fluent-ffmpeg\lib\processor.js:136:22
at E:\VoiceMan\registercheck\node_modules\fluent-ffmpeg\lib\capabilities.js:123:9
at E:\VoiceMan\registercheck\node_modules\async\dist\async.js:356:16
at nextTask (E:\VoiceMan\registercheck\node_modules\async\dist\async.js:5057:29)
at E:\VoiceMan\registercheck\node_modules\async\dist\async.js:5064:13
at apply (E:\VoiceMan\registercheck\node_modules\async\dist\async.js:21:25)
at E:\VoiceMan\registercheck\node_modules\async\dist\async.js:56:12
at E:\VoiceMan\registercheck\node_modules\async\dist\async.js:840:16
at E:\VoiceMan\registercheck\node_modules\fluent-ffmpeg\lib\capabilities.js:116:11
at E:\VoiceMan\registercheck\node_modules\fluent-ffmpeg\lib\utils.js:223:16
ffmpeg stderr: undefinedThen I put my problem on stackoverflow. A kind developer suggest me to install ffmpeg also. which i successfully installed and set there path variables but now i am having another issue which tells me that no such file are directry found..i placed my audio files in the same folder of this module.
here is the errorworking11
working1123423423423
ffmpeg process started: ffmpeg -i concat:audio/a(1).m4a|audio/a(2).m4a|audio/a(3).m4a -y -acodec copy all.m4a
Error: Error: ffmpeg exited with code 1: concat:audio/a(1).m4a|audio/a(2).m4a|audio/a(3).m4a: No such file or directory
at ChildProcess.<anonymous> (C:\Projects\audio\node_modules\fluent-ffmpeg\lib\processor.js:182:22)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
ffmpeg stderr: ffmpeg version N-90173-gfa0c9d69d3 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 7.3.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libas
s --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --ena
ble-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack -
-enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidst
ab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libmfx --enable-amf --enable-cuda
--enable-cuvid --enable-d3d11va --enable-nvenc --enable-dxva2 --enable-avisynth
libavutil 56. 7.101 / 56. 7.101
libavcodec 58. 13.100 / 58. 13.100
libavformat 58. 10.100 / 58. 10.100
libavdevice 58. 2.100 / 58. 2.100
libavfilter 7. 12.100 / 7. 12.100
libswscale 5. 0.101 / 5. 0.101
libswresample 3. 0.101 / 3. 0.101
libpostproc 55. 0.100 / 55. 0.100
concat:audio/a(1).m4a|audio/a(2).m4a|audio/a(3).m4a: No such file or directory
</anonymous>here is my code :
var audioconcat = require('audioconcat')
var songs = [
'a(1).mp3',
'a(2).mp3',
'a(3).mp3'
]
console.log("working11")
audioconcat(songs)
.concat('all.mp3')
.on('start', function (command) {
console.log('ffmpeg process started:', command)
})
.on('error', function (err, stdout, stderr) {
console.error('Error:', err)
console.error('ffmpeg stderr:', stderr)
})
.on('end', function (output) {
console.error('Audio created in:', output)
})
console.log("working1123423423423")