
Recherche avancée
Autres articles (80)
-
Organiser par catégorie
17 mai 2013, parDans MédiaSPIP, une rubrique a 2 noms : catégorie et rubrique.
Les différents documents stockés dans MédiaSPIP peuvent être rangés dans différentes catégories. On peut créer une catégorie en cliquant sur "publier une catégorie" dans le menu publier en haut à droite ( après authentification ). Une catégorie peut être rangée dans une autre catégorie aussi ce qui fait qu’on peut construire une arborescence de catégories.
Lors de la publication prochaine d’un document, la nouvelle catégorie créée sera proposée (...) -
Récupération d’informations sur le site maître à l’installation d’une instance
26 novembre 2010, parUtilité
Sur le site principal, une instance de mutualisation est définie par plusieurs choses : Les données dans la table spip_mutus ; Son logo ; Son auteur principal (id_admin dans la table spip_mutus correspondant à un id_auteur de la table spip_auteurs)qui sera le seul à pouvoir créer définitivement l’instance de mutualisation ;
Il peut donc être tout à fait judicieux de vouloir récupérer certaines de ces informations afin de compléter l’installation d’une instance pour, par exemple : récupérer le (...) -
XMP PHP
13 mai 2011, parDixit Wikipedia, XMP signifie :
Extensible Metadata Platform ou XMP est un format de métadonnées basé sur XML utilisé dans les applications PDF, de photographie et de graphisme. Il a été lancé par Adobe Systems en avril 2001 en étant intégré à la version 5.0 d’Adobe Acrobat.
Étant basé sur XML, il gère un ensemble de tags dynamiques pour l’utilisation dans le cadre du Web sémantique.
XMP permet d’enregistrer sous forme d’un document XML des informations relatives à un fichier : titre, auteur, historique (...)
Sur d’autres sites (6045)
-
Revision 3037 : On commence par une chaine de langue
9 mars 2010, par kent1 — LogOn commence par une chaine de langue
-
Create 4K video with Mjpeg codec in ffmpeg
25 novembre 2018, par SulliI’m trying to produce a simple 6 seconds video clip by zooming on an image (.mov output, mjpeg codec). I can get this command to work when I set the output to be 1920x1080 :
ffmpeg -y -r 25 -nostdin -loop 1 -i input.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'" -c:v mjpeg -qscale:v 1 -t 6 -s "1920x1080" "test/output.mov"
but it’s not working anymore when I set the output to be 4K (3840x2160) : the command hangs, is killed or produces a corrupted output.
My input.jpg resolution is 4240x2832.
What am I missing ?
Edit : here is the full log :
ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
libavutil 54. 31.100 / 54. 31.100
libavcodec 56. 60.100 / 56. 60.100
libavformat 56. 40.101 / 56. 40.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 40.101 / 5. 40.101
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.101 / 1. 2.101
libpostproc 53. 3.100 / 53. 3.100
[mjpeg @ 0x151da00] Changeing bps to 8
Input #0, image2, from 'input.jpg':
Duration: 00:00:00.04, start: 0.000000, bitrate: 760992 kb/s
Stream #0:0: Video: mjpeg, yuvj444p(pc, bt470bg/unknown/unknown), 4240x2832, 25 tbr, 25 tbn, 25 tbc
[swscaler @ 0x153cf80] deprecated pixel format used, make sure you did set range correctly
Output #0, mov, to 'test/output.mov':
Metadata:
encoder : Lavf56.40.101
Stream #0:0: Video: mjpeg (jpeg / 0x6765706A), yuvj444p(pc), 3840x2160, q=2-31, 200 kb/s, 25 fps, 12800 tbn, 25 tbc
Metadata:
encoder : Lavc56.60.100 mjpeg
Stream mapping:
Stream #0:0 -> #0:0 (mjpeg (native) -> mjpeg (native))
[swscaler @ 0x43c82c0] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x43c82c0] Warning: data is not aligned! This can lead to a speedloss
[swscaler @ 0x43c7dc0] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x444d0a0] deprecated pixel format used, make sure you did set range correctly
[swscaler @ 0x444cdc0] deprecated pixel format used, make sure you did set range correctly
Last message repeated 5 times
[swscaler @ 0x4439e20] deprecated pixel format used, make sure you did set range correctly
Last message repeated 6 times
[swscaler @ 0x43df9c0] deprecated pixel format used, make sure you did set range correctly
Last message repeated 83 times
[output stream 0:0 @ 0x15240c0] 100 buffers queued in output stream 0:0, something may be wrong.
[swscaler @ 0x43df9c0] deprecated pixel format used, make sure you did set range correctly
creer_videos.sh: line 10: 18 Killed ffmpeg -y -r 25 -nostdin -loop 1 -i input.jpg -vf "zoompan=z='min(zoom+0.0015,1.5)':d=700:x='iw/2-(iw/zoom/2)':y='ih/2-(ih/zoom/2)'" -c:v mjpeg -qscale:v 1 -t 6 -s "3840x2160" "test/output.mov" -
FFmpeg : How to apply volume filter fast in ffmpeg
29 novembre 2018, par Prashant_Sarini am using below code for applying volume filter in ffmpeg, but its taking too long.Let’s say the audio itself is for 5 minutes then applying this filter takes 3 minutes. Can someone help to speed up the process.
my command is as :
var command = "-i $audioPath -af volume=enable='between(t,5,10)':volume=0.25,volume=enable='between(t,15,20)':volume=0.25 $outputFile"
logs are :
2018-11-29 15:17:16.912 17250-17250/com.example.prashants.ffmpegtest
D/com.example.prashants.ffmpegtest.service.AudioOverlayService: onProgress -
---AudioVolume---- video:0kB audio:3030kB subtitle:0kB other streams:0kB
global headers:0kB muxing overhead: 1.236199%
2018-11-29 15:17:16.913 17250-17250/com.example.prashants.ffmpegtest
D/com.example.prashants.ffmpegtest.service.AudioOverlayService: onProgress -
---AudioVolume---- bench: utime=168.977s
2018-11-29 15:17:16.915 17250-17250/com.example.prashants.ffmpegtest
D/com.example.prashants.ffmpegtest.service.AudioOverlayService: onProgress -
---AudioVolume---- bench: maxrss=65116kB
2018-11-29 15:17:16.917 17250-17250/com.example.prashants.ffmpegtest
D/com.example.prashants.ffmpegtest.service.AudioOverlayService: onProgress -
---AudioVolume---- [aac @ 0xaf5e4400] Qavg: 15833.816
2018-11-29 15:17:16.920 17250-17250/com.example.prashants.ffmpegtest
D/com.example.prashants.ffmpegtest.service.AudioOverlayService: AudioVolume
success--------- -benchmark -threads 4 -i
/storage/emulated/0/FFmpegTest/looped.m4a -af
volume=enable='between(t,5,10)+between(t,15,20)':volume=0.25:eval=frame
/storage/emulated/0/FFmpegTest/filtered_audio.m4athat’s the log from my android studio console