
Recherche avancée
Autres articles (76)
-
L’agrémenter visuellement
10 avril 2011MediaSPIP est basé sur un système de thèmes et de squelettes. Les squelettes définissent le placement des informations dans la page, définissant un usage spécifique de la plateforme, et les thèmes l’habillage graphique général.
Chacun peut proposer un nouveau thème graphique ou un squelette et le mettre à disposition de la communauté. -
Les tâches Cron régulières de la ferme
1er décembre 2010, parLa gestion de la ferme passe par l’exécution à intervalle régulier de plusieurs tâches répétitives dites Cron.
Le super Cron (gestion_mutu_super_cron)
Cette tâche, planifiée chaque minute, a pour simple effet d’appeler le Cron de l’ensemble des instances de la mutualisation régulièrement. Couplée avec un Cron système sur le site central de la mutualisation, cela permet de simplement générer des visites régulières sur les différents sites et éviter que les tâches des sites peu visités soient trop (...) -
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
Sur d’autres sites (7609)
-
FFMPEG fails to trim beginning of clip
23 février 2020, par miguelmorinI have two
.MTS
files taken in sequence and I want to trim them to the first five seconds. This command works for the first file :ffmpeg -ss 0 -to 5 -i 00117.MTS -vcodec copy -acodec copy start_00117.MTS
The result is 5 seconds and 17 MB, as opposed to the 12 minutes and 2 GB from the original.
The same command on the second file fails :
ffmpeg -ss 0 -to 5 -i 00118.MTS -vcodec copy -acodec copy start_00118.MTS
The result is 12 minutes and 2 GB, like its original file.
What is the problem ?
Full log :
$ rm start_00117.MTS; ffmpeg -ss 0 -to 5 -i 00117.MTS -vcodec copy -acodec copy start_00117.MTS
ffmpeg version 4.1.4 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.4_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-12.0.1.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-12.0.1.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input #0, mpegts, from '00117.MTS':
Duration: 00:12:36.02, start: 1.040000, bitrate: 22490 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080
Output #0, mpegts, to 'start_00117.MTS':
Metadata:
encoder : Lavf58.20.100
Stream #0:0: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 50 tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame= 304 fps=0.0 q=-1.0 Lsize= 16601kB time=00:00:06.02 bitrate=22590.4kbits/s speed=25.8x
video:15162kB audio:189kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.143849%
$ rm start_00118.MTS; ffmpeg -ss 0 -to 5 -i 00118.MTS -vcodec copy -acodec copy start_00118.MTS
rm: start_00118.MTS: No such file or directory
ffmpeg version 4.1.4 Copyright (c) 2000-2019 the FFmpeg developers
built with Apple LLVM version 10.0.1 (clang-1001.0.46.4)
configuration: --prefix=/usr/local/Cellar/ffmpeg/4.1.4_1 --enable-shared --enable-pthreads --enable-version3 --enable-avresample --cc=clang --host-cflags='-I/Library/Java/JavaVirtualMachines/adoptopenjdk-12.0.1.jdk/Contents/Home/include -I/Library/Java/JavaVirtualMachines/adoptopenjdk-12.0.1.jdk/Contents/Home/include/darwin' --host-ldflags= --enable-ffplay --enable-gnutls --enable-gpl --enable-libaom --enable-libbluray --enable-libmp3lame --enable-libopus --enable-librubberband --enable-libsnappy --enable-libtesseract --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-libxvid --enable-lzma --enable-libfontconfig --enable-libfreetype --enable-frei0r --enable-libass --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librtmp --enable-libspeex --enable-videotoolbox --disable-libjack --disable-indev=jack --enable-libaom --enable-libsoxr
libavutil 56. 22.100 / 56. 22.100
libavcodec 58. 35.100 / 58. 35.100
libavformat 58. 20.100 / 58. 20.100
libavdevice 58. 5.100 / 58. 5.100
libavfilter 7. 40.101 / 7. 40.101
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 3.100 / 5. 3.100
libswresample 3. 3.100 / 3. 3.100
libpostproc 55. 3.100 / 55. 3.100
Input #0, mpegts, from '00118.MTS':
Duration: 00:12:36.59, start: 756.592000, bitrate: 22471 kb/s
Program 1
Stream #0:0[0x1011]: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], 25 fps, 50 tbr, 90k tbn, 50 tbc
Stream #0:1[0x1100]: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s
Stream #0:2[0x1200]: Subtitle: hdmv_pgs_subtitle ([144][0][0][0] / 0x0090), 1920x1080
Output #0, mpegts, to 'start_00118.MTS':
Metadata:
encoder : Lavf58.20.100
Stream #0:0: Video: h264 (High) (HDMV / 0x564D4448), yuv420p(top first), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 50 tbr, 90k tbn, 90k tbc
Stream #0:1: Audio: ac3 (AC-3 / 0x332D4341), 48000 Hz, stereo, fltp, 256 kb/s
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
frame=37804 fps=923 q=-1.0 Lsize= 2130467kB time=00:12:36.54 bitrate=23069.0kbits/s speed=18.5x
video:1946718kB audio:23627kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 8.126621% -
How can I use FFMPEG in my discord bot thats on github
21 septembre 2019, par WaldreI moved my discord bot to GitHub and Heroku today, everything works fine but I get this error that causes the bot to stop working
I have already tried adding FFmpeg as a submodule by doing this :
git submodule add git://source.ffmpeg.org/ffmpeg FFmpeg but it still doesn't work
These are the errors I’m getting
2019-09-21T14:03:30.753963+00:00 heroku[web.1] : State changed from starting to crashed
2019-09-21T14:03:30.641312+00:00 heroku[web.1] : Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2019-09-21T14:03:30.641385+00:00 heroku[web.1] : Stopping process with SIGKILL
2019-09-21T14:03:30.730681+00:00 heroku[web.1] : Process exited with status 137
2019-09-21T14:10:20.814035+00:00 app[worker.1] : [36m| I : Prefix was used by RoyaleNiteTM. COMMAND USED : join |[0m
2019-09-21T14:10:20.832129+00:00 app[worker.1] : (node:4) UnhandledPromiseRejectionWarning : Error : FFMPEG not found
2019-09-21T14:10:20.832138+00:00 app[worker.1] : at Function.selectFfmpegCommand (/app/node_modules/prism-media/src/transcoders/ffmpeg/Ffmpeg.js:46:13)
2019-09-21T14:10:20.832141+00:00 app[worker.1] : at new FfmpegTranscoder (/app/node_modules/prism-media/src/transcoders/ffmpeg/Ffmpeg.js:7:37)
2019-09-21T14:10:20.832143+00:00 app[worker.1] : at new MediaTranscoder (/app/node_modules/prism-media/src/transcoders/MediaTranscoder.js:10:19)
2019-09-21T14:10:20.832145+00:00 app[worker.1] : at new Prism (/app/node_modules/prism-media/src/Prism.js:5:23)
2019-09-21T14:10:20.832147+00:00 app[worker.1] : at new VoiceConnection (/app/node_modules/discord.js/src/client/voice/VoiceConnection.js:46:18)
2019-09-21T14:10:20.832150+00:00 app[worker.1] : at Promise (/app/node_modules/discord.js/src/client/voice/ClientVoiceManager.js:63:22)
2019-09-21T14:10:20.832154+00:00 app[worker.1] : at new Promise ()
2019-09-21T14:10:20.832156+00:00 app[worker.1] : at ClientVoiceManager.joinChannel (/app/node_modules/discord.js/src/client/voice/ClientVoiceManager.js:45:12)
2019-09-21T14:10:20.832158+00:00 app[worker.1] : at VoiceChannel.join (/app/node_modules/discord.js/src/structures/VoiceChannel.js:130:30)
2019-09-21T14:10:20.832160+00:00 app[worker.1] : at Client. (/app/index.js:227:53)
2019-09-21T14:10:20.832203+00:00 app[worker.1] : (node:4) UnhandledPromiseRejectionWarning : Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id : 1)
2019-09-21T14:10:20.832279+00:00 app[worker.1] : (node:4) [DEP0018] DeprecationWarning : Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2019-09-21T14:25:08.488516+00:00 heroku[worker.1] : State changed from up to crashed
2019-09-21T14:25:08.464878+00:00 heroku[worker.1] : Process exited with status 1`
-
How to download .ism files protected by DRM (Widevine or IIS Smoth Streaming)
16 septembre 2019, par Foopy7774I’m struggling to download a video which is protected by DRM or something else (idk)...I tried to download it by using VLC, ismdownloader, ffmpeg and youtube-dl but the video seems encrypted. There bound to be a way to do it, given that Chrome is able to read it...
I’ve seen that they are using Widevine or IIS Smooth Streaming, I don’t really know...but if you can’t answer my post, can you atleast set me on the right path by telling me :
What they use ? Widevine ? IIS Smooth Streaming ? Both ?Video link :
https://www.mycanal.fr/actualites/balance-ton-post-ca-continue-emission-du-12-sept-2019/h/12299856_50013
Manifest file :
https://hssodcplus-s.akamaihd.net/ondemand/playready/canalplus/d8/d8_1205541_1_D8/93653/d8-1205541-1-D8.ism/manifest
if you can’t access to it : https://pastebin.com/20mgS9C4Here is what I get using VLC : https://i.imgur.com/u3mWrWg.gifv
Thanks !